summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Fix sdk build.Ying Wang2013-11-261-3/+2
| | | | Change-Id: I11471213826b212b99c0ddba89a7f4cef110fcc4
* Generic object based data copy.Jason Sams2013-11-261-234/+241
| | | | | | | | | | | This change consolidates the copy paths to Object based. The runtime now uses reflection to identify the type of array present. This adds support for long/double and reduces the amount of code present. We could also support arrays of vectors or objects in the future with this mechanism. Change-Id: I2297c1c01fbe6a64c375d6368f25d7db781ea788
* Merge "Convert Java/JNI to 64-bit, part 2."Tim Murray2013-11-2030-484/+490
|\
| * Convert Java/JNI to 64-bit, part 2.Tim Murray2013-11-2030-484/+490
| | | | | | | | | | | | | | | | | | | | | | This changes BaseObj to support 64-bit IDs. There are a few caveats: 1. Since it is deprecated, RSG will not support 64-bit. 2. Currently, methods that pass arrays of IDs to the driver are not supported in 64-bit. This will be fixed in a later CL. bug 11332320 Change-Id: If0dbecc8b285e260f767e441e05088b6a1b749a2
* | Merge "Remove unused imports from frameworks/base."John Spurlock2013-11-2054-193/+0
|\ \
| * | Remove unused imports from frameworks/base.John Spurlock2013-11-2054-193/+0
| | | | | | | | | | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* | | Merge "Add animations along a Path."George Mount2013-11-201-0/+23
|\ \ \ | |_|/ |/| |
| * | Add animations along a Path.George Mount2013-11-201-0/+23
| | | | | | | | | | | | Change-Id: If03bd10a3961ff874e33489e1253146b8dadca33
* | | Convert Java/JNI to 64-bit, part 1.Tim Murray2013-11-193-444/+444
| |/ |/| | | | | | | | | | | | | This converts context and device storage to use long instead of int. bug 11332320 Change-Id: If93a5d78385d3004d5e709762b78bd1d3538088d
* | Fix logic problems in AnimationDrawable and View.John Spurlock2013-11-181-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. View now checks both queues when unscheduling runnables, fixing the case where work was scheduled pre-attach, and unscheduled post-attach. 2. AnimationDrawable avoids posting duplicate runnables when rescheduling itself. 3. Decouple is-animation-running state from current frame pointer in AnimationDrawable. Some calls init to the first frame, but do not kick off the animation. 4. Remove workaround in SystemUI's AnimatedImageView (status bar icon) now that the underlying framework issues are fixed. Bug:11694594 Change-Id: I77ca6bd80262f7edcf980b2d7efc2592f8051f29
* | Merge "Initial integration of Minikin to framework"Raph Levien2013-11-183-13/+23
|\ \
| * | Initial integration of Minikin to frameworkRaph Levien2013-11-183-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch, framework does at least some of its text rendering using Minikin instead of TextLayoutCache. There's a lot of stuff broken and not yet implemented, but the phone will boot. Changes are hidden behind USE_MINIKIN, which should be set in BoardConfig.mk for the brave. Without that, there are changes to signatures in JNI methods and so on, but shouldn't be any visible changes. This commit also introduces a new abstraction for Typeface: The new TypefaceImpl abstraction represents the functionality that corresponds to a Java Typeface object. Currently it is backed by SkTypeface, but in the migration to Minikin it is a FontCollection combined with a FontStyle. This patch introduces a USE_MINIKIN preprocessor switch, so there is no substantial change to existing Skia-based code, but which lets us start replacing the implementation with the Minikin version. Change-Id: I532c4c2d32d4f4c1f349dc1db37caa112af587ea
* | | Use correct state list for obtaining stroke colorAlan Viverette2013-11-141-8/+11
| | | | | | | | | | | | | | | BUG: 11696411 Change-Id: Ia9ad70cbceae18923fc79db8f07223fb0d41ae81
* | | Add long/double read support.Jason Sams2013-11-113-53/+48
| | | | | | | | | | | | Change-Id: I1957f7ac18262a3004a4adcb7c31055212e483c2
* | | Merge "Always do simple path detection"John Reck2013-11-111-23/+12
|\ \ \
| * | | Always do simple path detectionJohn Reck2013-11-081-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HardwareRenderer.isAvailable() only returns false under an emulator As such eliminate Path's dependency on the HardwareRenderer by always doing simple path detection. The only drawback is a bit of wasted work in the emulator. Change-Id: I89d452bd24a6c6751ed8017c13a9e97f8a1a940d
* | | | am ebd616e8: am 134631b9: am 90242fe5: Merge "Switch to the new Skia PDF ↵Svetoslav2013-11-071-20/+27
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | generation APIs." into klp-dev * commit 'ebd616e88dab185bbf5b309d29c92a9eea9817e0': Switch to the new Skia PDF generation APIs.
| * | | am 90242fe5: Merge "Switch to the new Skia PDF generation APIs." into klp-devSvetoslav2013-11-071-20/+27
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '90242fe5581c8f665c09337a0971a7c3fc908f7c': Switch to the new Skia PDF generation APIs.
| | * \ \ Merge "Switch to the new Skia PDF generation APIs." into klp-devSvetoslav2013-11-081-20/+27
| | |\ \ \
| | | * | | Switch to the new Skia PDF generation APIs.Svetoslav2013-11-071-20/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new Skia PDF generation APIs are a small extension to the code that converts drawing commands to PDF (SkPDFDevice) and this new functionality is exposed via new APIs. This change switches to using these new APIs allowing us to capitalize on the new perspective support for PDF generation. bug:11561776 Change-Id: Ief61f7ff6a5a22c27d3acbe99a48910cb679f594
* | | | | | am 4833a6ce: am e34c4770: am 435c0ee1: Merge "Fix bug #11537133 Hideycling ↵Fabrice Di Meglio2013-11-072-2/+3
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | | | | | | | | | | | | looks broken (KOT36), missing left padding" into klp-dev * commit '4833a6ce44becf0d73e9727da64d8c7bd0f89549': Fix bug #11537133 Hideycling looks broken (KOT36), missing left padding
| * | | | am 435c0ee1: Merge "Fix bug #11537133 Hideycling looks broken (KOT36), ↵Fabrice Di Meglio2013-11-072-2/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | missing left padding" into klp-dev * commit '435c0ee10af132937dc0a22c39380624e6efd5ab': Fix bug #11537133 Hideycling looks broken (KOT36), missing left padding
| | * | | Merge "Fix bug #11537133 Hideycling looks broken (KOT36), missing left ↵Fabrice Di Meglio2013-11-072-2/+3
| | |\ \ \ | | | |/ / | | |/| | | | | | | padding" into klp-dev
| | | * | Fix bug #11537133 Hideycling looks broken (KOT36), missing left paddingFabrice Di Meglio2013-11-062-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enforce the Drawable boolean getPadding(Rect) contract for NinePatchDrawable and DrawableContainer. - as NinePatchDrawable was not enforcing it, the consequence was that the mUserPaddingLeftInitial / mUserPaddingRitghInitial were reset to "0" (even if they got the correct value before the reset). Change-Id: I1efe7fad5f89c0ca47f90189f6d89940e0e9c6ae
| * | | | am 47feee53: Merge "Fix some documentation typos." into klp-docsNewton Allen2013-11-073-5/+5
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit '47feee535f9e4e77165b93b6b9f10379e7aa4bbd': Fix some documentation typos.
* | | | | am 4899398d: am baba771c: am 47742d4b: Merge "Fix NPE with inPurgeable ↵Chris Craik2013-11-061-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bitmaps in getAllocationByteCount" into klp-dev * commit '4899398dcad50d1b9734ca5f8959712f42f72b02': Fix NPE with inPurgeable Bitmaps in getAllocationByteCount
| * \ \ \ \ am baba771c: am 47742d4b: Merge "Fix NPE with inPurgeable Bitmaps in ↵Chris Craik2013-11-061-0/+5
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getAllocationByteCount" into klp-dev * commit 'baba771c85ec4a8d56e07c0d963c663a99cfa0e3': Fix NPE with inPurgeable Bitmaps in getAllocationByteCount
| | * | | | Merge "Fix NPE with inPurgeable Bitmaps in getAllocationByteCount" into klp-devChris Craik2013-11-061-0/+5
| | |\ \ \ \
| | | * | | | Fix NPE with inPurgeable Bitmaps in getAllocationByteCountChris Craik2013-11-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:11556330 Change-Id: I430136ea15baeb60adfb9bb2acdde9505ce707fe
* | | | | | | Merge "Use Object + type in place of specific array"Jason Sams2013-11-063-195/+97
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Use Object + type in place of specific arrayJason Sams2013-11-063-195/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed to avoid the explosion of entry points in the JNI layer. Change-Id: I7d6cc565c8853b06560eb891fdd5e8acf05c9779
* | | | | | | am fc5ef04e: am e88d14a8: am 9d383ece: Merge "Fix recent regression in ↵John Spurlock2013-11-051-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DrawableContainer." into klp-dev * commit 'fc5ef04e4d1e3eca1d807d00f12a3f84f8028b8b': Fix recent regression in DrawableContainer.
| * | | | | | am e88d14a8: am 9d383ece: Merge "Fix recent regression in ↵John Spurlock2013-11-051-1/+1
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DrawableContainer." into klp-dev * commit 'e88d14a8b8101248ce0a3b3b00993fd1393f6be2': Fix recent regression in DrawableContainer.
| | * | | | | Merge "Fix recent regression in DrawableContainer." into klp-devJohn Spurlock2013-11-061-1/+1
| | |\ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | | * | | | Fix recent regression in DrawableContainer.John Spurlock2013-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure optical insets are never null. Bug:11537082 Change-Id: Ib75be83909fac612ae947f501835285cd8a79862
* | | | | | | am 66e47c5f: am 0c5268c3: am be0b05a0: Merge "Doc fix: add more detail to ↵Adam Koch2013-11-051-2/+14
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitmapFactory.Options.inPurgeable flag. Bug: 6064760" into klp-dev * commit '66e47c5feca7425b0f2afbe3b4abb513b4f05279': Doc fix: add more detail to BitmapFactory.Options.inPurgeable flag. Bug: 6064760
| * | | | | | am 0c5268c3: am be0b05a0: Merge "Doc fix: add more detail to ↵Adam Koch2013-11-051-2/+14
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitmapFactory.Options.inPurgeable flag. Bug: 6064760" into klp-dev * commit '0c5268c3595ca029919df55453a2607cca06b361': Doc fix: add more detail to BitmapFactory.Options.inPurgeable flag. Bug: 6064760
| | * | | | | Merge "Doc fix: add more detail to BitmapFactory.Options.inPurgeable flag. ↵Adam Koch2013-11-061-2/+14
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Bug: 6064760" into klp-dev
| | | * | | | Doc fix: add more detail to BitmapFactory.Options.inPurgeable flag.Adam Koch2013-11-051-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6064760 Change-Id: I3fd833a3205be451ff6548fab3555d170c9c570e
* | | | | | | am 641bac8e: am 073041c3: am f48bcd5b: Merge "Fix bug #11256076 Spinner text ↵Fabrice Di Meglio2013-11-041-6/+25
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is too close from the opening triangle in RTL Locales" into klp-dev * commit '641bac8e21673a2d526b9c0ccf28d5fd08bd6994': Fix bug #11256076 Spinner text is too close from the opening triangle in RTL Locales
| * | | | | | am 073041c3: am f48bcd5b: Merge "Fix bug #11256076 Spinner text is too close ↵Fabrice Di Meglio2013-11-041-6/+25
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | from the opening triangle in RTL Locales" into klp-dev * commit '073041c3708b5856a027d32c93c6945e2266336e': Fix bug #11256076 Spinner text is too close from the opening triangle in RTL Locales
| | * | | | Merge "Fix bug #11256076 Spinner text is too close from the opening triangle ↵Fabrice Di Meglio2013-11-051-6/+25
| | |\ \ \ \ | | | |/ / / | | |/| | | | | | | | | in RTL Locales" into klp-dev
| | | * | | Fix bug #11256076 Spinner text is too close from the opening triangle in RTL ↵Fabrice Di Meglio2013-10-181-6/+25
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Locales Background Drawable padding was not taken into account in RTL Locales - make sure the Drawables are resolved before resolving padding - during padding resolution take care about background padding Change-Id: Ib0c722adf5341ab4fa2182a0d0ac2ca639e85cfc
| * | | | Fix some documentation typos.Newton Allen2013-11-013-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I0360d468d54d970c87f313e24e50965245206f28 (cherry picked from commit c502744f2ddcc80a34f5197b5d2c0d701c7d6e71)
| * | | | Update the PdfDocument docs with unsupported operations.Svetoslav Ganov2013-10-311-0/+25
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The PDF generating canvas we use does not yet support all drawing operations. This change adds docs which operations are not yet supported. Change-Id: I8d5ee8c1e2a473ba783b5e62f23ab90a54bbf106 (cherry picked from commit 8db45b844b5482cf61839404c0f6847e053de817)
* | | | Merge "Add support for using ColorStateList as GradientDrawable's stroke"Alan Viverette2013-11-051-27/+101
|\ \ \ \
| * | | | Add support for using ColorStateList as GradientDrawable's strokeAlan Viverette2013-11-041-27/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactors isOpaque() so that ColorStateList APIs previously added on master branch are no longer needed. Change-Id: I104c9a14ef81db6c4cf141e8fd0ebbd20bd52ee9
* | | | | Merge "Fix some documentation typos."Newton Allen2013-11-013-5/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix some documentation typos.Newton Allen2013-10-303-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I0360d468d54d970c87f313e24e50965245206f28
* | | | | am 8c33d89c: am 41dd5233: am 8856af5a: Merge "Update the PdfDocument docs ↵Svetoslav Ganov2013-10-311-0/+25
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | | | | | | | | | with unsupported operations." into klp-dev * commit '8c33d89cc7bf21883c2059497b9f296c389eb363': Update the PdfDocument docs with unsupported operations.