Home
last modified time | relevance | path

Searched refs:projection (Results 1 – 22 of 22) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/content/
DFileProvider.java48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
58 if (projection == null) { in query()
59 projection = new String[] { in query()
64 for (int i = 0; i < projection.length; i++) { in query()
65 if (OpenableColumns.DISPLAY_NAME.equals(projection[i])) { in query()
68 if (OpenableColumns.SIZE.equals(projection[i])) { in query()
73 MatrixCursor cursor = new MatrixCursor(projection); in query()
74 Object[] result = new Object[projection.length]; in query()
DChangedContacts.java170 String[] projection = new String[]{ in getChangeLoader() local
181 return new CursorLoader(this, ContactsContract.Data.CONTENT_URI, projection, in getChangeLoader()
187 String[] projection = new String[]{ in getDeleteLoader() local
196 return new CursorLoader(this, ContactsContract.DeletedContacts.CONTENT_URI, projection, in getDeleteLoader()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
192 XMLCursor xmlCursor = new XMLCursor(selection, projection); in query()
362 String projection = projections[i + 1]; // +1 to skip the _ID column in createProjectionPattern() local
363 int atIndex = projection.lastIndexOf('@', projection.length()); in createProjectionPattern()
365 mAttributeNames[i] = projection.substring(atIndex+1); in createProjectionPattern()
366 projection = projection.substring(0, atIndex); in createProjectionPattern()
372 if (projection.charAt(0) == '.') { in createProjectionPattern()
373 projection = projection.substring(1); in createProjectionPattern()
375 mProjectionPatterns[i] = createPattern(projection); in createProjectionPattern()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java105 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument
111 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots()
154 public Cursor queryRecentDocuments(String rootId, String[] projection) in queryRecentDocuments() argument
163 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryRecentDocuments()
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument
211 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in querySearchDocuments()
260 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
265 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument()
273 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
280 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryChildDocuments()
[all …]
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java106 private static String[] resolveRootProjection(String[] projection) { in resolveRootProjection() argument
107 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; in resolveRootProjection()
110 private static String[] resolveDocumentProjection(String[] projection) { in resolveDocumentProjection() argument
111 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION; in resolveDocumentProjection()
204 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument
205 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots()
449 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
451 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument()
464 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
467 resolveDocumentProjection(projection)); in queryChildDocuments()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessageReceiver.java46 String[] projection; in onReceive() local
54 projection = new String[] { ContactsContract.PhoneLookup.DISPLAY_NAME }; in onReceive()
57 Cursor cursor = context.getContentResolver().query(uri, projection, null, null, null); in onReceive()
DMmsFileProvider.java44 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java243 String[] projection, in query() argument
257 projection, in query()
268 projection, in query()
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java17 package com.example.android.apis.media.projection;
27 import android.media.projection.MediaProjection;
28 import android.media.projection.MediaProjectionManager;
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactManager.java105 String[] projection = new String[] { in getContacts() local
114 return managedQuery(uri, projection, selection, selectionArgs, sortOrder); in getContacts()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java108 String[] projection = { in read() local
121 projection, // The columns to return in read()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java134 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
159 projection, in query()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java24 import android.media.projection.MediaProjection;
25 import android.media.projection.MediaProjectionManager;
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
106 Cursor c = builder.query(db, projection, sortOrder); in query()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java64 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query() argument
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java119 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderThrottle.java211 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
243 Cursor c = qb.query(db, projection, selection, selectionArgs, in query()
DAlertDialogSamples.java287 String[] projection = new String[] { in onCreateDialog() field in AlertDialogSamples
293 projection, null, null, null); in onCreateDialog()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java226 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
280 projection, // The columns to return from the query in query()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherDataProvider.java88 public synchronized Cursor query(Uri uri, String[] projection, String selection, in query() argument
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryProvider.java89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv687 …XdMoRQSBR9ihKBANuA@fakeemail.com,"Fixing layout of security, sensors & projection in CTS Verifier."
1447 …XdMoRQSBR9ihKBANuA@fakeemail.com,"Fixing layout of security, sensors & projection in CTS Verifier."
3889 …DTtKjTjC86wH0Nw@fakeemail.com,add more execution time to embedded devices in media projection tests
17020 …4XmHSlQ@fakeemail.com,some simplifications of the TrueType interpreter projection code (preliminar…
33050 …/apps/Settings,fake_XuUDkfo4Q76erhM4E5hFMg@fakeemail.com,Render enhanced battery projection curves.
34047 …s/Settings,fake_XuUDkfo4Q76erhM4E5hFMg@fakeemail.com,Implement general projection curve support fo…
46347 …al/mesa3d,fake_CrVVXYJKTqGti4YhqzuZhA@fakeemail.com,vc4: Fix scaling W projection of the Z coordin…
60919 …external/mesa3d,fake_GPrFgw1WSAm8VfE_vxregw@fakeemail.com,tgsi: handle projection modifier for arr…
67169 …mesa3d,fake_CrVVXYJKTqGti4YhqzuZhA@fakeemail.com,vc4: Just use NIR lowering for texture projection.
69431 …ke_MVKCSWSCRQa0jK6oYiO_KQ@fakeemail.com,meta: Set correct viewport and projection in decompress_te…
[all …]