| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This reverts commit 7f4ae758ba4724f7c3031d33ad8e749c11d1e059
This CL created a regression:
#5134317 Arabic Keyboard does not appear
|
|
|
|
|
|
|
|
|
| |
The Harfbuzz script setting was wired to HB_Script_Common for left-
to-right text and HB_Script_Arabic for right-to-left. This change
selects from additional scripts using some utility APIs from
Harfbuzz.
Change-Id: I34a6f1e0407c8d122bc968443948e7863d1f91ed
|
|
|
|
|
|
|
|
|
|
|
| |
composing
- optimization for single run case was broken
- pass isRTL boolean along the call stack instead of the dirFlags integer
(which was only used as a "isRTL" in the shaper)
- update unit tests
Change-Id: I33110b76a433633a0b92fbd1db03785204e0c3e6
|
|
|
|
|
|
| |
- also update unit tests
Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
|
|
|
|
|
|
| |
Bug #5024993
Change-Id: Id0c63f675ae188e5a786b7fdd63916e114b9ed4a
|
|\
| |
| |
| |
| |
| | |
* changes:
SurfaceTexture: consume buffers after err checks
SurfaceTexture: change onFrameAvailable behavior
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change alters the conditions under which the onFrameAvailable
callback gets called by the C++ SurfaceTexture class. The new behavior
is to call the callback whenever a frame gets queued that will be
visible to the buffer consumer. This means that buffers queued in
synchronous mode always trigger the callback, as those buffers will
remain pending until they are consumed. Buffers queued in asynchronous
mode will only trigger the callback if there was not previously an
unconsumed buffer pending.
The new behavior means that a consumer should perform a draw operation
exactly once for every onFrameAvailable call that it recieves. This
change also modifies SurfaceFlinger and the SurfaceTexture JNI to
support of the new behavior.
Change-Id: I8b2c6e00961d3d58b11c6af50b555b6e4c5f5b40
|
|\ \
| |/
|/|
| |
| |
| |
| | |
formats that support Compression."
* commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172':
Add WEBP to the list of Image formats that support Compression.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
support Compression."
* commit '99c070d8eb9f1ff9ea5c38991f15f091040226c2':
Add WEBP to the list of Image formats that support Compression.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note: The integrator of this change to Android internal code-repo will
have to run one extra step 'make update-api' to update 'api/current.txt'
file corresponding to approved API. The AOSP branch didn't have this
file, hence I could not add the same to this change. The updated file
'api/current.txt' has to be submitted along with this change.
Change-Id: I29909e907a2e82d801e16654322190a808c5bda9
|
| | |
| | |
| | |
| | | |
Change-Id: I532336eced54544115dfd47d5557cc77bafdfc87
|
| | |
| | |
| | |
| | | |
Change-Id: I39247db04ca8b7993b0f5a16fb0324828d04cc3a
|
| | |
| | |
| | |
| | | |
Change-Id: I1d2cecbad6c30e6ebc9579093404742f17e14e84
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'a84d29cb0494310e9472884c7a459603eb305e38':
Ninepatch tweaks for better interop
|
| | |
| | |
| | |
| | | |
Change-Id: I96781e2b27fcd6dd05d9726829e8e79ff365cbdc
|
| | |
| | |
| | |
| | | |
Change-Id: Ia146a4728b5eb92626462effe42521ca73454a7d
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change adds a call to detach from the Davlik VM in SurfaceTexture
JNI calls that caused an attach.
Change-Id: I8e0d7d596680bd25ac42f8db4ca8343a62827255
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ibec544f249833a28fe8ef9a15fc8ab48fddfc51c
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I54f30a3c16bbe6b813f3bcd1d389da5627531304
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: I05e343ab7e327478f60322af9373574b70c148f5
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
in sync mode.
If there is more frame after updateTexImage, trigger the listener again.
Change-Id: I1415ae9a914cc8bb139cb369464b1f6a2aa24058
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change fixes a bug in the SurfaceTexture JNI where a thread that
the Dalvik VM was not aware of calls the onFrameAvailable callback.
When this happens the callback needs to first attach the thread to the
VM before attempting to post the onFrameAvailable event for Java code to
handle.
Change-Id: I6a5470c32611ea6f38e9167779450f50635cabd3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds support for setting a SurfaceTexture as the MediaPlayer video
sink by using a ParcelSurfaceTexture object. The goal is to enable a
SurfaceTexture to pass through Binder (via ParcelSurfaceTexture) and then
be set on the MediaPlayer.
Change-Id: Ife5689ce673eb4bee1c377019db761685217b71d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Binder.
This adds a new ParcelSurfaceTexture.java class that can be instantiated with
a SurfaceTexture and used to send the corresponding ISurfaceTexture interface
to another process via Binder. The ParcelSurfaceTexture java object can then
be used to create an ANativeWindow based on the SurfaceTextureClient interface.
Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817
|
| | |
| | |
| | |
| | |
| | |
| | | |
- fix compilation issues
Change-Id: I3358457d94d2278804e81e4ca96c9633ed76a147
|
| | |
| | |
| | |
| | |
| | |
| | | |
b/4490619, http://code.google.com/p/android/issues/detail?id=16644
Change-Id: Ia227c87cba61e0d0b6f86b01a064a3eefe447fe1
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- take care of empty strings in TextLayoutCache when computing advances/glyphs with Harfbuzz
Change-Id: I8eb5f632feb7a86e5c4a6db03d073c4b7d859dbc
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2a8f5869dbe95bb594f2ba5d7278f9b330e6f17a
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- pass correct "contextCount" when needed
Change-Id: I56ebd9486e99e6ca5a3973ec403cf1ced874b4c3
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
- add OpenGLRenderer.drawGlyph()
- refactor glypth logging code
Change-Id: I797e6f1304d3f3f8f6ed31e7f9965d336233d2a4
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '1eb31b434fdc325c55b65ecf1783c63b2fdfa669':
Fix memory leak of SkMovie class
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '718516f3b73468c480ef8d2283a1c80a6223658d':
Fix memory leak of SkMovie class
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Movie class doesn't have finalize method.
So memory leak of SkMovie class of native Skia occurs when Movie class is released.
I add finalize method to Movie class (Movie.java) and jni destructor method to SkMovie class (Movie.cpp).
Change-Id: I4dae9dd95f128cbfade50bef978b219ba99321dd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Backport changes related to BitmapRegionDecoder from HoneyComb to
Gingerbread.
Bug: 3309014
////////////////////////////////////////////////////
This is a combination of 7 commits.
Revert "Do not merge."
This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82.
Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6
Fix a initialization bug in BitmapRegionDecoder.
Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5
Fix segfault when tring to throw IOException.
Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f
Fix 3122139, where previewing an attachment for the second time will
fail.
Use AutoFDSeek to mark and restore the position before we read data from
the descriptor.
Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195
Add inPreferQualityOverSpeed into BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4
Unhide inPreferQualityOverSpeed in BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Related changes: https://android-git.corp.google.com/g/#change,83291 and
https://android-git.corp.google.com/g/#change,83294
Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4
Correct the API comments.
BitmapRegionDecoder supports PNG as well.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix 3052285 by not publishing the BitmapRegionDecoder API until the honeycomb release.
Bug: 3052285
Change-Id: Ie339e414c1a5581e1d38684621e0e97162616977
|
| | |
| | |
| | |
| | | |
Change-Id: I92ff9b2c0fe16a467996ae1973bbfd4fad5ef750
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- fix glyph order when there is only a single run
- update tests
Change-Id: I113f28a8c76cab622fb75ce84bc50d1d38fa254e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- remove ICU reference in API names
- use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU"
Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- set size to 256K
- add pid logging
- fix percent gain computation
Change-Id: Id6da4d606147294e05597022414531c346860f45
|
| | |
| | |
| | |
| | | |
Change-Id: I35aa02bfd45629bf5c560f98a28399ff3d0fc900
|
| | |
| | |
| | |
| | | |
Change-Id: I661d5e9e0bbe9a859e7a000cb161994d29add099
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- take care of log_clusters for char/glyph mapping
- remove verbose logs
Change-Id: Id19af2b4a46cc4ada0b99263a3208de14a979ba5
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- only for temporary API
- update BiDiTest
Change-Id: Ifd445799dc0fda4da896246e41978cd8d71aa035
|