Home
last modified time | relevance | path

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

/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/Mms/src/com/android/mms/
DSuggestionsProvider.java94 ArrayList<Row> mRows = new ArrayList<Row>(); field in SuggestionsProvider.SuggestionsCursor
108 mRows.clear(); // assume no results in SuggestionsCursor()
113 return mRows.size(); in getCount()
144 mRows.add(new Row(i, snippet)); in computeRows()
258 if (position >= 0 && position < mRows.size()) { in moveToPosition()
260 mDatabaseCursor.moveToPosition(mRows.get(position).mRowNumber); in moveToPosition()
276 return moveToPosition(mRows.size() - 1); in moveToLast()
297 Row row = mRows.get(mCurrentRow); in getString()
373 return mCurrentRow >= mRows.size(); in isAfterLast()
389 return mCurrentRow == mRows.size() - 1; in isLast()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockContentProvider.java50 private ArrayList<Object> mRows = new ArrayList<Object>(); field in MockContentProvider.Query
104 mRows.add(values); in returnRow()
109 mRows.add(row); in returnRow()
114 mRows.clear(); in returnEmptyCursor()
187 for (Object row : mRows) { in getResult()
/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 …]