HomeSort by relevance Sort by last modified time
    Searched refs:velocityX (Results 26 - 50 of 96) sorted by null

12 3 4

  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
OverScrollerSGV.java 405 public void fling(int startX, int startY, int velocityX, int velocityY,
407 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0);
416 * @param velocityX Initial velocity of the fling (X) measured in pixels per
437 public void fling(int startX, int startY, int velocityX, int velocityY,
443 if (Math.signum(velocityX) == Math.signum(oldVelocityX) &&
445 velocityX += oldVelocityX;
451 mScrollerX.fling(startX, velocityX, minX, maxX, overX);
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
OverScroller.java 403 public void fling(int startX, int startY, int velocityX, int velocityY,
405 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0);
414 * @param velocityX Initial velocity of the fling (X) measured in pixels per
435 public void fling(int startX, int startY, int velocityX, int velocityY,
441 if (Math.signum(velocityX) == Math.signum(oldVelocityX) &&
443 velocityX += oldVelocityX;
449 mScrollerX.fling(startX, velocityX, minX, maxX, overX);
    [all...]
  /external/chromium_org/content/browser/renderer_host/
overscroll_controller.cc 169 if (gesture.data.flingStart.velocityX < 0)
173 if (gesture.data.flingStart.velocityX > 0)
254 float velocity_x = gesture.data.flingStart.velocityX;
  /cts/tests/src/android/view/cts/
GestureDetectorStubActivity.java 95 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
  /external/chromium_org/third_party/WebKit/public/web/
WebInputEvent.h 443 float velocityX;
448 float velocityX;
  /external/replicaisland/src/com/replica/replicaisland/
LaunchProjectileComponent.java 203 public final void setVelocityX(float velocityX) {
204 mVelocityX = velocityX;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PhotoView.java     [all...]
PositionController.java 659 public boolean flingPage(int velocityX, int velocityY) {
672 if ((velocityX > 0 && (edges & IMAGE_AT_LEFT_EDGE) != 0) ||
673 (velocityX < 0 && (edges & IMAGE_AT_RIGHT_EDGE) != 0)) {
674 velocityX = 0;
681 if (velocityX == 0 && velocityY == 0) return false;
683 mPageScroller.fling(p.mCurrentX, b.mCurrentY, velocityX, velocityY,
691 public boolean flingFilmX(int velocityX) {
692 if (velocityX == 0) return false;
704 mFilmScroller.fling(p.mCurrentX, 0, velocityX, 0,
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
GestureDetectorCompat.java 375 final float velocityX = VelocityTrackerCompat.getXVelocity(
379 || (Math.abs(velocityX) > mMinimumFlingVelocity)){
380 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
ScrollKeyboardView.java 203 public boolean onFling(final MotionEvent e1, final MotionEvent e2, final float velocityX,
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
TrackingInputHandler.java 360 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
376 mFlingScroller.fling(0, 0, (int)velocityX, (int)velocityY, Integer.MIN_VALUE,
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ContentViewGestureHandler.java 387 float velocityX, float velocityY) {
393 velocityX = 0;
398 (int) velocityX, (int) velocityY);
601 * @param velocityX Initial velocity of the fling (X) measured in pixels per second.
604 void fling(long timeMs, int x, int y, int velocityX, int velocityY) {
607 if (velocityX == 0 && velocityY == 0) {
621 mExtraParamBundleFling.putInt(VELOCITY_X, velocityX);
    [all...]
ContentView.java 306 * @param velocityX Initial velocity of the fling (X) measured in pixels per second.
310 public void fling(long timeMs, int x, int y, int velocityX, int velocityY) {
311 mContentViewCore.getContentViewGestureHandler().fling(timeMs, x, y, velocityX, velocityY);
  /packages/apps/Camera2/src/com/android/camera/ui/
FilmStripView.java 397 public void flingInsideZoomView (float velocityX, float velocityY);
    [all...]
  /external/chromium_org/content/renderer/input/
input_handler_proxy_unittest.cc 388 gesture_.data.flingStart.velocityX = 10;
458 gesture_.data.flingStart.velocityX = fling_delta.x;
566 gesture_.data.flingStart.velocityX = fling_delta.x;
672 gesture_.data.flingStart.velocityX = fling_delta.x;
758 gesture_.data.flingStart.velocityX = 10;
    [all...]
input_handler_proxy.cc 273 WebFloatPoint(gesture_event.data.flingStart.velocityX,
289 WebFloatPoint(gesture_event.data.flingStart.velocityX,
  /cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java 517 final int velocityX = WidgetTestUtils.convertDipToPixels(getActivity(), 2000);
522 mScrollView.fling(velocityX);
531 mScrollView.fling(-velocityX);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
KeyboardView.java 384 float velocityX, float velocityY) {
386 final float absX = Math.abs(velocityX);
396 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) {
397 if (mDisambiguateSwipe && endingVelocityX < velocityX / 4) {
403 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) {
404 if (mDisambiguateSwipe && endingVelocityX > velocityX / 4) {
    [all...]
  /packages/apps/Music/src/com/android/music/
TouchInterceptor.java 95 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
98 if (velocityX > 1000) {
  /development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
InteractiveLineGraphView.java     [all...]
  /external/chromium_org/content/common/input/
synthetic_web_input_event_builders.cc 124 result.data.flingStart.velocityX = velocity_x;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 322 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
324 mTranslateRunnable.start(velocityX, velocityY);
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java     [all...]
  /frameworks/base/core/java/android/inputmethodservice/
KeyboardView.java 387 float velocityX, float velocityY) {
389 final float absX = Math.abs(velocityX);
399 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) {
400 if (mDisambiguateSwipe && endingVelocityX < velocityX / 4) {
406 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) {
407 if (mDisambiguateSwipe && endingVelocityX > velocityX / 4) {
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 450 float velocityX = (float) Math.cos(direction) * speed;
456 obstacle.setVelocity(velocityX, velocityY);

Completed in 406 milliseconds

12 3 4