Home
last modified time | relevance | path

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

123

/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java39 import android.widget.AbsListView.OnScrollListener;
56 public class SimpleDayPickerFragment extends ListFragment implements OnScrollListener {
120 protected int mPreviousScrollState = OnScrollListener.SCROLL_STATE_IDLE;
122 protected int mCurrentScrollState = OnScrollListener.SCROLL_STATE_IDLE;
447 mPreviousScrollState = OnScrollListener.SCROLL_STATE_FLING; in goTo()
455 onScrollStateChanged(mListView, OnScrollListener.SCROLL_STATE_IDLE); in goTo()
603 if (mNewState == OnScrollListener.SCROLL_STATE_IDLE
604 && mPreviousScrollState != OnScrollListener.SCROLL_STATE_IDLE) {
DMonthByWeekFragment.java45 import android.widget.AbsListView.OnScrollListener;
61 CalendarController.EventHandler, LoaderManager.LoaderCallbacks<Cursor>, OnScrollListener,
472 if (scrollState != OnScrollListener.SCROLL_STATE_IDLE) { in onScrollStateChanged()
482 if (scrollState == OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) { in onScrollStateChanged()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java92 private final List<OnScrollListener> mOnScrollListeners = new ArrayList<OnScrollListener>();
190 final RecyclerView.OnScrollListener onScrollListener = new RecyclerView.OnScrollListener() { in WearableListView()
196 for (OnScrollListener listener : mOnScrollListeners) { in WearableListView()
378 for (OnScrollListener listener : mOnScrollListeners) { in onScroll()
387 public void addOnScrollListener(OnScrollListener listener) { in addOnScrollListener()
394 public void removeOnScrollListener(OnScrollListener listener) { in removeOnScrollListener()
811 for (OnScrollListener listener : mOnScrollListeners) { in notifyChildrenAboutProximity()
1003 for (OnScrollListener listener : mOnScrollListeners) { in setAbsoluteScroll()
1246 public interface OnScrollListener { interface in WearableListView
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.java26 import android.widget.AbsListView.OnScrollListener;
50 public class StickyHeaderListView extends FrameLayout implements OnScrollListener {
63 protected ListView.OnScrollListener mListener = null;
174 public void setOnScrollListener(ListView.OnScrollListener listener) { in setOnScrollListener()
/packages/apps/Dialer/java/com/android/dialer/performancereport/
DPerformanceReport.java38 private static final RecyclerView.OnScrollListener recordOnScrollListener =
39 new RecyclerView.OnScrollListener() {
108 if (scrollState == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL) { in recordScrollStateChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingDisclaimerFragmentTest.java39 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
83 ArgumentCaptor<OnScrollListener> mOnScrollListenerCaptor;
104 mOnScrollListenerCaptor = ArgumentCaptor.forClass(OnScrollListener.class); in setUp()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java193 mRecyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in onCreateView()
194 int mCurrentState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE; in onCreateView()
198 if (mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL in onCreateView()
199 || mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_FLING) { in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/metrics/jank/
DRecyclerViewJankLogger.java20 import android.support.v7.widget.RecyclerView.OnScrollListener;
24 public final class RecyclerViewJankLogger extends OnScrollListener {
/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java27 import android.widget.AbsListView.OnScrollListener;
40 implements OnScrollListener, OnItemSelectedListener {
102 private OnScrollListener mOnScrollListener;
143 public void setOnScrollListener(OnScrollListener onScrollListener) { in setOnScrollListener()
DContactEntryListFragment.java43 import android.widget.AbsListView.OnScrollListener;
62 implements OnItemClickListener, OnScrollListener, OnFocusChangeListener, OnTouchListener,
858 if (scrollState == OnScrollListener.SCROLL_STATE_FLING) {
/packages/apps/Messaging/src/com/android/messaging/ui/
DCustomHeaderPagerListViewHolder.java24 import android.widget.AbsListView.OnScrollListener;
56 listView.setOnScrollListener(new OnScrollListener() { in createView()
/packages/apps/DeskClock/src/com/android/deskclock/
DDropShadowController.java146 private final class ScrollChangeWatcher extends RecyclerView.OnScrollListener
147 implements TabScrollListener, AbsListView.OnScrollListener {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingDisclaimerFragment.java30 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
99 recyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() { in onCreateView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultsFragment.java65 private RecyclerView.OnScrollListener mOnScrollChangeListener;
95 mOnScrollChangeListener = new RecyclerView.OnScrollListener() { in onViewCreated()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingDisclaimerFragment.java30 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
99 recyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() { in onCreateView()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java15 import androidx.recyclerview.widget.RecyclerView.OnScrollListener;
69 listView.addOnScrollListener(new OnScrollListener() { in onFinishInflate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java31 import com.android.tv.settings.widget.ScrollAdapterView.OnScrollListener;
40 public class BaseScrollAdapterFragment implements OnScrollListener {
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java108 final RecyclerView.OnScrollListener mScrollListener = new RecyclerView.OnScrollListener() {
/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java113 private RecyclerView.OnScrollListener mOnScrollListener;
161 mRv.addOnScrollListener(mOnScrollListener = new RecyclerView.OnScrollListener() { in setRecyclerView()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java346 private final RecyclerView.OnScrollListener mRecyclerViewOnScrollListener =
347 new RecyclerView.OnScrollListener() {
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java54 …private final RecyclerView.OnScrollListener mOnScrollListener = new RecyclerView.OnScrollListener(…
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsListView.java34 void setOnScrollListener(AbsListView.OnScrollListener l); in setOnScrollListener()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java940 OnScrollListener mOnScrollListener;
987 mOnScrollListener = new OnScrollListener(this); in onAttachedToRecyclerView()
1459 public static class OnScrollListener extends RecyclerView.OnScrollListener { class in ManageApplications.ApplicationsAdapter
1464 public OnScrollListener(ApplicationsAdapter adapter) { in OnScrollListener() method in ManageApplications.ApplicationsAdapter.OnScrollListener
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java927 OnScrollListener mOnScrollListener;
974 mOnScrollListener = new OnScrollListener(this); in onAttachedToRecyclerView()
1445 public static class OnScrollListener extends RecyclerView.OnScrollListener { class in ManageApplications.ApplicationsAdapter
1450 public OnScrollListener(ApplicationsAdapter adapter) { in OnScrollListener() method in ManageApplications.ApplicationsAdapter.OnScrollListener
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java490 public void addOnScrollListener(@NonNull OnScrollListener listener) { in addOnScrollListener()
499 public void removeOnScrollListener(@NonNull OnScrollListener listener) { in removeOnScrollListener()

123