summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Allow null layers in LayerDrawable"Alan Viverette2015-04-131-61/+166
|\
| * Allow null layers in LayerDrawableAlan Viverette2015-04-131-61/+166
| | | | | | | | | | Bug: 20098214 Change-Id: I80285ddda7101ab7403048d38f9c40af6b692a1a
* | Merge "Change how Java Bitmaps are accessed in a few places"John Reck2015-04-131-2/+2
|\ \ | |/ |/|
| * Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-131-2/+2
| | | | | | | | | | | | | | | | | | | | Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
* | Merge "Don't change state when inflating LayerDrawable"Alan Viverette2015-04-101-2/+0
|\ \
| * | Don't change state when inflating LayerDrawableAlan Viverette2015-04-091-2/+0
| |/ | | | | | | | | Bug: 20098214 Change-Id: I6968697053587454bba42c0652efd99b9c8a8e25
* | Only parse LayerDrawable child items when necessaryAlan Viverette2015-04-091-1/+5
|/ | | | | Bug: 20098214 Change-Id: Ie9da5f6e494ede47f9fdc94481a3f8ca41d3ef00
* Merge "Fix path clipping in VectorDrawable"Chris Craik2015-04-061-1/+1
|\
| * Fix path clipping in VectorDrawableChris Craik2015-04-061-1/+1
| | | | | | | | | | | | bug:19946683 Change-Id: I773957df7459eb72ea5d505afb0daac08239ecbf
* | Merge "Add group scaling factor into stroke width."ztenghui2015-04-031-2/+39
|\ \
| * | Add group scaling factor into stroke width.ztenghui2015-04-021-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | Originally, stroke width is independent of group scaling. But that is a bug and causing animation trouble. b/19501782 Change-Id: I33d5e44f2f8b2a82fee1a5a326223a39aaffa86c
* | | Merge "Add Paint.hasGlyph method"Raph Levien2015-04-021-0/+22
|\ \ \
| * | | Add Paint.hasGlyph methodRaph Levien2015-04-021-0/+22
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a method to determine whether a typeface has a glyph to support a particular Unicode character or sequence. The implementation is based on shaping the text and checking for the presence of .notdef glyphs, and counting the number of glyphs in the ligature case. In the case of variation selector control characters, it currently just returns false because there is no variation selector support yet (Mongolian Free Variation Selectors work because they're shaped with GSUB instead). Change-Id: I8ee4ae0d6e81a0ac57f961eb02dcc35aabd87042
* | | Merge "Add compat path for restore underflow"Chris Craik2015-04-021-4/+9
|\ \ \
| * | | Add compat path for restore underflowChris Craik2015-04-021-4/+9
| |/ / | | | | | | | | | | | | | | | bug:19829784 Change-Id: Ia761664208ab80c055ca11174db3ddc74457b92b
* | | am 428c2fa0: am c3fbf13d: am e2fc3adb: am 61ce6c9b: am 776cf41d: Fix a ↵Yuichi Araki2015-04-021-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | broken link in javadoc * commit '428c2fa0f8b3c49e8bd48458c15363fcd98e8944': Fix a broken link in javadoc
| * \ \ am e2fc3adb: am 61ce6c9b: am 776cf41d: Fix a broken link in javadocYuichi Araki2015-04-021-3/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'e2fc3adbb4040400496aebdab80c4cac1083da27': Fix a broken link in javadoc
| | * | | Fix a broken link in javadocYuichi Araki2015-04-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19856130 Change-Id: I0456e951f8bed36e3a62ddfd882f9c2d2bef9627
* | | | | Merge "Fix issues with theming of preloaded ColorStateLists"Alan Viverette2015-04-0213-121/+121
|\ \ \ \ \
| * | | | | Fix issues with theming of preloaded ColorStateListsAlan Viverette2015-04-0113-121/+121
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensures changing configurations mask is propagated to the host drawable so that it can be properly cleared from cache on configuration changes. Also fixes constant state handling of the mask in the Inset and Rotate drawables. Hides new ColorStateList methods related to theming, since they should only be used during preloading or internally by framework drawables. Fixes bug where the cached versions of themeable ColorStateLists were modified by calling applyTheme() on the host drawable. Also cleans up some docs and naming in GradientDrawable. Bug: 19966397 Change-Id: I8c8d3cabbaf94b488c2b8fe9fd423e07d824c19c
* | | | | Merge "Fix cursor position calculation."Seigo Nonaka2015-04-021-2/+2
|\ \ \ \ \
| * | | | | Fix cursor position calculation.Seigo Nonaka2015-04-021-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cursor position calculation of not well known CharSequence implementation has problem. getTextRunCursor() returns the relative path of passed string buffer, so need to fix the origin by adding the copied buffer origin. BUG: 17448027 Change-Id: I413c553bfccbccee4a390b6c83aa09ac7fd04126
* | | | | Fix Drawable.getOpacity() docsChet Haase2015-04-011-2/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | Issue #17140095 Drawable#getOpacity() is documented as ignoring custom alpha, e.g. setAlpha(). It is lying. Change-Id: Iaef094be750c58a43e13491e7bf9d9b7e56e23d2
* | | | Merge "Add RAW12 image format"Yin-Chia Yeh2015-03-311-0/+105
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add RAW12 image formatYin-Chia Yeh2015-03-201-0/+105
| | | | | | | | | | | | | | | | Change-Id: I1c528ecf62746aa96d6e132eaa874015d9d7c446
* | | | ImageFormat: add PRIVATE formatZhijun He2015-03-301-0/+28
| | | | | | | | | | | | | | | | | | | | Bug: 19865019 Change-Id: I1a9335fe1733a5b28d9cb20485b509fb216cb52b
* | | | Merge "Only verify resolved theme attributes"Alan Viverette2015-03-271-5/+7
|\ \ \ \
| * | | | Only verify resolved theme attributesAlan Viverette2015-03-271-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19962473 Change-Id: I62eb2faea7b09fd483194b41e815179cb2141fcb
* | | | | Merge "Polish the documentation for VectorDrawable and AnimatedVectorDrawable"ztenghui2015-03-262-12/+12
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Polish the documentation for VectorDrawable and AnimatedVectorDrawableztenghui2015-03-262-12/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: If6bedf84cb01971c55b5a99ad921303dad638b24
* | | | | Don't draw when bounds are negativeztenghui2015-03-251-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | b/19922909 Change-Id: I68559ed683031f57538439e0a3e4979fe9f430a5
* | | | Merge "Add listener support in AVD"ztenghui2015-03-241-60/+71
|\ \ \ \
| * | | | Add listener support in AVDztenghui2015-03-241-60/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Internally, switch to use AnimatorSet instead of an array of Animators b/19825918 Change-Id: Ia67d2cc7dd89362e6b0019c916d3f2a0d0f3e39e
* | | | | am 5e968ad1: am dde72862: am 7db6ebe0: Merge "Frameworks/base: Don\'t ↵Andreas Gampe2015-03-241-2/+1
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | | | | allocate another identity matrix" * commit '5e968ad1d6c0387fb6b71b3693f5c0e95ccf469f': Frameworks/base: Don't allocate another identity matrix
| * | | Merge "Frameworks/base: Don't allocate another identity matrix"Andreas Gampe2015-03-241-2/+1
| |\ \ \
| | * | | Frameworks/base: Don't allocate another identity matrixAndreas Gampe2015-03-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is already an identity matrix in Matrix. Don't allocate another one for VectorDrawable. Change-Id: I51735f262d6680e043b0009707ec42acb2d0d1ad
* | | | | Only propagate state changes if wrapped drawable is statefulAlan Viverette2015-03-202-20/+19
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Always update layer bounds if the contained drawable changed in any way. Also adds null annotations in LayerDrawable and throws a more useful exception when the layers argument is null. Change-Id: Iae0cba68257e48b6a45fe081c3d4b0509d2dedd5
* | | | Clean up ripple exit, null out software animators on cancel/endAlan Viverette2015-03-182-24/+5
| | | | | | | | | | | | | | | | | | | | Bug: 19682421 Change-Id: I40ff56ed98a6c67cd01c74e455899825013a1f12
* | | | Merge "Remove HardwareCanvas"Chris Craik2015-03-183-17/+17
|\ \ \ \
| * | | | Remove HardwareCanvasChris Craik2015-03-103-17/+17
| | | | | | | | | | | | | | | | | | | | Change-Id: I239646a7f00f09d3f76fe6b6162eed86bc0d6e77
* | | | | am 46277ba2: am 28e6aeca: Merge "Frameworks/base: Make IDENTITY_MATRIX final"Andreas Gampe2015-03-171-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit '46277ba2c70e9fe0fc9772dcb84040aff1c322be': Frameworks/base: Make IDENTITY_MATRIX final
| * | | | Merge "Frameworks/base: Make IDENTITY_MATRIX final"Andreas Gampe2015-03-171-1/+1
| |\ \ \ \
| | * | | | Frameworks/base: Make IDENTITY_MATRIX finalAndreas Gampe2015-03-171-1/+1
| | | |/ / | | |/| | | | | | | | | | | | | | | | | Bug: 19797138 Change-Id: I127f24b7060a0c4dab401ce8e3057d362c6d6b06
* | | | | Merge "Add resource type annotations to some APIs"Tor Norbye2015-03-162-2/+3
|\ \ \ \ \
| * | | | | Add resource type annotations to some APIsTor Norbye2015-03-132-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
* | | | | | am 8e176d39: am 007e207b: Merge "Frameworks/base: Fix null-pointer check"Andreas Gampe2015-03-161-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | * commit '8e176d396d393af90ffe288d849e95ff40aa2b23': Frameworks/base: Fix null-pointer check
| * | | | | Frameworks/base: Fix null-pointer checkAndreas Gampe2015-03-151-1/+1
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I715a21c313e909ae654e0c1aa67bdf7bcd89de76
* | | | | Add HyphenEdit support to PaintRaph Levien2015-03-141-0/+25
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds HyphenEdit on the C++ and also to Java via JNI. HyphenEdit is a Minikin feature for adding hyphens to text without having to edit the string on the client side. Change-Id: Icfb228407c1d11a716d055f813da7507acb38fbf
* | | | Implement bounded ripple animationAlan Viverette2015-03-093-59/+144
| |/ / |/| | | | | | | | | | | Bug: 19431322 Change-Id: I5dc1a28d8675cc6fb036b815d6227113c3f1aa4b
* | | Merge "Refactor ripple components, simplify background animation"Alan Viverette2015-03-105-991/+813
|\ \ \