Lines Matching refs:projection
76 private static String[] resolveRootProjection(String[] projection) {
77 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
80 private static String[] resolveDocumentProjection(String[] projection) {
81 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION;
94 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
95 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
154 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException {
155 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
178 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder)
180 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
201 String parentDocumentId, String[] projection, String sortOrder)
203 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
223 public Cursor queryRecentDocuments(String rootId, String[] projection)
225 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));