Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardBuilderFixedOrderTests.java76 assertEquals("1 key fix 5 M0 left", 0, params.mLeftKeys); in testLayout1KeyFix5M0()
88 assertEquals("1 key fix 5 L0 left", 0, params.mLeftKeys); in testLayout1KeyFix5L0()
100 assertEquals("1 key fix 5 L1 left", 0, params.mLeftKeys); in testLayout1KeyFix5L1()
112 assertEquals("1 key fix 5 L2 left", 0, params.mLeftKeys); in testLayout1KeyFix5L2()
124 assertEquals("1 key fix 5 R0 left", 0, params.mLeftKeys); in testLayout1KeyFix5R0()
136 assertEquals("1 key fix 5 R1 left", 0, params.mLeftKeys); in testLayout1KeyFix5R1()
148 assertEquals("1 key fix 5 R2 left", 0, params.mLeftKeys); in testLayout1KeyFix5R2()
160 assertEquals("2 key fix 5 M0 left", 0, params.mLeftKeys); in testLayout2KeyFix5M0()
173 assertEquals("2 key fix 5 L0 left", 0, params.mLeftKeys); in testLayout2KeyFix5L0()
186 assertEquals("2 key fix 5 L1 left", 0, params.mLeftKeys); in testLayout2KeyFix5L1()
[all …]
DMoreKeysKeyboardBuilderMaxOrderTests.java76 assertEquals("1 key max 5 M0 left", 0, params.mLeftKeys); in testLayout1KeyMax5M0()
88 assertEquals("1 key max 5 L0 left", 0, params.mLeftKeys); in testLayout1KeyMax5L0()
100 assertEquals("1 key max 5 L1 left", 0, params.mLeftKeys); in testLayout1KeyMax5L1()
112 assertEquals("1 key max 5 L2 left", 0, params.mLeftKeys); in testLayout1KeyMax5L2()
124 assertEquals("1 key max 5 R0 left", 0, params.mLeftKeys); in testLayout1KeyMax5R0()
136 assertEquals("1 key max 5 R1 left", 0, params.mLeftKeys); in testLayout1KeyMax5R1()
148 assertEquals("1 key max 5 R2 left", 0, params.mLeftKeys); in testLayout1KeyMax5R2()
160 assertEquals("2 key max 5 M0 left", 0, params.mLeftKeys); in testLayout2KeyMax5M0()
173 assertEquals("2 key max 5 L0 left", 0, params.mLeftKeys); in testLayout2KeyMax5L0()
186 assertEquals("2 key max 5 L1 left", 0, params.mLeftKeys); in testLayout2KeyMax5L1()
[all …]
DMoreKeysKeyboardBuilderAutoOrderTests.java76 assertEquals("1 key auto 5 M0 left", 0, params.mLeftKeys); in testLayout1KeyAuto5M0()
88 assertEquals("1 key auto 5 L0 left", 0, params.mLeftKeys); in testLayout1KeyAuto5L0()
100 assertEquals("1 key auto 5 L1 left", 0, params.mLeftKeys); in testLayout1KeyAuto5L1()
112 assertEquals("1 key auto 5 L2 left", 0, params.mLeftKeys); in testLayout1KeyAuto5L2()
124 assertEquals("1 key auto 5 R0 left", 0, params.mLeftKeys); in testLayout1KeyAuto5R0()
136 assertEquals("1 key auto 5 R1 left", 0, params.mLeftKeys); in testLayout1KeyAuto5R1()
148 assertEquals("1 key auto 5 R2 left", 0, params.mLeftKeys); in testLayout1KeyAuto5R2()
160 assertEquals("2 key auto 5 M0 left", 0, params.mLeftKeys); in testLayout2KeyAuto5M0()
173 assertEquals("2 key auto 5 L0 left", 0, params.mLeftKeys); in testLayout2KeyAuto5L0()
186 assertEquals("2 key auto 5 L1 left", 0, params.mLeftKeys); in testLayout2KeyAuto5L1()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java51 public int mLeftKeys; field in MoreKeysKeyboard.MoreKeysKeyboardParams
125 mLeftKeys = leftKeys; in setParameters()
141 || mLeftKeys == 0 || mRightKeys == 1) { in getFixedOrderTopRowAdjustment()
149 || mLeftKeys == 0 || mRightKeys == 1) { in getAutoOrderTopRowAdjustment()
164 return col - mLeftKeys; in getFixedOrderColumnPos()
169 final int numLeftKeys = mLeftKeys + mTopRowAdjustment; in getFixedOrderColumnPos()
183 int leftKeys = mLeftKeys; in getAutomaticColumnPos()
231 return mLeftKeys * mColumnWidth + mLeftPadding; in getDefaultKeyCoordX()