Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardBuilderAutoOrderTests.java84 assertEquals("1 key auto 5 M0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5M0()
97 assertEquals("1 key auto 5 L0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5L0()
110 assertEquals("1 key auto 5 L1 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5L1()
123 assertEquals("1 key auto 5 L2 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5L2()
136 assertEquals("1 key auto 5 R0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5R0()
149 assertEquals("1 key auto 5 R1 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5R1()
162 assertEquals("1 key auto 5 R2 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyAuto5R2()
176 assertEquals("2 key auto 5 M0 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyAuto5M0()
190 assertEquals("2 key auto 5 L0 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyAuto5L0()
204 assertEquals("2 key auto 5 L1 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyAuto5L1()
[all …]
DMoreKeysKeyboardBuilderFixedOrderTests.java84 assertEquals("1 key fix 5 M0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5M0()
97 assertEquals("1 key fix 5 L0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5L0()
110 assertEquals("1 key fix 5 L1 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5L1()
123 assertEquals("1 key fix 5 L2 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5L2()
136 assertEquals("1 key fix 5 R0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5R0()
149 assertEquals("1 key fix 5 R1 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5R1()
162 assertEquals("1 key fix 5 R2 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyFix5R2()
176 assertEquals("2 key fix 5 M0 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyFix5M0()
190 assertEquals("2 key fix 5 L0 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyFix5L0()
204 assertEquals("2 key fix 5 L1 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyFix5L1()
[all …]
DMoreKeysKeyboardBuilderMaxOrderTests.java84 assertEquals("1 key max 5 M0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5M0()
97 assertEquals("1 key max 5 L0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5L0()
110 assertEquals("1 key max 5 L1 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5L1()
123 assertEquals("1 key max 5 L2 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5L2()
136 assertEquals("1 key max 5 R0 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5R0()
149 assertEquals("1 key max 5 R1 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5R1()
162 assertEquals("1 key max 5 R2 adjust", 0, params.mTopRowAdjustment); in testLayout1KeyMax5R2()
176 assertEquals("2 key max 5 M0 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyMax5M0()
190 assertEquals("2 key max 5 L0 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyMax5L0()
204 assertEquals("2 key max 5 L1 adjust", 0, params.mTopRowAdjustment); in testLayout2KeyMax5L1()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java47 /* package */int mTopRowAdjustment; field in MoreKeysKeyboard.MoreKeysKeyboardParams
129 mTopRowAdjustment = isMoreKeysFixedOrder ? getFixedOrderTopRowAdjustment() in setParameters()
169 final int numLeftKeys = mLeftKeys + mTopRowAdjustment; in getFixedOrderColumnPos()
185 leftKeys += mTopRowAdjustment; in getAutomaticColumnPos()
237 return x + mTopRowAdjustment * (mColumnWidth / 2); in getX()