Searched refs:projection (Results 51 - 75 of 104) sorted by relevance

12345

/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
63 MatrixCursor matrix = new MatrixCursor(projection);
102 * check the projection to properly match the columns.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHbpcdUtils.java143 String projection[] = {MccIdd.IDD};
144 Cursor cur = resolver.query(MccIdd.CONTENT_URI, projection,
/frameworks/base/services/core/java/com/android/server/am/
H A DDumpHeapProvider.java52 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DProjectionActivity.java65 // TODO: set projection flag
80 setContentView(R.layout.projection);
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java23 import android.media.projection.MediaProjection;
555 return createVirtualDisplay(null /* projection */, name, width, height, densityDpi, surface,
560 public VirtualDisplay createVirtualDisplay(@Nullable MediaProjection projection, argument
564 return mGlobal.createVirtualDisplay(mContext, projection,
H A DDisplayManagerGlobal.java23 import android.media.projection.MediaProjection;
24 import android.media.projection.IMediaProjection;
384 public VirtualDisplay createVirtualDisplay(Context context, MediaProjection projection, argument
396 IMediaProjection projectionToken = projection != null ? projection.getProjection() : null;
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java101 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, argument
105 return MockContentProvider.this.query(url, projection, queryArgs, null);
216 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
H A DMockIContentProvider.java89 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, argument
/frameworks/base/services/core/java/com/android/server/display/
H A DVirtualDisplayAdapter.java29 import android.media.projection.IMediaProjection;
30 import android.media.projection.IMediaProjectionCallback;
84 IMediaProjection projection, int ownerUid, String ownerPackageName, String name,
104 if (projection != null) {
105 projection.registerCallback(new MediaProjectionCallback(appToken));
177 Slog.i(TAG, "Virtual display device released because media projection stopped: "
83 createVirtualDisplayLocked(IVirtualDisplayCallback callback, IMediaProjection projection, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java265 private static String[] resolveRootProjection(String[] projection) { argument
266 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
388 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument
389 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
495 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
502 return querySearchDocuments(parent, query, projection, Collections.emptySet());
/frameworks/base/core/java/android/content/
H A DContentProvider.java211 public Cursor query(String callingPkg, Uri uri, @Nullable String[] projection, argument
222 if (projection != null) {
223 return new MatrixCursor(projection, 0);
226 // Null projection means all columns but we have no idea which they are.
231 uri, projection, queryArgs,
243 uri, projection, queryArgs,
938 projection, // Which columns to return.
959 projection,
972 * @param projection The list of columns to put into the cursor. If
983 public abstract @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument
1054 query(@onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument
1138 query(@onNull Uri uri, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) argument
[all...]
H A DContentProviderNative.java86 // String[] projection
88 String[] projection = null;
90 projection = new String[num];
92 projection[i] = data.readString();
102 Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal);
392 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, argument
404 if (projection != null) {
405 length = projection.length;
409 data.writeString(projection[i]);
H A DContentResolver.java259 * <p>Columns present in this list must also be included in the projection
634 * <li>Provide an explicit projection, to prevent
645 * @param projection A list of which columns to return. Passing null will
660 @Nullable String[] projection, @Nullable String selection,
662 return query(uri, projection, selection, selectionArgs, sortOrder, null);
671 * <li>Provide an explicit projection, to prevent
682 * @param projection A list of which columns to return. Passing null will
700 @Nullable String[] projection, @Nullable String selection,
704 return query(uri, projection, queryArgs, cancellationSignal);
713 * <li>Provide an explicit projection, t
659 query(@equiresPermission.Read @onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument
699 query(@equiresPermission.Read @onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument
734 query(final @RequiresPermission.Read @NonNull Uri uri, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) argument
2851 maybeLogQueryToEventLog( long durationMillis, Uri uri, String[] projection, @Nullable Bundle queryArgs) argument
[all...]
H A DIContentProvider.java38 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, argument
/frameworks/support/tv-provider/tests/src/android/support/media/tv/
H A DProgramTest.java257 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { argument
258 MatrixCursor cursor = new MatrixCursor(projection);
260 for (String row : projection) {
H A DPreviewProgramTest.java372 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { argument
373 MatrixCursor cursor = new MatrixCursor(projection);
375 for (String col : projection) {
H A DWatchNextProgramTest.java350 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { argument
351 MatrixCursor cursor = new MatrixCursor(projection);
353 for (String col : projection) {
/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestFontsProvider.java76 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java320 * contentUri, projection, selection, selectionArgs, sortOrder);
336 * @param projection projection used with
350 public boolean init(final Uri contentUri, final String[] projection, argument
362 if (!initInterCursorCreationPart(contentUri, projection, selection, selectionArgs,
413 final Uri contentUri, final String[] projection,
417 contentUri, projection, selection, selectionArgs, sortOrder);
412 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
/frameworks/base/telephony/java/android/telephony/
H A DTelephony.java304 public static Cursor query(ContentResolver cr, String[] projection) { argument
305 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER);
312 public static Cursor query(ContentResolver cr, String[] projection, argument
314 return cr.query(CONTENT_URI, projection, where,
1978 ContentResolver cr, String[] projection) {
1979 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER);
1987 ContentResolver cr, String[] projection,
1989 return cr.query(CONTENT_URI, projection,
1977 query( ContentResolver cr, String[] projection) argument
1986 query( ContentResolver cr, String[] projection, String where, String orderBy) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DIntents.java38 public static final String EXTRA_PROJECTION = "projection";
116 /** The projection for the query to use; optional */
187 /** Sets the query projection */
188 public PhotoViewIntentBuilder setProjection(String[] projection) { argument
189 mProjection = projection;
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java67 * adb shell content query --uri content://settings/secure --projection name:value
107 + " [--projection <PROJECTION>] [--where <WHERE>] [--sort <SORT_ORDER>]\n"
114 + " adb shell content query --uri content://settings/secure --projection name:value"
147 private static final String ARGUMENT_PROJECTION = "--projection";
345 String[] projection = null;
358 projection = argumentValueRequired(argument).split("[\\s]*:[\\s]*");
367 return new QueryCommand(uri, userId, projection, where, sort);
585 Uri uri, int userId, String[] projection, String where, String sortOrder) {
587 mProjection = projection;
584 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java144 public Cursor query(Uri uri, String[] projection, String selection,
163 public Cursor query(Uri uri, String[] projection, String selection,
179 public Cursor query(Uri uri, String[] projection, String selection,
195 public Cursor query(Uri uri, String[] projection, String selection,
529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/frameworks/rs/script_api/
H A Drs_matrix.spec60 Computes 6 frustum planes from the view projection matrix
262 summary: Load a frustum projection matrix
264 Constructs a frustum projection matrix, transforming the box identified by
267 To apply this projection to a vector, multiply the vector by the created
312 summary: Load an orthographic projection matrix
314 Constructs an orthographic projection matrix, transforming the box identified by the
318 To apply this projection to a vector, multiply the vector by the created matrix
332 summary: Load a perspective projection matrix
334 Constructs a perspective projection matrix, assuming a symmetrical field of view.
336 To apply this projection t
[all...]
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java685 String[] projection,
689 return query(uri, projection, selection, selectionArgs, sortOrder, mContext);
693 String[] projection,
699 return mActivity.managedQuery(uri, projection, selection, selectionArgs, sortOrder);
701 return context.getContentResolver().query(uri, projection, selection, selectionArgs,
758 final String[] projection = {MediaStore.Audio.Media.DATA};
762 try (Cursor cursor = query(uri, projection, constructBooleanTrueWhereClause(mFilterColumns),
684 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
692 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, Context context) argument

Completed in 3118 milliseconds

12345