summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Workaround shader crash" into mnc-devChris Craik2015-06-111-1/+3
|\
| * Workaround shader crashChris Craik2015-06-101-1/+3
| | | | | | | | | | | | bug:21706035 Change-Id: Ia1cd4824c742b2d6fc0feb2861ccfde0b6ac2189
* | Account for hotspot bounds in RippleDrawable projection checkAlan Viverette2015-06-081-7/+19
|/ | | | | Bug: 21502154 Change-Id: Iedf4bd07f10ec13070a68870304ab651c1f15c68
* Merge "Implement getColorFilter() on VectorDrawable" into mnc-devAlan Viverette2015-06-061-0/+5
|\
| * Implement getColorFilter() on VectorDrawableAlan Viverette2015-06-051-0/+5
| | | | | | | | | | Bug: 21580708 Change-Id: Id64bebeb5c39906ed34775e8ccc39f666966bad9
* | Add reset to AVDztenghui2015-06-051-0/+9
|/ | | | | | b/21664621 Change-Id: Ie40c3723860e183c8e4fedd2a76b9debbdf64a2a
* Merge "Setup the animation callback for AnimatedVectorDrawable" into mnc-devztenghui2015-06-052-33/+141
|\
| * Setup the animation callback for AnimatedVectorDrawableztenghui2015-06-042-33/+141
| | | | | | | | | | | | b/21341096 Change-Id: I84e20366db21ceaa4f044be3e322f9215bb06ad2
* | Manually jump ripples when preemptively aborting RT animationAlan Viverette2015-06-041-0/+4
|/ | | | | Bug: 21079749 Change-Id: If79dcef59aba616c0446efc623863f563cb16250
* ImageFormat: Update definition of depth formats for confidence.Eino-Ville Talvala2015-06-031-9/+41
| | | | | | | | | | | DEPTH16: Use high 3 bits for confidence measurement, with 0 = 100% confidence, 1 = 0% confidence, 2 = 1/7 (14.3%) confidence, etc. DEPTH_POINT_CLOUD: Add confidence as 4th entry to each point, with a value in range 0.f - 1.f inclusive. Bug: 20123879 Change-Id: I23317b922ac727751156fa418ed239a696a898e5
* Merge "Reduce amount of unnecessary RippleDrawable mask redraw" into mnc-devAlan Viverette2015-05-302-7/+14
|\
| * Reduce amount of unnecessary RippleDrawable mask redrawAlan Viverette2015-05-292-7/+14
| | | | | | | | | | Bug: 19638504 Change-Id: Ie7b639c543150e13aec30dfeca2b303d5b601cf3
* | Merge "Replace PNG-based seekbar thumb animation with AVD" into mnc-devAlan Viverette2015-05-293-0/+45
|\ \
| * | Replace PNG-based seekbar thumb animation with AVDAlan Viverette2015-05-293-0/+45
| |/ | | | | | | | | | | | | Adds optical inset support for VectorDrawable and GradientDrawable. Bug: 19944181 Change-Id: I9df04d9fe17ad858413e7f93694bf37ee2c43c85
* | Merge "Postpone AnimatedVectorDrawable animator inflation until ↵Alan Viverette2015-05-281-65/+208
|\ \ | | | | | | | | | applyTheme()" into mnc-dev
| * | Postpone AnimatedVectorDrawable animator inflation until applyTheme()Alan Viverette2015-05-181-65/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL works around Animator's lack of support for applying a theme after inflation by postponing Animator inflation until a theme is available, either in inflate() or applyTheme(). Includes a workaround for AVDs that don't reference any theme attrs in their animators and this don't require a call to applyTheme(). Partial implementation of removing non-constant data from the AVD's constant state. Moves the mutable AnimatorSet to a local variable and treats the Animators as constant data. We'll follow up with real support for applyTheme() in Animator or AnimatorSet, at which point we can remove this workaround. Bug: 20817800 Change-Id: I555c53c955219990ee376bee568bcc038532f9ed
* | | Fix drawable CTS breakagesAlan Viverette2015-05-282-8/+22
| |/ |/| | | | | | | | | | | | | | | | | | | 1. ClipDrawable.getOpacity() now correctly respects the current level 2. DrawableWrapper checks the contained drawable's changing config even if it doesn't have a constant state 3. DrawableWrapper gives priority to the last valid child drawable rather than the drawable attribute Bug: 21406104 Change-Id: I442fe90d0a3865bfdc6b2d14a7358178310dde02
* | API Review: DrawableAlan Viverette2015-05-275-8/+10
| | | | | | | | | | | | | | Renames boolean getters to isZzz(), callback from onChange to onChanged. Bug: 21342040 Change-Id: I9700d645453354b608fd97a832359211d828b52f
* | Merge "Fix Bitmap#sameAs NPE" into mnc-devJohn Reck2015-05-201-2/+3
|\ \ | |/ |/|
| * Fix Bitmap#sameAs NPEJohn Reck2015-05-191-2/+3
| | | | | | | | | | | | Bug: 21281842 Change-Id: I4a1e33d7e642fa50e8789f1441e8587d1c15119c
* | Merge "Revert "Postpone AnimatedVectorDrawable animator inflation until ↵Alan Viverette2015-05-191-106/+13
|\ \ | | | | | | | | | applyTheme()"" into mnc-dev
| * | Revert "Postpone AnimatedVectorDrawable animator inflation until applyTheme()"Alan Viverette2015-05-191-106/+13
| | | | | | | | | | | | | | | | | | This reverts commit 9b115a9870a184e32bdbd07f792f9b8c956c75ca. Change-Id: Ief148510472e129f992cf52ef8b8a25b5e17e05f
* | | Merge "Update ripple drawable target radius on bounds change" into mnc-devAlan Viverette2015-05-182-4/+22
|\ \ \
| * | | Update ripple drawable target radius on bounds changeAlan Viverette2015-05-152-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only bothers with the background and active ripple, since the exiting ripples are in hardware animation mode anyway and can't be updated. Bug: 21079749 Change-Id: I0f70c0c0feea32e2c70bb9b1b0fa3b7846b20c7f
* | | | Merge "Postpone AnimatedVectorDrawable animator inflation until ↵Alan Viverette2015-05-181-13/+106
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | applyTheme()" into mnc-dev
| * | Postpone AnimatedVectorDrawable animator inflation until applyTheme()Alan Viverette2015-05-151-13/+106
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL works around Animator's lack of support for applying a theme after inflation by postponing Animator inflation until a theme is available, either in inflate() or applyTheme(). Includes a workaround for AVDs that don't reference any theme attrs in their animators and this don't require a call to applyTheme(). We'll follow up with real support for applyTheme() in Animator, at which point we can remove this workaround. Bug: 20817800 Change-Id: I5a378a76e3625b9d754cb74ae98c07ba7c5698e5
* | Add internal bitmap api for creating immutable ashmem backed bitmaps.Riley Andrews2015-05-181-0/+17
| | | | | | | | | | Bug 21037890 Change-Id: I827e83dd75e301e7d93ead5efdd744f0d8435ae5
* | Allow getChangingConfigurations() on DrawableWrapper with null drawableAlan Viverette2015-05-151-1/+2
|/ | | | Change-Id: Iecf39b53419e07927a3fe3096036a57afd69439a
* Icon support comes to Notification.Dan Sandler2015-05-151-16/+68
| | | | | | | | | | | | | | | And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done (This patch fixes a number of bugs in the initial implementation, but other than that, it's the same as it ever was.) Bug: 18568715 Bug: 21141842 Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
* Merge "Use Context instead of Resources in Icon.createWithResource." into ↵Dan Sandler2015-05-152-5/+15
|\ | | | | | | mnc-dev
| * Use Context instead of Resources in Icon.createWithResource.Dan Sandler2015-05-142-5/+15
| | | | | | | | | | | | | | | | | | This works around situations where corrupted packages cause Resources.getResourcePackageName to return something that does't actually work. Bug: 21144636 Change-Id: I271518599a8eb89d493f1ceda6cb2e47fb38a4ff
* | Merge "Fix missing break in Icon class" into mnc-devYorke Lee2015-05-151-0/+1
|\ \
| * | Fix missing break in Icon classYorke Lee2015-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This causes RuntimeExceptions to fall through to the next case statement. Bug: 21168985 Change-Id: Ie69610b22c6caf9f6536ebd48673067880cb75a2
* | | Merge "Start AnimationDrawable from the zeroth frame." into mnc-devDoris Liu2015-05-151-1/+3
|\ \ \
| * | | Start AnimationDrawable from the zeroth frame.Doris Liu2015-05-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL fixes the issue where when start is called, we run the next frame of the animation drawable while mCurFrame is already set to 0. The result is that the first frame of the AnimationDrawable is then skipped. Bug: 21168854 Change-Id: I2b77ae017d3debd0f8cfec81ea86d1120e78bb55
* | | | Merge "Check for setting to already set" into mnc-devJohn Reck2015-05-141-0/+9
|\ \ \ \ | |_|_|/ |/| | |
| * | | Check for setting to already setJohn Reck2015-05-141-0/+9
| |/ / | | | | | | | | | | | | Bug: 20105644 Change-Id: Ia79d2ae5c725c139d2b7c423a899be625cb8f14f
* | | Revert "Icon support comes to Notification."Daniel Sandler2015-05-141-67/+15
|/ / | | | | | | | | | | | | This reverts commit 08a04c15245c970856022d0779aa27d4d63cdee3. This also reverts commit 5bcbf857d129f4513e562801a4e88077b2655ade. Change-Id: Ia0b0a5339d523581c877822a3a1feec97ae4b73d
* | Icon support comes to Notification.Dan Sandler2015-05-131-15/+67
|/ | | | | | | | | | And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done Bug: 18568715 Change-Id: I4377b311c538bd1cf36b3fba22326bae81af40c9
* Merge "[1/4] Use new Icon class in PhoneAccount." into mnc-devSantos Cordon2015-05-141-4/+90
|\
| * [1/4] Use new Icon class in PhoneAccount.Santos Cordon2015-05-131-4/+90
| | | | | | | | | | Bug: 21088522 Change-Id: Ia03171d4861f758701e89733f4082863587e8c11
* | Merge "Revert "Anti-alias by default"" into mnc-devChris Craik2015-05-131-10/+4
|\ \
| * | Revert "Anti-alias by default"Chris Craik2015-05-131-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:20948129 Keep HIDDEN_DEFAULT_PAINT_FLAGS name. This reverts commit 1b60cc0529161b5eca6407b551d67d355994c567. Change-Id: I97cd9c556375c74c52b006bda4fc7b3a2cfa89e1
* | | Merge "Anti-Alias ColorDrawable" into mnc-devChris Craik2015-05-131-1/+1
|\ \ \ | |_|/ |/| |
| * | Anti-Alias ColorDrawableChris Craik2015-05-131-1/+1
| |/ | | | | | | Change-Id: I4d0ee2a496de908b99b0f1d8bef1b6f861c94c6f
* | Merge "Icon API tuneups:" into mnc-devDan Sandler2015-05-132-27/+66
|\ \
| * | Icon API tuneups:Dan Sandler2015-05-132-27/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Reorder parameters to loadDrawableAsync() - New version of createWithResource that takes a package name instead of a Resources - Add loadDrawableAsUser() for INTERACT_ACROSS_USERS clients like SystemUI - Docs cleanups Bug: 21089268 Bug: 21031774 Change-Id: I465d2b865e35e12094b564f994e59d55e522f65a
* | | AnimatedRotateDrawable should inflate child elementsAlan Viverette2015-05-121-0/+2
| |/ |/| | | | | | | | | | | This was missed during the update that extended from DrawableWrapper. Bug: 20089503 Change-Id: Ie84c040deaecb415e882842f2172a344afa8df7b
* | Merge "Revert "Fix build - Revert "Revert "Use default constructor to get ↵Chris Craik2015-05-122-5/+5
|\ \ | | | | | | | | | anti-aliasing"""" into mnc-dev
| * | Revert "Fix build - Revert "Revert "Use default constructor to get ↵Chris Craik2015-05-122-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anti-aliasing""" Fix import This reverts commit 7ed1431c83286abc83b9e5afc45fbd21ecb777b1. Change-Id: Id93eba3ed1d47a90384ba20dea6f74d78755792b