Home
last modified time | relevance | path

Searched refs:getCursorInt (Results 1 – 13 of 13) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentFilters.java18 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
52 int flags = getCursorInt(c, Document.COLUMN_FLAGS); in isSharableInO()
63 int flags = getCursorInt(c, Document.COLUMN_FLAGS); in isSharablePreO()
75 int flags = getCursorInt(c, Document.COLUMN_FLAGS); in isVirtual()
83 int flags = getCursorInt(c, Document.COLUMN_FLAGS); in isNotMovable()
DDocumentInfo.java163 final UserId userId = UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)); in fromDirectoryCursor()
182 this.flags = getCursorInt(cursor, Document.COLUMN_FLAGS); in updateFromCursor()
185 this.icon = getCursorInt(cursor, Document.COLUMN_ICON); in updateFromCursor()
413 public static int getCursorInt(Cursor cursor, String columnName) { in getCursorInt() method in DocumentInfo
439 return UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)); in getUserId()
DRootInfo.java21 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
232 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor()
233 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java196 int size = DocumentInfo.getCursorInt(cursor, Document.COLUMN_SIZE); in testSort_sizes_ascending()
219 int size = DocumentInfo.getCursorInt(cursor, Document.COLUMN_SIZE); in testSort_sizes_descending()
270 int size = DocumentInfo.getCursorInt(c, Document.COLUMN_SIZE); in testSort_sizesWithBucketing_ascending()
321 int size = DocumentInfo.getCursorInt(c, Document.COLUMN_SIZE); in testSort_sizesWithBucketing_descending()
423 seen.set(DocumentInfo.getCursorInt(cursor, Document.COLUMN_DOCUMENT_ID)); in testSort_type_ascending()
455 seen.set(DocumentInfo.getCursorInt(cursor, Document.COLUMN_DOCUMENT_ID)); in testSort_type_descending()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
133 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onBindViewHolder()
134 final int userIdIdentifier = getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID); in onBindViewHolder()
DDocsSelectionPredicate.java20 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
71 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in canSetStateForKey()
DSelectionMetadata.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
84 final int docFlags = getCursorInt(cursor, Document.COLUMN_FLAGS); in onItemStateChanged()
DGridPhotoHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
143 UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)), in bind()
DGridDocumentHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
161 UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)), in bind()
DListDocumentHolder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
196 UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)), in bind()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModelId.java3 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
18 return ModelId.build(UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)), in build()
DAbstractActionHandler.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
305 int docFlags = getCursorInt(cursor, DocumentsContract.Document.COLUMN_FLAGS); in selectAllFiles()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java19 import static com.android.documentsui.base.DocumentInfo.getCursorInt;
216 userId = UserId.of(getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID)); in collectViewableUris()