Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java51 if (canScrollVertically(1)) { in onTouchEvent()
58 } else if (!canScrollVertically(-1)) { in onTouchEvent()
78 if (canScrollVertically(1)) { in onInterceptTouchEvent()
90 if (yDiff < -mTouchSlop && !canScrollVertically(1)) { in onInterceptTouchEvent()
101 public boolean canScrollVertically(int direction) { in canScrollVertically() method in NonInterceptingScrollView
102 return mScrollEnabled && super.canScrollVertically(direction); in canScrollVertically()
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()
/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/core/java/com/android/internal/app/
DChooserGridLayoutManager.java78 public boolean canScrollVertically() { in canScrollVertically() method in ChooserGridLayoutManager
79 return mVerticalScrollEnabled && super.canScrollVertically(); in canScrollVertically()
DAlertController.java772 upIndicator.setVisibility(v.canScrollVertically(-1) ? View.VISIBLE : View.INVISIBLE); in manageScrollIndicators()
775 downIndicator.setVisibility(v.canScrollVertically(1) ? View.VISIBLE : View.INVISIBLE); in manageScrollIndicators()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureInternal.java78 if (!(view.canScrollVertically(DOWN) || view.canScrollVertically(UP))) { in detectScrollingType()
125 if (view.canScrollVertically(UP)) { in detectScrollingType()
DScrollViewCaptureHelper.java51 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession()
DListViewCaptureHelper.java47 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession()
DRecyclerViewCaptureHelper.java52 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession()
/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java86 if (!mParent.canScrollVertically(1) && !mParent.canScrollVertically(-1)) { in drawRoundScrollbars()
DView.java7518 final boolean canScrollVertically =
7520 if (isVerticalScrollBarEnabled() && !isVerticalScrollBarHidden() && canScrollVertically) {
21922 public boolean canScrollVertically(int direction) { in canScrollVertically() method
21963 final boolean canScrollUp = canScrollVertically(-1); in onDrawScrollIndicators()
21971 final boolean canScrollDown = canScrollVertically(1); in onDrawScrollIndicators()
/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.java1573 final boolean canScrollVertical = mLayout.canScrollVertically(); in scrollBy()
1799 return mLayout.canScrollVertically() ? mLayout.computeVerticalScrollOffset(mState) : 0; in computeVerticalScrollOffset()
1823 return mLayout.canScrollVertically() ? mLayout.computeVerticalScrollExtent(mState) : 0; in computeVerticalScrollExtent()
1846 return mLayout.canScrollVertically() ? mLayout.computeVerticalScrollRange(mState) : 0; in computeVerticalScrollRange()
1972 if (!mLayout.canScrollVertically()) { in smoothScrollBy()
2004 final boolean canScrollVertical = mLayout.canScrollVertically(); in fling()
2289 if (mLayout.canScrollVertically()) { in focusSearch()
2653 final boolean canScrollVertically = mLayout.canScrollVertically(); in onInterceptTouchEvent()
2684 if (canScrollVertically) { in onInterceptTouchEvent()
2714 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/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java388 boolean canScrollDown = scrollView.canScrollVertically(1); // 1 to check scrolling down in adjustDividerVisibility()
/frameworks/base/core/java/android/widget/
DScrollView.java660 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt17009 HSPLandroid/view/View;->canScrollVertically(I)Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33302 method public boolean canScrollVertically(int);
/frameworks/base/config/
Dboot-image-profile.txt17073 HSPLandroid/view/View;->canScrollVertically(I)Z
/frameworks/base/core/api/
Dcurrent.txt52522 method public boolean canScrollVertically(int);