Home
last modified time | relevance | path

Searched refs:onPullDistance (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java653 mEdgeGlowLeft.onPullDistance(0f, 1f - ev.getY() / getHeight()); in onInterceptTouchEvent()
656 mEdgeGlowRight.onPullDistance(0f, ev.getY() / getHeight()); in onInterceptTouchEvent()
757 * mEdgeGlowRight.onPullDistance((float) deltaX / getWidth(), in onTouchEvent()
761 * mEdgeGlowLeft.onPullDistance((float) -deltaX / getWidth(), in onTouchEvent()
775 mEdgeGlowLeft.onPullDistance((float) -deltaX / getWidth(), in onTouchEvent()
781 mEdgeGlowRight.onPullDistance((float) deltaX / getWidth(), in onTouchEvent()
892 mEdgeGlowLeft.onPullDistance(-(float) newScrollX / getWidth(), in onGenericMotionEvent()
901 mEdgeGlowRight.onPullDistance( in onGenericMotionEvent()
1510 * mEdgeGlowLeft.onPullDistance(deltaDistance, 0.5f)); in consumeFlingInStretch()
1520 * mEdgeGlowRight.onPullDistance(deltaDistance, 0.5f)); in consumeFlingInStretch()
DScrollView.java713 mEdgeGlowTop.onPullDistance(0f, ev.getX() / getWidth()); in onInterceptTouchEvent()
716 mEdgeGlowBottom.onPullDistance(0f, 1f - ev.getX() / getWidth()); in onInterceptTouchEvent()
836 * mEdgeGlowBottom.onPullDistance((float) deltaY / getHeight(), in onTouchEvent()
840 * mEdgeGlowTop.onPullDistance((float) -deltaY / getHeight(), in onTouchEvent()
859 mEdgeGlowTop.onPullDistance((float) -deltaY / getHeight(), in onTouchEvent()
865 mEdgeGlowBottom.onPullDistance((float) deltaY / getHeight(), in onTouchEvent()
968 mEdgeGlowTop.onPullDistance(-(float) newScrollY / getHeight(), 0.5f); in onGenericMotionEvent()
976 mEdgeGlowBottom.onPullDistance( in onGenericMotionEvent()
1557 * mEdgeGlowTop.onPullDistance(deltaDistance, 0.5f)); in consumeFlingInStretch()
1568 * mEdgeGlowBottom.onPullDistance(deltaDistance, 0.5f)); in consumeFlingInStretch()
DAbsListView.java3768 mEdgeGlowTop.onPullDistance((float) -overscroll / getHeight(), in scrollIfNeeded()
3775 mEdgeGlowBottom.onPullDistance((float) overscroll / getHeight(), in scrollIfNeeded()
3815 mEdgeGlowTop.onPullDistance((float) overScrollDistance / getHeight(), in scrollIfNeeded()
3822 mEdgeGlowBottom.onPullDistance( in scrollIfNeeded()
3877 consumed = mEdgeGlowTop.onPullDistance((float) deltaY / getHeight(), in releaseGlow()
3885 consumed = -mEdgeGlowBottom.onPullDistance((float) -deltaY / getHeight(), in releaseGlow()
4123 mEdgeGlowTop.onPullDistance(0, x / getWidth()); in stopEdgeGlowRecede()
4126 mEdgeGlowBottom.onPullDistance(0, x / getWidth()); in stopEdgeGlowRecede()
4421 * mEdgeGlowTop.onPullDistance(deltaDistance, 0.5f)); in consumeFlingInStretch()
4431 * mEdgeGlowBottom.onPullDistance(deltaDistance, 0.5f)); in consumeFlingInStretch()
[all …]
DEdgeEffect.java425 public float onPullDistance(float deltaDistance, float displacement) { in onPullDistance() method in EdgeEffect
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1927 mLeftEdge.onPullDistance(0f, 1 - mLastMotionY / getHeight());
1930 mRightEdge.onPullDistance(0f, mLastMotionY / getHeight());
2110 consumed = -mLeftEdge.onPullDistance(-pullDistance, 1 - displacement);
2112 consumed = mRightEdge.onPullDistance(pullDistance, displacement);
2173 startEdge.onPullDistance(over / width, 1 - y / getHeight());
2180 endEdge.onPullDistance(over / width, y / getHeight());
DRecyclerView.java2754 mLeftGlow.onPullDistance(0, 1 - (e.getY() / getHeight())); in stopGlowAnimations()
2758 mRightGlow.onPullDistance(0, e.getY() / getHeight()); in stopGlowAnimations()
2762 mTopGlow.onPullDistance(0, e.getX() / getWidth()); in stopGlowAnimations()
2766 mBottomGlow.onPullDistance(0, 1 - e.getX() / getWidth()); in stopGlowAnimations()
2946 consumed = -mLeftGlow.onPullDistance(-pullDistance, 1 - displacement); in releaseHorizontalGlow()
2951 consumed = mRightGlow.onPullDistance(pullDistance, displacement); in releaseHorizontalGlow()
2979 consumed = -mTopGlow.onPullDistance(-pullDistance, displacement); in releaseVerticalGlow()
2984 consumed = mBottomGlow.onPullDistance(pullDistance, 1 - displacement); in releaseVerticalGlow()
/frameworks/base/boot/
Dboot-image-profile.txt19937 HSPLandroid/widget/EdgeEffect;->onPullDistance(FF)F
/frameworks/base/config/
Dboot-image-profile.txt20001 HSPLandroid/widget/EdgeEffect;->onPullDistance(FF)F
/frameworks/base/core/api/
Dcurrent.txt58521 method public float onPullDistance(float, float);