Home
last modified time | relevance | path

Searched refs:mMaxRows (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsLayoutLite.java37 private final int mMaxRows; field in GlobalActionsLayoutLite
43 mMaxRows = getResources().getInteger( in GlobalActionsLayoutLite()
63 int nElementsWrap = (getCurrentRotation() == ROTATION_NONE) ? mMaxColumns : mMaxRows; in onUpdateList()
65 if (getCurrentRotation() != ROTATION_NONE && nChildren > mMaxRows) { in onUpdateList()
/aosp12/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java61 private int mMaxRows; field in IconMenuView
138 mMaxRows = a.getInt(com.android.internal.R.styleable.IconMenuView_maxRows, 2); in IconMenuView()
165 mLayout = new int[mMaxRows]; in IconMenuView()
194 Math.min((int) Math.ceil(numItems / (float) mMaxItemsPerRow), mMaxRows); in layoutItems()
200 for (; curNumRows <= mMaxRows; curNumRows++) { in layoutItems()