Home
last modified time | relevance | path

Searched refs:overscrollY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java169 float overscrollY = displacement - mFirstDisplacement; in onDrag() local
170 setContentTranslationY(getDampedOverScroll(overscrollY)); in onDrag()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java2072 private void pullGlows(float x, float overscrollX, float y, float overscrollY) { in pullGlows() argument
2084 if (overscrollY < 0) { in pullGlows()
2086 mTopGlow.onPull(-overscrollY / getHeight(), x / getWidth()); in pullGlows()
2088 } else if (overscrollY > 0) { in pullGlows()
2090 mBottomGlow.onPull(overscrollY / getHeight(), 1f - x / getWidth()); in pullGlows()
2094 if (invalidate || overscrollX != 0 || overscrollY != 0) { in pullGlows()
4664 int overscrollX = 0, overscrollY = 0; in run() local
4675 overscrollY = dy - vresult; in run()
4690 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run()
4692 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run()
[all …]