Searched refs:mTargetRotation (Results 1 – 2 of 2) sorted by relevance
1440 private float mTargetRotation; field in PhotoView.RotateRunnable1460 mTargetRotation = rotation; in start()1461 mVelocity = mTargetRotation / ROTATE_ANIMATION_DURATION; in start()1483 if (mAppliedRotation != mTargetRotation) { in run()1487 if (mAppliedRotation < mTargetRotation in run()1488 && mAppliedRotation + rotationAmount > mTargetRotation in run()1489 || mAppliedRotation > mTargetRotation in run()1490 && mAppliedRotation + rotationAmount < mTargetRotation) { in run()1491 rotationAmount = mTargetRotation - mAppliedRotation; in run()1495 if (mAppliedRotation == mTargetRotation) { in run()
1091 private final int mTargetRotation; field in ScreenDecorations.RestartingPreDrawListener1095 mTargetRotation = targetRotation; in RestartingPreDrawListener()1102 if (mTargetRotation == mRotation) { in onPreDraw()1106 + mTargetRotation + ", allow draw without restarting it"); in onPreDraw()