Jorim Jaggi
e0367d26c9
am b98adf20: am bdb151ea: am 4816d7d5: am e30e8980: Merge "Disable RT animations for header ripple" into mnc-dr-dev
...
* commit 'b98adf20a0f27a8e717b627801632766547121a2':
Disable RT animations for header ripple
2015-08-25 23:25:20 +00:00
Alan Viverette
191ac0a72b
Reverse order of RT animations so enter animation works correctly
...
Bug: 23428182
Change-Id: Id54ad19c6ee71e01656f79d413e45cf2e19bd1ea
2015-08-24 17:25:36 -04:00
Jorim Jaggi
b7303a36ba
Disable RT animations for header ripple
...
Bug: 22208997
Change-Id: I10a890d4f8f70c7c786940ffdb86cf4d21bdaf05
2015-08-21 15:21:12 -07:00
Alan Viverette
1303a11802
am e5b44d5c: am 5646203c: am 63e9875a: am 786529f2: am 54c807e7: Merge "Translate ripple mask to account for drawable bounds" into mnc-dev
...
* commit 'e5b44d5c66d19dda8c6fb42615c00e6fbef7e822':
Translate ripple mask to account for drawable bounds
2015-08-20 21:47:37 +00:00
Alan Viverette
f0d69b9e33
Translate ripple mask to account for drawable bounds
...
Bug: 23354529
Change-Id: Iaa4fde6b37645492cf902f141f975bdef8e7e14e
2015-08-20 16:27:21 -04:00
Derek Sollenberger
1ad545d207
Fix path direction enum to match native SkPath values
...
Change-Id: I4010e400cef0baf6dd23d7f7e837a2bfb7154059
2015-08-20 14:27:10 -04:00
Derek Sollenberger
4c5efe9290
Add ninePatch support to Canvas.h
...
Change-Id: Ic095291fe55911c6501c1bdefa4b8da973c77319
2015-08-18 15:32:57 -04:00
John Reck
773bbe0357
Revert "Add ninePatch support to Canvas.h"
...
This reverts commit edca320a2b42011f98c308fdf25fc0494c6a5454.
Change-Id: I30ee93cfc1cac391ce152f03e9e13a1ad24dc91b
2015-08-17 15:24:09 -07:00
Derek Sollenberger
deead00082
Merge "Add ninePatch support to Canvas.h"
2015-08-17 17:20:55 +00:00
Alan Viverette
96b3da6603
Merge "Add missing accessors on GradientDrawable, NinePatchDrawable"
2015-08-14 20:24:17 +00:00
Alan Viverette
41551849e6
Add missing accessors on GradientDrawable, NinePatchDrawable
...
Bug: 13248977
Bug: 13249029
Change-Id: Ia8817a264b7063926e75b2f2a238d5ba36e14ab5
2015-08-14 20:23:43 +00:00
Alan Viverette
dc12e1531f
Merge "Remove framework-private HSV APIs, replace with luminance"
2015-08-14 20:21:50 +00:00
Derek Sollenberger
edca320a2b
Add ninePatch support to Canvas.h
...
Change-Id: Ib3202fd7c5b9f35853f286abe84b3ed009df1a81
2015-08-14 14:59:37 -04:00
Alan Viverette
81590a48a4
Remove framework-private HSV APIs, replace with luminance
...
Luminance is the measure used by W3C to compute contrast ratios, so
we should be preferring that for "brightness" comparisons.
Bug: 22815971
Change-Id: I84a971d3cc6b12acebe8e455c0c0440c1c8bce06
2015-08-12 14:01:17 -04:00
Alan Viverette
58204be5e6
Remove incorrect ColorInt annotations
...
These methods return [0,255], not a packed color.
Change-Id: I5bad2948a6bc7188d9521098fc030c8905714c48
2015-08-12 13:53:03 -04:00
Alan Viverette
7873b6da5a
Remove framework-private Color.HSBtoColor API
...
Bug: 22815971
Change-Id: Ic4cb43e78e0a7a6fc234865759754d106cef11dc
2015-08-12 13:12:34 -04:00
Alan Viverette
6973201f54
am e968c87f: am 570a2363: am a8431e8c: am bfd62580: am 11104791: Merge "Ensure ripple mask is drawn at correct position" into mnc-dev
...
* commit 'e968c87fa766ea668e319aa828f419fe0dcfd0db':
Ensure ripple mask is drawn at correct position
2015-08-11 20:08:12 +00:00
Alan Viverette
bac9769146
Ensure ripple mask is drawn at correct position
...
Bug: 22911708
Change-Id: Icdbe1f8a66d5e35eb25aa973c94f5870896cc1f8
2015-08-11 14:25:45 -04:00
John Reck
fac589451f
am 3b68ca16: am 96160dea: am 8e645d58: am 649c3c44: am 7290d93d: Merge "Yell loudly about undefined behind in Bitmap, but work anyway" into mnc-dev
...
* commit '3b68ca168acc09b54fa3f6ed73e7ded10e5b8105':
Yell loudly about undefined behind in Bitmap, but work anyway
2015-08-04 01:40:41 +00:00
John Reck
01a0af31d7
Yell loudly about undefined behind in Bitmap, but work anyway
...
Bug: 22214367
Previous releases would let the getters on a recycle()'d bitmap to still
work despite being firmly in undefined behavior per the documentation
on Bitmap#recycle().
As there are apps relying on this, yell very loudly about this behavior
in the log and give them a bit of time to fix it
Change-Id: I857be7e74cb217877973d9c6f03eb761d12fd056
2015-08-03 20:57:22 +00:00
Derek Sollenberger
6578a98956
Support High Contrast Text for all canvas types
...
Change-Id: Iee324446798fe1a1cb32cb991f181a4af24aa93c
2015-07-29 16:02:14 -04:00
Chris Craik
c9a6ca5d6b
Merge "Revert "Support High Contrast Text for all canvas types""
2015-07-29 18:15:16 +00:00
Chris Craik
749e67438c
Revert "Support High Contrast Text for all canvas types"
...
bug:22820834
This reverts commit 876d56612ab8ec7032f702905d694670e6c4febd.
Change-Id: I4e07a0894095caaaf2fd36bfa6073d033542bfc4
2015-07-29 18:14:46 +00:00
Derek Sollenberger
2d35cf953a
Merge "Support High Contrast Text for all canvas types"
2015-07-29 14:36:09 +00:00
ztenghui
dbcea5f495
am 8054c55b: am b00f3e4f: am fcec0638: am 8b455841: am 094c82ad: Merge "Scaling (Animated)VectorDrawable inside ImageView" into mnc-dev
...
* commit '8054c55bc6a0b7b108ee58df728e7a2b2e646c17':
Scaling (Animated)VectorDrawable inside ImageView
2015-07-17 21:29:32 +00:00
ztenghui
35289f12d6
Scaling (Animated)VectorDrawable inside ImageView
...
Before, the VectorDrawable is behaving like BitmapDrawable inside a ImageView,
and it can be blurry due to scaling.
Now apply the scaling information to the cached bitmap, then the size of bitmap
will match the ImageView's screen size. Therefore, no blurry any more.
b/18185626
Change-Id: I979cef3b5178a9bd37ee6cc776df3361ca47c803
2015-07-17 11:16:41 -07:00
Chris Craik
d4f1d0c4e2
Merge "Remove ImageViewBitmapDrawable class"
2015-07-17 00:21:27 +00:00
Chris Craik
82af13ea83
Remove ImageViewBitmapDrawable class
...
Change-Id: Ie25b4b39cb5d0984981c153b036ea9ade95a10f7
2015-07-16 13:14:04 -07:00
John Reck
6d86e57bda
Elaborate on Bitmap#reconfigure() expectations
...
Bug: 21947835
Change-Id: I6ab0ac08e993fb111977b6f9a02e139c7ea5170a
2015-07-15 12:22:15 -07:00
Julia Reynolds
5561d671f5
am 35ae7a0a: am f4874b74: am 2ed576fa: am 66b73dce: am f5e20ec3: Merge "Retrieve resources for apps, even if not installed for current user." into mnc-dev
...
* commit '35ae7a0a8d66c6a19ec82150a60a23730639f382':
Retrieve resources for apps, even if not installed for current user.
2015-07-14 18:47:04 +00:00
Julia Reynolds
c7fd3462a2
Retrieve resources for apps, even if not installed for current user.
...
Bug: 21448052
Change-Id: Id5db428a6faca4a905684088c47e070752ac2899
2015-07-14 09:24:22 -04:00
Derek Sollenberger
876d56612a
Support High Contrast Text for all canvas types
...
Change-Id: Ib46ba3d7c67e081872e6a4b11d294fe9a61f5bbd
2015-07-13 15:13:15 -04:00
Derek Sollenberger
94394b3fb0
Move drawRegion from DisplayList to Canvas
...
Change-Id: I9f401dc5b24732938ac2ca7ed829796e2d7ef3e8
2015-07-13 13:48:08 -04:00
Derek Sollenberger
cc882b6518
Remove unused functions and variables from DisplayListCanvas
...
This also moves some functions that are only called when creating/completing
a displayList into the appropriate constructors and endRecording calls.
Change-Id: I9f6add156d7f476a52766934af713b0f852c8dea
2015-07-10 19:32:30 +00:00
John Reck
b7ba1220a3
Teach ImageView to recycle internal drawables
...
Bug: 22289362
It's pretty common for ImageView#setBitmap to be called
repeatedly. Avoid re-creating the BitmapDrawable in this scenario
as that has high object churn of semi-expensive objects like
Paint.
Change-Id: Ib77719cd0366d02c1a42f774850bf3b9caa9c288
2015-07-09 17:40:41 -07:00
ztenghui
93666e8691
Merge "Resize the VectorDrawable according to the virtual Dpi" into mnc-dev
2015-06-24 23:32:18 +00:00
ztenghui
95080637db
Resize the VectorDrawable according to the virtual Dpi
...
b/21928507
Change-Id: I9e596192a0fdf13fc91481f990a345c3b267f225
2015-06-24 15:09:09 -07:00
Alan Viverette
06ff2af68a
Update local state when creating LayerDrawable from constant state
...
Also clears DrawableContainer's futures list when it's no longer needed,
correctly sets deep copy of state set in StateListDrawable, makes some
private methods into package-protected to avoid thunk, and propagates
state to StateListDrawable's super class so that getState() has correct
information.
Bug: 21840003
Change-Id: I0d4232807f280d663c03b4a80e4aab8626806440
2015-06-24 14:42:44 -07:00
Dan Sandler
346872d538
Merge "Allow an icon to carry a tint with it, wherever it goes." into mnc-dev
2015-06-24 02:10:25 +00:00
Daniel Sandler
25a5f30128
Merge "Use ashmem backed bitmaps for passing around notifications" into mnc-dev
2015-06-24 02:09:58 +00:00
Alan Viverette
81e7dbddf1
Remove isDither(), deprecate setDither()
...
Bug: 22013358
Change-Id: I37b11a94edc431a88522c6c056b76b045daa61d6
2015-06-23 14:30:40 -07:00
Jorim Jaggi
a0d58ae574
Use ashmem backed bitmaps for passing around notifications
...
Avoids many copies during IPC and duplicate Java heap consumption in
system_server, SystemUI, etc.
Bug: 18386420
Change-Id: Id5ac9406062d472f7848009d65f12131f5f4dac9
2015-06-23 19:55:41 +00:00
Dan Sandler
24f11b1871
Allow an icon to carry a tint with it, wherever it goes.
...
Bug: 21031774
Change-Id: I2d06c7288e0c0a06bf6ff147dfbfdea5a46fd288
2015-06-23 02:21:55 -04:00
Chris Craik
484b114846
Merge "Clean up drawable filter/dither docs" into mnc-dev
2015-06-23 00:07:18 +00:00
Derek Sollenberger
b2aea9dcbd
Merge "Enable Picture w/ HW Accelerated Canvas." into mnc-dev
2015-06-22 15:38:11 +00:00
Derek Sollenberger
e109940d81
Enable Picture w/ HW Accelerated Canvas.
...
Bug: 20688645
Change-Id: I664f37d6dbb3e61b17206c82ebcc63f988cefc65
2015-06-22 13:18:29 +00:00
Chris Craik
c79df8e831
Clean up drawable filter/dither docs
...
bug:21342040
Change-Id: I6592bfa504516852967d82a7e7929b1aef6bff02
2015-06-19 18:01:44 -07:00
Alan Viverette
690a16c350
Invalidate the cached ripple drawable mask if mask layer changes
...
Bug: 21955350
Change-Id: I2e610a5a0af39668b7e9447cfd7d48d35e11d299
2015-06-19 13:42:39 -07:00
Doris Liu
a6c51149c5
Fix a typo in Drawable's javadoc
...
Change-Id: Ic168b250defb30512cb35a836118fe2bdf1b2e78
2015-06-18 15:28:27 -07:00
Dan Sandler
50ec9b1bd9
Merge "Patch up certain kinds of broken notifications." into mnc-dev
2015-06-18 20:26:49 +00:00