Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java77 public void setParameters(final int numKeys, final int numColumn, final int keyWidth, in setParameters() argument
82 if (parentKeyboardWidth / keyWidth < Math.min(numKeys, numColumn)) { in setParameters()
84 + parentKeyboardWidth + " " + keyWidth + " " + numKeys + " " + numColumn); in setParameters()
89 final int numRows = (numKeys + numColumn - 1) / numColumn; in setParameters()
91 final int numColumns = isMoreKeysFixedColumn ? Math.min(numKeys, numColumn) in setParameters()
92 : getOptimizedColumns(numKeys, numColumn); in setParameters()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java79 final int numColumn = index - rowStartIndex + 1; in layout() local
81 (maxWidth - mDividerWidth * (numColumn - 1)) / numColumn; in layout()
82 if (numColumn > MAX_COLUMNS_IN_ROW in layout()
139 final int numColumn = getNumColumnInRow(index); in getColumnNumber() local
140 return COLUMN_ORDER_TO_NUMBER[numColumn - 1][columnOrder]; in getColumnNumber()