Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java205 int scrollY = getCurrentScrollY(); in scrollToPositionAtProgress() local
207 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo); in scrollToPositionAtProgress()
261 int scrollY = getCurrentScrollY(); in onUpdateScrollbar() local
262 if (scrollY < 0) { in onUpdateScrollbar()
281 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
312 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.java103 protected void synchronizeScrollBarThumbOffsetToViewScroll(int scrollY, in synchronizeScrollBarThumbOffsetToViewScroll() argument
115 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()
DBubbleTextView.java412 final int scrollY = getScrollY(); in drawDotIfNecessary() local
413 canvas.translate(scrollX, scrollY); in drawDotIfNecessary()
415 canvas.translate(-scrollX, -scrollY); in drawDotIfNecessary()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java790 int scrollY = (int) (rect.top * wallpaperZoom); in calculateCropRect() local
797 Rect cropRect = new Rect(scrollX, scrollY, scrollX + screenSize.x, scrollY + screenSize.y); in calculateCropRect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java450 private void initScrollView(int height, int scrollY, int childBottom) { in initScrollView() argument
452 when(mScrollView.getScrollY()).thenReturn(scrollY); in initScrollView()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearFragment.java88 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/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java511 final int scrollY = mWebView.getScrollY(); in calculateScrollYPercent() local
517 } else if (scrollY + viewH >= webH) { in calculateScrollYPercent()
522 p = (float) scrollY / webH; in calculateScrollYPercent()
/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/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.java358 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, in establishInitialState()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java440 mRecentsView.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in onActivityInit() argument