Home
last modified time | relevance | path

Searched refs:canScrollHorizontally (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewAccessibilityTest.java76 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()
DLinearLayoutManagerSnappingTest.java177 if (layoutManager.canScrollHorizontally()) { in findCenterView()
186 if (mLayoutManager.canScrollHorizontally()) { in getViewDimension()
195 if (mLayoutManager.canScrollHorizontally()) { in assertCenterAligned()
DGridLayoutManagerSnappingTest.java180 if (layoutManager.canScrollHorizontally()) { in findCenterView()
189 if (mGlm.canScrollHorizontally()) { in getViewDimension()
198 if(mGlm.canScrollHorizontally()) { in assertCenterAligned()
DStaggeredGridLayoutManagerSnappingTest.java191 if (mLayoutManager.canScrollHorizontally()) { in getViewDimension()
200 if (mLayoutManager.canScrollHorizontally()) { in assertCenterAligned()
DBaseRecyclerViewInstrumentationTest.java407 if (mRecyclerView.getLayoutManager().canScrollHorizontally()) { in scrollBy()
425 if (mRecyclerView.getLayoutManager().canScrollHorizontally()) { in smoothScrollBy()
682 public boolean canScrollHorizontally() { in canScrollHorizontally() method in BaseRecyclerViewInstrumentationTest.TestLayoutManager
DRecyclerViewLayoutTest.java573 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();
DRecyclerViewBasicTest.java418 public boolean canScrollHorizontally() { in canScrollHorizontally() method in RecyclerViewBasicTest.MockLayoutManager
DBaseStaggeredGridLayoutManagerTest.java584 int childCenter = canScrollHorizontally() in findFirstVisibleItemClosestToCenter()
/frameworks/support/compat/ics/android/support/v4/view/
DViewCompatICS.java30 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/
DBaseViewPagerTest.java298 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/
DLinearSnapHelper.java46 if (layoutManager.canScrollHorizontally()) { in calculateDistanceToFinalSnap()
96 if (layoutManager.canScrollHorizontally()) { in findTargetSnapPosition()
134 } else if (layoutManager.canScrollHorizontally()) { in findSnapView()
DRecyclerView.java1520 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 …]
DLinearSmoothScroller.java328 if (layoutManager == null || !layoutManager.canScrollHorizontally()) { in calculateDxToMakeVisible()
DLinearLayoutManager.java283 public boolean canScrollHorizontally() { in canScrollHorizontally() method in LinearLayoutManager
DStaggeredGridLayoutManager.java1975 public boolean canScrollHorizontally() {
/frameworks/support/compat/java/android/support/v4/view/
DViewCompat.java373 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/
DItemTouchHelperTest.java73 public boolean canScrollHorizontally() { in setup()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java364 return checkV && v.canScrollHorizontally((int) -dx);
DViewPager.java2378 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/
DViewPager.java2711 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/
DItemTouchHelper.java723 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/
DViewDragHelper.java942 return checkV && (ViewCompat.canScrollHorizontally(v, -dx) in canScroll()
DSlidingPaneLayout.java1252 return checkV && ViewCompat.canScrollHorizontally(v, (isLayoutRtlSupport() ? dx : -dx)); in canScroll()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java933 public boolean canScrollHorizontally() { in canScrollHorizontally() method in GridLayoutManager
2758 if (canScrollHorizontally()) { in onInterceptFocusSearch()
/frameworks/base/core/java/android/view/
DView.java14691 public boolean canScrollHorizontally(int direction) { in canScrollHorizontally() method
14771 final boolean canScrollLeft = canScrollHorizontally(-1); in onDrawScrollIndicators()
14780 final boolean canScrollRight = canScrollHorizontally(1); in onDrawScrollIndicators()

12