HomeSort by relevance Sort by last modified time
    Searched refs:mItemCount (Results 1 - 17 of 17) sorted by null

  /frameworks/base/core/java/android/widget/
GridView.java 185 mOldItemCount = mItemCount;
186 mItemCount = mAdapter.getCount();
197 position = lookForSelectablePosition(mItemCount - 1, false);
220 if (position < 0 || position >= mItemCount) {
286 while (nextTop < end && pos < mItemCount) {
321 last = Math.min(startPos + mNumColumns, mItemCount);
416 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1);
426 lastPosition = Math.min(lastPosition, mItemCount - 1);
428 final int invertedPosition = mItemCount - 1 - lastPosition;
429 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns))
    [all...]
Gallery.java 321 return mItemCount;
418 int extremeItemPosition = motionToLeft != mIsRtl ? mItemCount - 1 : 0;
634 if (mItemCount == 0) {
700 int numItems = mItemCount;
712 mFirstPosition = curPosition = mItemCount - 1;
717 while (curRightEdge > galleryLeft && curPosition < mItemCount) {
802 int numItems = mItemCount;
813 mFirstPosition = curPosition = mItemCount - 1;
    [all...]
AbsSpinner.java 113 mOldItemCount = mItemCount;
114 mItemCount = mAdapter.getCount();
120 int position = mItemCount > 0 ? 0 : INVALID_POSITION;
125 if (mItemCount == 0) {
304 if (mItemCount > 0 && mSelectedPosition >= 0) {
331 return mItemCount;
AdapterView.java 178 int mItemCount;
582 return mItemCount;
801 mOldItemCount = mItemCount;
802 mItemCount = getAdapter().getCount();
807 && mOldItemCount == 0 && mItemCount > 0) {
828 mOldItemCount = mItemCount;
829 mItemCount = 0;
    [all...]
ListView.java 227 if (mFirstPosition + childCount < mItemCount) {
479 mOldItemCount = mItemCount;
480 mItemCount = mAdapter.getCount();
490 position = lookForSelectablePosition(mItemCount - 1, false);
497 if (mItemCount == 0) {
558 return (lastVisiblePosition < mItemCount - 1)
589 if ((mSelectedPosition < mItemCount - 1)
688 while (nextTop < end && pos < mItemCount) {
748 mFirstPosition = Math.min(mFirstPosition, mItemCount - 1);
886 if (selectedPosition != mItemCount - 1)
    [all...]
AbsListView.java     [all...]
ExpandableListView.java 369 final int lastChildFlPos = mItemCount - getFooterViewsCount() - headerViewsCount - 1;
615 final int footerViewsStart = mItemCount - getFooterViewsCount();
    [all...]
AdapterViewAnimator.java     [all...]
Spinner.java 522 if (mItemCount == 0) {
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AdapterViewICS.java 180 int mItemCount;
591 return mItemCount;
803 mOldItemCount = mItemCount;
804 mItemCount = getAdapter().getCount();
809 && mOldItemCount == 0 && mItemCount > 0) {
830 mOldItemCount = mItemCount;
831 mItemCount = 0;
916 return super.canAnimate() && mItemCount > 0;
920 final int count = mItemCount;
    [all...]
AbsSpinnerICS.java 94 mOldItemCount = mItemCount;
95 mItemCount = mAdapter.getCount();
101 int position = mItemCount > 0 ? 0 : INVALID_POSITION;
106 if (mItemCount == 0) {
288 if (mItemCount > 0 && mSelectedPosition >= 0) {
315 return mItemCount;
SpinnerICS.java 318 if (mItemCount == 0) {
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityRecord.java 83 int mItemCount = UNDEFINED;
318 return mItemCount;
330 mItemCount = itemCount;
770 mItemCount = record.mItemCount;
796 mItemCount = UNDEFINED;
821 builder.append("; ItemCount: " + mItemCount);
AccessibilityEvent.java     [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
GalleryThumbnailView.java 63 private int mItemCount;
241 remaining > 0 && startPosition + i >= 0 && startPosition + i < mItemCount;
489 if (childCount != mItemCount) return false;
511 while (nextLeft < end && pos < mItemCount) {
652 mOldItemCount = mItemCount = adapter != null ? adapter.getCount() : 0;
864 mOldItemCount = mItemCount;
865 mItemCount = mAdapter.getCount();
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
StaggeredGridView.java 167 private int mItemCount;
    [all...]
  /frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java 112 private int mItemCount;
432 if (mFirstPosition != 0 || getChildCount() != mItemCount) {
    [all...]

Completed in 843 milliseconds