Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java69 if (!canScrollVertically(1) && !canScrollVertically(-1)) { in onInterceptTouchEvent()
78 if (!canScrollVertically(1) && !canScrollVertically(-1)) { in onTouchEvent()
103 && canScrollVertically(1)) { in shouldIntercept()
155 mIsInOverScroll = (!canScrollVertically(1) && displacement < 0) || in onDrag()
156 (!canScrollVertically(-1) && displacement > 0); in onDrag()
DNonInterceptingScrollView.java36 if (canScrollVertically(1)) { in onTouchEvent()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionBarShadowControllerTest.java73 when(mRecyclerView.canScrollVertically(-1)).thenReturn(false); in attachToView_shouldAddScrollWatcherAndUpdateActionBar()
82 when(mScrollView.canScrollVertically(-1)).thenReturn(false); in attachToView_scrollView_shouldAddScrollWatcherAndUpdateActionBar()
93 when(mRecyclerView.canScrollVertically(-1)).thenReturn(false); in attachToView_customViewAsActionBar_shouldUpdateElevationOnScroll()
99 when(mRecyclerView.canScrollVertically(-1)).thenReturn(true); in attachToView_customViewAsActionBar_shouldUpdateElevationOnScroll()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java117 final boolean shouldShowShadow = view.canScrollVertically(-1); in updateDropShadow()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java1569 final boolean canScrollVertical = mLayout.canScrollVertically(); in scrollBy()
1795 return mLayout.canScrollVertically() ? mLayout.computeVerticalScrollOffset(mState) : 0; in computeVerticalScrollOffset()
1819 return mLayout.canScrollVertically() ? mLayout.computeVerticalScrollExtent(mState) : 0; in computeVerticalScrollExtent()
1842 return mLayout.canScrollVertically() ? mLayout.computeVerticalScrollRange(mState) : 0; in computeVerticalScrollRange()
1968 if (!mLayout.canScrollVertically()) { in smoothScrollBy()
2000 final boolean canScrollVertical = mLayout.canScrollVertically(); in fling()
2269 if (mLayout.canScrollVertically()) { in focusSearch()
2633 final boolean canScrollVertically = mLayout.canScrollVertically(); in onInterceptTouchEvent()
2664 if (canScrollVertically) { in onInterceptTouchEvent()
2694 if (canScrollVertically && Math.abs(dy) > mTouchSlop) { in onInterceptTouchEvent()
[all …]
DLinearSmoothScroller.java303 if (layoutManager == null || !layoutManager.canScrollVertically()) { in calculateDyToMakeVisible()
DLinearLayoutManager.java288 public boolean canScrollVertically() { in canScrollVertically() method in LinearLayoutManager
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java731 if (lm.canScrollVertically()) { in scrollIfNecessary()
929 } else if (absDy > absDx && lm.canScrollVertically()) { in findSwipedView()
1911 if (layoutManager.canScrollVertically()) { in onMoved()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java743 upIndicator.setVisibility(v.canScrollVertically(-1) ? View.VISIBLE : View.INVISIBLE); in manageScrollIndicators()
746 downIndicator.setVisibility(v.canScrollVertically(1) ? View.VISIBLE : View.INVISIBLE); in manageScrollIndicators()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java509 if (!mNotificationList.canScrollVertically(1)) { in connectNotificationsUI()
/frameworks/base/core/java/android/widget/
DScrollView.java611 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...