/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewAccessibilityTest.java | 76 public boolean canScrollHorizontally(int direction) { in onInitializeAccessibilityNodeInfoTest() 133 public boolean canScrollHorizontally() { in onInitializeAccessibilityNodeInfoTest() 159 if (recyclerView.getLayoutManager().canScrollHorizontally()) { in onInitializeAccessibilityNodeInfoTest() 190 if (recyclerView.getLayoutManager().canScrollHorizontally()) { in onInitializeAccessibilityNodeInfoTest() 236 public boolean canScrollHorizontally(int direction) { in ignoreAccessibilityIfAdapterHasChanged()
|
D | LinearLayoutManagerSnappingTest.java | 177 if (layoutManager.canScrollHorizontally()) { in findCenterView() 186 if (mLayoutManager.canScrollHorizontally()) { in getViewDimension() 195 if (mLayoutManager.canScrollHorizontally()) { in assertCenterAligned()
|
D | GridLayoutManagerSnappingTest.java | 180 if (layoutManager.canScrollHorizontally()) { in findCenterView() 189 if (mGlm.canScrollHorizontally()) { in getViewDimension() 198 if(mGlm.canScrollHorizontally()) { in assertCenterAligned()
|
D | StaggeredGridLayoutManagerSnappingTest.java | 191 if (mLayoutManager.canScrollHorizontally()) { in getViewDimension() 200 if (mLayoutManager.canScrollHorizontally()) { in assertCenterAligned()
|
D | BaseRecyclerViewInstrumentationTest.java | 407 if (mRecyclerView.getLayoutManager().canScrollHorizontally()) { in scrollBy() 425 if (mRecyclerView.getLayoutManager().canScrollHorizontally()) { in smoothScrollBy() 682 public boolean canScrollHorizontally() { in canScrollHorizontally() method in BaseRecyclerViewInstrumentationTest.TestLayoutManager
|
D | RecyclerViewLayoutTest.java | 573 public boolean canScrollHorizontally() { in testScrollFrozen() 729 public boolean canScrollHorizontally() { in testFocusSearchFailFrozen() 790 public boolean canScrollHorizontally() { in frozenAndChangeAdapter() 1143 public boolean canScrollHorizontally() { in scrollInBothDirection() 1257 public boolean canScrollHorizontally() { in scrollInOtherOrientationTest() 3083 public boolean canScrollHorizontally() { in adapterChangeDuringScrollTest() 3866 public boolean canScrollHorizontally() { 3867 return super.canScrollHorizontally();
|
D | RecyclerViewBasicTest.java | 418 public boolean canScrollHorizontally() { in canScrollHorizontally() method in RecyclerViewBasicTest.MockLayoutManager
|
D | BaseStaggeredGridLayoutManagerTest.java | 584 int childCenter = canScrollHorizontally() in findFirstVisibleItemClosestToCenter()
|
/frameworks/support/compat/ics/android/support/v4/view/ |
D | ViewCompatICS.java | 30 public static boolean canScrollHorizontally(View v, int direction) { in canScrollHorizontally() method in ViewCompatICS 31 return v.canScrollHorizontally(direction); in canScrollHorizontally()
|
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
D | BaseViewPagerTest.java | 298 assertFalse(mViewPager.canScrollHorizontally(DIRECTION_LEFT)); in verifyPageChangeViewActions() 299 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_RIGHT)); in verifyPageChangeViewActions() 308 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT)); in verifyPageChangeViewActions() 309 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_RIGHT)); in verifyPageChangeViewActions() 314 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT)); in verifyPageChangeViewActions() 315 assertFalse(mViewPager.canScrollHorizontally(DIRECTION_RIGHT)); in verifyPageChangeViewActions() 323 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT)); in verifyPageChangeViewActions() 324 assertFalse(mViewPager.canScrollHorizontally(DIRECTION_RIGHT)); in verifyPageChangeViewActions() 330 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT)); in verifyPageChangeViewActions() 331 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_RIGHT)); in verifyPageChangeViewActions() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearSnapHelper.java | 46 if (layoutManager.canScrollHorizontally()) { in calculateDistanceToFinalSnap() 96 if (layoutManager.canScrollHorizontally()) { in findTargetSnapPosition() 134 } else if (layoutManager.canScrollHorizontally()) { in findSnapView()
|
D | RecyclerView.java | 1520 final boolean canScrollHorizontal = mLayout.canScrollHorizontally(); in scrollBy() 1671 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollOffset(mState) : 0; in computeHorizontalScrollOffset() 1696 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollExtent(mState) : 0; in computeHorizontalScrollExtent() 1719 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollRange(mState) : 0; in computeHorizontalScrollRange() 1902 if (!mLayout.canScrollHorizontally()) { in smoothScrollBy() 1936 final boolean canScrollHorizontal = mLayout.canScrollHorizontally(); in fling() 2200 if (!needsFocusFailureLayout && mLayout.canScrollHorizontally()) { in focusSearch() 2520 final boolean canScrollHorizontally = mLayout.canScrollHorizontally(); in onInterceptTouchEvent() 2549 if (canScrollHorizontally) { in onInterceptTouchEvent() 2578 if (canScrollHorizontally && Math.abs(dx) > mTouchSlop) { in onInterceptTouchEvent() [all …]
|
D | LinearSmoothScroller.java | 328 if (layoutManager == null || !layoutManager.canScrollHorizontally()) { in calculateDxToMakeVisible()
|
D | LinearLayoutManager.java | 283 public boolean canScrollHorizontally() { in canScrollHorizontally() method in LinearLayoutManager
|
D | StaggeredGridLayoutManager.java | 1975 public boolean canScrollHorizontally() {
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewCompat.java | 373 boolean canScrollHorizontally(View v, int direction); in canScrollHorizontally() method 499 public boolean canScrollHorizontally(View v, int direction) { in canScrollHorizontally() method in ViewCompat.BaseViewCompatImpl 1340 public boolean canScrollHorizontally(View v, int direction) { in canScrollHorizontally() method in ViewCompat.ICSViewCompatImpl 1341 return ViewCompatICS.canScrollHorizontally(v, direction); in canScrollHorizontally() 1840 public static boolean canScrollHorizontally(View v, int direction) { in canScrollHorizontally() method in ViewCompat 1841 return IMPL.canScrollHorizontally(v, direction); in canScrollHorizontally()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/ |
D | ItemTouchHelperTest.java | 73 public boolean canScrollHorizontally() { in setup()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 364 return checkV && v.canScrollHorizontally((int) -dx);
|
D | ViewPager.java | 2378 public boolean canScrollHorizontally(int direction) { 2424 return checkV && v.canScrollHorizontally(-dx); 2712 if (canScrollHorizontally(1)) { 2717 if (canScrollHorizontally(-1)) { 2732 if (canScrollHorizontally(1)) { 2739 if (canScrollHorizontally(-1)) {
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 2711 public boolean canScrollHorizontally(int direction) { 2758 return checkV && ViewCompat.canScrollHorizontally(v, -dx); 3075 if (canScrollHorizontally(1)) { 3078 if (canScrollHorizontally(-1)) { 3090 if (canScrollHorizontally(1)) { 3096 if (canScrollHorizontally(-1)) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchHelper.java | 723 if (lm.canScrollHorizontally()) { in scrollIfNecessary() 933 if (absDx > absDy && lm.canScrollHorizontally()) { in findSwipedView() 1920 if (layoutManager.canScrollHorizontally()) { in onMoved()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 942 return checkV && (ViewCompat.canScrollHorizontally(v, -dx) in canScroll()
|
D | SlidingPaneLayout.java | 1252 return checkV && ViewCompat.canScrollHorizontally(v, (isLayoutRtlSupport() ? dx : -dx)); in canScroll()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 933 public boolean canScrollHorizontally() { in canScrollHorizontally() method in GridLayoutManager 2758 if (canScrollHorizontally()) { in onInterceptFocusSearch()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 14691 public boolean canScrollHorizontally(int direction) { in canScrollHorizontally() method 14771 final boolean canScrollLeft = canScrollHorizontally(-1); in onDrawScrollIndicators() 14780 final boolean canScrollRight = canScrollHorizontally(1); in onDrawScrollIndicators()
|