Home
last modified time | relevance | path

Searched refs:COLUMN_SIZE (Results 1 – 25 of 25) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DReadableArchiveTest.java130 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
138 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
146 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
165 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
184 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_NoDirs()
202 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_NoDirs()
233 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_EmptyDirs()
247 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_EmptyDirs()
261 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_EmptyDirs()
314 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryDocument()
[all …]
DWriteableArchiveTest.java163 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory()
178 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory()
213 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddFile()
245 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddFile()
DResourcesProvider.java53 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
102 row.add(Document.COLUMN_SIZE, 0); in queryDocument()
157 row.add(Document.COLUMN_SIZE, fd.getLength()); in includeDocument()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java63 Document.COLUMN_SIZE,
126 row.add(Document.COLUMN_SIZE, rand.nextInt()); in setUp()
196 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()
236 row.add(Document.COLUMN_SIZE, i); in testSort_sizesWithBucketing_ascending()
270 int size = DocumentInfo.getCursorInt(c, Document.COLUMN_SIZE); in testSort_sizesWithBucketing_ascending()
288 row.add(Document.COLUMN_SIZE, i); in testSort_sizesWithBucketing_descending()
321 int size = DocumentInfo.getCursorInt(c, Document.COLUMN_SIZE); in testSort_sizesWithBucketing_descending()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestRootProvider.java51 Document.COLUMN_SIZE,
87 row.add(Document.COLUMN_SIZE, 0); in addFile()
101 row.add(Document.COLUMN_SIZE, 0); in addFolder()
DInspectorProvider.java138 row.add(Document.COLUMN_SIZE, size); in addFileWithSize()
DStubProvider.java85 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
664 row.add(Document.COLUMN_SIZE, document.file.length()); in includeDocument()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java123 private static final String COLUMN_SIZE = "size"; field in WidgetPreviewLoader.CacheDb
138 COLUMN_SIZE + " TEXT NOT NULL, " + in onCreateTable()
143 … "PRIMARY KEY (" + COLUMN_COMPONENT + ", " + COLUMN_USER + ", " + COLUMN_SIZE + ") " + in onCreateTable()
152 values.put(CacheDb.COLUMN_SIZE, key.size); in writeToDb()
263 + CacheDb.COLUMN_SIZE + " = ?", in readFromDb()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestModel.java41 Document.COLUMN_SIZE,
125 row.add(Document.COLUMN_SIZE, doc.size); in addToCursor()
DTestDocumentsProvider.java47 Document.COLUMN_SIZE,
129 .add(Document.COLUMN_SIZE, doc.size) in createDocumentsCursor()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java54 Document.COLUMN_SIZE,
91 row.add(Document.COLUMN_SIZE, rand.nextInt()); in setUp()
/packages/apps/Traceur/src/com/google/android/traceur/
DStorageProvider.java64 Document.COLUMN_SIZE,
119 row.add(Document.COLUMN_SIZE, file.length()); in queryDocument()
/packages/apps/Email/provider_src/com/android/email/
DAttachmentInfo.java53 public static final int COLUMN_SIZE = 1; field in AttachmentInfo
97 this(context, c.getLong(COLUMN_ID), c.getLong(COLUMN_SIZE), c.getString(COLUMN_FILENAME), in AttachmentInfo()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java62 Document.COLUMN_SIZE,
285 row.add(Document.COLUMN_SIZE, entry.getSize()); in addCursorRow()
DArchivesProvider.java196 row.add(Document.COLUMN_SIZE, 0); in queryDocument()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java76 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
190 row.add(Document.COLUMN_SIZE, document.size); in includeDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortModel.java258 new String[]{ Document.COLUMN_SIZE }); in addQuerySortArgs()
309 columnName = Document.COLUMN_SIZE; in getDocumentSortQuery()
DSortingCursorWrapper.java85 longValues[i] = getCursorLong(mCursor, Document.COLUMN_SIZE); in SortingCursorWrapper()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java451 Document.COLUMN_SIZE, in copyDirectoryHelper()
697 Document.COLUMN_SIZE in calculateFileSizesRecursively()
713 long size = getCursorLong(cursor, Document.COLUMN_SIZE); in calculateFileSizesRecursively()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridPhotoHolder.java142 Formatter.formatFileSize(mContext, getCursorLong(cursor, Document.COLUMN_SIZE)); in bind()
DGridDocumentHolder.java178 final long docSize = getCursorLong(cursor, Document.COLUMN_SIZE); in bind()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java104 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
1069 row.add(Document.COLUMN_SIZE, cursor.getLong(ImageQuery.SIZE)); in includeImage()
1129 row.add(Document.COLUMN_SIZE, cursor.getLong(VideoQuery.SIZE)); in includeVideo()
1201 row.add(Document.COLUMN_SIZE, cursor.getLong(SongQuery.SIZE)); in includeAudio()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java171 this.size = getCursorLong(cursor, Document.COLUMN_SIZE); in updateFromCursor()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java94 Document.COLUMN_SIZE,
717 row.add(Document.COLUMN_SIZE, size == -1 ? null : size); in includeDownload()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java502 Document.COLUMN_SIZE, in getTestModel()