Home
last modified time | relevance | path

Searched refs:mTargetRotation (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1440 private float mTargetRotation; field in PhotoView.RotateRunnable
1460 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java1091 private final int mTargetRotation; field in ScreenDecorations.RestartingPreDrawListener
1095 mTargetRotation = targetRotation; in RestartingPreDrawListener()
1102 if (mTargetRotation == mRotation) { in onPreDraw()
1106 + mTargetRotation + ", allow draw without restarting it"); in onPreDraw()