summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-05-22 00:18:21 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-22 00:18:21 +0000
commitb8fe2fcd71e438b5ea6a85b1e2024ca9dc62b9d1 (patch)
treea18cc613c7830a90f2084f67ce4a15b0dd308d3b /graphics
parent4bb692cdc4f8c7f6b5fb494c22314b7410950361 (diff)
parent797b95b26bbb7557678af78b9a2a61830158920f (diff)
downloadframeworks_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.java8
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