Home
last modified time | relevance | path

Searched refs:scrollY (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java212 int scrollY = getCurrentScrollY(); in scrollToPositionAtProgress() local
214 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo); in scrollToPositionAtProgress()
268 int scrollY = getCurrentScrollY(); in onUpdateScrollbar() local
269 if (scrollY < 0) { in onUpdateScrollbar()
288 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
319 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight); in onUpdateScrollbar()
DAllAppsFastScrollHelper.java94 public boolean smoothScrollToSection(int scrollY, int availableScrollHeight, in smoothScrollToSection() argument
98 smoothSnapToPosition(scrollY, availableScrollHeight, info); in smoothScrollToSection()
108 private void smoothSnapToPosition(int scrollY, int availableScrollHeight, in smoothSnapToPosition() argument
150 int deltaY = newScrollY - scrollY; in smoothSnapToPosition()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java107 int scrollY = getCurrentScrollY(); in onUpdateScrollbar() local
108 if (scrollY < 0) { in onUpdateScrollbar()
113 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, getAvailableScrollHeight()); in onUpdateScrollbar()
/packages/apps/Contacts/src/com/android/contacts/widget/
DTouchlessScrollView.java33 final int scrollY = getScrollY(); in onSaveInstanceState() local
36 setScrollY(scrollY); in onSaveInstanceState()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java104 protected void synchronizeScrollBarThumbOffsetToViewScroll(int scrollY, in synchronizeScrollBarThumbOffsetToViewScroll() argument
116 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()
DBubbleTextView.java429 final int scrollY = getScrollY(); in drawDotIfNecessary() local
430 canvas.translate(scrollX, scrollY); in drawDotIfNecessary()
432 canvas.translate(-scrollX, -scrollY); in drawDotIfNecessary()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java315 int scrollY = (int) (rect.top * wallpaperZoom); in calculateCropRect() local
323 Rect cropRect = new Rect(scrollX, scrollY, scrollX + screenSize.x, scrollY + screenSize.y); in calculateCropRect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java462 private void initScrollView(int height, int scrollY, int childBottom) { in initScrollView() argument
464 when(mScrollView.getScrollY()).thenReturn(scrollY); in initScrollView()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearFragment.java98 recyclerView.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in onActivityCreated() argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java185 int scrollY = mSlotView.getScrollY(); in getSlotCenter() local
187 center[1] = offset.top + (r.top + r.bottom) / 2 - scrollY; in getSlotCenter()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsFragment.java279 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandler.java198 mRecentsView.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in linkRecentsViewScroll() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClear.java359 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, in establishInitialState()
/packages/apps/Settings/src/com/android/settings/
DMasterClear.java359 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, in establishInitialState()