/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | ViewPagerActions.java | 42 private int mCurrState = ViewPager.SCROLL_STATE_IDLE; 64 return mCurrState == ViewPager.SCROLL_STATE_IDLE; 70 if (mCurrState == ViewPager.SCROLL_STATE_IDLE) { 80 if (mCurrState == ViewPager.SCROLL_STATE_IDLE) {
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | RecyclerViewFlingWatcher.java | 55 if (newState == RecyclerView.SCROLL_STATE_IDLE) {
|
H A D | PageIndicatorView.java | 133 mCurrentViewPagerState = ViewPager.SCROLL_STATE_IDLE; 544 if (state == ViewPager.SCROLL_STATE_IDLE) {
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DayPickerView.java | 88 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/v17/leanback/tests/java/android/support/v17/leanback/app/ |
H A D | SingleFragmentTestBase.java | 104 || recyclerView.getScrollState() != recyclerView.SCROLL_STATE_IDLE) {
|
H A D | SingleSupportFragmentTestBase.java | 107 || recyclerView.getScrollState() != recyclerView.SCROLL_STATE_IDLE) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | FocusSearchNavigationTest.java | 21 import static android.support.v7.widget.RecyclerView.SCROLL_STATE_IDLE; 222 if (newState == SCROLL_STATE_IDLE) { 228 if (recyclerView.getScrollState() == SCROLL_STATE_IDLE) {
|
H A D | BaseRecyclerViewInstrumentationTest.java | 19 import static android.support.v7.widget.RecyclerView.SCROLL_STATE_IDLE; 308 if (newState == SCROLL_STATE_IDLE) { 314 if (recyclerView.getScrollState() == SCROLL_STATE_IDLE) {
|
H A D | BaseGridLayoutManagerTest.java | 297 if (newState == RecyclerView.SCROLL_STATE_IDLE) {
|
H A D | RecyclerViewLayoutTest.java | 21 import static android.support.v7.widget.RecyclerView.SCROLL_STATE_IDLE; 2116 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); 2134 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]); 2147 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); 2170 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); 2172 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]); 2185 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); 2206 assertEquals(1, stateCnts[SCROLL_STATE_IDLE]); 2219 assertEquals(SCROLL_STATE_IDLE, recyclerView.getScrollState()); 2245 assertEquals(SCROLL_STATE_IDLE, recyclerVie [all...] |
H A D | LinearLayoutManagerBaseConfigSetTest.java | 193 mRecyclerView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | SnapHelper.java | 50 if (newState == RecyclerView.SCROLL_STATE_IDLE && mScrolled) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintPreviewController.java | 327 if (state == RecyclerView.SCROLL_STATE_IDLE 333 case RecyclerView.SCROLL_STATE_IDLE:
|
/frameworks/base/core/java/android/widget/ |
H A D | NumberPicker.java | 435 private int mScrollState = OnScrollListener.SCROLL_STATE_IDLE; 513 @IntDef({SCROLL_STATE_IDLE, SCROLL_STATE_TOUCH_SCROLL, SCROLL_STATE_FLING}) 520 public static int SCROLL_STATE_IDLE = 0; field in interface:NumberPicker.OnScrollListener 537 * {@link #SCROLL_STATE_IDLE}, 539 * {@link #SCROLL_STATE_IDLE}. 866 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { 871 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { 881 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 966 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 1588 && mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { [all...] |
H A D | CalendarViewLegacyDelegate.java | 221 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 D | AbsListView.java | 603 private int mLastScrollState = OnScrollListener.SCROLL_STATE_IDLE; 750 public static int SCROLL_STATE_IDLE = 0; field in interface:AbsListView.OnScrollListener 772 * {@link #SCROLL_STATE_TOUCH_SCROLL} or {@link #SCROLL_STATE_IDLE}. 4079 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 4105 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 4109 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 4123 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 4496 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); 4583 * {@link OnScrollListener#SCROLL_STATE_IDLE}. 4648 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | HeadersFragment.java | 296 != HorizontalGridView.SCROLL_STATE_IDLE;
|
H A D | HeadersSupportFragment.java | 299 != HorizontalGridView.SCROLL_STATE_IDLE;
|
H A D | RowsFragment.java | 541 return getVerticalGridView().getScrollState() != HorizontalGridView.SCROLL_STATE_IDLE;
|
H A D | RowsSupportFragment.java | 544 return getVerticalGridView().getScrollState() != HorizontalGridView.SCROLL_STATE_IDLE;
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
H A D | GridWidgetTest.java | 186 || mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE); 496 || mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE) { 955 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState()); 970 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState()); 985 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState()); 1000 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState()); 1015 assertEquals(RecyclerView.SCROLL_STATE_IDLE, mGridView.getScrollState()); 2951 || mGridView.getScrollState() != BaseGridView.SCROLL_STATE_IDLE) { 3907 && mGridView.getScrollState() == RecyclerView.SCROLL_STATE_IDLE; 3954 return mGridView.getScrollState() == RecyclerView.SCROLL_STATE_IDLE; [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | TabLayout.java | 21 import static android.support.v4.view.ViewPager.SCROLL_STATE_IDLE; 2133 && mPreviousScrollState == SCROLL_STATE_IDLE); 2145 final boolean updateIndicator = mScrollState == SCROLL_STATE_IDLE 2147 && mPreviousScrollState == SCROLL_STATE_IDLE); 2153 mPreviousScrollState = mScrollState = SCROLL_STATE_IDLE;
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 486 if (mScrollState == ViewPager.SCROLL_STATE_IDLE) {
|
H A D | ViewPager.java | 251 public static final int SCROLL_STATE_IDLE = 0; field in class:ViewPager 266 setScrollState(SCROLL_STATE_IDLE); 271 private int mScrollState = SCROLL_STATE_IDLE; 303 * @see ViewPager#SCROLL_STATE_IDLE 489 enableLayers(newState != SCROLL_STATE_IDLE); 968 setScrollState(SCROLL_STATE_IDLE);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 210 public static final int SCROLL_STATE_IDLE = 0; field in class:ViewPager 224 setScrollState(SCROLL_STATE_IDLE); 229 private int mScrollState = SCROLL_STATE_IDLE; 261 * @see com.android.internal.widget.ViewPager#SCROLL_STATE_IDLE 376 enableLayers(newState != SCROLL_STATE_IDLE); 777 setScrollState(SCROLL_STATE_IDLE);
|