Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardBuilderFixedOrderTests.java80 assertEquals("1 key fix 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5M0()
92 assertEquals("1 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5L0()
104 assertEquals("1 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5L1()
116 assertEquals("1 key fix 5 L2 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5L2()
128 assertEquals("1 key fix 5 R0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5R0()
140 assertEquals("1 key fix 5 R1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5R1()
152 assertEquals("1 key fix 5 R2 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyFix5R2()
165 assertEquals("2 key fix 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyFix5M0()
178 assertEquals("2 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyFix5L0()
191 assertEquals("2 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyFix5L1()
[all …]
DMoreKeysKeyboardBuilderMaxOrderTests.java80 assertEquals("1 key max 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5M0()
92 assertEquals("1 key max 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5L0()
104 assertEquals("1 key max 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5L1()
116 assertEquals("1 key max 5 L2 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5L2()
128 assertEquals("1 key max 5 R0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5R0()
140 assertEquals("1 key max 5 R1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5R1()
152 assertEquals("1 key max 5 R2 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyMax5R2()
165 assertEquals("2 key max 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyMax5M0()
178 assertEquals("2 key max 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyMax5L0()
191 assertEquals("2 key max 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyMax5L1()
[all …]
DMoreKeysKeyboardBuilderAutoOrderTests.java80 assertEquals("1 key auto 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5M0()
92 assertEquals("1 key auto 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5L0()
104 assertEquals("1 key auto 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5L1()
116 assertEquals("1 key auto 5 L2 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5L2()
128 assertEquals("1 key auto 5 R0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5R0()
140 assertEquals("1 key auto 5 R1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5R1()
152 assertEquals("1 key auto 5 R2 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout1KeyAuto5R2()
165 assertEquals("2 key auto 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyAuto5M0()
178 assertEquals("2 key auto 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyAuto5L0()
191 assertEquals("2 key auto 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX()); in testLayout2KeyAuto5L1()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java37 mDefaultKeyCoordX = params.getDefaultKeyCoordX() + params.mDefaultKeyWidth / 2; in MoreKeysKeyboard()
230 public int getDefaultKeyCoordX() { in getDefaultKeyCoordX() method in MoreKeysKeyboard.MoreKeysKeyboardParams
235 final int x = getColumnPos(n) * mColumnWidth + getDefaultKeyCoordX(); in getX()