summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Remove all public mention of RS graphics from docs.Tim Murray2013-03-2514-89/+28
| | | | Change-Id: I50b29c89ae80ba3ae7b12dc60fee8585e17ed560
* Merge "Manage drawable invalidation automatically for Overlays" into jb-mr2-devChet Haase2013-03-201-0/+4
|\
| * Manage drawable invalidation automatically for OverlaysChet Haase2013-03-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drawables added to a view's Overlay will now cause the Overlay to be invalidated via the normal drawable-invalidation mechanism. That is, changes to any of the drawables in the overlay should cause invalidation of the proper area of the overlay and thus the hostView, causing the appropriate area to be redrawn. Also, fixed a bug in drawable invalidation so that bounds changes will now correctly invalidate both the old and new bounds areas. Issue #8350510 Add APIs needed for future animation capabilities Change-Id: Icae5fa0e420232ee17dc39be10084345bae8dbd8
* | Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and ↵Fabrice Di Meglio2013-03-201-86/+9
|/ | | | | | | | | their dependencies - remove the ICU related methods and update the methods using the "reserved" argument - update to CTS in another CL too Change-Id: I5509736568c342d9d17bfeafc17951117ab5d3cc
* Merge "Fix errors in Canvas.EdgeType docs" into jb-mr2-devChet Haase2013-03-151-9/+18
|\
| * Fix errors in Canvas.EdgeType docsChet Haase2013-03-151-9/+18
| | | | | | | | | | | | Issue #7722363 Fix Canvas EdgeType docs Change-Id: I2908ff22879eb5996da73a37dae1a4cabf82fffb
* | Revert "Clean Paint.mBidiFlags as it is no longer used"Fabrice Di Meglio2013-03-152-49/+305
| | | | | | | | This reverts commit 6d9fe5bd22b531bfce69b146254a4791c76acddc.
* | Revert "fix argument mismatches in Paint JNI"Fabrice Di Meglio2013-03-151-1/+1
|/ | | | This reverts commit b61fb10fe435b74a761e82f517abd0320f22193e.
* Fix typoJason Sams2013-03-081-1/+1
| | | | Change-Id: I4e4d3aec62d1400f90a10802148ef875b5a268ef
* am cc3fec69: am 0c8dfd7d: am 1061c578: am 095aa4b6: am 1a5bec01: Merge "Doc ↵Adam Koch2013-03-051-3/+2
|\ | | | | | | | | | | | | fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev * commit 'cc3fec699d9fdf57a080106e6ca7b3ae845f1446': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
| * am 0c8dfd7d: am 1061c578: am 095aa4b6: am 1a5bec01: Merge "Doc fix: update ↵Adam Koch2013-03-051-3/+2
| |\ | | | | | | | | | | | | | | | | | | BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev * commit '0c8dfd7d281d037df3d427ccb6bf4642b2617a63': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
| | * am 1a5bec01: Merge "Doc fix: update BitmapFactory.Options.inSampleSize ↵Adam Koch2013-03-051-3/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | javadoc Bug: 8250653" into jb-mr1-dev * commit '1a5bec0127ca4584008a1ab9e1ce49e671f8387c': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
| | | * Doc fix: update BitmapFactory.Options.inSampleSize javadocAdam Koch2013-02-221-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 8250653 Change-Id: I7187372ab3c742b9395d119a7425f60f071dbb4e
* | | | Merge "Never resize a Bitmap down to 0 at load time Bug #8313929" into ↵Romain Guy2013-03-051-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | Never resize a Bitmap down to 0 at load timeRomain Guy2013-03-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #8313929 Change-Id: Ic9b691319f162228c72ad1afed4dfe0b4181c422
* | | | | Merge "Document that degenerate lines wont be drawn" into jb-mr2-devChris Craik2013-03-041-2/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Document that degenerate lines wont be drawnChris Craik2013-03-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:7658830 Skia and the HW acceleration path don't render anything for degenerate lines. Change-Id: I5ea6fe8f16533e5045a7cd10475f4240f6c311b6
* | | | | Deprecate read/write Pictures to streams.Derek Sollenberger2013-03-042-18/+42
|/ / / / | | | | | | | | | | | | | | | | bug: 8241089 Change-Id: I435a534f5110cb2b8aba87c047b509020a22fd67
* | | | Merge "Avoid trying to draw invisible ShapeDrawables" into jb-mr2-devChris Craik2013-03-011-9/+12
|\ \ \ \
| * | | | Avoid trying to draw invisible ShapeDrawablesChris Craik2013-02-281-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids work when a drawable is declared with @android:color/transparent Change-Id: I1b6d3b22751e378be047a5538dfd4d4baab3c03a
* | | | | Add support and better exceptions for Bitmaps with a null config.Tim Murray2013-02-281-0/+29
|/ / / / | | | | | | | | | | | | | | | | Bug: 8263427 Change-Id: I4181402e4739c6a40591f1e1416fca98643ecc57
* | | | round subpixels up to next integer in measureText DO NOT MERGEVictoria Lease2013-02-271-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A common source of layout bugs we're seeing these days involves the output of measureText() being fed into StaticLayout's constructor. measureText() returns subpixel-accurate values, but StaticLayout only takes integral bounds, resulting in the subpixel portion of the bounds being truncated. This leaves StaticLayout with insufficient space to layout the text that was just measured, causing all manner of unexpected line breaks. This could be causing issues elsewhere, as well. Until our text pipeline is fully subpixel-perfect, it's best that measureText guarantee that the value it returns will be sufficient to contain the text, even if cast to int. Cherry-pick of Ib84947f0d0a1229287f5b19b99e7efd40f5317f7 Bug: 8164205 Change-Id: I69795ba5770112c0a3d0e752158076a8d1646b1a
* | | | add support for debug and profile contexts.Jason Sams2013-02-222-9/+38
| | | | | | | | | | | | | | | | Change-Id: I759e54e365a344a93d725eb4fa70a2c4c98bf05a
* | | | Merge "Fix build break."Jason Sams2013-02-221-0/+7
|\ \ \ \
| * | | | Fix build break.Jason Sams2013-02-221-0/+7
| | | | | | | | | | | | | | | | | | | | Change-Id: I362c96787482bc8daee7dd4a01817ab7ed79b730
* | | | | Merge "Implement USAGE_IO_INPUT"Jason Sams2013-02-223-71/+16
|\ \ \ \ \ | |/ / / /
| * | | | Implement USAGE_IO_INPUTJason Sams2013-02-223-71/+16
| | | | | | | | | | | | | | | | | | | | Change-Id: Id5b9e3d0a17e4df15eec36d542fde6dc626138b2
* | | | | Fix use case where the Java Canvas is reused.Derek Sollenberger2013-02-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When provided with a new bitmap device the canvas will retain certain information such as it's matrix and clip. bug: 8167188 Change-Id: I20ac8a24eebc85fb7c147504a103ce9a95b530b3
* | | | | am 8a47d8ea: Merge "Clean up clipping and deferral logic"Chris Craik2013-02-201-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '8a47d8eaec26d0937aee94a057f561f246748339': Clean up clipping and deferral logic
| * | | | Clean up clipping and deferral logicChris Craik2013-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:8037003 -Merges replay methods -Bounds checking for DrawBitmapMesh, DrawRects and DrawDisplayList -Use clip as bounds for otherwise unbounded draw operations Clip-as-bounds is correct for drawColor and functor, but other draw operations (pos text, text on path, and layers) still need true bounds calculation Change-Id: I5d5149d2c624f01e3fe46628bf156e835e69b9d5
* | | | | am 840b5069: Merge "Support typed YUV allocations."Jason Sams2013-02-152-3/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '840b5069707c6f39ec06231dacbcbe8159d581c1': Support typed YUV allocations.
| * | | | Merge "Support typed YUV allocations."Jason Sams2013-02-162-3/+4
| |\ \ \ \
| | * | | | Support typed YUV allocations.Jason Sams2013-02-152-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I56e7a318dc979f0b7454fcfa5773ea6d95bbaeaa
* | | | | | am ab7a2919: Merge "Add MIRRORED_REPEAT."Tim Murray2013-02-152-8/+71
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'ab7a2919a321af21b234d8db14748624c1b13634': Add MIRRORED_REPEAT.
| * | | | | Merge "Add MIRRORED_REPEAT."Tim Murray2013-02-162-8/+71
| |\ \ \ \ \
| | * | | | | Add MIRRORED_REPEAT.Tim Murray2013-02-152-8/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7565da24912a3c33d8f824da9ea0899a423d3c40
* | | | | | | am ceec31b7: Merge changes I5a218ca1,I853a76d9Mathias Agopian2013-02-151-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ceec31b7dab6a23e443d5dcbcfac4a23b720cfde': Refactoring: Rename SurfaceTextureClient to Surface clean-up following Surface split
| * | | | | | Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I5a218ca11abeeec05e3a4c3cfc581bcc788814ea
* | | | | | am c69bce2e: Merge "fix argument mismatches in Paint JNI"Victoria Lease2013-02-141-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | # Via Android (Google) Code Review (1) and Victoria Lease (1) * commit 'c69bce2e41c70da35e1b6a2ab5ec44469ab14c80': fix argument mismatches in Paint JNI
| * | | | | fix argument mismatches in Paint JNIVictoria Lease2013-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Paint.getTextRunCursor() no longer has a "flags" argument on the Java side. The native side, however, still had the argument, and was being called with misaligned arguments, causing all manner of madcap fun. Also, the version of Paint.getTextRunCursor() that took String as an argument needed to lose the "flags" argument, as well, to prevent an infinite loop in the CharSequence version of the function, which was supposed to be calling the String version but was actually calling itself. Bug: 8201224 Change-Id: Iad0dabaf81185f29a082566cc64590f2ba9bc31c
| * | | | | Merge "Revert "Merge remote-tracking branch 'goog/master-chromium' into ↵Chris Craik2013-02-133-33/+36
| |\ \ \ \ \ |/ / / / / / | | | | | | | | | | | | 'goog/master'" DO NOT MERGE"
| * | | | | Revert "Merge remote-tracking branch 'goog/master-chromium' into ↵Chris Craik2013-02-133-33/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'goog/master'" DO NOT MERGE This reverts commit 6c0307dd0aefe9a08794b155fc03ee60ebd14f25, reversing changes made to a2cd828b749c444d55c2c41c7dbb85088ff94b9f. Conflicts: packages/SystemUI/res/values-sv/strings.xml Change-Id: Ia178efe8b14751583d47b2826bfe3d3d5463dd2e
* | | | | | Merge "Add rsnScriptForEachClipped() implementation with no param array."Stephen Hines2013-02-132-3/+30
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Add rsnScriptForEachClipped() implementation with no param array.Stephen Hines2013-02-132-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JNI doesn't let us pass down a NULL parameter array (from the usrData part of our reflection). In this case, we simply clone our existing function, but remove the offending array parameter. Change-Id: Ib1d6e202f2a55ba8922eec3da5a93d8daa882250
* | | | | | Merge "Clean Paint.mBidiFlags as it is no longer used"Fabrice Di Meglio2013-02-132-305/+49
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Clean Paint.mBidiFlags as it is no longer usedFabrice Di Meglio2013-02-122-305/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See bug #7623824 Change-Id: Ie2f9422821f6dcc73c99e8695f448e966b587b1d
* | | | | | Merge "Pass through null LaunchOption structs to standard forEach."Tim Murray2013-02-131-0/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Pass through null LaunchOption structs to standard forEach.Tim Murray2013-02-121-0/+5
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I4dcde6996400207c7e361ff4b7723ec7db832e80
* | | | | Merge "Check Element in all API levels for copy2DRangeFrom()."Stephen Hines2013-02-121-20/+4
|\ \ \ \ \
| * | | | | Check Element in all API levels for copy2DRangeFrom().Stephen Hines2013-02-081-20/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I561317671a16888fc9f35908ab1ae1489a14fc6c