Searched refs:projection (Results 101 - 125 of 134) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/notification/
H A DCalendarTracker.java96 final String[] projection = { Calendars._ID,
101 cursor = mUserContext.getContentResolver().query(Calendars.CONTENT_URI, projection,
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierIdentifierTest.java196 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
200 logd(" projection = " + Arrays.toString(projection));
H A DContextFixture.java126 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
131 MatrixCursor cursor = new MatrixCursor(projection);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java398 final String[] projection;
401 projection = Queries.EMAIL.getProjection();
416 projection = Queries.PHONE.getProjection();
433 .append(projection[Queries.Query.CONTACT_ID])
439 uri, projection, selection, new String[] {String.valueOf(contactId)}, null);
441 cursor = new MatrixCursor(projection);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java454 public Cursor query(Uri uri, String[] projection, String where, String[] whereArgs, argument
461 String[] normalizedProjection = normalizeProjection(projection);
474 return getAllGlobalSettings(projection);
484 return getAllSecureSettings(userId, projection);
494 return getAllSystemSettings(userId, projection);
929 private Cursor getAllGlobalSettings(String[] projection) { argument
944 String[] normalizedProjection = normalizeProjection(projection);
1068 private Cursor getAllSecureSettings(int userId, String[] projection) { argument
1088 String[] normalizedProjection = normalizeProjection(projection);
1381 private Cursor getAllSystemSettings(int userId, String[] projection) { argument
1965 packageSettingForQuery(Setting setting, String[] projection) argument
1974 normalizeProjection(String[] projection) argument
[all...]
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
H A DPreviewProgramTest.java377 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { argument
378 MatrixCursor cursor = new MatrixCursor(projection);
380 for (String col : projection) {
/frameworks/support/content/src/main/java/androidx/contentpager/content/
H A DContentPager.java94 * projection they'll use in their app. The total number of records that will fit into shared
97 * <li>The number of columns being requested in the cursor projection. Limit the number
142 * <p>Note that projection is ignored when determining the identity of a query. When
143 * adding or removing projection, clients should call {@link #reset()} to clear
262 * @param projection A list of which columns to return. Passing null will return
264 * so it is best to supply a projection.
276 @Nullable String[] projection,
285 Query query = new Query(uri, projection, queryArgs, cancellationSignal, callback);
274 query( @onNull @equiresPermission.Read Uri uri, @Nullable String[] projection, @NonNull Bundle queryArgs, @Nullable CancellationSignal cancellationSignal, @NonNull ContentCallback callback) argument
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java171 // A projection map used to select columns from the database
193 // Create and initialize projection map for all columns. This is
214 public Cursor query(Uri uri, String[] projection, String selection, argument
246 Cursor c = qb.query(db, projection, selection, selectionArgs,
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java171 // A projection map used to select columns from the database
193 // Create and initialize projection map for all columns. This is
214 public Cursor query(Uri uri, String[] projection, String selection, argument
246 Cursor c = qb.query(db, projection, selection, selectionArgs,
/frameworks/base/core/tests/coretests/src/android/provider/
H A DMockFontProvider.java243 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/frameworks/base/libs/hwui/
H A DProgram.h367 * Binds the program with the specified projection, modelView and
389 * Name of the projection uniform.
391 int projection; member in class:android::Program
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DPojoProcessor.kt479 val projectionInput = AnnotationMirrors.getAnnotationValue(annotation, "projection")
481 val projection = if (projectionInput.isEmpty()) {
482 // we need to infer the projection from inputs.
485 // make sure projection makes sense
496 projection = projection
515 * Create the projection column list based on the relationship args.
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java850 String[] projection = new String[] {MediaStore.MediaColumns.DATA};
853 cursor = mContext.getContentResolver().query(uri, projection, null,
/frameworks/rs/script_api/
H A Drs_graphics.spec798 arg: rs_matrix4x4* proj, "matrix to store the current projection matrix into"
800 summary: Get the projection matrix for a fixed function vertex program
802 Get the projection matrix for a currently bound fixed function
826 arg: const rs_matrix4x4* proj, "projection matrix"
828 summary: Load the projection matrix for a bound fixed function vertex program
830 Load the projection matrix for a currently bound fixed function
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
H A DMockFontProvider.java296 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
H A DWorkSpec.java340 projection = {"tag"})
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp68 c->transforms.projection.init(OGLES_PROJECTION_STACK_DEPTH);
90 c->transforms.projection.uninit();
126 // Validate the projection stack (in fact, it's never needed)
128 c->transforms.projection.validate();
202 // find out if this is a 2D projection
508 matrixf_t::multiply(temp_mvp, projection.top(), modelview.top());
907 stack = &c->transforms.projection;
H A Dcontext.h497 matrix_stack_t projection; member in struct:android::gl::transform_state_t
500 // modelview * projection
H A Dstate.cpp468 c->transforms.projection.top().elements(),
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
H A DPojoProcessorTest.kt497 @Relation(parentColumn = "id", entityColumn = "uid", projection={"i_dont_exist"})
526 @Relation(parentColumn = "id", entityColumn = "uid", projection={"uid"},
533 assertThat(rel.projection, `is`(listOf("uid")))
543 @Relation(parentColumn = "id", entityColumn = "uid", projection={"name"},
550 assertThat(rel.projection, `is`(listOf("name")))
812 projection = "name")
/frameworks/base/core/java/android/app/
H A DDownloadManager.java896 * @param projection the projection to pass to ContentResolver.query()
899 Cursor runQuery(ContentResolver resolver, String[] projection, Uri baseUri) { argument
955 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDatabase.java284 * @param projection
287 Cursor queryDocument(String documentId, String[] projection) { argument
290 projection,
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DRelationCollector.kt206 val rowAdapter = if (relation.projection.size == 1 && resultInfo != null &&
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDcTrackerTest.java192 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
196 logd(" projection = " + Arrays.toString(projection));
204 if (projection == null && selectionArgs == null && selection != null) {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java156 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,

Completed in 2668 milliseconds

123456