Searched refs:fractionAnimation (Results 1 – 1 of 1) sorted by relevance
439 float fractionAnimation; in onDraw() local441 fractionAnimation = mShowInterpolator.getInterpolation(time); in onDraw()443 fractionAnimation = mHideInterpolator.getInterpolation(time); in onDraw()450 canvas.drawARGB((int) (80 * fractionAnimation), 0, 0, 0); in onDraw()457 float scale = fractionAnimation * (mScale - 1.0f) / mScale + 1.0f / mScale; in onDraw()462 float unshiftX = -mShiftX * (1.0f - fractionAnimation) / mScale; in onDraw()463 float unshiftY = -mShiftY * (1.0f - fractionAnimation) / mScale; in onDraw()487 int alpha = constrain((int) (fractionAnimation * 255), 0, 255); in onDraw()