Searched refs:projection (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoPagerLoader.java35 Context context, Uri photosUri, String[] projection) {
38 mProjection = projection != null ? projection : PhotoContract.PhotoQuery.PROJECTION;
34 PhotoPagerLoader( Context context, Uri photosUri, String[] projection) argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java208 * @param projection list of {@link Root} columns to put into the cursor. If
211 public abstract Cursor queryRoots(String[] projection) throws FileNotFoundException; argument
220 * @param projection list of {@link Document} columns to put into the
226 public Cursor queryRecentDocuments(String rootId, String[] projection) argument
236 * @param projection list of {@link Document} columns to put into the
240 public abstract Cursor queryDocument(String documentId, String[] projection) argument
257 * @param projection list of {@link Document} columns to put into the
271 String parentDocumentId, String[] projection, String sortOrder)
277 String parentDocumentId, String[] projection, String sortOrder)
295 * @param projection lis
270 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument
276 queryChildDocumentsForManage( String parentDocumentId, String[] projection, String sortOrder) argument
303 querySearchDocuments(String rootId, String query, String[] projection) argument
390 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
H A DCalendarContract.java870 * @param projection the columns to return in the cursor
873 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { argument
875 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */,
1744 * @param projection The columns to return
1751 public static final Cursor query(ContentResolver cr, String[] projection, argument
1756 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED,
1769 * @param projection The columns to return
1780 public static final Cursor query(ContentResolver cr, String[] projection, argument
1786 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED,
2026 * @param projection th
2030 query(ContentResolver cr, int startDay, int numDays, String[] projection) argument
2114 query(ContentResolver cr, long eventId, String[] projection) argument
[all...]
H A DMediaStore.java777 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { argument
778 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER);
781 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, argument
783 return cr.query(uri, projection, where,
787 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, argument
789 return cr.query(uri, projection, selection,
980 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { argument
981 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER);
985 String[] projection) {
986 return cr.query(uri, projection, "kin
984 queryMiniThumbnails(ContentResolver cr, Uri uri, int kind, String[] projection) argument
989 queryMiniThumbnail(ContentResolver cr, long origId, int kind, String[] projection) argument
1871 query(ContentResolver cr, Uri uri, String[] projection) argument
[all...]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java103 private static String[] resolveRootProjection(String[] projection) { argument
104 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
107 private static String[] resolveDocumentProjection(String[] projection) { argument
108 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION;
200 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument
201 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
257 public Cursor queryDocument(String documentId, String[] projection) argument
259 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
265 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument
277 querySearchDocuments(String rootId, String query, String[] projection) argument
[all...]
H A DTestDocumentsProvider.java88 private static String[] resolveRootProjection(String[] projection) { argument
89 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
92 private static String[] resolveDocumentProjection(String[] projection) { argument
93 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION;
105 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument
125 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
138 public Cursor queryDocument(String documentId, String[] projection) argument
142 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
208 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument
278 queryRecentDocuments(String rootId, String[] projection) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSearchRecentSuggestionsProvider.java319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
358 if (projection != null && projection.length > 0) {
359 useProjection = new String[projection.length + 1];
360 System.arraycopy(projection, 0, useProjection, 0, projection.length);
361 useProjection[projection.length] = "_id AS _id";
H A DCursorLoader.java134 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
139 mProjection = projection;
203 public void setProjection(String[] projection) { argument
204 mProjection = projection;
H A DAsyncQueryHandler.java51 public String[] projection; field in class:AsyncQueryHandler.WorkerArgs
79 cursor = resolver.query(args.uri, args.projection,
151 * @param projection A list of which columns to return. Passing null will
165 String[] projection, String selection, String[] selectionArgs,
174 args.projection = projection;
164 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
H A DContentProviderOperation.java228 String[] projection = null;
230 // Build projection map from expected values
235 projection = projectionList.toArray(new String[projectionList.size()]);
237 final Cursor cursor = provider.query(mUri, projection, mSelection, selectionArgs, null);
240 if (projection != null) {
242 for (int i = 0; i < projection.length; i++) {
244 final String expectedValue = values.getAsString(projection[i]);
250 + projection[i]);
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java97 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
102 mProjection = projection;
166 public void setProjection(String[] projection) { argument
167 mProjection = projection;
H A DFileProvider.java394 * @param projection The list of columns to put into the {@link Cursor}. If null all columns are
409 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
414 if (projection == null) {
415 projection = COLUMNS;
418 String[] cols = new String[projection.length];
419 Object[] values = new Object[projection.length];
421 for (String col : projection) {
/frameworks/ex/chips/src/com/android/ex/chips/
H A DQueries.java80 public Query (String[] projection, Uri contentFilter, Uri content) { argument
81 mProjection = projection;
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteQueryBuilder.java125 * Sets the projection map for the query. The projection map maps
129 * could map "name" to "people.name". If a projection map is set
154 * non-numeric limits will raise an exception. If a projection map is specified, fields
166 * <li>Use a projection map</li>
447 String[] projection = computeProjection(projectionIn);
469 mDistinct, mTables, projection, where.toString(),
613 String[] projection = new String[projectionIn.length];
621 projection[i] = column;
628 projection[
[all...]
H A DSqliteWrapper.java57 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/libs/hwui/
H A DProgram.cpp89 projection = addUniform("projection");
168 glUniformMatrix4fv(projection, 1, GL_FALSE, &projectionMatrix.data[0]);
177 glUniformMatrix4fv(projection, 1, GL_FALSE, &p.data[0]);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java111 public Cursor query(Uri uri, String[] projection, String selection, argument
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java69 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsProvider.java153 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
159 return db.query(TABLE_RECENT, projection, RecentColumns.TIMESTAMP + ">" + cutoff,
165 return db.query(TABLE_STATE, projection, StateColumns.AUTHORITY + "=? AND "
170 return db.query(TABLE_RESUME, projection, ResumeColumns.PACKAGE_NAME + "=?",
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument

Completed in 513 milliseconds

123