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()
116 int firstVisible = 0; in mappingPreferenceGroup() local125 Preference firstVisiblePref = group.getPreference(firstVisible); in mappingPreferenceGroup()127 firstVisible = i; in mappingPreferenceGroup()136 if (i == firstVisible) { in mappingPreferenceGroup()
460 int firstVisible = mLayoutManager.findFirstVisibleItemPosition(); in setVisibleNotificationsAsSeen() local464 if (firstVisible == RecyclerView.NO_POSITION) return; in setVisibleNotificationsAsSeen()466 mAdapter.setVisibleNotificationsAsSeen(firstVisible, lastVisible); in setVisibleNotificationsAsSeen()