Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java194 Point defaultCropSurfaceSize, Point targetHostSize, int scrollX, int scrollY) { in calculateCropRect() argument
203 Rect cropRect = new Rect(scrollX, scrollY, scrollX + targetHostSize.x, in calculateCropRect()
204 scrollY + targetHostSize.y); in calculateCropRect()
309 int scrollY = (int) (visibleRawWallpaperRect.top * wallpaperZoom); in calculateCropRect() local
312 scrollX, scrollY); in calculateCropRect()
/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/widget/picker/
DWidgetsRecyclerView.java131 int scrollY = getCurrentScrollY(); in onUpdateScrollbar() local
132 if (scrollY < 0) { in onUpdateScrollbar()
137 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, getAvailableScrollHeight()); in onUpdateScrollbar()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java291 int scrollY = getCurrentScrollY(); in onUpdateScrollbar() local
292 if (scrollY < 0) { in onUpdateScrollbar()
311 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
342 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight); in onUpdateScrollbar()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerView.java106 protected void synchronizeScrollBarThumbOffsetToViewScroll(int scrollY, in synchronizeScrollBarThumbOffsetToViewScroll() argument
118 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()
DBubbleTextView.java449 final int scrollY = getScrollY(); in drawDotIfNecessary() local
450 canvas.translate(scrollX, scrollY); in drawDotIfNecessary()
452 canvas.translate(-scrollX, -scrollY); in drawDotIfNecessary()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetFragment.java91 recyclerView.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in onActivityCreated() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java462 private void initScrollView(int height, int scrollY, int childBottom) { in initScrollView() argument
464 when(mScrollView.getScrollY()).thenReturn(scrollY); in initScrollView()
/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/Settings/src/com/android/settings/
DMainClear.java367 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, in establishInitialState()