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

12

/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DRecyclerViewFlingWatcher.java55 if (newState == RecyclerView.SCROLL_STATE_IDLE) {
H A DPageIndicatorView.java136 mCurrentViewPagerState = ViewPager.SCROLL_STATE_IDLE;
547 if (state == ViewPager.SCROLL_STATE_IDLE) {
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/
H A DPageSwiper.java24 import static androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_IDLE;
57 if (newState == SCROLL_STATE_IDLE) {
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
H A DViewPagerActions.java44 private int mCurrState = ViewPager.SCROLL_STATE_IDLE;
66 return mCurrState == ViewPager.SCROLL_STATE_IDLE;
72 if (mCurrState == ViewPager.SCROLL_STATE_IDLE) {
82 if (mCurrState == ViewPager.SCROLL_STATE_IDLE) {
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java88 protected int mPreviousScrollState = OnScrollListener.SCROLL_STATE_IDLE;
90 protected int mCurrentScrollState = OnScrollListener.SCROLL_STATE_IDLE;
246 onScrollStateChanged(this, OnScrollListener.SCROLL_STATE_IDLE);
309 if (mNewState == OnScrollListener.SCROLL_STATE_IDLE
310 && mPreviousScrollState != OnScrollListener.SCROLL_STATE_IDLE
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
H A DSingleFragmentTestBase.java119 || recyclerView.getScrollState() != recyclerView.SCROLL_STATE_IDLE) {
H A DSingleSupportFragmentTestBase.java116 || recyclerView.getScrollState() != recyclerView.SCROLL_STATE_IDLE) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DFocusSearchNavigationTest.java21 import static androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_IDLE;
224 if (newState == SCROLL_STATE_IDLE) {
230 if (recyclerView.getScrollState() == SCROLL_STATE_IDLE) {
H A DBaseGridLayoutManagerTest.java297 if (newState == RecyclerView.SCROLL_STATE_IDLE) {
H A DBaseRecyclerViewInstrumentationTest.java19 import static androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_IDLE;
306 if (newState == SCROLL_STATE_IDLE) {
312 if (recyclerView.getScrollState() == SCROLL_STATE_IDLE) {
H A DRecyclerViewLayoutTest.java21 import static androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_IDLE;
2638 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState());
2656 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]);
2669 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState());
2692 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState());
2694 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]);
2707 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState());
2728 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]);
2741 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState());
2767 assertEquals(SCROLL_STATE_IDLE, recyclerVie
[all...]
H A DLinearLayoutManagerBaseConfigSetTest.java195 mRecyclerView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DSnapHelper.java49 if (newState == RecyclerView.SCROLL_STATE_IDLE && mScrolled) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java327 if (state == RecyclerView.SCROLL_STATE_IDLE
333 case RecyclerView.SCROLL_STATE_IDLE:
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java435 private int mScrollState = OnScrollListener.SCROLL_STATE_IDLE;
514 SCROLL_STATE_IDLE,
524 public static int SCROLL_STATE_IDLE = 0; field in interface:NumberPicker.OnScrollListener
541 * {@link #SCROLL_STATE_IDLE},
543 * {@link #SCROLL_STATE_IDLE}.
877 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) {
882 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) {
892 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
975 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
1601 && mScrollState == OnScrollListener.SCROLL_STATE_IDLE) {
[all...]
H A DCalendarViewLegacyDelegate.java221 private int mPreviousScrollState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
226 private int mCurrentScrollState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
840 onScrollStateChanged(mListView, AbsListView.OnScrollListener.SCROLL_STATE_IDLE);
986 if (mNewState == AbsListView.OnScrollListener.SCROLL_STATE_IDLE
987 && mPreviousScrollState != AbsListView.OnScrollListener.SCROLL_STATE_IDLE) {
H A DAbsListView.java604 private int mLastScrollState = OnScrollListener.SCROLL_STATE_IDLE;
751 public static int SCROLL_STATE_IDLE = 0; field in interface:AbsListView.OnScrollListener
773 * {@link #SCROLL_STATE_TOUCH_SCROLL} or {@link #SCROLL_STATE_IDLE}.
4082 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
4108 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
4112 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
4126 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
4499 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
4586 * {@link OnScrollListener#SCROLL_STATE_IDLE}.
4651 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetTest.java193 || mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE);
503 || mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE) {
961 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState());
976 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState());
991 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState());
1006 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState());
1021 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState());
1445 true, false, RecyclerView.SCROLL_STATE_IDLE);
1451 false, true, RecyclerView.SCROLL_STATE_IDLE);
1457 false, false, RecyclerView.SCROLL_STATE_IDLE);
[all...]
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
H A DPagedListViewSavedStateTest.java271 mIsIdle = (newState == RecyclerView.SCROLL_STATE_IDLE
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DHeadersFragment.java308 != HorizontalGridView.SCROLL_STATE_IDLE;
H A DHeadersSupportFragment.java299 != HorizontalGridView.SCROLL_STATE_IDLE;
H A DRowsFragment.java555 return getVerticalGridView().getScrollState() != HorizontalGridView.SCROLL_STATE_IDLE;
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DPagerTitleStrip.java489 if (mScrollState == ViewPager.SCROLL_STATE_IDLE) {
H A DViewPager.java257 public static final int SCROLL_STATE_IDLE = 0; field in class:ViewPager
272 setScrollState(SCROLL_STATE_IDLE);
277 private int mScrollState = SCROLL_STATE_IDLE;
309 * @see ViewPager#SCROLL_STATE_IDLE
495 enableLayers(newState != SCROLL_STATE_IDLE);
976 setScrollState(SCROLL_STATE_IDLE);
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java211 public static final int SCROLL_STATE_IDLE = 0; field in class:ViewPager
225 setScrollState(SCROLL_STATE_IDLE);
230 private int mScrollState = SCROLL_STATE_IDLE;
262 * @see com.android.internal.widget.ViewPager#SCROLL_STATE_IDLE
377 enableLayers(newState != SCROLL_STATE_IDLE);
778 setScrollState(SCROLL_STATE_IDLE);

Completed in 114 milliseconds

12