Home
last modified time | relevance | path

Searched refs:mScrollState (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java479 private int mScrollState; field in PagerTitleStrip.PageListener
492 if (mScrollState == ViewPager.SCROLL_STATE_IDLE) { in onPageSelected()
503 mScrollState = state; in onPageScrollStateChanged()
DViewPager.java276 private int mScrollState = SCROLL_STATE_IDLE; field in ViewPager
486 if (mScrollState == newState) { in setScrollState()
490 mScrollState = newState; in setScrollState()
1958 boolean needPopulate = mScrollState == SCROLL_STATE_SETTLING;
2109 if (mScrollState == SCROLL_STATE_SETTLING &&
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java2106 private int mScrollState; field in TabLayout.TabLayoutOnPageChangeListener
2114 mPreviousScrollState = mScrollState; in onPageScrollStateChanged()
2115 mScrollState = state; in onPageScrollStateChanged()
2125 final boolean updateText = mScrollState != SCROLL_STATE_SETTLING || in onPageScrolled()
2130 final boolean updateIndicator = !(mScrollState == SCROLL_STATE_SETTLING in onPageScrolled()
2143 final boolean updateIndicator = mScrollState == SCROLL_STATE_IDLE in onPageSelected()
2144 || (mScrollState == SCROLL_STATE_SETTLING in onPageSelected()
2151 mPreviousScrollState = mScrollState = SCROLL_STATE_IDLE; in reset()
/frameworks/base/core/java/android/widget/
DNumberPicker.java433 private int mScrollState = OnScrollListener.SCROLL_STATE_IDLE; field in NumberPicker
864 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { in onInterceptTouchEvent()
869 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { in onInterceptTouchEvent()
917 if (mScrollState != OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) { in onTouchEvent()
1570 && mScrollState == OnScrollListener.SCROLL_STATE_IDLE) { in onDraw()
1789 if (mScrollState != OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) { in onScrollerFinished()
1799 if (mScrollState == scrollState) { in onScrollStateChange()
1802 mScrollState = scrollState; in onScrollStateChange()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java256 private int mScrollState = SCROLL_STATE_IDLE; field in ViewPager
396 if (mScrollState == newState) { in setScrollState()
400 mScrollState = newState; in setScrollState()
1782 boolean needPopulate = mScrollState == SCROLL_STATE_SETTLING;
1931 if (mScrollState == SCROLL_STATE_SETTLING &&
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java380 private int mScrollState = SCROLL_STATE_IDLE; field in RecyclerView
1231 return mScrollState; in getScrollState()
1235 if (state == mScrollState) { in setScrollState()
1239 Log.d(TAG, "setting scroll state to " + state + " from " + mScrollState, in setScrollState()
1242 mScrollState = state; in setScrollState()
2469 if (mScrollState == SCROLL_STATE_SETTLING) { in onInterceptTouchEvent()
2503 if (mScrollState != SCROLL_STATE_DRAGGING) { in onInterceptTouchEvent()
2534 return mScrollState == SCROLL_STATE_DRAGGING; in onInterceptTouchEvent()
2622 if (mScrollState != SCROLL_STATE_DRAGGING) { in onTouchEvent()
2645 if (mScrollState == SCROLL_STATE_DRAGGING) { in onTouchEvent()