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 …]
218 private float mDisplacement = 0.5f; field in EdgeEffect598 final float displacement = Math.max(0, Math.min(mDisplacement, 1.f)) - 0.5f; in draw()627 mTmpPoints[8] = mWidth * mDisplacement; in draw()629 mTmpPoints[10] = mWidth * mDisplacement; in draw()711 mDisplacement = (mDisplacement + mTargetDisplacement) / 2; in update()
70065 Landroid/widget/EdgeEffect;->mDisplacement:F