Searched refs:mVelocityX (Results 1 – 1 of 1) sorted by relevance
1246 private float mVelocityX; field in PhotoView.TranslateRunnable1269 mVelocityX = velocityX; in start()1272 float angle = (float) Math.atan2(mVelocityY, mVelocityX); in start()1300 final int translateResult = mHeader.translate(mVelocityX * delta, mVelocityY * delta); in run()1304 if (Math.abs(mVelocityX) > Math.abs(slowDownX)) { in run()1305 mVelocityX -= slowDownX; in run()1307 mVelocityX = 0f; in run()1317 if ((mVelocityX == 0f && mVelocityY == 0f) in run()1322 mDecelerationX = (mVelocityX > 0) ? DECELERATION_RATE : -DECELERATION_RATE; in run()1328 mVelocityX = 0f; in run()