/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | AbstractKeyboardBuilder.java | 32 private E[][] mRows; field in AbstractKeyboardBuilder 45 mRows = newArrayOfArray(0); in AbstractKeyboardBuilder() 55 mRows = newArrayOfArray(rows.length); in AbstractKeyboardBuilder() 58 mRows[rowIndex] = Arrays.copyOf(row, row.length); in AbstractKeyboardBuilder() 67 return mRows; in build() 75 return mRows.length; in getRowCount() 86 if (rowIndex < 0 || rowIndex >= mRows.length) { in getRowAt() 89 return mRows[rowIndex]; in getRowAt() 103 final E[][] newRows = (rowIndex < mRows.length) ? mRows in setRowAt() 104 : Arrays.copyOf(mRows, rowIndex + 1); in setRowAt() [all …]
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 28 private final ArrayList<Row> mRows; field in MockSuggestionProviderCursor 32 mRows = new ArrayList<Row>(); in MockSuggestionProviderCursor() 37 mRows.add(row); in addRow() 42 return mRows.get(getPosition()).get(column); in get() 52 return mRows.size(); in getCount() 57 return mRows.get(getPosition()).getDouble(column); in getDouble() 62 return mRows.get(getPosition()).getFloat(column); in getFloat() 67 return mRows.get(getPosition()).getInt(column); in getInt() 72 return mRows.get(getPosition()).getLong(column); in getLong() 77 return mRows.get(getPosition()).getShort(column); in getShort() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | TestTable.java | 35 private Map<Integer, CharSequence> mRows; field in TestTable 39 mRows = new HashMap<>(); in TestTable() 43 assertEquals(expected, mRows.get(keyId)); in assertHasRow() 47 assertNull(mRows.get(keyId)); in assertNotInTable() 52 mRows.put(keyId, value); in put() 57 mRows.put(keyId, value); in put() 67 return mRows.isEmpty(); in isEmpty() 71 assertTrue(mRows.isEmpty()); in assertEmpty() 75 assertFalse(mRows.isEmpty()); in assertNotEmpty()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | TableView.java | 45 private final Map<CharSequence, KeyValueRow> mRows = new HashMap<>(); field in TableView 111 KeyValueRow row = mRows.get(key); in put() 116 mRows.put(key, row); in put() 129 mRows.get(mRes.getString(keyId)).setOnClickListener(callback); in put() 134 return mRows.isEmpty(); in isEmpty()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 137 private int mRows; // Cache (mCount + mColumns - 1) / mColumns field in GridViewSpecial 222 mRows = (mCount + mColumns - 1) / mColumns; in onLayout() 224 mMaxScrollY = mSpec.mCellSpacing + (mRows * mBlockHeight) in onLayout() 297 startRow = Math.max(Math.min(startRow, mRows - 1), 0); in moveDataWindow() 298 endRow = Math.max(Math.min(endRow, mRows), 0); in moveDataWindow() 666 startRow = Math.max(Math.min(startRow, mRows - 1), 0); in paintDecoration() 667 endRow = Math.max(Math.min(endRow, mRows), 0); in paintDecoration() 737 private final int mRows; // Cache (mCount + mColumns - 1) / mColumns field in ImageBlockManager 760 mRows = (mCount + mColumns - 1) / mColumns; in ImageBlockManager() 819 if (after >= mRows && before < 0) { in continueLoading() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | GridTileDrawable.java | 25 private final int mRows; field in GridTileDrawable 35 mRows = rows; in GridTileDrawable() 45 mCellSize = (float) bounds.height() / mRows; in onBoundsChange() 55 for (int r = 0; r < mRows; r++) { in draw()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalView.java | 55 private int mRows; field in TerminalView 186 return mRows + mScrollRows; 257 final boolean sizeChanged = (rows != mRows || cols != mCols || scrollRows != mScrollRows); in onSizeChanged() 261 mRows = rows; in onSizeChanged() 289 mRows = mTerm.getRows(); in setTerminal()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierImplTest.java | 100 private List<CallLogRow> mRows; field in MissedCallNotifierImplTest.MockMissedCallCursorBuilder 103 mRows = new LinkedList<>(); in MockMissedCallCursorBuilder() 104 mRows.add(null); in MockMissedCallCursorBuilder() 108 mRows.add(new CallLogRow(number, presentation, date)); in addEntry() 115 mRows.remove(0); in build() 116 return mRows.size() > 0; in build() 119 .thenAnswer(unused -> mRows.get(0).number); in build() 121 .thenAnswer(unused -> mRows.get(0).presentation); in build() 123 .thenAnswer(unused -> mRows.get(0).date); in build()
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 145 dimen_t mRows; member in android::Terminal 259 mCallbacks(callbacks), mRows(25), mCols(80), mKilled(false), in Terminal() 268 mVt = vterm_new(mRows, mCols); in Terminal() 316 struct winsize size = { mRows, mCols, 0, 0 }; in run() 414 mRows = rows; in resize() 511 if ((size_t) pos.row >= mRows) { in getCellLocked() 525 return mRows; in getRows()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 54 private List<Object> mRows = new ArrayList<>(); field in MockContentProvider.Query 117 mRows.add(values); in returnRow() 122 mRows.add(row); in returnRow() 127 mRows.clear(); in returnEmptyCursor() 174 for (Object row : mRows) { in getResult()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 75 private FloatingHeaderRow[] mRows = FloatingHeaderRow.NO_ROWS; field in AppsDividerView 106 mRows = rows; in setup() 132 for (FloatingHeaderRow row : mRows) { in updateDividerType()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/ |
D | GridFragment.java | 228 private final int mRows; field in GridFragment.GridPreviewPage 238 mRows = rows; in GridPreviewPage()
|