HomeSort by relevance Sort by last modified time
    Searched refs:mNumRows (Results 1 - 8 of 8) sorted by null

  /frameworks/base/core/tests/coretests/src/android/util/
InternalSelectionView.java 58 private int mNumRows = 5;
67 mNumRows = numRows;
77 mNumRows = a.getInt(R.styleable.SelectableRowView_numRows, 5);
89 return mNumRows;
132 mNumRows * mEstimatedPixelHeight + mPaddingTop + mPaddingBottom;
149 for (int i = 0; i < mNumRows; i++) {
187 final int desiredRowHeight = availableHeight / mNumRows;
188 if (row < mNumRows - 1) {
191 final int residualHeight = availableHeight % mNumRows;
223 if (mSelectedRow < (mNumRows - 1))
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
MoreKeysKeyboardBuilderFixedOrderTests.java 74 assertEquals("1 key fix 5 M0 rows", 1, params.mNumRows);
86 assertEquals("1 key fix 5 L0 rows", 1, params.mNumRows);
98 assertEquals("1 key fix 5 L1 rows", 1, params.mNumRows);
110 assertEquals("1 key fix 5 L2 rows", 1, params.mNumRows);
122 assertEquals("1 key fix 5 R0 rows", 1, params.mNumRows);
134 assertEquals("1 key fix 5 R1 rows", 1, params.mNumRows);
146 assertEquals("1 key fix 5 R2 rows", 1, params.mNumRows);
158 assertEquals("2 key fix 5 M0 rows", 1, params.mNumRows);
171 assertEquals("2 key fix 5 L0 rows", 1, params.mNumRows);
184 assertEquals("2 key fix 5 L1 rows", 1, params.mNumRows);
    [all...]
MoreKeysKeyboardBuilderTests.java 74 assertEquals("1 key max 5 M0 rows", 1, params.mNumRows);
86 assertEquals("1 key max 5 L0 rows", 1, params.mNumRows);
98 assertEquals("1 key max 5 L1 rows", 1, params.mNumRows);
110 assertEquals("1 key max 5 L2 rows", 1, params.mNumRows);
122 assertEquals("1 key max 5 R0 rows", 1, params.mNumRows);
134 assertEquals("1 key max 5 R1 rows", 1, params.mNumRows);
146 assertEquals("1 key max 5 R2 rows", 1, params.mNumRows);
158 assertEquals("2 key max 5 M0 rows", 1, params.mNumRows);
171 assertEquals("2 key max 5 L0 rows", 1, params.mNumRows);
184 assertEquals("2 key max 5 L1 rows", 1, params.mNumRows);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
InternalSelectionView.java 50 private int mNumRows = 5;
64 mNumRows = numRows;
82 return mNumRows;
125 mNumRows * mEstimatedPixelHeight + getPaddingTop() + getPaddingBottom();
145 for (int i = 0; i < mNumRows; i++) {
180 return (getHeight() - getPaddingTop() - getPaddingBottom()) / mNumRows;
214 if (mSelectedRow < (mNumRows - 1)) {
242 mSelectedRow = mNumRows - 1;
250 int yPerRow = getHeight() / mNumRows;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java 49 public int mNumRows;
85 mNumRows = numRows;
130 mBaseHeight = mOccupiedHeight = mNumRows * mDefaultRowHeight - mVerticalGap
135 if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys == mNumColumns
143 if (mNumRows == 1 || mTopKeys == 1 || mNumColumns % 2 == mTopKeys % 2
219 while (getTopRowEmptySlots(numKeys, numColumns) >= mNumRows) {
238 return (mNumRows - 1 - row) * mDefaultRowHeight + mTopPadding;
249 return mNumRows > 1 && rowCount == mNumRows - 1;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
MoreSuggestions.java 55 private int mNumRows;
96 mNumRows = row + 1;
99 mBaseHeight = mOccupiedHeight = mNumRows * mDefaultRowHeight + mVerticalGap;
114 for (int row = 0; row < mNumRows; row++) {
150 return (mNumRows -1 - row) * mDefaultRowHeight + mTopPadding;
162 if (row == mNumRows - 1)
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
SimpleMonthView.java 173 private int mNumRows = DEFAULT_NUM_ROWS;
369 mNumRows = calculateNumRows();
376 mNumRows = DEFAULT_NUM_ROWS;
395 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), mRowHeight * mNumRows
  /prebuilts/devtools/tools/lib/
traceview.jar 

Completed in 2251 milliseconds