History log of /frameworks/layoutlib/bridge/src/android/view/ShadowPainter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5abd003145db81aeab646bf28cc0ff65e7ae444e 27-Oct-2017 Diego Perez <diegoperez@google.com> Apply alpha to shadows

Test: Added new shadow alpha test
Change-Id: If09c016d3aacc242f09bab4ca13205fb762d269d
Fixes: 68305598
/frameworks/layoutlib/bridge/src/android/view/ShadowPainter.java
13ec07463193092a3bb2e3b53b28c7013d82ff7e 15-Jun-2015 Diego Perez <diegoperez@google.com> resolved conflicts for merge of 5a53816b to mnc-dev

Change-Id: Ice1ba8cb9793432e18635e77f4e3309f50bb7b3f
442aee6bc1abfb143dcfa1ba60d696e576d066c4 22-May-2015 Deepanshu Gupta <deepanshu@google.com> LayoutLib: Change nullity annotations.

Switch from using tools nullity annotations (com.android.annotations)
to android framework annotations (android.annotation).

A new sdk-common prebuilt is required for LayoutLib tests. The new
sdk-common requires an updated tools-common. The updated tools-common
doesn't have nullity annotations. So, instead of adding the annotation
dependency, just reuse the platform ones. This also paves the way to
include other platform annotations like IdRes etc.

Change-Id: I87b8f767d3681d914abe7d1329e26a87f49f50a7
/frameworks/layoutlib/bridge/src/android/view/ShadowPainter.java
1245caa7fd9c5cbf21fe5f5effe317dfbebc064a 27-Feb-2015 Diego Perez <diegoperez@google.com> Fix crash when shadowSize is 0

Change-Id: I9f131afc95a2571fbc8a737df37f43653cfbb90d
(cherry picked from commit e81096458f689ab3c0c4dbab2452722c3e3623c4)
/frameworks/layoutlib/bridge/src/android/view/ShadowPainter.java
3c8e871ab7811a05cf5fc3debe798e342dc19ee9 27-Feb-2015 Diego Perez <diegoperez@google.com> Fix crash when shadowSize is 0

Change-Id: I9f131afc95a2571fbc8a737df37f43653cfbb90d
/frameworks/layoutlib/bridge/src/android/view/ShadowPainter.java
3d65b9279686974dc4cf8351efda9cd59ba59cbd 05-Nov-2014 Deepanshu Gupta <deepanshu@google.com> Add primitive shadows support to LayoutLib

The shadows rendered are not the same as rendered by the framework. The
main purpose of the shadows here is let the user know when shadows will
be cast.

Currently rectangular shadows are available in only two intensities. Any
elevation below 10dp uses one shadow and any elevation over 10 dp uses
the other.

Also, even though the code for arbitrary shapes exist, it doesn't quite
work yet. No shadows are visible when that code is run.

Change-Id: Ie8235ffccf1d3809713f5d8f82afde434817d6b2
/frameworks/layoutlib/bridge/src/android/view/ShadowPainter.java