Home
last modified time | relevance | path

Searched refs:firstVisible (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DPreloader.java145 public void onScroll(AbsListView absListView, int firstVisible, int visibleItemCount, in onScroll() argument
149 if (firstVisible > mLastVisibleItem) { in onScroll()
152 preloadStart = firstVisible + visibleItemCount; in onScroll()
153 } else if (firstVisible < mLastVisibleItem) { in onScroll()
156 preloadStart = firstVisible; in onScroll()
171 mLastVisibleItem = firstVisible; in onScroll()
DFilmstripView.java954 final int firstVisible = mViewItems[BUFFER_CENTER].getAdapterIndex() - 2; in stepIfNeeded() local
955 final int visibleItemCount = firstVisible + BUFFER_SIZE; in stepIfNeeded()
957 mListener.onScroll(firstVisible, visibleItemCount, totalItemCount); in stepIfNeeded()
/packages/apps/Settings/src/com/android/settings/core/
DRoundCornerPreferenceAdapter.java116 int firstVisible = 0; in mappingPreferenceGroup() local
125 Preference firstVisiblePref = group.getPreference(firstVisible); in mappingPreferenceGroup()
127 firstVisible = i; in mappingPreferenceGroup()
136 if (i == firstVisible) { in mappingPreferenceGroup()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java460 int firstVisible = mLayoutManager.findFirstVisibleItemPosition(); in setVisibleNotificationsAsSeen() local
464 if (firstVisible == RecyclerView.NO_POSITION) return; in setVisibleNotificationsAsSeen()
466 mAdapter.setVisibleNotificationsAsSeen(firstVisible, lastVisible); in setVisibleNotificationsAsSeen()