Searched defs:scrollY (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DMasterClearTest.java71 private void initScrollView(int height, int scrollY, int childBottom) { argument
73 when(mScrollView.getScrollY()).thenReturn(scrollY);
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DHeaderElevationController.java61 private void onScroll(int scrollY) { argument
62 float elevationPct = Math.min(scrollY, mScrollToElevation) / mScrollToElevation;
H A DAllAppsFastScrollHelper.java98 public boolean smoothScrollToSection(int scrollY, int availableScrollHeight, argument
102 smoothSnapToPosition(scrollY, availableScrollHeight, info);
112 private void smoothSnapToPosition(int scrollY, int availableScrollHeight, argument
154 int deltaY = newScrollY - scrollY;
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
H A DContactsFragment.java97 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseRecyclerView.java213 * @param scrollY the current scroll y
215 protected void synchronizeScrollBarThumbOffsetToViewScroll(int scrollY, argument
223 // Calculate the current scroll position, the scrollY of the recycler view accounts for the
227 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight());

Completed in 2674 milliseconds