Home
last modified time | relevance | path

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

/aosp12/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java93 private int mColCount = 2; field in StaggeredGridView
242 return mColCount; in getColumnCount()
636 mColCount = colCount; in onMeasure()
663 mColCount = colCount; in populate()
667 final int colCount = mColCount; in populate()
733 final int colCount = mColCount; in offsetChildren()
750 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in layoutChildren()
886 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillUp()
1000 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillDown()
1110 final int colCount = mColCount; in getNextColumnUp()
[all …]
/aosp12/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
H A DLeanbackKeyboardView.java100 private int mColCount; field in LeanbackKeyboardView
119 mColCount = a.getInteger(R.styleable.LeanbackKeyboardView_columnCount, -1); in LeanbackKeyboardView()
158 return mColCount; in getColCount()
216 int index = mColCount * row + col; in getNearestIndex()
498 int currentRow = mFocusIndex / mColCount; in onKeyLongPress()
499 int nextRow = (mFocusIndex + totalAccentKeys) / mColCount; in onKeyLongPress()
503 baseIndex = nextRow * mColCount - totalAccentKeys; in onKeyLongPress()
542 setFocus(mColCount * row + col, clicked); in setFocus()