Home
last modified time | relevance | path

Searched refs:maxColumns (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java73 public void setParameters(final int numKeys, final int maxColumns, final int keyWidth, in setParameters() argument
77 if (parentKeyboardWidth / keyWidth < Math.min(numKeys, maxColumns)) { in setParameters()
81 + numKeys + " " + maxColumns); in setParameters()
86 final int numRows = (numKeys + maxColumns - 1) / maxColumns; in setParameters()
88 final int numColumns = mIsFixedOrder ? Math.min(numKeys, maxColumns) in setParameters()
89 : getOptimizedColumns(numKeys, maxColumns); in setParameters()
219 private int getOptimizedColumns(final int numKeys, final int maxColumns) { in getOptimizedColumns() argument
220 int numColumns = Math.min(numKeys, maxColumns); in getOptimizedColumns()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java614 public void setMaxColumns(int maxColumns) { in setMaxColumns() argument
615 mMaxColumns = maxColumns; in setMaxColumns()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardBuilderTests.java46 private static MoreKeysKeyboardParams createParams(final int numKeys, final int maxColumns, in createParams() argument
49 params.setParameters(numKeys, maxColumns, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams()
57 final int maxColumns = KEYBOARD_WIDTH / WIDTH; in testLayoutError() local
58 params = createParams(maxColumns + 1, maxColumns + 1, HEIGHT); in testLayoutError()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java576 final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns; in Keyboard() local
579 if (column >= maxColumns in Keyboard()