Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java171 float velocityY) { in rotateCardView() argument
173 boolean xGreaterThanY = Math.abs(velocityX) > Math.abs(velocityY); in rotateCardView()
193 boolean rotateCardsOut = velocityY > 0; in rotateCardView()
209 boolean rotateCardsOut = velocityY > 0; in rotateCardView()
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DGestureListener.java53 float velocityY) { in onFling() argument
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java786 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
787 fling((int) -velocityX, (int) -velocityY);
804 private void fling(int velocityX, int velocityY) { in fling() argument
818 velocityY, in fling()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java451 float velocityY = (float) Math.sin(direction) * speed;
456 obstacle.setVelocity(velocityX, velocityY);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java439 float velocityY = (float) Math.sin(direction) * speed; in step() local
444 obstacle.setVelocity(velocityX, velocityY); in step()