Searched refs:canScrollHorizontally (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewAccessibilityTest.java78 public boolean canScrollHorizontally(int direction) {
135 public boolean canScrollHorizontally() {
162 if (recyclerView.getLayoutManager().canScrollHorizontally()) {
193 if (recyclerView.getLayoutManager().canScrollHorizontally()) {
241 public boolean canScrollHorizontally(int direction) {
H A DStaggeredGridLayoutManagerSnappingTest.java88 int scrollDistance = mLayoutManager.canScrollHorizontally() ? 52 : 52;
201 if (mLayoutManager.canScrollHorizontally()) {
239 if (mLayoutManager.canScrollHorizontally()) {
248 if (mLayoutManager.canScrollHorizontally()) {
270 if (mLayoutManager.canScrollHorizontally()) {
H A DGridLayoutManagerSnappingTest.java184 if (layoutManager.canScrollHorizontally()) {
193 if (mGlm.canScrollHorizontally()) {
202 if(mGlm.canScrollHorizontally()) {
216 if (mGlm.canScrollHorizontally()) {
H A DLinearLayoutManagerSnappingTest.java203 if (layoutManager.canScrollHorizontally()) {
212 if (mLayoutManager.canScrollHorizontally()) {
221 if (mLayoutManager.canScrollHorizontally()) {
231 if (mLayoutManager.canScrollHorizontally()) {
H A DPagerSnapHelperTest.java234 if (layoutManager.canScrollHorizontally()) {
243 if (mLayoutManager.canScrollHorizontally()) {
252 if (mLayoutManager.canScrollHorizontally()) {
262 if (mLayoutManager.canScrollHorizontally()) {
H A DRecyclerViewOnGenericMotionEventTest.java147 MockLayoutManager(boolean canScrollHorizontally, boolean canScrollVertically) { argument
148 mCanScrollHorizontally = canScrollHorizontally;
171 public boolean canScrollHorizontally() { method in class:RecyclerViewOnGenericMotionEventTest.MockLayoutManager
H A DItemTouchHelperTest.java80 public boolean canScrollHorizontally() {
H A DBaseRecyclerViewInstrumentationTest.java416 if (mRecyclerView.getLayoutManager().canScrollHorizontally()) {
430 if (mRecyclerView.getLayoutManager().canScrollHorizontally()) {
685 public boolean canScrollHorizontally() { method in class:BaseRecyclerViewInstrumentationTest.TestLayoutManager
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DSwipeDismissFrameLayoutTest.java86 assertTrue(testLayout.canScrollHorizontally(-20));
88 assertFalse(testLayout.canScrollHorizontally(20));
93 assertFalse(testLayout.canScrollHorizontally(-20));
95 assertFalse(testLayout.canScrollHorizontally(20));
115 assertFalse(testLayout.canScrollHorizontally(-20));
117 assertFalse(testLayout.canScrollHorizontally(20));
138 assertFalse(testLayout.canScrollHorizontally(-20));
140 assertFalse(testLayout.canScrollHorizontally(20));
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DPagerSnapHelper.java53 if (layoutManager.canScrollHorizontally()) {
74 } else if (layoutManager.canScrollHorizontally()) {
91 } else if (layoutManager.canScrollHorizontally()) {
104 if (layoutManager.canScrollHorizontally()) {
H A DLinearSnapHelper.java47 if (layoutManager.canScrollHorizontally()) {
97 if (layoutManager.canScrollHorizontally()) {
135 } else if (layoutManager.canScrollHorizontally()) {
H A DRecyclerView.java1754 final boolean canScrollHorizontal = mLayout.canScrollHorizontally();
1939 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollOffset(mState) : 0;
1964 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollExtent(mState) : 0;
1987 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollRange(mState) : 0;
2204 if (!mLayout.canScrollHorizontally()) {
2226 * @see LayoutManager#canScrollHorizontally()
2238 final boolean canScrollHorizontal = mLayout.canScrollHorizontally();
2554 if (!needsFocusFailureLayout && mLayout.canScrollHorizontally()) {
2941 final boolean canScrollHorizontally = mLayout.canScrollHorizontally();
8102 public boolean canScrollHorizontally() { method in class:RecyclerView.LayoutManager
[all...]
H A DLinearSmoothScroller.java329 if (layoutManager == null || !layoutManager.canScrollHorizontally()) {
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
H A DBaseViewPagerTest.java340 assertFalse(mViewPager.canScrollHorizontally(DIRECTION_LEFT));
341 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_RIGHT));
350 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT));
351 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_RIGHT));
356 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT));
357 assertFalse(mViewPager.canScrollHorizontally(DIRECTION_RIGHT));
365 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT));
366 assertFalse(mViewPager.canScrollHorizontally(DIRECTION_RIGHT));
372 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_LEFT));
373 assertTrue(mViewPager.canScrollHorizontally(DIRECTION_RIGH
[all...]
/frameworks/support/wear/src/main/java/androidx/wear/widget/
H A DSwipeDismissLayout.java287 public boolean canScrollHorizontally(int direction) { method in class:SwipeDismissLayout
450 return checkV && v.canScrollHorizontally((int) -dx);
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java1567 final boolean canScrollHorizontal = mLayout.canScrollHorizontally();
1721 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollOffset(mState) : 0;
1746 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollExtent(mState) : 0;
1769 return mLayout.canScrollHorizontally() ? mLayout.computeHorizontalScrollRange(mState) : 0;
1964 if (!mLayout.canScrollHorizontally()) {
1986 * @see LayoutManager#canScrollHorizontally()
1998 final boolean canScrollHorizontal = mLayout.canScrollHorizontally();
2278 if (!needsFocusFailureLayout && mLayout.canScrollHorizontally()) {
2631 final boolean canScrollHorizontally = mLayout.canScrollHorizontally();
7538 public boolean canScrollHorizontally() { method in class:RecyclerView.LayoutManager
[all...]
H A DLinearSmoothScroller.java328 if (layoutManager == null || !layoutManager.canScrollHorizontally()) {
H A DViewPager.java2380 public boolean canScrollHorizontally(int direction) { method in class:ViewPager
2426 return checkV && v.canScrollHorizontally(-dx);
2714 if (canScrollHorizontally(1)) {
2719 if (canScrollHorizontally(-1)) {
2734 if (canScrollHorizontally(1)) {
2741 if (canScrollHorizontally(-1)) {
H A DSwipeDismissLayout.java407 return checkV && v.canScrollHorizontally((int) -dx);
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedSnapHelper.java72 out[0] = layoutManager.canScrollHorizontally()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DWearableNavigationDrawerView.java214 public boolean canScrollHorizontally(int direction) { method in class:WearableNavigationDrawerView
H A DWearableActionDrawerView.java201 public boolean canScrollHorizontally(int direction) { method in class:WearableActionDrawerView
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/
H A DWearableDrawerLayoutEspressoTest.java561 return !view.canScrollHorizontally(-2) && !view.canScrollHorizontally(2);
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DViewPager.java2691 public boolean canScrollHorizontally(int direction) { method in class:ViewPager
2738 return checkV && v.canScrollHorizontally(-dx);
3056 if (canScrollHorizontally(1)) {
3059 if (canScrollHorizontally(-1)) {
3071 if (canScrollHorizontally(1)) {
3077 if (canScrollHorizontally(-1)) {
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java717 if (lm.canScrollHorizontally()) {
927 if (absDx > absDy && lm.canScrollHorizontally()) {
1900 if (layoutManager.canScrollHorizontally()) {

Completed in 2168 milliseconds

12