diff options
author | Chris Craik <ccraik@google.com> | 2014-05-20 18:10:25 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-05-21 13:50:29 -0700 |
commit | 797b95b26bbb7557678af78b9a2a61830158920f (patch) | |
tree | b2e895c064c511446b2709160c9d614819f871b2 /graphics | |
parent | d6a91b0bb64b17dcf4ae635f428dfd4ad310f73e (diff) | |
download | frameworks_base-797b95b26bbb7557678af78b9a2a61830158920f.zip frameworks_base-797b95b26bbb7557678af78b9a2a61830158920f.tar.gz frameworks_base-797b95b26bbb7557678af78b9a2a61830158920f.tar.bz2 |
Define light position (using new lighting spec) in Java
Also updates the relative shadow strengths.
Change-Id: I6cac7275d38df98aea9f0dda463cd7207102986a
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/Canvas.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java index 5b18623..d4ea7a9 100644 --- a/graphics/java/android/graphics/Canvas.java +++ b/graphics/java/android/graphics/Canvas.java @@ -236,8 +236,12 @@ public class Canvas { * * @hide */ - public void setViewport(int width, int height) { - } + public void setViewport(int width, int height) {} + + /** + * @hide + */ + public void initializeLight(float lightX, float lightY, float lightZ, float lightRadius) {} /** * Return true if the device that the current layer draws into is opaque |