Home
last modified time | relevance | path

Searched refs:canScrollVertically (Results 1 – 16 of 16) 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.java740 upIndicator.setVisibility(v.canScrollVertically(-1) ? View.VISIBLE : View.INVISIBLE); in manageScrollIndicators()
743 downIndicator.setVisibility(v.canScrollVertically(1) ? View.VISIBLE : View.INVISIBLE); in manageScrollIndicators()
/frameworks/base/core/java/android/widget/
DScrollView.java611 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java798 if (!mNotificationList.canScrollVertically(1)) { in connectNotificationsUI()
/frameworks/base/core/java/android/view/
DView.java6771 final boolean canScrollVertically =
6773 if (isVerticalScrollBarEnabled() && !isVerticalScrollBarHidden() && canScrollVertically) {
19199 public boolean canScrollVertically(int direction) { in canScrollVertically() method in View
19235 final boolean canScrollUp = canScrollVertically(-1); in onDrawScrollIndicators()
19243 final boolean canScrollDown = canScrollVertically(1); in onDrawScrollIndicators()
/frameworks/base/config/
Dboot-image-profile.txt16765 HSPLandroid/view/View;->canScrollVertically(I)Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33302 method public boolean canScrollVertically(int);
/frameworks/base/non-updatable-api/
Dcurrent.txt51450 method public boolean canScrollVertically(int);
/frameworks/base/api/
Dcurrent.txt51594 method public boolean canScrollVertically(int);