Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1247 private float mVelocityY; field in PhotoView.TranslateRunnable
1270 mVelocityY = velocityY; in start()
1272 float angle = (float) Math.atan2(mVelocityY, mVelocityX); in start()
1300 final int translateResult = mHeader.translate(mVelocityX * delta, mVelocityY * delta); in run()
1310 if (Math.abs(mVelocityY) > Math.abs(slowDownY)) { in run()
1311 mVelocityY -= slowDownY; in run()
1313 mVelocityY = 0f; in run()
1317 if ((mVelocityX == 0f && mVelocityY == 0f) in run()
1324 mVelocityY = 0f; in run()
1327 mDecelerationY = (mVelocityY > 0) ? DECELERATION_RATE : -DECELERATION_RATE; in run()