Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java116 public EdgeEffect mEdgeGlowTop; field in ScrollView
237 mEdgeGlowTop = new EdgeEffect(context, attrs); in ScrollView()
327 mEdgeGlowTop.setColor(color); in setTopEdgeEffectColor()
341 return mEdgeGlowTop.getColor(); in getTopEdgeEffectColor()
738 || !mEdgeGlowTop.isFinished(); in onInterceptTouchEvent()
740 if (!mEdgeGlowTop.isFinished()) { in onInterceptTouchEvent()
741 mEdgeGlowTop.onPullDistance(0f, ev.getX() / getWidth()); in onInterceptTouchEvent()
866 } else if (deltaY > 0 && mEdgeGlowTop.getDistance() != 0f) { in onTouchEvent()
868 * mEdgeGlowTop.onPullDistance((float) -deltaY / getHeight(), in onTouchEvent()
887 mEdgeGlowTop.onPullDistance((float) -deltaY / getHeight(), in onTouchEvent()
[all …]
DAbsListView.java756 public EdgeEffect mEdgeGlowTop; field in AbsListView
931 mEdgeGlowTop = new EdgeEffect(context); in AbsListView()
954 mEdgeGlowTop = new EdgeEffect(context, attrs); in AbsListView()
3776 mEdgeGlowTop.onPullDistance((float) -overscroll / getHeight(), in scrollIfNeeded()
3785 if (!mEdgeGlowTop.isFinished()) { in scrollIfNeeded()
3786 mEdgeGlowTop.onRelease(); in scrollIfNeeded()
3823 mEdgeGlowTop.onPullDistance((float) overScrollDistance / getHeight(), in scrollIfNeeded()
3833 if (!mEdgeGlowTop.isFinished()) { in scrollIfNeeded()
3834 mEdgeGlowTop.onRelease(); in scrollIfNeeded()
3881 if (mEdgeGlowTop.getDistance() != 0) { in releaseGlow()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DScrollViewFunctionalTest.java72 mScrollView.mEdgeGlowTop = edgeEffect; in testScrollAfterFlingTop()