Home
last modified time | relevance | path

Searched refs:rootInfo (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java131 final RootInfo rootInfo = new RootInfo(file, getSize(rootId)); in clearCacheAndBuildRoots() local
134 rootInfo.setSearchEnabled(false); in clearCacheAndBuildRoots()
137 mStorage.put(rootInfo.document.documentId, rootInfo.document); in clearCacheAndBuildRoots()
138 mRoots.put(rootId, rootInfo); in clearCacheAndBuildRoots()
214 document.rootInfo.size -= fileSize; in deleteDocument()
457 bytesToRead = (int) Math.min(document.rootInfo.getRemainingCapacity(), in startWrite()
468 document.rootInfo.size += bytesRead; in startWrite()
804 public final RootInfo rootInfo; field in StubProvider.StubDocument
814 this.rootInfo = parent.rootInfo; in StubDocument()
817 private StubDocument(File file, RootInfo rootInfo) { in StubDocument() argument
[all …]
DDocumentsProviderHelper.java353 RootInfo rootInfo = RootInfo.fromRootsCursor(mAuthority, cursor); in getRootList() local
354 if (rootInfo != null) { in getRootList()
355 list.add(rootInfo); in getRootList()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DGlobalSearchLoader.java99 protected Uri getQueryUri(RootInfo rootInfo) { in getQueryUri() argument
103 rootInfo.rootId, "" /* query */); in getQueryUri()
107 protected RootCursorWrapper generateResultCursor(RootInfo rootInfo, Cursor oriCursor) { in generateResultCursor() argument
108 return new RootCursorWrapper(authority, rootInfo.rootId, oriCursor, -1 /* maxCount */); in generateResultCursor()
DRecentsLoader.java79 protected Uri getQueryUri(RootInfo rootInfo) { in getQueryUri() argument
80 return DocumentsContract.buildRecentDocumentsUri(authority, rootInfo.rootId); in getQueryUri()
84 protected RootCursorWrapper generateResultCursor(RootInfo rootInfo, Cursor oriCursor) { in generateResultCursor() argument
85 return new RootCursorWrapper(authority, rootInfo.rootId, oriCursor, MAX_DOCS_FROM_ROOT); in generateResultCursor()
DMultiRootDocumentsLoader.java393 protected abstract Uri getQueryUri(RootInfo rootInfo); in getQueryUri() argument
395 protected abstract RootCursorWrapper generateResultCursor(RootInfo rootInfo, in generateResultCursor() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java202 final AccessibilityNodeInfoCompat rootInfo = in createAccessibilityNodeInfo() local
204 ViewCompat.onInitializeAccessibilityNodeInfo(mKeyboardView, rootInfo); in createAccessibilityNodeInfo()
216 rootInfo.addChild(mKeyboardView, index); in createAccessibilityNodeInfo()
218 return rootInfo; in createAccessibilityNodeInfo()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DGetRootDocumentTask.java45 RootInfo rootInfo, in GetRootDocumentTask() argument
51 mRootInfo = rootInfo; in GetRootDocumentTask()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java366 private void assertFilesCopied(String rootLabel, RootInfo rootInfo, in assertFilesCopied() argument
374 DocumentInfo parent = helper.findDocument(rootInfo.documentId, TARGET_FOLDER); in assertFilesCopied()