Searched refs:getColumnPos (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardBuilderFixedOrderTests.java | 78 assertEquals("1 key fix 5 M0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5M0() 90 assertEquals("1 key fix 5 L0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5L0() 102 assertEquals("1 key fix 5 L1 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5L1() 114 assertEquals("1 key fix 5 L2 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5L2() 126 assertEquals("1 key fix 5 R0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5R0() 138 assertEquals("1 key fix 5 R1 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5R1() 150 assertEquals("1 key fix 5 R2 <1>", 0, params.getColumnPos(0)); in testLayout1KeyFix5R2() 162 assertEquals("2 key fix 5 M0 <1>", 0, params.getColumnPos(0)); in testLayout2KeyFix5M0() 163 assertEquals("2 key fix 5 M0 [2]", 1, params.getColumnPos(1)); in testLayout2KeyFix5M0() 175 assertEquals("2 key fix 5 L0 <1>", 0, params.getColumnPos(0)); in testLayout2KeyFix5L0() [all …]
|
D | MoreKeysKeyboardBuilderMaxOrderTests.java | 78 assertEquals("1 key max 5 M0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5M0() 90 assertEquals("1 key max 5 L0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5L0() 102 assertEquals("1 key max 5 L1 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5L1() 114 assertEquals("1 key max 5 L2 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5L2() 126 assertEquals("1 key max 5 R0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5R0() 138 assertEquals("1 key max 5 R1 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5R1() 150 assertEquals("1 key max 5 R2 <1>", 0, params.getColumnPos(0)); in testLayout1KeyMax5R2() 162 assertEquals("2 key max 5 M0 <1>", 0, params.getColumnPos(0)); in testLayout2KeyMax5M0() 163 assertEquals("2 key max 5 M0 [2]", 1, params.getColumnPos(1)); in testLayout2KeyMax5M0() 175 assertEquals("2 key max 5 L0 <1>", 0, params.getColumnPos(0)); in testLayout2KeyMax5L0() [all …]
|
D | MoreKeysKeyboardBuilderAutoOrderTests.java | 78 assertEquals("1 key auto 5 M0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5M0() 90 assertEquals("1 key auto 5 L0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5L0() 102 assertEquals("1 key auto 5 L1 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5L1() 114 assertEquals("1 key auto 5 L2 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5L2() 126 assertEquals("1 key auto 5 R0 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5R0() 138 assertEquals("1 key auto 5 R1 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5R1() 150 assertEquals("1 key auto 5 R2 <1>", 0, params.getColumnPos(0)); in testLayout1KeyAuto5R2() 162 assertEquals("2 key auto 5 M0 <1>", 0, params.getColumnPos(0)); in testLayout2KeyAuto5M0() 163 assertEquals("2 key auto 5 M0 [2]", 1, params.getColumnPos(1)); in testLayout2KeyAuto5M0() 175 assertEquals("2 key auto 5 L0 <1>", 0, params.getColumnPos(0)); in testLayout2KeyAuto5L0() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 156 /* package */int getColumnPos(final int n) { in getColumnPos() method in MoreKeysKeyboard.MoreKeysKeyboardParams 235 final int x = getColumnPos(n) * mColumnWidth + getDefaultKeyCoordX(); in getX() 347 final int pos = params.getColumnPos(n); in build()
|