aboutsummaryrefslogtreecommitdiff
path: root/testapps/customPropAnimTest/src/com/android/custompropertyanimation/MyView.java
blob: e557fdaa55e910c75740968817f6fef86c5a39cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
    }

}