HomeSort by relevance Sort by last modified time
    Searched refs:firstVisibleItem (Results 1 - 25 of 30) sorted by null

1 2

  /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/Dialer/src/com/android/dialer/
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(),
  /cts/suite/cts/deviceTests/ui/src/com/android/cts/ui/
ScrollingActivity.java 89 public void onScroll(AbsListView view, int firstVisibleItem,
91 //Log.i(TAG, "onScroll " + firstVisibleItem + " " + visibleItemCount);
92 if ((mTargetLoc >= firstVisibleItem) &&
93 (mTargetLoc <= (firstVisibleItem + visibleItemCount))) {
  /packages/apps/Calendar/src/com/android/calendar/
StickyHeaderListView.java 222 * @param firstVisibleItem - the index (in the list's adapter) of the top
228 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
231 updateStickyHeader(firstVisibleItem);
234 mListener.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
254 protected void updateStickyHeader(int firstVisibleItem) {
261 firstVisibleItem -= mListViewHeadersCount;
266 int sectionPos = mIndexer.getHeaderPositionFromItemPosition(firstVisibleItem);
301 int sectionLastItemPosition = mNextSectionPosition - firstVisibleItem - 1;
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaListView.java 384 View firstVisibleItem = getFirstVisibleView();
386 if (firstVisibleItem != null) {
388 firstVisibleItem.getLocalVisibleRect(r);
391 int position = getPositionForView(firstVisibleItem);
394 if (firstVisibleItem.getTag() instanceof AgendaAdapter.ViewHolder) {
395 ViewHolder viewHolder = (AgendaAdapter.ViewHolder) firstVisibleItem.getTag();
398 } else if (firstVisibleItem.getTag() instanceof AgendaByDayAdapter.ViewHolder) {
400 (AgendaByDayAdapter.ViewHolder) firstVisibleItem.getTag();
403 } else if (firstVisibleItem instanceof TextView) {
AgendaFragment.java 453 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
455 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,
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SwipeableConversationItemView.java 103 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
106 mConversationItemView.onScroll(view, firstVisibleItem, visibleItemCount,
  /frameworks/base/core/java/android/widget/
FastScroller.java 460 final int firstVisibleItem = mList.getFirstVisiblePosition();
461 setThumbPos(getPosFromItemCount(firstVisibleItem, childCount, itemCount));
837 public void onScroll(int firstVisibleItem, int visibleItemCount, int totalItemCount) {
845 setThumbPos(getPosFromItemCount(firstVisibleItem, visibleItemCount, totalItemCount));
850 if (mFirstVisibleItem != firstVisibleItem) {
851 mFirstVisibleItem = firstVisibleItem;
    [all...]
CalendarView.java     [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
SearchFragment.java 68 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailLayoutController.java 703 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
716 if (firstVisibleItem != 0) {
721 View topView = view.getChildAt(firstVisibleItem);
725 int amtToScroll = Math.max((int) view.getChildAt(firstVisibleItem).getY(),
  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java 522 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
524 mCurrentFirstVisibleItem = firstVisibleItem;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListView.java 162 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
190 mOnScrollListener.onScroll(this, firstVisibleItem, visibleItemCount, totalItemCount);
ContactEntryListFragment.java 774 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeableListView.java 390 public final void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
396 ((OnScrollListener) child).onScroll(view, firstVisibleItem, visibleItemCount,
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/
ImageGridFragment.java 113 public void onScroll(AbsListView absListView, int firstVisibleItem,
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DayPickerView.java 255 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
  /packages/apps/Calendar/src/com/android/calendar/month/
SimpleDayPickerFragment.java 473 AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupDetailFragment.java 407 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SearchActivityView.java 438 public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
  /cts/tests/tests/widget/src/android/widget/cts/
AbsListViewTest.java 646 public void onScroll(AbsListView view, int firstVisibleItem,
649 mFirstVisibleItem = firstVisibleItem;

Completed in 885 milliseconds

1 2