Searched refs:firstVisible (Results 1 – 4 of 4) sorted by relevance
145 public void onScroll(AbsListView absListView, int firstVisible, int visibleItemCount, in onScroll() argument149 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()
954 final int firstVisible = mViewItems[BUFFER_CENTER].getAdapterIndex() - 2; in stepIfNeeded() local955 final int visibleItemCount = firstVisible + BUFFER_SIZE; in stepIfNeeded()957 mListener.onScroll(firstVisible, visibleItemCount, totalItemCount); in stepIfNeeded()
177 int firstVisible = mLayoutManager.findFirstVisibleItemPosition(); in setVisibleNotificationsAsSeen() local181 if (firstVisible == RecyclerView.NO_POSITION) return; in setVisibleNotificationsAsSeen()184 for (int i = firstVisible; i <= lastVisible; i++) { in setVisibleNotificationsAsSeen()
911 final int firstVisible = mListView.getFirstVisiblePosition(); in setRawSelected() local914 if (selectedView == null || position < firstVisible || position > lastVisible) { in setRawSelected()