summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Make sure ripple background bounds are used for invalidation" into ↵Alan Viverette2014-09-022-26/+5
|\ | | | | | | lmp-dev
| * Make sure ripple background bounds are used for invalidationAlan Viverette2014-09-022-26/+5
| | | | | | | | | | BUG: 17349157 Change-Id: Ie88fbabbc66349aea9b7d00e28ca12f93776a4a7
* | Merge "Move print rendering in an isolated process." into lmp-devSvet Ganov2014-09-021-0/+7
|\ \ | |/ |/|
| * Move print rendering in an isolated process.Svet Ganov2014-09-021-0/+7
| | | | | | | | | | | | | | | | | | | | Security review of the PDF rendering code revealed that it is not sercure. Therefore, this code must be run in a sandbox. This change moves the rendering code in an isolated process. bug:16897933 Change-Id: I711ce42a56892db1837950137bfaa79e1d61a7c4
* | Merge "Fix disappearing ripple background, treat active ripple separately" ↵Alan Viverette2014-08-303-85/+115
|\ \ | | | | | | | | | into lmp-dev
| * | Fix disappearing ripple background, treat active ripple separatelyAlan Viverette2014-08-293-85/+115
| |/ | | | | | | | | | | | | | | | | | | There is only a single background, and it did not correctly handle enter() being called while exit() was busy animating. We now cancel all animations when starting an enter or exit. Also separates the active ripple from the list of animating (exiting) ripples. BUG: 17042060 BUG: 17281011 Change-Id: I4d4e33560867c7c71c1bdb72b17d52d6fbd86f68
* | Variety of small UI tweaksAlan Viverette2014-08-291-5/+6
|/ | | | | | | | | | | | | Updates dialog padding, text opacities on dark theme, progress bar opacity, ripple background exit speed, remove unnecessary text color attribute from action menu item layout, fix secondary and tertiary disabled state text colors. BUG: 17321765 BUG: 17333263 BUG: 17322159 BUG: 17330086 Change-Id: I14473a985b2c6b853afe7db535a2443e934238e9
* Merge "Preserve inner drawable bounds and level on mutate" into lmp-devAlan Viverette2014-08-276-32/+44
|\
| * Preserve inner drawable bounds and level on mutateAlan Viverette2014-08-276-32/+44
| | | | | | | | | | | | | | Also includes a tiny change to progress bar background alpha, which was too dark to see. BUG: 17285057 Change-Id: I8b0cc1c2c9405558b8163d8db9374d7c748317a2
* | Merge "Fix NPE in RippleDrawable" into lmp-devAlan Viverette2014-08-271-5/+19
|\ \
| * | Fix NPE in RippleDrawableAlan Viverette2014-08-261-5/+19
| |/ | | | | | | | | | | | | | | | | | | Invalidate was called while we were busy clearing the list of animating ripples, which led to an inconsistency between the ripple count and actual state of the ripple list. BUG: 17136636 BUG: 17281011 Change-Id: Ifb7be7eb334ad9a44cc3a1e6f55ad1e35218989a
* | Merge "New weight-aware font config" into lmp-devRaph Levien2014-08-273-72/+107
|\ \ | |/ |/|
| * New weight-aware font configRaph Levien2014-08-263-72/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse new fonts.xml config file, and resolve weight selection based on the base weight of the font (as defined by a weight alias specified in the config file) and the requested bold flag. This change improves the appearance of bold spans for alternate weights of Roboto. In addition, this patch enables weight selection for fallback fonts. For example, if an additional font with a weight of 100 is added to the Hebrew font family in the fallback list, then requesting "sans-serif-thin" would select that font for Hebrew text. Bug: 14538154 Change-Id: I99a04fad4f7bf01c75726e760d42735dd9003496
* | Merge "Notify VM of native pixelref allocations" into lmp-devChris Craik2014-08-261-2/+18
|\ \
| * | Notify VM of native pixelref allocationsChris Craik2014-08-261-2/+18
| |/ | | | | | | | | bug:17178931 Change-Id: I0de22bb0d2ae8233d392b7e222f72391aaa12ce8
* | Merge "VD: Update the fillColor default as transparent" into lmp-devztenghui2014-08-261-5/+5
|\ \
| * | VD: Update the fillColor default as transparentztenghui2014-08-251-5/+5
| | | | | | | | | | | | | | | | | | b/17208473 Change-Id: I52ff3d335094f0a95f138640eb24ef5dba2ef864
* | | Create z reordering boundaries around dispatchDrawChris Craik2014-08-251-0/+6
| |/ |/| | | | | | | | | | | | | | | | | bug:16012254 This means rendernodes with a Z will no longer be drawn at the end of their parent's DisplayList, but at the end of the associated reorder region (DisplayListData::Chunk). Change-Id: Ia033fee9d9a4db567b2a8d5e90fc57a4d0a64544
* | Merge "Fixing AVD animation with startOffset" into lmp-devztenghui2014-08-221-2/+14
|\ \
| * | Fixing AVD animation with startOffsetztenghui2014-08-221-2/+14
| |/ | | | | | | | | | | b/17160751 Change-Id: If030ca04f5a7dd7e732dcc5dfb18d51faa7e7b79
* | Revert immutable Shader changeJohn Reck2014-08-221-16/+4
| | | | | | | | | | | | Bug: 16733996 Change-Id: I51686aaf8f6ae8d0e390e298ad70f98f81c5f555
* | Merge "Jump drawable state (including ripples) on view detach" into lmp-devAlan Viverette2014-08-213-22/+124
|\ \
| * | Jump drawable state (including ripples) on view detachAlan Viverette2014-08-213-22/+124
| | | | | | | | | | | | | | | BUG: 15350931 Change-Id: I09928f59fb7b9f6d87b1f5219353a41ae6b5681d
* | | Implement GradientDrawable getColorFilter.John Spurlock2014-08-211-0/+5
| | | | | | | | | | | | | | | | | | | | | Otherwise the value in setColorFilter is unavailable. Bug:17137319 Change-Id: Ief973abfa129d935aa45336275337e19a3eb0f6a
* | | Merge "Throw exception on nonexistent font" into lmp-devBehdad Esfahbod2014-08-211-2/+2
|\ \ \ | |/ / |/| |
| * | Throw exception on nonexistent fontBehdad Esfahbod2014-08-201-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | In K, this used to throw RuntimeException. Before this patch, NULL was returned and no exceptions thrown. With this patch, FileNotFoundException is thrown. This might be considered API change and be undesirable as callers need to either catch it or declare it to be thrown. Bug: 16180181 Change-Id: If83d76857f640c6293a3d5d08fb89ceddbaf41bc
* | Forward additional drawable methods in AVDAlan Viverette2014-08-201-1/+56
| | | | | | | | | | BUG: 17156349 Change-Id: I1d7b41fc8d0399b31db4cf21aa47180e96bfbcfe
* | Merge "Make getOutline account for gravity BitmapDrawable" into lmp-devChris Craik2014-08-191-40/+38
|\ \ | |/ |/|
| * Make getOutline account for gravity BitmapDrawableChris Craik2014-08-191-40/+38
| | | | | | | | | | | | | | | | bug:17112454 Also cleans up several subtle bugs in updating gravity/tile mode/insets. Change-Id: Idbd2c52e5f572d11b651f5e93d000535880f5708
* | Merge "Update toggle switch asset to include content area" into lmp-devAlan Viverette2014-08-191-26/+0
|\ \
| * | Update toggle switch asset to include content areaAlan Viverette2014-08-191-26/+0
| |/ | | | | | | | | | | | | | | | | Remove optical bounds workaround from NinePatchDrawable, which was incorrect anyway since we were missing a content area rather than missing padding. BUG: 17114103 Change-Id: I51461be666f59534dfdea7ab79bc867ee3eb3c92
* | Update setShadowLayer docChris Craik2014-08-191-3/+10
|/ | | | | bug:17134528 Change-Id: I436bb0163b18d0b88954bf9dac16e51d14a533eb
* Merge "Don't cast shadows from gradients with transparent parts" into lmp-devChris Craik2014-08-192-32/+38
|\
| * Don't cast shadows from gradients with transparent partsChris Craik2014-08-192-32/+38
| | | | | | | | | | bug:17070982 Change-Id: I607dd3c9397845fce53b7f097ec0b57246077ea1
* | Merge "Throw exception when inset drawable is missing drawable attribute" ↵Alan Viverette2014-08-181-14/+19
|\ \ | | | | | | | | | into lmp-dev
| * | Throw exception when inset drawable is missing drawable attributeAlan Viverette2014-08-151-14/+19
| | | | | | | | | | | | | | | BUG: 17068252 Change-Id: I3f5757966c1bb723311a2e2c41d419ed41369061
* | | Merge "Fix crash in AnimationDrawable" into lmp-devChet Haase2014-08-181-1/+3
|\ \ \
| * | | Fix crash in AnimationDrawableChet Haase2014-08-181-1/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a drawable becomes invisible, it unschedule itself, which sets mCurrentFrame to -1. Later, when it becomes visible, it calls setFrame() with either 0 (if 'restart' is true) or mCurrentFrame. Calling setFrame() with a value of -1 causes a crash later as we dereference an invalid location in the state durations array. This fix also checks mCurrentFrame and calls setFrame with 0 when the current frame is invalid. This takes the code back closer to what it used to be when setFrame was always called with 0, although now it will use a valid frame when it is set. Issue #16489419 Google Translate crashes whenever hitting done button on keyboard to get translation result. Change-Id: I1f5b8672d209017aa8a4eaa15bd7ddd2f3ae38d1
* | | Fix BitmapDrawable outline crashChris Craik2014-08-181-3/+3
|/ / | | | | | | | | | | bug:17103753 Change-Id: Ia3d2c7d61b3f3b9ea8879f941d726d8627e155bb
* | Merge "Revert "Throw exception when inset drawable is missing drawable ↵Jeff Brown2014-08-151-21/+14
|\ \ | | | | | | | | | attribute"" into lmp-dev
| * | Revert "Throw exception when inset drawable is missing drawable attribute"Jeff Brown2014-08-161-21/+14
| | | | | | | | | | | | | | | | | | | | | This reverts commit b16a6331cce2c3559ed9414c6aca238c5042e919. Bug: 17072675 Change-Id: Ie2403095df10aa0dd18545a3d2a323ae463037e4
* | | Merge "Better handling of unresolved theme attributes" into lmp-devAlan Viverette2014-08-151-3/+7
|\ \ \
| * | | Better handling of unresolved theme attributesAlan Viverette2014-08-151-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Also adds a (very obviously wrong) default color to RippleDrawable Change-Id: I6d29b371f4e59accbebf25eb059b1f372b9184b0
* | | | Merge "Throw exception when inset drawable is missing drawable attribute" ↵Alan Viverette2014-08-151-14/+21
|\ \ \ \ | |/ / / |/| / / | |/ / into lmp-dev
| * | Throw exception when inset drawable is missing drawable attributeAlan Viverette2014-08-151-14/+21
| |/ | | | | | | | | BUG: 17068252 Change-Id: Id9c9791501ce9d56fdd67236c84775550c89032c
* | Merge "Minor doc fixes from API council recommendations." into lmp-devChet Haase2014-08-153-7/+9
|\ \
| * | Minor doc fixes from API council recommendations.Chet Haase2014-08-153-7/+9
| |/ | | | | | | | | | | Issue #17008236 API review: android.graphics Change-Id: I171d376b642707858198d8a1379c732fcfcab4dd
* | Disable shadow casting for transparent BitmapDrawablesChris Craik2014-08-151-0/+12
|/ | | | | bug:17013977 Change-Id: I26328c21360432bb34d3f19858dfdc0e6aede057
* Make sure we're obtaining themed drawables correctlyAlan Viverette2014-08-144-5/+5
| | | | Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
* Merge "Resolve invalid Typeface style to default" into lmp-devRaph Levien2014-08-131-0/+3
|\