Home
last modified time | relevance | path

Searched refs:SCROLL_STATE_IDLE (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java88 protected int mPreviousScrollState = OnScrollListener.SCROLL_STATE_IDLE;
90 protected int mCurrentScrollState = OnScrollListener.SCROLL_STATE_IDLE;
246 onScrollStateChanged(this, OnScrollListener.SCROLL_STATE_IDLE); in postSetSelection()
309 if (mNewState == OnScrollListener.SCROLL_STATE_IDLE in run()
310 && mPreviousScrollState != OnScrollListener.SCROLL_STATE_IDLE in run()
/frameworks/support/v4/tests/java/android/support/v4/view/
DViewPagerActions.java42 private int mCurrState = ViewPager.SCROLL_STATE_IDLE;
64 return mCurrState == ViewPager.SCROLL_STATE_IDLE; in isIdleNow()
70 if (mCurrState == ViewPager.SCROLL_STATE_IDLE) { in onPageSelected()
80 if (mCurrState == ViewPager.SCROLL_STATE_IDLE) { in onPageScrollStateChanged()
DBaseViewPagerTest.java633 ViewPager.SCROLL_STATE_SETTLING, ViewPager.SCROLL_STATE_IDLE in testPageScrollStateChangedSmooth()
656 ViewPager.SCROLL_STATE_SETTLING, ViewPager.SCROLL_STATE_IDLE }; in testPageScrollStateChangedSwipe()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DFocusSearchNavigationTest.java21 import static android.support.v7.widget.RecyclerView.SCROLL_STATE_IDLE;
212 if (newState == SCROLL_STATE_IDLE) { in waitForIdleScroll()
218 if (recyclerView.getScrollState() == SCROLL_STATE_IDLE) { in waitForIdleScroll()
DRecyclerViewLayoutTest.java62 import static android.support.v7.widget.RecyclerView.SCROLL_STATE_IDLE;
1803 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); in scrollStateForSmoothScroll()
1821 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]); in scrollStateForSmoothScroll()
1834 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); in scrollStateForSmoothScrollWithStop()
1857 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); in scrollStateForSmoothScrollWithStop()
1859 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]); in scrollStateForSmoothScrollWithStop()
1872 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); in scrollStateForFling()
1893 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]); in scrollStateForFling()
1906 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); in scrollStateForFlingWithStop()
1932 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); in scrollStateForFlingWithStop()
[all …]
DBaseRecyclerViewInstrumentationTest.java19 import static android.support.v7.widget.RecyclerView.SCROLL_STATE_IDLE;
293 if (newState == SCROLL_STATE_IDLE) { in waitForIdleScroll()
299 if (recyclerView.getScrollState() == SCROLL_STATE_IDLE) { in waitForIdleScroll()
DLinearLayoutManagerBaseConfigSetTest.java200 mRecyclerView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) { in getFirstLastChildrenTest()
DStaggeredGridLayoutManagerBaseConfigSetTest.java340 mRecyclerView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) { in getFirstLastChildrenTest()
/frameworks/base/core/java/android/widget/
DNumberPicker.java433 private int mScrollState = OnScrollListener.SCROLL_STATE_IDLE;
511 @IntDef({SCROLL_STATE_IDLE, SCROLL_STATE_TOUCH_SCROLL, SCROLL_STATE_FLING})
518 public static int SCROLL_STATE_IDLE = 0; field
864 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { in onInterceptTouchEvent()
869 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { in onInterceptTouchEvent()
879 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onInterceptTouchEvent()
964 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchEvent()
1570 && mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { in onDraw()
1787 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onScrollerFinished()
DCalendarViewLegacyDelegate.java221 private int mPreviousScrollState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
226 private int mCurrentScrollState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
816 onScrollStateChanged(mListView, AbsListView.OnScrollListener.SCROLL_STATE_IDLE); in goTo()
962 if (mNewState == AbsListView.OnScrollListener.SCROLL_STATE_IDLE in run()
963 && mPreviousScrollState != AbsListView.OnScrollListener.SCROLL_STATE_IDLE) { in run()
DAbsListView.java600 private int mLastScrollState = OnScrollListener.SCROLL_STATE_IDLE;
745 public static int SCROLL_STATE_IDLE = 0; field
4071 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
4097 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
4101 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
4115 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
4472 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onInterceptTouchEvent()
4616 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
4666 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
5430 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in resurrectSelection()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java327 if (state == RecyclerView.SCROLL_STATE_IDLE in onScrollStateChanged()
333 case RecyclerView.SCROLL_STATE_IDLE: in onScrollStateChanged()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java70 import static android.support.v4.view.ViewPager.SCROLL_STATE_IDLE;
2131 && mPreviousScrollState == SCROLL_STATE_IDLE); in onPageScrolled()
2143 final boolean updateIndicator = mScrollState == SCROLL_STATE_IDLE in onPageSelected()
2145 && mPreviousScrollState == SCROLL_STATE_IDLE); in onPageSelected()
2151 mPreviousScrollState = mScrollState = SCROLL_STATE_IDLE; in reset()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DHeadersSupportFragment.java298 != HorizontalGridView.SCROLL_STATE_IDLE; in isScrolling()
DHeadersFragment.java296 != HorizontalGridView.SCROLL_STATE_IDLE; in isScrolling()
DBrowseFragment.java1429 && gridView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) { in swapToMainFragment()
1437 if (newState == RecyclerView.SCROLL_STATE_IDLE) { in swapToMainFragment()
DBrowseSupportFragment.java1431 && gridView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) { in swapToMainFragment()
1439 if (newState == RecyclerView.SCROLL_STATE_IDLE) { in swapToMainFragment()
DRowsSupportFragment.java529 return getVerticalGridView().getScrollState() != HorizontalGridView.SCROLL_STATE_IDLE; in isScrolling()
DRowsFragment.java527 return getVerticalGridView().getScrollState() != HorizontalGridView.SCROLL_STATE_IDLE; in isScrolling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DRecentsTvView.java160 if (newState == RecyclerView.SCROLL_STATE_IDLE) { in launchTaskFomRecents()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFocusManager.java292 if (newState == RecyclerView.SCROLL_STATE_IDLE) { in focusItem()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java237 public static final int SCROLL_STATE_IDLE = 0; field in ViewPager
251 setScrollState(SCROLL_STATE_IDLE);
256 private int mScrollState = SCROLL_STATE_IDLE;
403 enableLayers(newState != SCROLL_STATE_IDLE); in setScrollState()
804 setScrollState(SCROLL_STATE_IDLE); in smoothScrollTo()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java257 public static final int SCROLL_STATE_IDLE = 0; field in ViewPager
271 setScrollState(SCROLL_STATE_IDLE);
276 private int mScrollState = SCROLL_STATE_IDLE;
493 enableLayers(newState != SCROLL_STATE_IDLE); in setScrollState()
967 setScrollState(SCROLL_STATE_IDLE); in smoothScrollTo()
DPagerTitleStrip.java492 if (mScrollState == ViewPager.SCROLL_STATE_IDLE) { in onPageSelected()
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java134 mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE) { in waitForScrollIdle()
187 mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE); in scroll()
1853 mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE) { in testSmoothscrollerInterrupted()

12