aboutsummaryrefslogtreecommitdiff
path: root/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java
diff options
context:
space:
mode:
Diffstat (limited to 'testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java')
-rw-r--r--testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java b/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java
new file mode 100644
index 000000000..e557fdaa5
--- /dev/null
+++ b/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java
@@ -0,0 +1,24 @@
+package com.android.custompropertyanimation;
+
+import android.content.Context;
+import android.view.View;
+
+public class MyView extends View {
+
+ float mFoo = 0;
+
+ public MyView(Context context) {
+ super(context);
+ }
+
+ public void setFoo(float foo) {
+ System.out.println("foo = " + foo);
+ mFoo = foo;
+ }
+
+ public float getFoo() {
+ System.out.println("getFoo() returning " + mFoo);
+ return mFoo;
+ }
+
+}