Home
last modified time | relevance | path

Searched refs:mColumns (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java123 private int mColumns; field in GridViewSpecial
215 mColumns = 1 + (width - mSpec.mCellWidth) in onLayout()
219 - ((mColumns - 1) * mSpec.mCellSpacing) in onLayout()
220 - (mColumns * mSpec.mCellWidth)) / 2; in onLayout()
222 mRows = (mCount + mColumns - 1) / mColumns; in onLayout()
238 mAllImages, mLoader, mDrawAdapter, mSpec, mColumns, width, in onLayout()
503 int row = pos / mColumns; in getRectForPosition()
504 int col = pos - (row * mColumns); in getRectForPosition()
524 int col = Math.min(mColumns - 1, in computeSelectedIndex()
526 return (row * mColumns) + col; in computeSelectedIndex()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DJsonBackedSuggestionExtras.java34 private final Collection<String> mColumns; field in JsonBackedSuggestionExtras
38 mColumns = new ArrayList<String>(mExtras.length()); in JsonBackedSuggestionExtras()
41 mColumns.add(it.next()); in JsonBackedSuggestionExtras()
47 mColumns = extras.getExtraColumnNames(); in JsonBackedSuggestionExtras()
68 return mColumns; in getExtraColumnNames()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java27 private final String[] mColumns; field in MockSuggestionProviderCursor
31 mColumns = columns; in MockSuggestionProviderCursor()
47 return mColumns; in getColumnNames()
93 if (values.length > mColumns.length) { in Row()
96 mValues = new Object[mColumns.length]; in Row()
/packages/apps/Dialer/java/com/android/contacts/common/database/
DEmptyCursor.java30 private String[] mColumns; field in EmptyCursor
33 this.mColumns = columns; in EmptyCursor()
43 return mColumns; in getColumnNames()
/packages/apps/Contacts/src/com/android/contacts/database/
DEmptyCursor.java30 private String[] mColumns; field in EmptyCursor
33 this.mColumns = columns; in EmptyCursor()
43 return mColumns; in getColumnNames()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java306 private String[] mColumns; field in DataModel.QueryTask
318 mColumns = builder.mColumns; in QueryTask()
340 cursor = mResolver.query(uri, mColumns, mWhereClause, mWhereArgs, null); in doInBackground()
399 private String[] mColumns; field in DataModel.QueryTask.Builder
411 mColumns = columns; in setColumns()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java68 private final HashMap<String, TableColumn> mColumns = new HashMap<String, TableColumn>(); field in BaseDatabaseHelperUpgradeTest.TableStructure
100 mColumns.put(column.name, column); in addColumn()
105 final TableColumn column = mColumns.get(name); in assertHasColumn()
140 if (columns.length != mColumns.size()) { in assertSame()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java583 private final String[] mColumns; field in ChannelDataManagerTest.FakeCursor
587 mColumns = (columns == null) ? allColumns : columns; in FakeCursor()
593 return mColumns[columnIndex]; in getColumnName()
598 for (int i = 0; i < mColumns.length; i++) { in getColumnIndex()
599 if (mColumns[i].equalsIgnoreCase(columnName)) { in getColumnIndex()