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

/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
H A DTouchLatencyActivity.java65 mVelocityY = 7.0f;
113 mBallY += mVelocityY;
125 mVelocityY *= -1;
137 mVelocityY *= -1;
173 private float mVelocityX, mVelocityY; field in class:TouchLatencyView
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java1247 private float mVelocityY; field in class:PhotoView.TranslateRunnable
1270 mVelocityY = velocityY;
1272 float angle = (float) Math.atan2(mVelocityY, mVelocityX);
1300 final int translateResult = mHeader.translate(mVelocityX * delta, mVelocityY * delta);
1310 if (Math.abs(mVelocityY) > Math.abs(slowDownY)) {
1311 mVelocityY -= slowDownY;
1313 mVelocityY = 0f;
1317 if ((mVelocityX == 0f && mVelocityY == 0f)
1324 mVelocityY = 0f;
1327 mDecelerationY = (mVelocityY >
[all...]

Completed in 108 milliseconds