Searched refs:mDy (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DistanceClassifier.java | 203 logDebug("Vertical swipe distance: " + Math.abs(distanceVectors.mDy)); in getPassedDistanceThreshold() 205 return Math.abs(distanceVectors.mDy) >= mVerticalSwipeThresholdPx; in getPassedDistanceThreshold() 212 float dY = distanceVectors.mDy + distanceVectors.mVy * mVelocityToDistanceMultiplier; in getPassedFlingThreshold() 221 logDebug("Vertical swipe and fling distance: " + distanceVectors.mDy + ", " in getPassedFlingThreshold() 229 final float mDy; field in DistanceClassifier.DistanceVectors 235 this.mDy = dY; 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/ |
D | ItemTouchHelper.java | 199 float mDy; field in ItemTouchHelper 507 outPosition[1] = mSelectedStartY + mDy - mSelected.itemView.getTop(); in getSelectedDxDy() 586 targetTranslateY = Math.signum(mDy) * mRecyclerView.getHeight(); in select() 732 int curY = (int) (mSelectedStartY + mDy); in scrollIfNecessary() 734 if (mDy < 0 && topDiff < 0) { in scrollIfNecessary() 736 } else if (mDy > 0) { in scrollIfNecessary() 775 final int top = Math.round(mSelectedStartY + mDy) - margin; in findSwapTargets() 827 final int y = (int) (mSelectedStartY + mDy); 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/ |
D | RecyclerView.java | 10959 private int mDy; field in RecyclerView.SmoothScroller.Action 10999 mDy = dy; 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() 11079 return mDy; in getDy() 11084 mDy = dy; in setDy() 11121 mDy = dy; in update()
|