Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDistanceClassifier.java197 logDebug("Horizontal swipe distance: " + Math.abs(distanceVectors.mDx)); in getPassedDistanceThreshold()
200 return Math.abs(distanceVectors.mDx) >= mHorizontalSwipeThresholdPx; in getPassedDistanceThreshold()
211 float dX = distanceVectors.mDx + distanceVectors.mVx * mVelocityToDistanceMultiplier; in getPassedFlingThreshold()
215 logDebug("Horizontal swipe and fling distance: " + distanceVectors.mDx + ", " in getPassedFlingThreshold()
228 final float mDx; field in DistanceClassifier.DistanceVectors
234 this.mDx = dX; in DistanceVectors()
242 return String.format((Locale) null, "{dx=%f, vx=%f, dy=%f, vy=%f}", mDx, mVx, mDy, mVy); in toString()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java197 float mDx; field in ItemTouchHelper
502 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft(); in getSelectedDxDy()
581 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth(); in select()
718 int curX = (int) (mSelectedStartX + mDx); in scrollIfNecessary()
720 if (mDx < 0 && leftDiff < 0) { in scrollIfNecessary()
722 } else if (mDx > 0) { in scrollIfNecessary()
774 final int left = Math.round(mSelectedStartX + mDx) - margin; in findSwapTargets()
826 final int x = (int) (mSelectedStartX + mDx); in moveIfNecessary()
994 mDx = mDy = 0f; in checkSelectForSwipe()
1006 if (hitTest(selectedView, x, y, mSelectedStartX + mDx, mSelectedStartY + mDy)) { in findChildView()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
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()