Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java107 int scrollY = computeVerticalScrollOffset(); 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/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java195 Point defaultCropSurfaceSize, Point targetHostSize, int scrollX, int scrollY, in calculateCropRect() argument
207 Rect cropRect = new Rect(scrollX, scrollY, scrollX + targetHostSize.x, in calculateCropRect()
208 scrollY + targetHostSize.y); in calculateCropRect()
325 int scrollY = (int) (visibleRawWallpaperRect.top * wallpaperZoom); in calculateCropRect() local
328 scrollX, scrollY, cropExtraWidth); in calculateCropRect()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java235 int scrollY = computeVerticalScrollOffset(); in onUpdateScrollbar() local
236 if (scrollY < 0) { in onUpdateScrollbar()
255 (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); in onUpdateScrollbar()
286 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight); in onUpdateScrollbar()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DChooserNestedScrollView.kt101 val preScrollY = scrollY in onNestedPreScroll()
103 consumed[1] += scrollY - preScrollY in onNestedPreScroll()
/packages/apps/Launcher3/src/com/android/launcher3/
DFastScrollRecyclerView.java110 protected void synchronizeScrollBarThumbOffsetToViewScroll(int scrollY, in synchronizeScrollBarThumbOffsetToViewScroll() argument
122 (int) (((float) scrollY / availableScrollHeight) * getAvailableScrollBarHeight()); in synchronizeScrollBarThumbOffsetToViewScroll()
DBubbleTextView.java679 final int scrollY = getScrollY(); in drawDotIfNecessary() local
680 canvas.translate(scrollX, scrollY); in drawDotIfNecessary()
682 canvas.translate(-scrollX, -scrollY); in drawDotIfNecessary()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightableTopLevelPreferenceAdapter.java215 final int scrollY = view.getTop(); in scroll() local
216 if (scrollY > 0) { in scroll()
217 mRecyclerView.nestedScrollBy(0, scrollY); in scroll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCustomizationPickerFragment.java151 (NestedScrollView.OnScrollChangeListener) (scrollView, scrollX, scrollY, in onCreateView()
153 if (scrollY == 0) { in onCreateView()
161 (NestedScrollView.OnScrollChangeListener) (scrollView, scrollX, scrollY, in onCreateView()
163 if (scrollY == 0) { in onCreateView()
/packages/modules/AdServices/sdksandbox/tests/ui/src/com/android/tests/sdksandbox/ui/
DSdkSandboxScreenshotTest.java88 final int scrollY = (i + 1) * 100; in testScrolling() local
94 view.scrollTo(0, scrollY); in testScrolling()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java472 private void initScrollView(int height, int scrollY, int childBottom) { in initScrollView() argument
474 when(mScrollView.getScrollY()).thenReturn(scrollY); in initScrollView()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/u18notifications/
DConsentNotificationU18Fragment.java209 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ganotifications/
DConsentNotificationGaV2Screen1Fragment.java252 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
DConsentNotificationGaV2Screen2Fragment.java241 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
DConsentNotificationConfirmationGaFragment.java271 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
DConsentNotificationPasFragment.java298 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
DConsentNotificationGaFragment.java297 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() argument
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationFragment.java279 View view, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { in onScrollChange() 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/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java1008 int scrollY = (int) event.getAxisValue(MotionEvent.AXIS_VSCROLL); in sendMouseEvent() local
1017 } else if (scrollY != 0) { in sendMouseEvent()
1022 new InputEvent(EV_REL, REL_WHEEL, scrollY), in sendMouseEvent()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java383 public void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, in establishInitialState()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DLandscapePagedViewHandler.kt137 override fun getPrimaryScroll(view: View): Int = view.scrollY in getClearAllSidePadding()