summaryrefslogtreecommitdiffstats
path: root/core/jni/android
Commit message (Collapse)AuthorAgeFilesLines
* Update Arabic font for SystemUIFabrice Di Meglio2012-05-041-1/+1
| | | | | | | - bug #5987379 Need an Arabic font with metrics "compatible" with Roboto - use the Alt version with GSUB optimizations Change-Id: I4d8c62cab37a7b010abab602c39899084d347fdc
* Use paint typeface for shaping when it supports the requested script.Raph Levien2012-05-022-25/+46
| | | | | | This is a hackish but workable fix for bug 6415796. Change-Id: Iaba91e1e53e688a3ee05a1fdb68fd05102e369f2
* Make Arabic script runs longer (for performance) - bug 6426451.Raph Levien2012-05-011-0/+4
| | | | | | | This change avoids selecting the incorrect font for drawing characters when the first character in a run is a space. Change-Id: Ibc672560d364b8de8c3e21de1c738c6dc5639395
* Fix scaling of layout bounds.Dianne Hackborn2012-04-301-1/+9
| | | | Change-Id: I9d8c8924900fed69030ee3e8d6decee89ca67820
* Keep opaque bitmaps opaque after scalingRomain Guy2012-04-261-0/+1
| | | | | | Bug #6293845 Change-Id: If9e82993f4c9702244ddedb5667421a6fcc7a0c5
* Merge "Improve char mirroring in TextLayoutCache"Raph Levien2012-04-241-27/+5
|\
| * Improve char mirroring in TextLayoutCacheFabrice Di Meglio2012-04-241-27/+5
| | | | | | | | | | | | | | | | - now use ICU u_isMirrored() instead of a small hardcoded list of unicode points see bug #5961254 Harfbuzz should be able to support Bidi_mirrored unicode attribute Change-Id: I3243a58558a97930f0e7fdf5e9c1d5695d9393de
* | Partial fix for bug 6132077 (incorrect line breaking of Arabic text).Raph Levien2012-04-241-17/+8
|/ | | | | | | Fixed getTextRunAdvances so that advances are correctly aligned with UTF-16 code point offices, rather than runs being reversed in RTL. Change-Id: Ife59c0c26f745654c16656c86072e9102d8f6bc7
* SurfaceTexture: fix updateTexImage JNIJamie Gennis2012-04-131-1/+1
| | | | | | Sigh... Change-Id: I0271bed44c58e0c9a03eda4886eb2c1ee76e041f
* SurfaceTexture: update API docsJamie Gennis2012-04-131-3/+10
| | | | | | | | This change updates the SurfaceTexture API docs and modifies the behavior of the updateTexImage to produce an IllegalStateException when not attached to a GLES context. Change-Id: I5a0875927785108960985c567d571d5f7033256a
* Merge "Add Paint.setTextLocale()"Fabrice Di Meglio2012-04-121-0/+8
|\
| * Add Paint.setTextLocale()Fabrice Di Meglio2012-04-121-0/+8
| | | | | | | | | | | | - will be used for better shaping CJK and other goodies Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587
* | Add new Arabic font for SystemUIFabrice Di Meglio2012-04-121-4/+1
|/ | | | | | | - still work in progress - bug #5987379 Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
* SurfaceTexture: add GL context attach & detachJamie Gennis2012-04-051-7/+21
| | | | | | | This change adds Java API support for detaching a SurfaceTexture from one GLES context and then attaching it to a different one. Change-Id: I8eed4b0d0e339c11598cb0408d9f4f2d99b3aa06
* Embed layout padding in nine patch imagesAmith Yamasani2012-04-047-26/+38
| | | | | | | | | | | | | - Added a new custom PNG chunk that carries the layout padding ints. - Extract the padding ticks from .9.png images and store in the chunk. - Load the padding information at runtime into Bitmap and NinePatchDrawable. - The new chunk is ordered first so that it doesn't cause a problem in older versions of the platform. Bug: 6087201 Change-Id: I5de46167a1d44b3ec21065b0c165e594b1dc8399
* Fix bug #6248364 Tamil and Denavagari text crash in Google+Fabrice Di Meglio2012-03-281-0/+4
| | | | | | - fix initialization of variables Change-Id: Ibda4e1e6f55f867385eaf9a4c7a754c16815bbf0
* Pre-scale bitmaps on the native heapRomain Guy2012-03-191-93/+163
| | | | Change-Id: I9819b532b89a997ab775b31ffee46445f1d16e20
* Remove unused private APIRomain Guy2012-03-151-27/+4
| | | | Change-Id: Iec9c2bc275fc7376f4e0b0b9c44059c56a9dd173
* Merge "Expose a function to set OpenGL Trace level."Siva Velusamy2012-03-121-0/+7
|\
| * Expose a function to set OpenGL Trace level.Siva Velusamy2012-03-091-0/+7
| | | | | | | | | | | | | | This patch adds a function setGlDebugLevel() to libEGL, and exposes it to the Java layer at android.opengl.GLUtils.enableTracing(). Change-Id: Ia5abb130bc32fcfe3ab25b0a0a5283a54c54f357
* | Handle view properties at the native levelChet Haase2012-03-121-0/+18
|/ | | | | | | | | | | Basic functionality of handling View properties (transforms, left/right/top/bottom, and alpha) at the native DisplayList level. This logic is disabled for now (via compile-time flags in View.java and DisplayListRenderer.h) as we continue work on it (there is no advantage to the new approach until we optimize invalidation and rendering paths to use the new code path). Change-Id: I370c8d21fbd291be415f55515ab8dced6f6d51a3
* Split Parcel JNI details away from Binder.Jeff Sharkey2012-03-082-0/+2
| | | | | | | This is purely a refactoring, with no change to the underlying functionality. Change-Id: I41b59f14e57d1cc144274a01f77658d99a1bfe02
* Fix bug #5180841 TextLayoutCache needs to support IndicFabrice Di Meglio2012-02-282-0/+20
| | | | | | - add Tamil and Devanagari shaping support Change-Id: I331ec52cd1987e157100deb699db27f855881c32
* Add hooks to implement Canvas.drawTextOnPath() in GLRomain Guy2012-02-241-5/+0
| | | | Change-Id: I165c9e05facf5365aa6850605688e538640c7fcc
* frameworks/base refactoring.Mathias Agopian2012-02-178-11/+11
| | | | | | step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
* Comment out a warning message to avoid log spamming.Chih-Chung Chang2012-02-071-6/+0
| | | | | | | The warning message happens a lot when the region decoder is used (like viewing a picture in the Gallery app). Change-Id: I435f92eac8f322b091f3ed14ee48d0b5f0d84a8a
* am 33476f7a: am f79bcd2d: am 52da99fa: am a081c7b8: Merge "Skia API changes ↵Jean-Baptiste Queru2012-02-061-1/+1
|\ | | | | | | | | | | | | as a result of an update to the Skia library." * commit '33476f7ad1c3b4dcaefddb306f315e201c4efb33': Skia API changes as a result of an update to the Skia library.
| * am a081c7b8: Merge "Skia API changes as a result of an update to the Skia ↵Jean-Baptiste Queru2012-02-061-1/+1
| |\ | | | | | | | | | | | | | | | | | | library." * commit 'a081c7b8bc5a3ea19fc7562b333fac525b17bc5f': Skia API changes as a result of an update to the Skia library.
| | * Skia API changes as a result of an update to the Skia library.Derek Sollenberger2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | These changes are required to work with r3022 of Skia Change-Id: Ib7cebeb2eba6790bb38edfc2397b311cf419e17c
| * | am 6df477be: Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)"Jean-Baptiste Queru2012-01-194-7/+7
| |\ \ | | |/ | | | | | | | | | * commit '6df477be186233e36fc370c4d2db6c1ed928a740': Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
| | * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-194-7/+7
| | | | | | | | | | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
| * | am a826f9e2: Merge "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"Jean-Baptiste Queru2012-01-193-7/+7
| |\ \ | | |/ | | | | | | | | | * commit 'a826f9e2c4f6329d8d48c927f6e942e78ffaf92f': Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
| | * Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)Steve Block2012-01-193-7/+7
| | | | | | | | | | | | Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
| * | am 4f367f33: Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)"Jean-Baptiste Queru2012-01-192-3/+3
| |\ \ | | |/ | | | | | | | | | * commit '4f367f3387887c538c81c34cc8becaea6fa5e430': Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
| | * Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)Steve Block2012-01-192-3/+3
| | | | | | | | | | | | Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
| * | am ba7f0d2a: Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)"Jean-Baptiste Queru2012-01-194-38/+38
| |\ \ | | |/ | | | | | | | | | * commit 'ba7f0d2a03643ce429421b81febf18fd50473070': Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
| | * Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)Steve Block2012-01-194-38/+38
| | | | | | | | | | | | Change-Id: I44f267700356967dc51e8f85ebf457dc85cfb229
| * | Merge ee4618bcJean-Baptiste Queru2012-01-192-11/+11
| |\ \ | | |/ | | | | | | Change-Id: Ie1dc6ad38e7c30636d80f6caef11cf6673144940
| | * Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)Steve Block2012-01-192-11/+11
| | | | | | | | | | | | Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
| * | am c318bbb0: Merge "Rename (IF_)LOG() to (IF_)ALOG()"Jean-Baptiste Queru2012-01-191-3/+3
| |\ \ | | |/ | | | | | | | | | * commit 'c318bbb05e02a0080e129623ec8029d31be0d60e': Rename (IF_)LOG() to (IF_)ALOG()
| | * Rename (IF_)LOG() to (IF_)ALOG()Steve Block2012-01-181-3/+3
| | | | | | | | | | | | Change-Id: If49c81a2793182771c6160fbca93905daa6f44c1
| * | Fix bug #5822825 Paint.measureText (char[] text, int index, int count) ↵Fabrice Di Meglio2012-01-051-1/+0
| |/ | | | | | | | | | | | | | | | | | | cannot handle text more than 32K long - DO NOT MERGE - do not clear the smart pointer when the cache entry does not fit the cache size See http://code.google.com/p/android/issues/detail?id=23337 Change-Id: Id4533d9f8a396c310c9215157ec5a4c07f30c7f2
| * Fix TextLayoutCache issue when loading Font tables (DO NOT MERGE)Fabrice Di Meglio2011-12-062-19/+4
| | | | | | | | | | | | - disable GSUB / GPOS table loading Change-Id: I2ae058c9d926242586f90dc2a98302ff886f1fe1
| * Fix memory corruption issues in TextLayoutCache. (DO NOT MERGE)Jeff Brown2011-12-051-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure log_clusters array is big enough. Bug: 5714171 Explicitly handle the cases where the entire string or a single run might have a length of 0. Harfbuzz assumes the length of the item is at least 1. If the length is zero, then it will clobber memory at index -1 into the log_clusters array. Bug: 5705479 Change-Id: If28a9866221081f69973c1d12d7fe0cf8db2edd0
* | Merge "Revert back to DroidSansArabic font for SystemUI"Fabrice Di Meglio2012-02-031-1/+4
|\ \
| * | Revert back to DroidSansArabic font for SystemUIFabrice Di Meglio2012-02-021-1/+4
| | | | | | | | | | | | | | | | | | | | | - see bug #5957987 Revert to use DroidSansArabic instead of DroidNaskh font for Arabic Shaping in SystemUI - DroidNaskh was having FontMetrics not compatible with Roboto Change-Id: I9f3031c250f907c80f3992f71d929dc91686e1e5
* | | Fix bug #5929529 Parentheses aren't correctly rendered in RTL contextFabrice Di Meglio2012-02-021-0/+44
|/ / | | | | | | | | | | | | | | | | - do BiDi mirrored char mirroring in TextLayoutCache - see BiDi mirrored chars list at: http://www.unicode.org/Public/6.0.0/ucd/extracted/DerivedBinaryProperties.txt Change-Id: Ia0af0e252dbb0c55cc689bc9db34e05591bb6ee8
* | Code cleaning: centralize use of #if USE_TEXT_LAYOUT_CACHEFabrice Di Meglio2012-01-275-175/+168
| | | | | | | | | | | | | | - also clean some destructors (was not quite compulsory because they are related to some Singletons) Change-Id: I3091cac7b38628cda593d72570ba7a5d7ea2a15c
* | Merge "Fix bug #5901103 all_source_project_146981_Android - Android ICS LQA ↵Fabrice Di Meglio2012-01-241-1/+1
|\ \ | | | | | | | | | Regression:FA, AR, HE and TH - Font Corruption"
| * | Fix bug #5901103 all_source_project_146981_Android - Android ICS LQA ↵Fabrice Di Meglio2012-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Regression:FA, AR, HE and TH - Font Corruption - use the first char of the "run" instead of the "string" for the BaseGlyphCount Change-Id: I647528ec912bb69655cf301bbc73b66dc1a6fc82