/frameworks/base/core/java/com/android/internal/widget/ |
D | NestedScrollingChild.java | 193 boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument 225 boolean dispatchNestedPreFling(float velocityX, float velocityY); in dispatchNestedPreFling() argument
|
D | ActionBarOverlayLayout.java | 573 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { 577 if (shouldHideActionBarOnFling(velocityX, velocityY)) { 671 private boolean shouldHideActionBarOnFling(float velocityX, float velocityY) {
|
D | RecyclerView.java | 1993 public boolean fling(int velocityX, int velocityY) { in fling() argument 2006 if (!canScrollHorizontal || Math.abs(velocityX) < mMinFlingVelocity) { in fling() 2007 velocityX = 0; in fling() 2012 if (velocityX == 0 && velocityY == 0) { in fling() 2017 if (!dispatchNestedPreFling(velocityX, velocityY)) { in fling() 2033 dispatchNestedFling(velocityX, velocityY, consumed); in fling() 2035 if (mOnFlingListener != null && mOnFlingListener.onFling(velocityX, velocityY)) { in fling() 2042 velocityX = Math.max(-mMaxFlingVelocity, Math.min(velocityX, mMaxFlingVelocity)); in fling() 2044 mViewFlinger.fling(velocityX, velocityY); in fling() 2165 void absorbGlows(int velocityX, int velocityY) { in absorbGlows() argument [all …]
|
D | DecorCaptionView.java | 403 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
|
D | ResolverDrawerLayout.java | 793 public boolean onNestedPreFling(View target, float velocityX, float velocityY) { 802 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) {
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 426 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 441 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling() 443 velocityX += oldVelocityX; in fling() 451 float velocity = (float) Math.hypot(velocityX, velocityY); in fling() 459 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity; in fling()
|
D | OverScroller.java | 390 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 392 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling() 422 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 428 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling() 430 velocityX += oldVelocityX; in fling() 436 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
|
D | HorizontalScrollView.java | 1718 public void fling(int velocityX) { in fling() argument 1726 mEdgeGlowLeft.onAbsorb(-velocityX); in fling() 1728 mEdgeGlowRight.onAbsorb(velocityX); in fling() 1730 mScroller.fling(mScrollX, mScrollY, velocityX, 0, 0, in fling() 1733 final boolean movingRight = velocityX > 0; in fling()
|
D | Gallery.java | 1020 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument 1033 mFlingRunnable.startUsingVelocity((int) -velocityX); in onFling()
|
D | ScrollView.java | 1858 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
|
D | AbsListView.java | 4425 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument 4438 return dispatchNestedFling(velocityX, velocityY, consumed); in onNestedFling()
|
/frameworks/base/core/java/android/view/ |
D | ViewParent.java | 623 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed); in onNestedFling() argument 645 public boolean onNestedPreFling(View target, float velocityX, float velocityY); in onNestedPreFling() argument
|
D | GestureDetector.java | 130 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument 205 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, in onFling() argument 759 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent() local 762 || (Math.abs(velocityX) > mMinimumFlingVelocity)) { in onTouchEvent() 763 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
|
D | ViewGroup.java | 7952 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument 7954 return dispatchNestedFling(velocityX, velocityY, consumed); in onNestedFling() 7961 public boolean onNestedPreFling(View target, float velocityX, float velocityY) { in onNestedPreFling() argument 7963 return dispatchNestedPreFling(velocityX, velocityY); in onNestedPreFling()
|
D | View.java | 27449 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument 27451 return mNestedScrollingParent.onNestedFling(this, velocityX, velocityY, consumed); in dispatchNestedFling() 27486 public boolean dispatchNestedPreFling(float velocityX, float velocityY) { in dispatchNestedPreFling() argument 27488 return mNestedScrollingParent.onNestedPreFling(this, velocityX, velocityY); in dispatchNestedPreFling()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 393 float velocityX, float velocityY, @Nullable Runnable postBoundsUpdateCallback) { in flingToSnapTarget() argument 394 movetoTarget(velocityX, velocityY, postBoundsUpdateCallback, false /* isStash */); in flingToSnapTarget() 406 float velocityX, in movetoTarget() argument 418 FloatProperties.RECT_X, velocityX, in movetoTarget() 434 final float xEndValue = velocityX < 0 ? leftEdge : rightEdge; in movetoTarget()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | SeekBarViewModel.kt | 397 velocityX: Float, in onFling() 400 if (Math.abs(velocityX) > flingVelocity || Math.abs(velocityY) > flingVelocity) { in onFling()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 318 float velocityX, float velocityY) { in onFling() argument 325 mOverscroller.fling(0, 0, (int)velocityX, (int)velocityY, in onFling()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 407 float velocityX, float velocityY) { in initGestureDetector() 409 final float absX = Math.abs(velocityX); in initGestureDetector() 419 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) { in initGestureDetector() 420 if (mDisambiguateSwipe && endingVelocityX < velocityX / 4) { in initGestureDetector() 426 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) { in initGestureDetector() 427 if (mDisambiguateSwipe && endingVelocityX > velocityX / 4) { in initGestureDetector()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 362 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument 364 mTranslateRunnable.start(velocityX, velocityY); in onFling() 1264 public boolean start(float velocityX, float velocityY) { in start() argument 1269 mVelocityX = velocityX; in start()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintContentView.java | 421 public void onViewReleased(View child, float velocityX, float velocityY) { in onViewReleased() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 1155 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, in onFling() argument 1157 if (mScreenshotStatic.getTranslationX() * velocityX > 0 in onFling() 1159 animateDismissal(createSwipeDismissAnimation(velocityX / (float) 1000)); in onFling()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | LockIconViewController.java | 522 float velocityX, float velocityY) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 2158 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 2160 if (velocityY > 0 && Math.abs(velocityY) > Math.abs(velocityX)
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 3290 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
|