Searched refs:mColCount (Results 1 – 2 of 2) sorted by relevance
93 private int mColCount = 2; field in StaggeredGridView242 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 …]
100 private int mColCount; field in LeanbackKeyboardView119 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()