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

  /frameworks/base/core/java/com/android/internal/view/menu/
IconMenuPresenter.java 36 private int mMaxItems = -1;
54 mMaxItems = -1;
72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) ||
73 childIndex < mMaxItems - 1;
105 if (mMaxItems < 0) mMaxItems = menuView.getMaxItems();
107 final boolean needsMore = itemsToShow.size() > mMaxItems;
120 menuView.setNumActualItemsShown(needsMore ? mMaxItems - 1 : itemsToShow.size());
ActionMenuPresenter.java 56 private int mMaxItems;
99 mMaxItems = abp.getMaxActionButtons();
124 mMaxItems = mContext.getResources().getInteger(
144 mMaxItems = itemCount;
390 int maxActions = mMaxItems;
IconMenuView.java 61 private int mMaxItems;
135 mMaxItems = a.getInt(com.android.internal.R.styleable.IconMenuView_maxItems, 6);
173 return mMaxItems;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuPresenter.java 54 private int mMaxItems;
96 mMaxItems = abp.getMaxActionButtons();
121 mMaxItems = mContext.getResources().getInteger(
141 mMaxItems = itemCount;
372 int maxActions = mMaxItems;

Completed in 57 milliseconds