Code example for ObjectAnimator

Methods: cancel

0
    } 
 
    @Override 
    protected void onDestroy() { 
        super.onDestroy(); 
        mAnimator.cancel();
    } 
 
    public static class LinesView extends View {
        private static final boolean LINE_AA = true;
 
        private final Bitmap mBitmap1;
        private final Paint mSmallPaint;
        private final Paint mMediumPaint;
        private final Paint mLargePaint;
        private final BitmapShader mShader;
        private final float[] mPoints;
        private final Paint mAlphaPaint;
        private final Paint mHairLinePaint;
 
        private float mOffset;