summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Turn off hinting by default for higher density displays.Dianne Hackborn2011-08-121-0/+27
| | | | | | Also adds an API for apps to control whether hinting is used. Change-Id: I1a06b06255fbb8d0f02a8ce48c2cd60019088ed3
* Merge "Replacing sans serif system font with Roboto"Justin Ho2011-08-121-4/+4
|\
| * Replacing sans serif system font with RobotoChristian Robertson2011-08-111-4/+4
| | | | | | | | Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
* | Remove ParcelSurfaceTexture and update MediaPlayerTed Bonkenburg2011-08-112-137/+0
| | | | | | | | | | | | | | | | | | This removes the ParcelSurfaceTexture class since that functionality has been folded into Surface.java. The change also updates the MediaPlayer to get rid of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface functionality in order to simplify the code. Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
* | Merge "Make some methods/fields package private so that layoutlib can access ↵Xavier Ducrohet2011-08-114-8/+8
|\ \ | | | | | | | | | them."
| * | Make some methods/fields package private so that layoutlib can access them.Xavier Ducrohet2011-08-114-8/+8
| |/ | | | | | | Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
* | Merge "Remove unnecessary private API"Romain Guy2011-08-111-11/+0
|\ \ | |/ |/|
| * Remove unnecessary private APIRomain Guy2011-08-111-11/+0
| | | | | | | | Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
* | Merge "Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed."Romain Guy2011-08-091-1/+3
|\ \
| * | Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.Grace Kloba2011-08-091-1/+3
| | | | | | | | | | | | | | | | | | | | | If returns true, the SurfaceTexture will be released by TextureView. If returns false, the client needs to release the SurfaceTexture. Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
* | | Add more Paint text APIs parameters checksFabrice Di Meglio2011-08-091-41/+132
|/ / | | | | | | Change-Id: Idd04e9937b821180f46852451405bb9c6d59da37
* | Add more optimizations for Text measuring / breaking / getting advancesFabrice Di Meglio2011-08-081-0/+39
|/ | | | | | | | - 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
* Fix bug #4584320 Single Line EditText not drawing correctly with spans ↵Fabrice Di Meglio2011-08-081-2/+2
| | | | | | | | applied (ICS) - provide a better fix by still using the full context of the text (versus using the text only) Change-Id: I542335e98117921d75c191e90a9b2018ca356ac9
* Merge "Fix bug #4584320 Single Line EditText not drawing correctly with ↵Fabrice Di Meglio2011-08-081-1/+1
|\ | | | | | | spans applied (ICS)"
| * Fix bug #4584320 Single Line EditText not drawing correctly with spans ↵Fabrice Di Meglio2011-08-051-1/+1
| | | | | | | | | | | | | | | | | | 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
* | Merge "Start using bcinfo components within librs."Stephen Hines2011-08-053-14/+31
|\ \
| * | Start using bcinfo components within librs.Stephen Hines2011-08-033-14/+31
| | | | | | | | | | | | | | | | | | BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
* | | Merge "Add camera bayer image format."Wu-cheng Li2011-08-041-1/+13
|\ \ \
| * | | Add camera bayer image format.Wu-cheng Li2011-08-041-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
* | | | Add a 'release' method to the SurfaceTexture public Java APIMathias Agopian2011-08-031-0/+20
| |_|/ |/| | | | | | | | | | | Bug: 5063618 Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
* | | Clear the bitmap from the canvas in a lot of places.Dianne Hackborn2011-08-021-0/+1
| | | | | | | | | | | | Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
* | | Copy constructors should actually copy stuff.Romain Guy2011-08-022-4/+18
|/ / | | | | | | | | | | Bug #5027094 Change-Id: Iab6bf652e0b9bdd1bbc794e7c4218f46bafdd1a4
* | Allow Canvas.setBitmap() to receive a null Bitmap.Romain Guy2011-08-011-6/+11
|/ | | | Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2
* cherrypick Change-Id: Iaada8d42f97786d393743cd7fc3011da1d21f22eScott Main2011-07-271-1/+1
| | | | | | docs: resolve issue 5044273 and fix markup error Change-Id: Ic028292245c14cca218ea9ac771f292254577e7c
* Merge "Add getName to renderscript base object"Alex Sakhartchouk2011-07-271-0/+7
|\
| * Add getName to renderscript base objectAlex Sakhartchouk2011-07-261-0/+7
| | | | | | | | Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
* | Unhide new RS apis.Jason Sams2011-07-263-5/+2
|/ | | | Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
* Fixing bitmap invalidation bug.Alex Sakhartchouk2011-07-201-0/+1
| | | | Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
* Merge "Clean test APIs for Harfbuzz support"Fabrice Di Meglio2011-07-181-75/+1
|\
| * Clean test APIs for Harfbuzz supportFabrice Di Meglio2011-07-151-75/+1
| | | | | | | | | | | | - also update unit tests Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
* | Remove unused codeRomain Guy2011-07-151-40/+0
|/ | | | Change-Id: I7f7fc6bac03c92087037fc56b78fc43a1e93dae5
* Merge "Remove the simulator target from all makefiles. Bug: 5010576"Jeff Brown2011-07-121-9/+0
|\
| * Remove the simulator target from all makefiles.Jeff Brown2011-07-111-9/+0
| | | | | | | | | | | | Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
* | Merge "Add error checks for AllocationAdapters being used in unsupported ways."Jason Sams2011-07-112-14/+57
|\ \ | |/ |/|
| * Add error checks for AllocationAdapters being used in unsupported ways.Jason Sams2011-07-082-14/+57
| | | | | | | | Change-Id: If6506e04d65a7b3d79203ac7a20a7961368ef04f
* | Use resource entry name instead of mangled name.Logan Chien2011-07-111-1/+1
| | | | | | | | Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
* | Merge "Correctly render nested rectangles with different winding rules."Romain Guy2011-07-081-9/+19
|\ \ | |/ |/|
| * Correctly render nested rectangles with different winding rules.Romain Guy2011-07-081-9/+19
| | | | | | | | Change-Id: I331d9dc1c17aee62a2fa213692c62a5ba1bb079a
* | Merge "Fix more type info caching bugs."Jason Sams2011-07-071-0/+1
|\ \
| * | Fix more type info caching bugs.Jason Sams2011-07-071-0/+1
| | | | | | | | | | | | Change-Id: I917a1190ec12fe954c9bf51ffd446ef564837e68
* | | Merge "Fix defered type creation when loading from A3D."Jason Sams2011-07-071-9/+15
|\ \ \ | |/ /
| * | Fix defered type creation when loading from A3D.Jason Sams2011-07-071-9/+15
| | | | | | | | | | | | Change-Id: I09387c0859dcc9fe77014bc7486109d81742f298
* | | Merge "AllocationAdapter cleanup."Jason Sams2011-07-072-233/+207
|\ \ \ | |/ / | | / | |/ |/|
| * AllocationAdapter cleanup.Jason Sams2011-07-072-233/+207
| | | | | | | | Change-Id: Ia7eb0925e410779bbd6a925af721e3834dcf83f8
* | Add an API to query maximum bitmap/texture size on Canvas.Romain Guy2011-07-071-1/+27
| | | | | | | | Change-Id: I2c576c9a4ecad9f33cc6636bcbc29786acdf052d
* | Merge "Bug 4571308 Provide correct video frame timestamps"Glenn Kasten2011-07-011-1/+4
|\ \ | |/ |/|
| * Bug 4571308 Provide correct video frame timestampsGlenn Kasten2011-06-271-1/+4
| | | | | | | | Change-Id: I0f726817fc02d3e2a4cf82ed801ef977994e6bcc
* | Merge changes I9fb59763,I8b2c6e00Jamie Gennis2011-06-281-4/+0
|\ \ | | | | | | | | | | | | | | | * changes: SurfaceTexture: consume buffers after err checks SurfaceTexture: change onFrameAvailable behavior
| * | SurfaceTexture: change onFrameAvailable behaviorJamie Gennis2011-06-271-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image ↵Jean-Baptiste Queru2011-06-271-1/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | formats that support Compression." * commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172': Add WEBP to the list of Image formats that support Compression.