aboutsummaryrefslogtreecommitdiff
path: root/testapps/customPropAnimTest/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'testapps/customPropAnimTest/src/com')
-rw-r--r--testapps/customPropAnimTest/src/com/android/custompropertyanimation/CustomPropertyAnimationActivity.java22
-rw-r--r--testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java24
2 files changed, 0 insertions, 46 deletions
diff --git a/testapps/customPropAnimTest/src/com/android/custompropertyanimation/CustomPropertyAnimationActivity.java b/testapps/customPropAnimTest/src/com/android/custompropertyanimation/CustomPropertyAnimationActivity.java
deleted file mode 100644
index b1b91b981..000000000
--- a/testapps/customPropAnimTest/src/com/android/custompropertyanimation/CustomPropertyAnimationActivity.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.android.custompropertyanimation;
-
-import android.animation.ObjectAnimator;
-import android.app.Activity;
-import android.os.Bundle;
-import android.widget.LinearLayout;
-
-public class CustomPropertyAnimationActivity extends Activity {
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- LinearLayout container = (LinearLayout) findViewById(R.id.container);
-
- MyView view = new MyView(this);
- container.addView(view);
-
- ObjectAnimator anim = ObjectAnimator.ofFloat(view, "foo", 1);
- anim.start();
- }
-} \ No newline at end of file
diff --git a/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java b/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java
deleted file mode 100644
index e557fdaa5..000000000
--- a/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java
+++ /dev/null
@@ -1,24 +0,0 @@
-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;
- }
-
-}