/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardBuilderFixedOrderTests.java | 75 assertEquals("1 key fix 5 M0 rows", 1, params.mNumRows); in testLayout1KeyFix5M0() 87 assertEquals("1 key fix 5 L0 rows", 1, params.mNumRows); in testLayout1KeyFix5L0() 99 assertEquals("1 key fix 5 L1 rows", 1, params.mNumRows); in testLayout1KeyFix5L1() 111 assertEquals("1 key fix 5 L2 rows", 1, params.mNumRows); in testLayout1KeyFix5L2() 123 assertEquals("1 key fix 5 R0 rows", 1, params.mNumRows); in testLayout1KeyFix5R0() 135 assertEquals("1 key fix 5 R1 rows", 1, params.mNumRows); in testLayout1KeyFix5R1() 147 assertEquals("1 key fix 5 R2 rows", 1, params.mNumRows); in testLayout1KeyFix5R2() 159 assertEquals("2 key fix 5 M0 rows", 1, params.mNumRows); in testLayout2KeyFix5M0() 172 assertEquals("2 key fix 5 L0 rows", 1, params.mNumRows); in testLayout2KeyFix5L0() 185 assertEquals("2 key fix 5 L1 rows", 1, params.mNumRows); in testLayout2KeyFix5L1() [all …]
|
D | MoreKeysKeyboardBuilderMaxOrderTests.java | 75 assertEquals("1 key max 5 M0 rows", 1, params.mNumRows); in testLayout1KeyMax5M0() 87 assertEquals("1 key max 5 L0 rows", 1, params.mNumRows); in testLayout1KeyMax5L0() 99 assertEquals("1 key max 5 L1 rows", 1, params.mNumRows); in testLayout1KeyMax5L1() 111 assertEquals("1 key max 5 L2 rows", 1, params.mNumRows); in testLayout1KeyMax5L2() 123 assertEquals("1 key max 5 R0 rows", 1, params.mNumRows); in testLayout1KeyMax5R0() 135 assertEquals("1 key max 5 R1 rows", 1, params.mNumRows); in testLayout1KeyMax5R1() 147 assertEquals("1 key max 5 R2 rows", 1, params.mNumRows); in testLayout1KeyMax5R2() 159 assertEquals("2 key max 5 M0 rows", 1, params.mNumRows); in testLayout2KeyMax5M0() 172 assertEquals("2 key max 5 L0 rows", 1, params.mNumRows); in testLayout2KeyMax5L0() 185 assertEquals("2 key max 5 L1 rows", 1, params.mNumRows); in testLayout2KeyMax5L1() [all …]
|
D | MoreKeysKeyboardBuilderAutoOrderTests.java | 75 assertEquals("1 key auto 5 M0 rows", 1, params.mNumRows); in testLayout1KeyAuto5M0() 87 assertEquals("1 key auto 5 L0 rows", 1, params.mNumRows); in testLayout1KeyAuto5L0() 99 assertEquals("1 key auto 5 L1 rows", 1, params.mNumRows); in testLayout1KeyAuto5L1() 111 assertEquals("1 key auto 5 L2 rows", 1, params.mNumRows); in testLayout1KeyAuto5L2() 123 assertEquals("1 key auto 5 R0 rows", 1, params.mNumRows); in testLayout1KeyAuto5R0() 135 assertEquals("1 key auto 5 R1 rows", 1, params.mNumRows); in testLayout1KeyAuto5R1() 147 assertEquals("1 key auto 5 R2 rows", 1, params.mNumRows); in testLayout1KeyAuto5R2() 159 assertEquals("2 key auto 5 M0 rows", 1, params.mNumRows); in testLayout2KeyAuto5M0() 172 assertEquals("2 key auto 5 L0 rows", 1, params.mNumRows); in testLayout2KeyAuto5L0() 185 assertEquals("2 key auto 5 L1 rows", 1, params.mNumRows); in testLayout2KeyAuto5L1() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 48 public int mNumRows; field in MoreKeysKeyboard.MoreKeysKeyboardParams 90 mNumRows = numRows; in setParameters() 135 mBaseHeight = mOccupiedHeight = mNumRows * mDefaultRowHeight - mVerticalGap in setParameters() 140 if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys == mNumColumns in getFixedOrderTopRowAdjustment() 148 if (mNumRows == 1 || mTopKeys == 1 || mNumColumns % 2 == mTopKeys % 2 in getAutoOrderTopRowAdjustment() 224 while (getTopRowEmptySlots(numKeys, numColumns) >= mNumRows) { in getOptimizedColumns() 243 return (mNumRows - 1 - row) * mDefaultRowHeight + mTopPadding; in getY() 254 return mNumRows > 1 && rowCount == mNumRows - 1; in isTopRow()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestions.java | 48 private int mNumRows; field in MoreSuggestions.MoreSuggestionsParam 96 mNumRows = row + 1; in layout() 99 mBaseHeight = mOccupiedHeight = mNumRows * mDefaultRowHeight + mVerticalGap; in layout() 114 for (int row = 0; row < mNumRows; row++) { in calcurateMaxRowWidth() 150 return (mNumRows -1 - row) * mDefaultRowHeight + mTopPadding; in getY() 162 if (row == mNumRows - 1) in markAsEdgeKey()
|