Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DStretchShaderActivity.java392 public void setOverscrollX(float overscrollX) { in setOverscrollX() argument
393 mOverScrollX = overscrollX; in setOverscrollX()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java2092 private void pullGlows(float x, float overscrollX, float y, float overscrollY) { in pullGlows() argument
2094 if (overscrollX < 0) { in pullGlows()
2096 mLeftGlow.onPull(-overscrollX / getWidth(), 1f - y / getHeight()); in pullGlows()
2098 } else if (overscrollX > 0) { in pullGlows()
2100 mRightGlow.onPull(overscrollX / getWidth(), y / getHeight()); in pullGlows()
2114 if (invalidate || overscrollX != 0 || overscrollY != 0) { in pullGlows()
4785 int overscrollX = 0, overscrollY = 0; in run() local
4792 overscrollX = dx - hresult; in run()
4823 if (overscrollX != 0 || overscrollY != 0) { in run()
4827 if (overscrollX != x) { in run()
[all …]