Home
last modified time | relevance | path

Searched refs:mRows (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java32 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/
DMockSuggestionProviderCursor.java28 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/Gallery/src/com/android/camera/
DGridViewSpecial.java137 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/Terminal/src/com/android/terminal/
DTerminalView.java55 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/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp147 dimen_t mRows; member in android::Terminal
270 mCallbacks(callbacks), mRows(25), mCols(80), mKilled(false), in Terminal()
279 mVt = vterm_new(mRows, mCols); in Terminal()
327 struct winsize size = { mRows, mCols, 0, 0 }; in run()
423 mRows = rows; in resize()
520 if ((size_t) pos.row >= mRows) { in getCellLocked()
534 return mRows; in getRows()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java51 private List<Object> mRows = new ArrayList<>(); field in MockContentProvider.Query
105 mRows.add(values); in returnRow()
110 mRows.add(row); in returnRow()
115 mRows.clear(); in returnEmptyCursor()
158 for (Object row : mRows) { in getResult()