Searched defs:columns (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
H A DFolderPropertiesTests.java33 private static Cursor buildCursor(String[] columns, Object... values) { argument
34 MatrixCursor c = new MatrixCursorWithCachedColumns(columns, 1);
103 String[] columns = new String[] {MailboxColumns.ID, MailboxColumns.TYPE,
108 fp.getDisplayName(buildCursor(columns, 1, Mailbox.TYPE_INBOX, "ignored"))
113 fp.getDisplayName(buildCursor(columns, 1, Mailbox.TYPE_MAIL, "name"))
150 String[] columns = new String[] {MailboxColumns.TYPE, MailboxColumns.UNREAD_COUNT,
155 fp.getMessageCount(buildCursor(columns, Mailbox.TYPE_INBOX, 1, 2))
159 fp.getMessageCount(buildCursor(columns, Mailbox.TYPE_MAIL, 1, 2))
164 fp.getMessageCount(buildCursor(columns, Mailbox.TYPE_DRAFTS, 1, 2))
168 fp.getMessageCount(buildCursor(columns, Mailbo
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DEmptyCursor.java32 public EmptyCursor(String[] columns) { argument
33 this.mColumns = columns;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackDBHelper.java69 protected static void createTable(SQLiteDatabase db, String table, String[][] columns) { argument
73 for (String[] column : columns) {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockSuggestionProviderCursor.java30 public MockSuggestionProviderCursor(String[] columns) { argument
31 mColumns = columns;
94 throw new IllegalArgumentException("Too many columns");
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoDatabase.java136 protected static void createTable(SQLiteDatabase db, String table, List<String[]> columns) { argument
140 for (String[] column : columns) {
173 protected static void addToTable(List<String[]> createTable, String[][] columns, String[][] constraints) { argument
174 if (columns != null) {
175 for (String[] column: columns) {
H A DPhotoProvider.java67 * Contains columns that can be accessed via Accounts.CONTENT_URI
85 * Contains columns that can be accessed via Photos.CONTENT_URI.
130 * Contains columns and Uri for accessing album information.
167 * Contains columns and Uri for accessing photo and video metadata
518 protected Cursor query(String table, String[] columns, String selection, argument
522 return db.query(false, table, columns, selection, selectionArgs, null, null,
525 return db.query(table, columns, selection, selectionArgs, null, null, orderBy);
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
H A DPartialSuggestionProvider.java65 MutableMatrixCursor(String[] columns) { argument
66 super(columns);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DEntrySchema.java52 ColumnInfo[] columns = parseColumnInfo(clazz);
54 mColumnInfo = columns;
56 // Cache the list of projection columns and check for full-text columns.
59 if (columns != null) {
60 projection = new String[columns.length];
61 for (int i = 0; i != columns.length; ++i) {
62 ColumnInfo column = columns[i];
330 // Create indexes for all indexed columns.
332 // Create an index on the indexed columns
472 parseColumnInfo(Class<? extends Object> clazz, ArrayList<ColumnInfo> columns) argument
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java550 * characters in left-to-right, top-to-bottom fashion, using the specified number of columns.
552 * <p>If the specified number of columns is -1, then the keyboard will fit as many keys as
558 * @param columns the number of columns of keys to display. If this number is greater than the
563 CharSequence characters, int columns, int horizontalPadding) {
576 final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns;
562 Keyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding) argument
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java208 // We determine number of cells (columns) first, then the left and right
748 int columns, int blockWidth, Bitmap outline) {
755 mColumns = columns;
926 // Return number of columns in the given row. (This could be less than
1015 int columns = numColumns(mRow);
1018 int needMask = ((1 << columns) - 1)
1028 for (int col = 0; col < columns; col++) {
744 ImageBlockManager(Handler handler, Runnable redrawCallback, IImageList imageList, ImageLoader loader, GridViewSpecial.DrawAdapter adapter, GridViewSpecial.LayoutSpec spec, int columns, int blockWidth, Bitmap outline) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java177 // MUST be used, as upgraded raw_contacts may have the account info columns too.
242 // MUST be used, as upgraded raw_contacts may have the account info columns too.
2385 // per-database "is profile" columns.
3688 // We should remove the restricted columns here as well, but unfortunately SQLite doesn't
3695 // will have those columns, but that shouldn't hurt. Unfortunately, SQLite makes it hard
3696 // to remove columns)
3739 // and re-creating them to get appropriate columns. The delta is as follows:
3743 // - Added sync columns
3778 // Old calls will not have up to date values for these columns, they will be filled in
4124 ** columns
5001 isInProjection(String[] projection, String... columns) argument
[all...]
H A DContactsProvider2.java576 * If any of these columns are used in a Data projection, there is no point in
725 /** Contains just the contacts columns */
735 /** Contains just the contacts columns */
758 * users to obtain part of Data columns. We hard-code {@link Contacts#IS_USER_PROFILE} to NULL,
775 /** Contains just the contacts vCard columns */
782 /** Contains just the raw contacts columns */
810 /** Contains the columns from the raw entity view*/
823 /** Contains the columns from the contact entity view*/
840 /** Contains columns in PhoneLookup which are not contained in the data view. */
848 /** Contains columns fro
8276 copyQueryParamsToContentValues(ContentValues values, Uri uri, String... columns) argument
[all...]

Completed in 263 milliseconds