Home
last modified time | relevance | path

Searched refs:OnScrollListener (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java31 import android.widget.AbsListView.OnScrollListener;
45 public abstract class DayPickerView extends ListView implements OnScrollListener,
88 protected int mPreviousScrollState = OnScrollListener.SCROLL_STATE_IDLE;
90 protected int mCurrentScrollState = OnScrollListener.SCROLL_STATE_IDLE;
223 mPreviousScrollState = OnScrollListener.SCROLL_STATE_FLING; in goTo()
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()
311 && mPreviousScrollState != OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) { in run()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAbsListViewBindingAdapter.java22 import android.widget.AbsListView.OnScrollListener;
45 view.setOnScrollListener(new OnScrollListener() { in setOnScroll()
/frameworks/base/core/java/android/widget/
DNumberPicker.java292 private OnScrollListener mOnScrollListener;
433 private int mScrollState = OnScrollListener.SCROLL_STATE_IDLE;
509 public interface OnScrollListener { interface in NumberPicker
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()
917 if (mScrollState != OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) { in onTouchEvent()
921 onScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL); in onTouchEvent()
939 onScrollStateChange(OnScrollListener.SCROLL_STATE_FLING); in onTouchEvent()
964 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchEvent()
[all …]
DCalendarViewLegacyDelegate.java221 private int mPreviousScrollState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
226 private int mCurrentScrollState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
737 mListView.setOnScrollListener(new AbsListView.OnScrollListener() { in setUpListView()
809 mPreviousScrollState = AbsListView.OnScrollListener.SCROLL_STATE_FLING; in goTo()
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.java461 private OnScrollListener mOnScrollListener;
593 private int mLastScrollState = OnScrollListener.SCROLL_STATE_IDLE;
732 public interface OnScrollListener { interface in AbsListView
1450 public void setOnScrollListener(OnScrollListener l) { in setOnScrollListener()
3345 reportScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL); in startScrollIfNeeded()
3909 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
3930 reportScrollStateChange(OnScrollListener.SCROLL_STATE_FLING); in onTouchUp()
3935 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
3939 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
3953 reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchUp()
[all …]
DFastScroller.java46 import android.widget.AbsListView.OnScrollListener;
1375 mList.reportScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL); in beginDrag()
1476 mList.reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE); in onTouchEvent()
DListPopupWindow.java1829 private class PopupScrollListener implements ListView.OnScrollListener {
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListener.java32 public class GridScrollListener extends Activity implements AbsListView.OnScrollListener {
DGridScrollListenerTest.java31 AbsListView.OnScrollListener {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListener.java33 public class ListScrollListener extends ListActivity implements AbsListView.OnScrollListener {
DListScrollListenerTest.java30 AbsListView.OnScrollListener {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewRowPresenter.java214 final RecyclerView.OnScrollListener mScrollListener =
215 new RecyclerView.OnScrollListener() {
DFullWidthDetailsOverviewRowPresenter.java277 final RecyclerView.OnScrollListener mScrollListener =
278 new RecyclerView.OnScrollListener() {
DGuidedActionsStylist.java559 private static class SelectorAnimator extends RecyclerView.OnScrollListener {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java82 mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() { in testAsyncListUtil()
DRecyclerViewLayoutTest.java314 recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in testScrollToPositionCallback()
1010 recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in testScrollStateForSmoothScroll()
1041 recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in testScrollStateForSmoothScrollWithStop()
1079 recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in testScrollStateForFling()
1113 recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in testScrollStateForFlingWithStop()
1153 recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in testScrollStateDrag()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java316 private final class PreloadController extends RecyclerView.OnScrollListener {
/frameworks/support/v7/recyclerview/api/
D22.1.0.txt184 method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
222 …method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
230 …ublic deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
487 public static abstract class RecyclerView.OnScrollListener {
488 ctor public RecyclerView.OnScrollListener();
D22.2.0.txt225 method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
269 …method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
278 …ublic deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
554 public static abstract class RecyclerView.OnScrollListener {
555 ctor public RecyclerView.OnScrollListener();
D22.2.1.txt228 method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
273 …method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
282 …ublic deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
558 public static abstract class RecyclerView.OnScrollListener {
559 ctor public RecyclerView.OnScrollListener();
D23.txt255 method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
301 …method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
311 …ublic deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
592 public static abstract class RecyclerView.OnScrollListener {
593 ctor public RecyclerView.OnScrollListener();
Dcurrent.txt255 method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
301 …method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
311 …ublic deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
592 public static abstract class RecyclerView.OnScrollListener {
593 ctor public RecyclerView.OnScrollListener();
D22.0.0.txt175 method public void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
428 public static abstract class RecyclerView.OnScrollListener {
429 ctor public RecyclerView.OnScrollListener();
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java366 private OnScrollListener mScrollListener;
367 private List<OnScrollListener> mScrollListeners;
1242 public void setOnScrollListener(OnScrollListener listener) { in setOnScrollListener()
1255 public void addOnScrollListener(OnScrollListener listener) { in addOnScrollListener()
1257 mScrollListeners = new ArrayList<OnScrollListener>(); in addOnScrollListener()
1267 public void removeOnScrollListener(OnScrollListener listener) { in removeOnScrollListener()
8107 public abstract static class OnScrollListener { class in RecyclerView
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java1751 private class PopupScrollListener implements ListView.OnScrollListener {

12