Romain Guy
37cc31c604
Merge "Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed."
2011-08-09 20:23:22 -07:00
Grace Kloba
402f055303
Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.
...
If returns true, the SurfaceTexture will be released by TextureView.
If returns false, the client needs to release the SurfaceTexture.
Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
2011-08-09 18:47:17 -07:00
Fabrice Di Meglio
8984b41665
Add more Paint text APIs parameters checks
...
Change-Id: Idd04e9937b821180f46852451405bb9c6d59da37
2011-08-09 16:03:01 -07:00
Fabrice Di Meglio
15c097a1c2
Add more optimizations for Text measuring / breaking / getting advances
...
- do not go to native if this is not needed (empty or null text)
- do expandMetricsFromPaint() in TextLine when needed instead of calling handleText()
with emty string just for doing expandMetricsFromPaint()
Change-Id: I1f566ccef66cbc990ebbb77ef149899119e37e84
2011-08-08 14:42:41 -07:00
Fabrice Di Meglio
4c7dbc0495
Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)
...
- provide a better fix by still using the full context of the text (versus using the text only)
Change-Id: I542335e98117921d75c191e90a9b2018ca356ac9
2011-08-08 12:11:41 -07:00
Fabrice Di Meglio
2532672569
Merge "Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)"
2011-08-08 10:58:13 -07:00
Fabrice Di Meglio
f2ce877c1d
Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)
...
- use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars())
- udpate unit tests
Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
2011-08-05 20:54:54 -07:00
Stephen Hines
8f019d6305
Merge "Start using bcinfo components within librs."
2011-08-05 13:47:00 -07:00
Wu-cheng Li
09f6d67f37
Merge "Add camera bayer image format."
2011-08-04 01:46:56 -07:00
Wu-cheng Li
70fb908504
Add camera bayer image format.
...
The API are hidden.
bug:5086073
Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
2011-08-04 16:40:28 +08:00
Stephen Hines
4382467a80
Start using bcinfo components within librs.
...
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Mathias Agopian
ec46b4e1ca
Add a 'release' method to the SurfaceTexture public Java API
...
Bug: 5063618
Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
2011-08-03 17:23:44 -07:00
Dianne Hackborn
6311d0a079
Clear the bitmap from the canvas in a lot of places.
...
Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
2011-08-02 16:37:58 -07:00
Romain Guy
b1216dd916
Copy constructors should actually copy stuff.
...
Bug #5027094
Change-Id: Iab6bf652e0b9bdd1bbc794e7c4218f46bafdd1a4
2011-08-02 12:37:16 -07:00
Romain Guy
0965a3244b
Allow Canvas.setBitmap() to receive a null Bitmap.
...
Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2
2011-08-01 17:39:21 -07:00
Scott Main
34235c6ede
cherrypick Change-Id: Iaada8d42f97786d393743cd7fc3011da1d21f22e
...
docs: resolve issue 5044273 and fix markup error
Change-Id: Ic028292245c14cca218ea9ac771f292254577e7c
2011-07-27 12:27:39 -07:00
Alex Sakhartchouk
804b3d76c3
Merge "Add getName to renderscript base object"
2011-07-27 09:50:35 -07:00
Alex Sakhartchouk
0400b07c6b
Add getName to renderscript base object
...
Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
2011-07-26 14:13:32 -07:00
Jason Sams
684b23513c
Unhide new RS apis.
...
Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
2011-07-26 14:07:19 -07:00
Alex Sakhartchouk
835b8544cc
Fixing bitmap invalidation bug.
...
Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
2011-07-20 14:45:54 -07:00
Fabrice Di Meglio
46c7250798
Merge "Clean test APIs for Harfbuzz support"
2011-07-18 14:26:34 -07:00
Fabrice Di Meglio
796cc96243
Clean test APIs for Harfbuzz support
...
- also update unit tests
Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
2011-07-15 17:49:22 -07:00
Romain Guy
dafbf247ee
Remove unused code
...
Change-Id: I7f7fc6bac03c92087037fc56b78fc43a1e93dae5
2011-07-15 16:44:39 -07:00
Jeff Brown
8c55a9a57e
Merge "Remove the simulator target from all makefiles. Bug: 5010576"
2011-07-12 12:15:07 -07:00
Jeff Brown
bd882b1c87
Remove the simulator target from all makefiles.
...
Bug: 5010576
Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
2011-07-11 22:12:16 -07:00
Jason Sams
ac7f69bac3
Merge "Add error checks for AllocationAdapters being used in unsupported ways."
2011-07-11 15:47:36 -07:00
Logan Chien
ef72ff220c
Use resource entry name instead of mangled name.
...
Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
2011-07-11 15:32:24 +08:00
Romain Guy
fcc8fae91e
Merge "Correctly render nested rectangles with different winding rules."
2011-07-08 16:27:47 -07:00
Romain Guy
d4b5795e5e
Correctly render nested rectangles with different winding rules.
...
Change-Id: I331d9dc1c17aee62a2fa213692c62a5ba1bb079a
2011-07-08 16:27:02 -07:00
Jason Sams
48fe534838
Add error checks for AllocationAdapters being used in unsupported ways.
...
Change-Id: If6506e04d65a7b3d79203ac7a20a7961368ef04f
2011-07-08 13:52:30 -07:00
Jason Sams
d015327223
Merge "Fix more type info caching bugs."
2011-07-07 16:24:51 -07:00
Jason Sams
ad37cb26cd
Fix more type info caching bugs.
...
Change-Id: I917a1190ec12fe954c9bf51ffd446ef564837e68
2011-07-07 16:17:36 -07:00
Jason Sams
3055353fd4
Merge "Fix defered type creation when loading from A3D."
2011-07-07 16:10:38 -07:00
Jason Sams
452a7661e8
Fix defered type creation when loading from A3D.
...
Change-Id: I09387c0859dcc9fe77014bc7486109d81742f298
2011-07-07 16:05:18 -07:00
Jason Sams
e4827389e7
Merge "AllocationAdapter cleanup."
2011-07-07 15:50:41 -07:00
Jason Sams
ba862d1544
AllocationAdapter cleanup.
...
Change-Id: Ia7eb0925e410779bbd6a925af721e3834dcf83f8
2011-07-07 15:24:42 -07:00
Romain Guy
f61970fc79
Add an API to query maximum bitmap/texture size on Canvas.
...
Change-Id: I2c576c9a4ecad9f33cc6636bcbc29786acdf052d
2011-07-07 14:10:06 -07:00
Glenn Kasten
03f9435273
Merge "Bug 4571308 Provide correct video frame timestamps"
2011-07-01 15:02:33 -07:00
Jamie Gennis
3cf7cf5751
Merge changes I9fb59763,I8b2c6e00
...
* changes:
SurfaceTexture: consume buffers after err checks
SurfaceTexture: change onFrameAvailable behavior
2011-06-28 12:55:03 -07:00
Jamie Gennis
bd5404d031
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
2011-06-27 15:45:39 -07:00
Jean-Baptiste Queru
a2c8a7b573
am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
...
* commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172':
Add WEBP to the list of Image formats that support Compression.
2011-06-27 14:15:01 -07:00
Glenn Kasten
5c2faf3dc3
Bug 4571308 Provide correct video frame timestamps
...
Change-Id: I0f726817fc02d3e2a4cf82ed801ef977994e6bcc
2011-06-27 11:09:33 -07:00
Jeff Sharkey
f670be372b
Merge "Finish any enter animation when jumping to state."
2011-06-24 23:12:38 -07:00
Jeff Sharkey
a0ac98bd5c
Finish any enter animation when jumping to state.
...
When jumpDrawablesToCurrentState(), finish any alpha animation in
progress. Fixes bug where drawable with enter fade would remain
transparent until next state change.
Change-Id: Ia087f935566a8d78e0efdcb0a1a2f791db05c70e
2011-06-24 17:08:12 -07:00
Jean-Baptiste Queru
ec5039b372
am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
...
* commit '99c070d8eb9f1ff9ea5c38991f15f091040226c2':
Add WEBP to the list of Image formats that support Compression.
2011-06-24 12:20:24 -07:00
Grace Kloba
0904d0af81
Add allowSynchronousMode to SurfaceTexture constructor.
...
Change-Id: I54f30a3c16bbe6b813f3bcd1d389da5627531304
2011-06-23 21:21:47 -07:00
Stephen Hines
7c1747c13c
Merge "Remove verbose logging, update test app and docs."
2011-06-23 17:07:10 -07:00
Stephen Hines
3d782666d7
Remove verbose logging, update test app and docs.
...
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
tedbo
0694cfe49a
Merge "Add method to create a ParcelSurfaceTexture from android.view.Surface."
2011-06-23 14:45:30 -07:00
Jamie Gennis
b950b8e23e
Merge "Fix the issue where onFrameAvailable is not triggered if SurfaceTexture is in sync mode."
2011-06-23 13:02:40 -07:00