Home
last modified time | relevance | path

Searched refs:firstVisible (Results 1 – 3 of 3) 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/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java177 int firstVisible = mLayoutManager.findFirstVisibleItemPosition(); in setVisibleNotificationsAsSeen() local
181 if (firstVisible == RecyclerView.NO_POSITION) return; in setVisibleNotificationsAsSeen()
184 for (int i = firstVisible; i <= lastVisible; i++) { in setVisibleNotificationsAsSeen()