Home
last modified time | relevance | path

Searched refs:firstVisibleItem (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DBackScrollManager.java44 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
46 if (firstVisibleItem != 0) {
52 View firstVisibleItemView = view.getChildAt(firstVisibleItem);
58 (int) -view.getChildAt(firstVisibleItem).getY(),
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.java228 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
231 updateStickyHeader(firstVisibleItem); in onScroll()
234 mListener.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount); in onScroll()
254 protected void updateStickyHeader(int firstVisibleItem) { in updateStickyHeader() argument
261 firstVisibleItem -= mListViewHeadersCount; in updateStickyHeader()
266 int sectionPos = mIndexer.getHeaderPositionFromItemPosition(firstVisibleItem); in updateStickyHeader()
301 int sectionLastItemPosition = mNextSectionPosition - firstVisibleItem - 1; in updateStickyHeader()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java369 View firstVisibleItem = getFirstVisibleView(); in shiftPosition() local
371 if (firstVisibleItem != null) { in shiftPosition()
373 firstVisibleItem.getLocalVisibleRect(r); in shiftPosition()
376 int position = getPositionForView(firstVisibleItem); in shiftPosition()
379 if (firstVisibleItem.getTag() instanceof AgendaAdapter.ViewHolder) { in shiftPosition()
380 ViewHolder viewHolder = (AgendaAdapter.ViewHolder) firstVisibleItem.getTag(); in shiftPosition()
383 } else if (firstVisibleItem.getTag() instanceof AgendaByDayAdapter.ViewHolder) { in shiftPosition()
385 (AgendaByDayAdapter.ViewHolder) firstVisibleItem.getTag(); in shiftPosition()
388 } else if (firstVisibleItem instanceof TextView) { in shiftPosition()
DAgendaFragment.java423 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
425 int julianDay = mAgendaListView.getJulianDayFromPosition(firstVisibleItem in onScroll()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailLayoutController.java710 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
723 if (firstVisibleItem != 0) { in onScroll()
728 View topView = view.getChildAt(firstVisibleItem); in onScroll()
732 int amtToScroll = Math.max((int) view.getChildAt(firstVisibleItem).getY(), in onScroll()
/packages/apps/Contacts/src/com/android/contacts/list/
DPhoneFavoriteMergedAdapter.java294 public boolean shouldShowFirstScroller(int firstVisibleItem) { in shouldShowFirstScroller() argument
296 return firstVisibleItem > contactTileAdapterCount; in shouldShowFirstScroller()
DPhoneFavoriteFragment.java191 int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
193 final boolean shouldShow = mAdapter.shouldShowFirstScroller(firstVisibleItem); in onScroll()
DContactEntryListFragment.java808 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/packages/apps/Contacts/src/com/android/contacts/widget/
DPinnedHeaderListView.java153 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
181 mOnScrollListener.onScroll(this, firstVisibleItem, visibleItemCount, totalItemCount); in onScroll()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupDetailFragment.java389 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java473 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { in onScroll() argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.java534 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, in onScroll() argument