diff options
author | Chris Craik <ccraik@google.com> | 2014-05-22 00:18:21 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-22 00:18:21 +0000 |
commit | b8fe2fcd71e438b5ea6a85b1e2024ca9dc62b9d1 (patch) | |
tree | a18cc613c7830a90f2084f67ce4a15b0dd308d3b /graphics | |
parent | 4bb692cdc4f8c7f6b5fb494c22314b7410950361 (diff) | |
parent | 797b95b26bbb7557678af78b9a2a61830158920f (diff) | |
download | frameworks_base-b8fe2fcd71e438b5ea6a85b1e2024ca9dc62b9d1.zip frameworks_base-b8fe2fcd71e438b5ea6a85b1e2024ca9dc62b9d1.tar.gz frameworks_base-b8fe2fcd71e438b5ea6a85b1e2024ca9dc62b9d1.tar.bz2 |
Merge "Define light position (using new lighting spec) in Java"
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 |