HomeSort by relevance Sort by last modified time
    Searched full:firstvisibleitem (Results 1 - 25 of 25) sorted by null

  /frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridScrollListenerTest.java 63 int firstVisibleItem = mFirstVisibleItem;
69 assertTrue("Arrow scroll did not happen", mFirstVisibleItem > firstVisibleItem);
71 firstVisibleItem = mFirstVisibleItem;
75 assertTrue("Page scroll did not happen", mFirstVisibleItem > firstVisibleItem);
77 firstVisibleItem = mFirstVisibleItem;
86 assertTrue("Full scroll did not happen", mFirstVisibleItem > firstVisibleItem);
95 int firstVisibleItem = mFirstVisibleItem;
98 assertTrue("Touch scroll did not happen", mFirstVisibleItem > firstVisibleItem);
102 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
103 mFirstVisibleItem = firstVisibleItem;
    [all...]
GridScrollListener.java 61 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
62 int lastItem = firstVisibleItem + visibleItemCount - 1;
63 mText.setText("Showing " + firstVisibleItem + "-" + lastItem + "/" + totalItemCount);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListScrollListenerTest.java 62 int firstVisibleItem = mFirstVisibleItem;
67 assertTrue("Arrow scroll did not happen", mFirstVisibleItem > firstVisibleItem);
69 firstVisibleItem = mFirstVisibleItem;
72 assertTrue("Page scroll did not happen", mFirstVisibleItem > firstVisibleItem);
74 firstVisibleItem = mFirstVisibleItem;
83 assertTrue("Full scroll did not happen", mFirstVisibleItem > firstVisibleItem);
90 int firstVisibleItem = mFirstVisibleItem;
93 assertTrue("Touch scroll did not happen", mFirstVisibleItem > firstVisibleItem);
97 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
98 mFirstVisibleItem = firstVisibleItem;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
BackScrollManager.java 44 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/
StickyHeaderListView.java 198 * @param firstVisibleItem - the index (in the list's adapter) of the top
204 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
207 updateStickyHeader(firstVisibleItem);
210 mListener.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
214 protected void updateStickyHeader(int firstVisibleItem) {
221 firstVisibleItem -= mListViewHeadersCount;
226 int sectionPos = mIndexer.getHeaderPositionFromItemPosition(firstVisibleItem);
258 int sectionLastItemPosition = mNextSectionPosition - firstVisibleItem - 1;
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaListView.java 395 View firstVisibleItem = getFirstVisibleView();
397 if (firstVisibleItem != null) {
399 firstVisibleItem.getLocalVisibleRect(r);
402 int position = getPositionForView(firstVisibleItem);
405 if (firstVisibleItem.getTag() instanceof AgendaAdapter.ViewHolder) {
406 ViewHolder viewHolder = (AgendaAdapter.ViewHolder) firstVisibleItem.getTag();
409 } else if (firstVisibleItem.getTag() instanceof AgendaByDayAdapter.ViewHolder) {
411 (AgendaByDayAdapter.ViewHolder) firstVisibleItem.getTag();
414 } else if (firstVisibleItem instanceof TextView) {
AgendaFragment.java 372 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
374 int julianDay = mAgendaListView.getJulianDayFromPosition(firstVisibleItem
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List9.java 114 public void onScroll(AbsListView view, int firstVisibleItem,
117 char firstLetter = mStrings[firstVisibleItem].charAt(0);
List13.java 133 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /frameworks/base/core/java/android/widget/
FastScroller.java 441 void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
458 mThumbY = getThumbPositionForListPosition(firstVisibleItem, visibleItemCount,
466 if (firstVisibleItem == mVisibleItem) {
469 mVisibleItem = firstVisibleItem;
630 private int getThumbPositionForListPosition(int firstVisibleItem, int visibleItemCount,
636 return ((mList.getHeight() - mThumbH) * firstVisibleItem)
640 firstVisibleItem -= mListOffset;
641 if (firstVisibleItem < 0) {
648 final int section = mSectionIndexer.getSectionForPosition(firstVisibleItem);
655 final float incrementalPos = child == null ? 0 : firstVisibleItem
    [all...]
CalendarView.java 765 AbsListView view, int firstVisibleItem, int visibleItemCount,
767 CalendarView.this.onScroll(view, firstVisibleItem, visibleItemCount,
873 private void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
    [all...]
ListPopupWindow.java     [all...]
AbsListView.java 694 * @param firstVisibleItem the index of the first visible cell (ignore if
699 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
PhoneFavoriteMergedAdapter.java 218 public boolean shouldShowFirstScroller(int firstVisibleItem) {
220 return firstVisibleItem > contactTileAdapterCount;
PhoneFavoriteFragment.java 165 int firstVisibleItem, int visibleItemCount, int totalItemCount) {
167 final boolean shouldShow = mAdapter.shouldShowFirstScroller(firstVisibleItem);
ContactEntryListFragment.java 822 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailLayoutController.java 564 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
577 if (firstVisibleItem != 0) {
582 View topView = view.getChildAt(firstVisibleItem);
586 int amtToScroll = Math.max((int) view.getChildAt(firstVisibleItem).getY(),
  /packages/apps/Settings/src/com/android/settings/
AccessibilityTutorialActivity.java 468 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
472 mInitialVisibleItem = firstVisibleItem;
475 final int scrollCount = Math.abs(mInitialVisibleItem - firstVisibleItem);
  /packages/apps/Contacts/src/com/android/contacts/widget/
PinnedHeaderListView.java 152 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
180 mOnScrollListener.onScroll(this, firstVisibleItem, visibleItemCount, totalItemCount);
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupDetailFragment.java 370 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /cts/tests/tests/widget/src/android/widget/cts/
AbsListViewTest.java     [all...]
  /external/webkit/Source/WebCore/platform/win/
PopupMenuWin.cpp 834 int firstVisibleItem = scrollOffset();
835 up(focusedIndex() - firstVisibleItem);
  /external/webkit/Source/WebKit2/UIProcess/win/
WebPopupMenuProxyWin.cpp 560 int firstVisibleItem = scrollOffset();
561 up(focusedIndex() - firstVisibleItem);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SearchActivityView.java 534 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /packages/apps/Calendar/src/com/android/calendar/month/
SimpleDayPickerFragment.java 475 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {

Completed in 1165 milliseconds