Searched refs:mNumRows (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardBuilderFixedOrderTests.java | 74 assertEquals("1 key fix 5 M0 rows", 1, params.mNumRows); in testLayout1KeyFix5M0() 86 assertEquals("1 key fix 5 L0 rows", 1, params.mNumRows); in testLayout1KeyFix5L0() 98 assertEquals("1 key fix 5 L1 rows", 1, params.mNumRows); in testLayout1KeyFix5L1() 110 assertEquals("1 key fix 5 L2 rows", 1, params.mNumRows); in testLayout1KeyFix5L2() 122 assertEquals("1 key fix 5 R0 rows", 1, params.mNumRows); in testLayout1KeyFix5R0() 134 assertEquals("1 key fix 5 R1 rows", 1, params.mNumRows); in testLayout1KeyFix5R1() 146 assertEquals("1 key fix 5 R2 rows", 1, params.mNumRows); in testLayout1KeyFix5R2() 158 assertEquals("2 key fix 5 M0 rows", 1, params.mNumRows); in testLayout2KeyFix5M0() 171 assertEquals("2 key fix 5 L0 rows", 1, params.mNumRows); in testLayout2KeyFix5L0() 184 assertEquals("2 key fix 5 L1 rows", 1, params.mNumRows); in testLayout2KeyFix5L1() [all …]
|
D | MoreKeysKeyboardBuilderTests.java | 74 assertEquals("1 key max 5 M0 rows", 1, params.mNumRows); in testLayout1KeyMax5M0() 86 assertEquals("1 key max 5 L0 rows", 1, params.mNumRows); in testLayout1KeyMax5L0() 98 assertEquals("1 key max 5 L1 rows", 1, params.mNumRows); in testLayout1KeyMax5L1() 110 assertEquals("1 key max 5 L2 rows", 1, params.mNumRows); in testLayout1KeyMax5L2() 122 assertEquals("1 key max 5 R0 rows", 1, params.mNumRows); in testLayout1KeyMax5R0() 134 assertEquals("1 key max 5 R1 rows", 1, params.mNumRows); in testLayout1KeyMax5R1() 146 assertEquals("1 key max 5 R2 rows", 1, params.mNumRows); in testLayout1KeyMax5R2() 158 assertEquals("2 key max 5 M0 rows", 1, params.mNumRows); in testLayout2KeyMax5M0() 171 assertEquals("2 key max 5 L0 rows", 1, params.mNumRows); in testLayout2KeyMax5L0() 184 assertEquals("2 key max 5 L1 rows", 1, params.mNumRows); in testLayout2KeyMax5L1() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 49 public int mNumRows; field in MoreKeysKeyboard.MoreKeysKeyboardParams 87 mNumRows = numRows; in setParameters() 132 mBaseHeight = mOccupiedHeight = mNumRows * mDefaultRowHeight - mVerticalGap in setParameters() 137 if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys == mNumColumns in getFixedOrderTopRowAdjustment() 145 if (mNumRows == 1 || mTopKeys == 1 || mNumColumns % 2 == mTopKeys % 2 in getAutoOrderTopRowAdjustment() 221 while (getTopRowEmptySlots(numKeys, numColumns) >= mNumRows) { in getOptimizedColumns() 240 return (mNumRows - 1 - row) * mDefaultRowHeight + mTopPadding; in getY() 251 return mNumRows > 1 && rowCount == mNumRows - 1; in isTopRow()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestions.java | 56 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()
|