Searched refs:maxColumns (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 73 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/ |
D | Event.java | 614 public void setMaxColumns(int maxColumns) { in setMaxColumns() argument 615 mMaxColumns = maxColumns; in setMaxColumns()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardBuilderTests.java | 46 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/ |
D | Keyboard.java | 576 final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns; in Keyboard() local 579 if (column >= maxColumns in Keyboard()
|