summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Hide Paint textLocale APIs - DO NOT MERGEFabrice Di Meglio2012-05-041-0/+2
| | | | | | - fix bug #6441521 Need to @hide Paint setTextLocale / getTextLocale - CJK support Change-Id: Ic536989243d7028e6f5fce7d60dfef4467bebffb
* Hide RTL related APIs - DO NOT MERGEFabrice Di Meglio2012-05-041-2/+2
| | | | | | - fix bug #6441155 API review: @hide RTL layout APIs Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
* Merge "Update docs for YV12 format and camera preview callbacks." into jb-devEino-Ville Talvala2012-05-031-2/+14
|\
| * Update docs for YV12 format and camera preview callbacks.Eino-Ville Talvala2012-05-031-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | - Define stride for YV12 when using it for preview callbacks - Include equations for calculating stride and start indexes of Y, U, and V planes for YV12. - Add more cross-references so that equations are easier to find. Bug: 6330501 Change-Id: I85a78757ec767d08173b9fe714adb715835244b4
* | Start passing element/dim information along with FieldPacker.Stephen Hines2012-05-013-1/+35
| | | | | | | | | | | | BUG=6009244 Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
* | Unhide FONT.Stephen Hines2012-05-011-4/+2
| | | | | | | | Change-Id: I86258076817bb8f34ce3bb76031df41c08750f8c
* | Fix scaling of layout bounds.Dianne Hackborn2012-04-301-0/+8
|/ | | | Change-Id: I9d8c8924900fed69030ee3e8d6decee89ca67820
* Fixes for optical bounds feature.Philip Milne2012-04-271-1/+12
| | | | | | | | | | 1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance. 2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS. 3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS. 4. Complete GridLayout implementation. 5. Change the default_gap between components to 8dp, to align with the Style Guide. Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
* 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-283-13/+34
| | | | Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
* Moving libRSAlex Sakhartchouk2012-03-281-1/+1
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* 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-233-20/+26
|\
| * Implement USAGE_IO_INPUTJason Sams2012-03-233-20/+26
| | | | | | | | 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
| * am e5e11fd6: Merge "docs: fixing bug 5942573" into ics-mr1Robert Ly2012-03-021-3/+3
| |\ | | | | | | | | | | | | * commit 'e5e11fd666d242b099466017c6d9bd23e6d2896d': docs: fixing bug 5942573
| | * Merge "docs: fixing bug 5942573" into ics-mr1Robert Ly2012-03-021-3/+3
| | |\