Searched refs:overscrollY (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSScrollLayout.java | 168 float overscrollY = displacement - mFirstDisplacement; in onDrag() local 169 setContentTranslationY(getDampedOverScroll(overscrollY)); in onDrag()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 2071 private void pullGlows(float x, float overscrollX, float y, float overscrollY) { in pullGlows() argument 2083 if (overscrollY < 0) { in pullGlows() 2085 mTopGlow.onPull(-overscrollY / getHeight(), x / getWidth()); in pullGlows() 2087 } else if (overscrollY > 0) { in pullGlows() 2089 mBottomGlow.onPull(overscrollY / getHeight(), 1f - x / getWidth()); in pullGlows() 2093 if (invalidate || overscrollX != 0 || overscrollY != 0) { in pullGlows() 4663 int overscrollX = 0, overscrollY = 0; in run() local 4674 overscrollY = dy - vresult; in run() 4689 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run() 4691 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run() [all …]
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | RecyclerView.java | 2320 private void pullGlows(float x, float overscrollX, float y, float overscrollY) { in pullGlows() argument 2332 if (overscrollY < 0) { in pullGlows() 2334 EdgeEffectCompat.onPull(mTopGlow, -overscrollY / getHeight(), x / getWidth()); in pullGlows() 2336 } else if (overscrollY > 0) { in pullGlows() 2338 EdgeEffectCompat.onPull(mBottomGlow, overscrollY / getHeight(), 1f - x / getWidth()); in pullGlows() 2342 if (invalidate || overscrollX != 0 || overscrollY != 0) { in pullGlows() 5013 int overscrollX = 0, overscrollY = 0; in run() local 5025 overscrollY = dy - vresult; in run() 5034 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run() 5036 smoothScroller.onAnimation(dx - overscrollX, dy - overscrollY); in run() [all …]
|