summaryrefslogtreecommitdiffstats
path: root/graphics/java/android
Commit message (Collapse)AuthorAgeFilesLines
* DeprecateAlex Sakhartchouk2012-04-1949-425/+683
| | | | Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
* Share Insets instances between views that have the same background (Drawable)Philip Milne2012-04-184-23/+13
| | | | Change-Id: I47d93ccca6f553b678d25966d10d7a0a97cfa5ea
* Merge "Unhide new SurfaceTexture & TextureView APIs"Jamie Gennis2012-04-161-5/+1
|\
| * Unhide new SurfaceTexture & TextureView APIsJamie Gennis2012-04-131-5/+1
| | | | | | | | | | | | | | | | This change unhides the new SurfaceTexture and TextureView APIs that were added to allow transferring ownership of the SurfaceTexture from the UI framework to the application. Change-Id: Ic4b781d907a59e99ff1a5974009305c1f9aee36a
* | Merge "Fix for bug 6110465."Philip Milne2012-04-164-25/+198
|\ \ | |/ |/|
| * Fix for bug 6110465.Philip Milne2012-04-134-25/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add layout bound metadata to 9-patch files and make layouts take them into account. This CL contains a proposed API for dealing with layout bounds. This solution exposes: 1. Class: Insets - for storing layout Insets (and later possibly padding). 2. Methods: View:(get/set)LayoutInsets() - for storing layoutBounds. 3. Methods: ViewGroup:(get/set)LayoutMode() - for controlling layoutMode. It also iuncudes the changes to GridLayout to support layout bounds. Change-Id: I60c836b6530b61c5abf37f93ee9c44aad73573f1
* | SurfaceTexture: update API docsJamie Gennis2012-04-131-9/+24
|/ | | | | | | | 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 "Improve Paint.setTextLocale()"Fabrice Di Meglio2012-04-121-8/+21
|\
| * Improve Paint.setTextLocale()Fabrice Di Meglio2012-04-121-8/+21
| | | | | | | | Change-Id: Iffc9f8816f48dbd431b3b430a7c48f8d646703f3
* | Merge "Editing fixes to ImageFormat documentation."Eino-Ville Talvala2012-04-121-17/+21
|\ \
| * | Editing fixes to ImageFormat documentation.Eino-Ville Talvala2012-04-101-17/+21
| | | | | | | | | | | | Change-Id: I74738a65abc3abbb49825b16f4efe3ac2eb6d28e
* | | Merge "Add Paint.setTextLocale()"Fabrice Di Meglio2012-04-121-0/+41
|\ \ \ | | |/ | |/|
| * | Add Paint.setTextLocale()Fabrice Di Meglio2012-04-121-0/+41
| |/ | | | | | | | | | | - will be used for better shaping CJK and other goodies Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587
* | Merge "Add missing support for Element.FONT()."Stephen Hines2012-04-122-1/+10
|\ \
| * | Add missing support for Element.FONT().Stephen Hines2012-04-112-1/+10
| |/ | | | | | | Change-Id: Id66676958cc41d934b7f01acd65916f6d777d355
* | Unhiding J API's for Renderscript.Alex Sakhartchouk2012-04-118-101/+87
|/ | | | Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
* Merge changes Iac9cc917,I8eed4b0dJamie Gennis2012-04-061-1/+27
|\ | | | | | | | | | | * changes: TextureView: add setSurfaceTexture method SurfaceTexture: add GL context attach & detach
| * SurfaceTexture: add GL context attach & detachJamie Gennis2012-04-051-1/+27
| | | | | | | | | | | | | | 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
* | Fix javadocRomain Guy2012-04-051-3/+1
|/ | | | Change-Id: I41315ff2ff1b404de82264e6a56ee46032862a32
* Merge "Embed layout padding in nine patch images"Amith Yamasani2012-04-044-6/+58
|\
| * Embed layout padding in nine patch imagesAmith Yamasani2012-04-044-6/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge "Optimize FBOs composition"Romain Guy2012-04-031-9/+3
|\ \
| * | Optimize FBOs compositionRomain Guy2012-04-031-9/+3
| |/ | | | | | | Change-Id: Ifc8eada8922509373c0e4c3b2ed75b6f08d098de
* | Validate context when using RS objects.Jason Sams2012-04-0316-87/+94
| | | | | | | | | | | | BUG=6035422 Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
* | Rename ioReceive and ioSendJason Sams2012-03-291-2/+10
|/ | | | | | First checkin of Allocation IO test Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
* Convert from SurfaceTexture to SurfaceJason Sams2012-03-282-6/+28
| | | | Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
* Add getSizeBytes and cleanup docs.Jason Sams2012-03-231-2/+13
| | | | Change-Id: I854a41f50378590b58bfbb205906ed4bee440411
* Cleanup Allocation docs and getter funcs.Jason Sams2012-03-231-0/+39
| | | | Change-Id: Ic6fb92e0675d64016f0d471c1d9e5328101e4b36
* Merge "Implement USAGE_IO_INPUT"Jason Sams2012-03-232-19/+15
|\
| * Implement USAGE_IO_INPUTJason Sams2012-03-232-19/+15
| | | | | | | | Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
* | Fix LayerDrawable#mutateAdam Powell2012-03-211-1/+6
|/ | | | Change-Id: I985b80141ffc96db969eaf36538df938cb093661
* Pre-scale bitmaps on the native heapRomain Guy2012-03-191-10/+55
| | | | Change-Id: I9819b532b89a997ab775b31ffee46445f1d16e20
* Remove unused private APIRomain Guy2012-03-151-24/+0
| | | | Change-Id: Iec9c2bc275fc7376f4e0b0b9c44059c56a9dd173
* Handle view properties at the native levelChet Haase2012-03-121-0/+21
| | | | | | | | | | | 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
* Don't allocate new typefaces when not needed.Romain Guy2012-03-121-14/+64
| | | | | | | | | | | The Typeface.create(Typeface, int) API can be used to create a new typeface derived from an existing typeface. The implementation would however create a new Typeface instance on every call, creating unnecessary garbage in text-heavy applications. This changelist adds a small cache of derived typefaces to avoid allocations whenever possible. Change-Id: Ib7290b3183e372aae12cf66033690e15cd4d0691
* Merge "Make Drawable RTL APIs public"Fabrice Di Meglio2012-03-093-6/+0
|\
| * Make Drawable RTL APIs publicFabrice Di Meglio2012-03-093-6/+0
| | | | | | | | | | | | - also optimize imports Change-Id: I2649a539a5784293d09179981a5d57e900219246
* | Fix a typo in RectF.equalsAmith Yamasani2012-03-091-1/+1
|/ | | | Change-Id: Idffbf9a324b68f38843049956d1d05d4a64d1345
* am b962b98b: am 67a15457: am e5e11fd6: Merge "docs: fixing bug 5942573" into ↵Robert Ly2012-03-021-3/+3
|\ | | | | | | | | | | | | ics-mr1 * commit 'b962b98bef33eba634aec41cf9d84527ce9db3bb': docs: fixing bug 5942573
| * Merge "docs: fixing bug 5942573" into ics-mr1Robert Ly2012-03-021-3/+3
| |\
| | * docs: fixing bug 5942573Robert Ly2012-02-221-3/+3
| | | | | | | | | | | | Change-Id: I2479dc8916f98a8bf7dbec95dc29cbd871c51be5
* | | am ca7d7541: am d70eaff4: am 941ff38d: Merge "fix bug 5942522" into ics-mr1Robert Ly2012-03-011-1/+6
|\ \ \ | |/ / | | | | | | | | | * commit 'ca7d7541c4cad188eb643113e3c3e91e63d21a5e': fix bug 5942522
| * | fix bug 5942522Robert Ly2012-02-221-1/+6
| |/ | | | | | | Change-Id: Ice16e63b42d5e8c89994d0844f62adaefc8a92a1
* | Merge "Make compute work without an app context."Jason Sams2012-02-242-11/+18
|\ \
| * | Make compute work without an app context.Jason Sams2012-02-242-11/+18
| | | | | | | | | | | | Change-Id: I644b4711135d6f5d9866b6c2e5e6f6a5ceb1f3d4
* | | Merge "Do RS caching the same way HardwareRenderer does. Eliminates the need ↵Jason Sams2012-02-242-5/+22
|\ \ \ | |/ / | | | | | | for an application context for caching."
| * | Do RS caching the same way HardwareRenderer does.Jason Sams2012-02-242-5/+22
| | | | | | | | | | | | | | | | | | Eliminates the need for an application context for caching. Change-Id: I4374738083b5eb4ce983d2cb5409428e3668c423
* | | deprecate L_8, LA_88 and RGB_332 in sdkMathias Agopian2012-02-241-0/+4
|/ / | | | | | | | | | | | | | | | | | | re-add support for pixelformats L_8, LA_88 and RGB_332 in libui for backward compatibility. This may or may not fix 6058926 Bug: 6049685 Change-Id: Ic1b8b4cc994522f7fe664da64c0ef76b98bc6d53
* | Merge "start new headers"Jason Sams2012-02-231-0/+2
|\ \
| * | start new headersJason Sams2012-02-221-0/+2
| | | | | | | | | | | | | | | | | | Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf cpp