Home
last modified time | relevance | path

Searched refs:mDx (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDistanceClassifier.java195 logDebug("Horizontal swipe distance: " + Math.abs(distanceVectors.mDx)); in getPassedDistanceThreshold()
198 return Math.abs(distanceVectors.mDx) >= mHorizontalSwipeThresholdPx; in getPassedDistanceThreshold()
209 float dX = distanceVectors.mDx + distanceVectors.mVx * mVelocityToDistanceMultiplier; in getPassedFlingThreshold()
213 logDebug("Horizontal swipe and fling distance: " + distanceVectors.mDx + ", " in getPassedFlingThreshold()
226 final float mDx; field in DistanceClassifier.DistanceVectors
232 this.mDx = dX; in DistanceVectors()
240 return String.format((Locale) null, "{dx=%f, vx=%f, dy=%f, vy=%f}", mDx, mVx, mDy, mVy); in toString()
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java197 float mDx; field in ItemTouchHelper
720 if (mDx < 0 && leftDiff < 0) { in scrollIfNecessary()
722 } else if (mDx > 0) { in scrollIfNecessary()
994 mDx = mDy = 0f; in checkSelectForSwipe()
1065 mDx = mDy = 0f; in startDrag()
1112 mDx = mDy = 0f; in startSwipe()
1135 mDx = x - mInitialTouchX; in updateDxDy()
1138 mDx = Math.max(0, mDx); in updateDxDy()
1141 mDx = Math.min(0, mDx); in updateDxDy()
1167 if (Math.abs(mDx) > Math.abs(mDy)) { in swipeIfNecessary()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java10957 private int mDx; field in RecyclerView.SmoothScroller.Action
10998 mDx = dx; in Action()
11039 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy); in runIfNecessary()
11041 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration); in runIfNecessary()
11045 mDx, mDy, mDuration, mInterpolator); in runIfNecessary()
11070 return mDx; in getDx()
11075 mDx = dx; in setDx()
11120 mDx = dx; in update()