summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-01-27 14:24:16 +0000
committerNarayan Kamath <narayan@google.com>2014-01-28 10:06:40 +0000
commit88a8364c386c694f7ad56662ef89713dbf7c9d63 (patch)
treed8d88ea86a9db6eb7f686bb3daaf07d6ed18f917 /tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
parent36bef0bf30d6bae48cf3837df351075ca4fce654 (diff)
downloadframeworks_base-88a8364c386c694f7ad56662ef89713dbf7c9d63.zip
frameworks_base-88a8364c386c694f7ad56662ef89713dbf7c9d63.tar.gz
frameworks_base-88a8364c386c694f7ad56662ef89713dbf7c9d63.tar.bz2
Track 64bit changes to android/graphics.
All pointers are now 64bits wide, so should be represented as java longs and not ints. Also changed DelegateManager and SparseWeakArray to reflect the new world order. Change-Id: Ic32b6b53818dbae9b949f03004c4fb6dae26cdbe
Diffstat (limited to 'tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
index 0ee883d..defaac3 100644
--- a/tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/LightingColorFilter_Delegate.java
@@ -55,13 +55,13 @@ public class LightingColorFilter_Delegate extends ColorFilter_Delegate {
// ---- native methods ----
@LayoutlibDelegate
- /*package*/ static int native_CreateLightingFilter(int mul, int add) {
+ /*package*/ static long native_CreateLightingFilter(int mul, int add) {
LightingColorFilter_Delegate newDelegate = new LightingColorFilter_Delegate();
return sManager.addNewDelegate(newDelegate);
}
@LayoutlibDelegate
- /*package*/ static int nCreateLightingFilter(int nativeFilter, int mul, int add) {
+ /*package*/ static int nCreateLightingFilter(long nativeFilter, int mul, int add) {
// pass
return 0;
}