Searched refs:mMaxItems (Results 1 – 3 of 3) sorted by relevance
38 private int mMaxItems = -1; field in IconMenuPresenter56 mMaxItems = -1; in initForMenu()74 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || in shouldIncludeItem()75 childIndex < mMaxItems - 1; in shouldIncludeItem()107 if (mMaxItems < 0) mMaxItems = menuView.getMaxItems();109 final boolean needsMore = itemsToShow.size() > mMaxItems;122 menuView.setNumActualItemsShown(needsMore ? mMaxItems - 1 : itemsToShow.size());
64 private int mMaxItems; field in IconMenuView139 mMaxItems = a.getInt(com.android.internal.R.styleable.IconMenuView_maxItems, 6); in IconMenuView()177 return mMaxItems; in getMaxItems()
74 private int mMaxItems; field in ActionMenuPresenter149 mMaxItems = abp.getMaxActionButtons(); in initForMenu()176 mMaxItems = ActionBarPolicy.get(mContext).getMaxActionButtons(); in onConfigurationChanged()195 mMaxItems = itemCount; in setItemLimit()640 int maxActions = mMaxItems; in flagActionItems()