History log of /frameworks/base/tools/layoutlib/bridge/src/android/view/ShadowPainter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8df6d037be43bdf98af011d0188e06a21b033aab 15-Jun-2015 Diego Perez <diegoperez@google.com> resolved conflicts for merge of 5a53816b to mnc-dev

Change-Id: Ice1ba8cb9793432e18635e77f4e3309f50bb7b3f
476e582d2ffdf25102d4c55f8c242baa3d21d37f 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/base/tools/layoutlib/bridge/src/android/view/ShadowPainter.java
635d8f4fe771a0bb2771b23991f7ca758861b884 27-Feb-2015 Diego Perez <diegoperez@google.com> Fix crash when shadowSize is 0

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

Change-Id: I9f131afc95a2571fbc8a737df37f43653cfbb90d
/frameworks/base/tools/layoutlib/bridge/src/android/view/ShadowPainter.java
796e9b7f9910f2ba8133cdb6f137107585b2e5fa 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/base/tools/layoutlib/bridge/src/android/view/ShadowPainter.java