Searched refs:OnScrollListener (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DRecyclerViewFlingWatcher.java22 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
35 class RecyclerViewFlingWatcher extends OnScrollListener implements FlingWatcher {
H A DAbsListViewFlingWatcher.java20 import android.widget.AbsListView.OnScrollListener;
32 * OnScrollListener#SCROLL_STATE_FLING}.
37 class AbsListViewFlingWatcher implements FlingWatcher, OnScrollListener {
57 if (scrollState != OnScrollListener.SCROLL_STATE_FLING) {
/frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/
H A DRecyclerViewScrollHandlingDelegateTest.java28 import android.support.v7.widget.RecyclerView.OnScrollListener;
49 private ArgumentCaptor<OnScrollListener> mListenerCaptor;
59 mListenerCaptor = ArgumentCaptor.forClass(OnScrollListener.class);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAbsListViewBindingAdapter.java22 import android.widget.AbsListView.OnScrollListener;
36 view.setOnScrollListener(new OnScrollListener() {
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java31 import android.widget.AbsListView.OnScrollListener;
45 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;
246 onScrollStateChanged(this, OnScrollListener.SCROLL_STATE_IDLE);
309 if (mNewState == OnScrollListener.SCROLL_STATE_IDLE
310 && mPreviousScrollState != OnScrollListener.SCROLL_STATE_IDLE
311 && mPreviousScrollState != OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) {
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
H A DListViewScrollHandlingDelegateTest.java30 import android.widget.AbsListView.OnScrollListener;
53 private ArgumentCaptor<OnScrollListener> mListenerCaptor;
62 mListenerCaptor = ArgumentCaptor.forClass(OnScrollListener.class);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DRecyclerViewParallax.java20 import static androidx.recyclerview.widget.RecyclerView.OnScrollListener;
38 OnScrollListener mOnScrollListener = new OnScrollListener() {
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DDefaultBandHost.java33 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
88 void addOnScrollListener(@NonNull OnScrollListener listener) {
93 void removeOnScrollListener(@NonNull OnScrollListener listener) {
H A DBandSelectionHelper.java35 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
102 new OnScrollListener() {
309 * @see OnScrollListener
352 abstract void addOnScrollListener(@NonNull OnScrollListener listener);
H A DGridModel.java32 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
102 private final OnScrollListener mScrollListener;
117 mScrollListener = new OnScrollListener() {
763 abstract void removeOnScrollListener(@NonNull OnScrollListener listener);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridScrollListener.java32 public class GridScrollListener extends Activity implements AbsListView.OnScrollListener {
H A DGridScrollListenerTest.java29 AbsListView.OnScrollListener {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListener.java33 public class ListScrollListener extends ListActivity implements AbsListView.OnScrollListener {
H A DListScrollListenerTest.java29 AbsListView.OnScrollListener {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A DListViewScrollHandlingDelegate.java33 AbsListView.OnScrollListener {
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
H A DRecyclerViewScrollHandlingDelegate.java61 mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() {
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DHorizontalGridTestActivity.java43 private RecyclerView.OnScrollListener mScrollListener = new RecyclerView.OnScrollListener() {
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DHorizontalGridTestActivity.java43 private RecyclerView.OnScrollListener mScrollListener = new RecyclerView.OnScrollListener() {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DSnapHelper.java42 private final RecyclerView.OnScrollListener mScrollListener =
43 new RecyclerView.OnScrollListener() {
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
H A DGridModelTest.java32 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
315 private @Nullable OnScrollListener mScrollListener;
394 public void addOnScrollListener(OnScrollListener listener) {
399 public void removeOnScrollListener(OnScrollListener listener) {}
H A DBandSelectionHelperTest.java33 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
225 void addOnScrollListener(OnScrollListener listener) {
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/
H A DPageSwiper.java53 recyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() {
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java294 private OnScrollListener mOnScrollListener;
435 private int mScrollState = OnScrollListener.SCROLL_STATE_IDLE;
511 public interface OnScrollListener { interface in class:NumberPicker
877 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) {
882 if (mScrollState == OnScrollListener.SCROLL_STATE_IDLE) {
892 onScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
928 if (mScrollState != OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) {
932 onScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL);
950 onScrollStateChange(OnScrollListener.SCROLL_STATE_FLING);
975 onScrollStateChange(OnScrollListener
[all...]
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
H A DPagedListViewSavedStateTest.java262 private final RecyclerView.OnScrollListener mOnScrollListener =
263 new RecyclerView.OnScrollListener() {
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAsyncListUtilActivity.java158 mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() {

Completed in 352 milliseconds

123