Searched refs:mDisplacement (Results 1 – 3 of 3) sorted by relevance
167 private float mDisplacement; field in SwipeDetector199 > Math.abs(mDisplacement)) { in shouldScrollStart()204 if (((mScrollConditions & DIRECTION_NEGATIVE) > 0 && mDisplacement > 0) || in shouldScrollStart()205 ((mScrollConditions & DIRECTION_POSITIVE) > 0 && mDisplacement < 0)) { in shouldScrollStart()218 mDisplacement = 0; in onTouchEvent()243 mDisplacement = mDir.getDisplacement(ev, pointerIndex, mDownPos); in onTouchEvent()285 if (mDisplacement > 0) { in initializeDragging()293 if (mDisplacement != mLastDisplacement) { in reportDragging()296 mDisplacement, mVelocity)); in reportDragging()299 mLastDisplacement = mDisplacement; in reportDragging()[all …]
122 private float mDisplacement = 0.5f; field in EdgeEffect370 final float displacement = Math.max(0, Math.min(mDisplacement, 1.f)) - 0.5f; in draw()405 mDisplacement = (mDisplacement + mTargetDisplacement) / 2; in update()
81171 Landroid/widget/EdgeEffect;->mDisplacement:F