Home
last modified time | relevance | path

Searched refs:canScrollVertically (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java74 if (layoutManager.canScrollVertically()) { in calculateDistanceToFinalSnap()
156 if (layoutManager.canScrollVertically()) { in findTargetSnapPosition()
166 int deltaJump = layoutManager.canScrollVertically() ? vDeltaJump : hDeltaJump; in findTargetSnapPosition()
277 if (layoutManager.canScrollVertically()) { in findViewIfScrollable()
452 layoutManager.canScrollVertically() ? getVerticalHelper(layoutManager) in isAtStart()
471 layoutManager.canScrollVertically() ? getVerticalHelper(layoutManager) in isAtEnd()
489 return layoutManager.canScrollVertically() in getOrientationHelper()
DDefaultScrollBar.java515 if (layoutManager.canScrollVertically()) { in updatePaginationButtons()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java63 if (layoutManager.canScrollVertically()) { in calculateDistanceToFinalSnap()
82 if (layoutManager.canScrollVertically()) { in findSnapView()
242 OrientationHelper orientationHelper = layoutManager.canScrollVertically() in isAtStart()
259 OrientationHelper orientationHelper = layoutManager.canScrollVertically() in isAtEnd()
279 return layoutManager.canScrollVertically() in getOrientationHelper()
DPagedRecyclerView.java194 public boolean canScrollVertically() { in canScrollVertically() method in PagedRecyclerView.PagedRecyclerViewLayoutManager
DCarScrollBar.java670 if (layoutManager.canScrollVertically()) { in updatePaginationButtons()
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialLayoutManager.java36 public boolean canScrollVertically() { in canScrollVertically() method in SpeedDialLayoutManager
38 return isScrollEnabled && super.canScrollVertically(); in canScrollVertically()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DCarUiSnapHelperTest.java70 when(mLayoutManager.canScrollVertically()).thenReturn(true); in calculateDistanceToFinalSnap_shouldReturnTopMarginDifference()
85 when(mLayoutManager.canScrollVertically()).thenReturn(true); in calculateScrollDistance_shouldScrollHeightOfView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragHoverListener.java140 () -> scrollView.canScrollVertically(-1), in create()
141 () -> scrollView.canScrollVertically(1), in create()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingDisclaimerFragmentTest.java136 when(mRecyclerView.canScrollVertically(1)).thenReturn(false); in onScrolled_canNotScroll_shouldEnableAgreeButton()
153 when(mRecyclerView.canScrollVertically(1)).thenReturn(true); in onScrolled_canScroll_shouldNotEnableAgreeButton()
/packages/apps/DeskClock/src/com/android/deskclock/
DVerticalViewPager.java48 public boolean canScrollVertically(int direction) { in canScrollVertically() method in VerticalViewPager
DUtils.java183 return !view.canScrollVertically(-1); in isScrolledToTop()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DVerticalListDividerDecoration.java97 final int dividerCount = !parent.canScrollVertically(SCROLLING_DOWN) && mHideLastDivider ? in drawVertical()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingDisclaimerFragment.java103 if (!recyclerView.canScrollVertically(1 /* scrolling down */)) { in onCreateView()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingDisclaimerFragment.java103 if (!recyclerView.canScrollVertically(1 /* scrolling down */)) { in onCreateView()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java1015 height, canScrollVertically()); in measureView()
1034 public boolean canScrollVertically() { in canScrollVertically() method in WearableListView.LayoutManager
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java213 shouldAutoScrolling = !recyclerView.canScrollVertically(1); in onCreateView()