Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java170 public void rotateCardView(final CardView cardView, int stack, float velocityX, in rotateCardView() argument
173 boolean xGreaterThanY = Math.abs(velocityX) > Math.abs(velocityY); in rotateCardView()
182 if (velocityX < 0 && xGreaterThanY) { in rotateCardView()
190 cardView.flipRightToLeft(leftStack.size() - 1, (int)velocityX); in rotateCardView()
198 if (velocityX > 0 && xGreaterThanY) { in rotateCardView()
206 cardView.flipLeftToRight(rightStack.size() - 1, (int)velocityX); in rotateCardView()
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DGestureListener.java54 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 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
817 velocityX, in fling()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java450 float velocityX = (float) Math.cos(direction) * speed;
456 obstacle.setVelocity(velocityX, velocityY);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java438 float velocityX = (float) Math.cos(direction) * speed; in step() local
444 obstacle.setVelocity(velocityX, velocityY); in step()
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...