Home
last modified time | relevance | path

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

/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
DAssetProvider.java131 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
140 if (projection == null) { in query()
141 projection = new String[]{ in query()
147 MatrixCursor matrixCursor = new MatrixCursor(projection, 1); in query()
148 Object[] row = new Object[projection.length]; in query()
149 for (int col = 0; col < projection.length; col++) { in query()
150 if (OpenableColumns.DISPLAY_NAME.equals(projection[col])) { in query()
152 } else if (OpenableColumns.SIZE.equals(projection[col])) { in query()
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/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 …]
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageProvider.java87 public Cursor query(Uri uri, String[] projection, Bundle queryArgs, in query() argument
98 MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in query()
169 private static String[] resolveDocumentProjection(String[] projection) { in resolveDocumentProjection() argument
170 return projection != null ? projection : ImageContract.PROJECTION_ALL; in resolveDocumentProjection()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageProvider.kt53 override fun query(uri: Uri, projection: Array<String>?, queryArgs: Bundle, in query()
63 val result = MatrixCursor(resolveDocumentProjection(projection)) in query()
227 private fun resolveDocumentProjection(projection: Array<String>?): Array<String> { in resolveDocumentProjection()
228 return projection ?: ImageContract.PROJECTION_ALL in resolveDocumentProjection()
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/
DLocationDbHelper.java108 String[] projection = { in read() local
121 projection, // The columns to return in read()
/developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/
DScreenCaptureFragment.java24 import android.media.projection.MediaProjection;
25 import android.media.projection.MediaProjectionManager;
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java64 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query() argument
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java119 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/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()
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
DWeatherDataProvider.java83 public synchronized Cursor query(Uri uri, String[] projection, String selection, in query() argument
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...