Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DCreateDirectoryFragment.java112 final DocumentInfo cwd = activity.getCurrentDirectory(); in createDirectory() local
114 new CreateDirectoryTask(activity, cwd, name).executeOnExecutor( in createDirectory()
115 ProviderExecutor.forAuthority(cwd.authority)); in createDirectory()
124 BaseActivity activity, DocumentInfo cwd, String displayName) { in CreateDirectoryTask() argument
126 mCwd = cwd; in CreateDirectoryTask()
DBaseActivity.java379 final DocumentInfo cwd = getCurrentDirectory(); in canCreateDirectory() local
380 return cwd != null in canCreateDirectory()
381 && cwd.isCreateSupported() in canCreateDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java240 final DocumentInfo cwd = getCurrentDirectory(); in onPrepareOptionsMenu() local
244 SaveFragment.get(fm).prepareForDirectory(cwd); in onPrepareOptionsMenu()
254 final DocumentInfo cwd = getCurrentDirectory(); in refreshDirectory() local
268 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory()
283 pick.setPickTarget(mState.action, mState.copyOperationSubType, cwd); in refreshDirectory()
DActionHandler.java368 final DocumentInfo cwd = mState.stack.peek(); in getExecutorForCurrentDirectory() local
369 if (cwd != null && cwd.authority != null) { in getExecutorForCurrentDirectory()
370 return mExecutors.lookup(cwd.authority); in getExecutorForCurrentDirectory()
DSaveFragment.java200 public void prepareForDirectory(DocumentInfo cwd) { in prepareForDirectory() argument
201 setSaveEnabled(cwd != null && cwd.isCreateSupported()); in prepareForDirectory()
DCreatePickedDocumentTask.java76 DocumentInfo cwd = mStack.peek(); in run() local
78 Uri childUri = mDocs.createDocument(cwd, mMimeType, mDisplayName); in run()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java138 final DocumentInfo cwd = stack != null ? stack.peek() : null; in showMenu() local
144 if (cwd != null && cwd.isInArchive()) { in showMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java371 final DocumentInfo cwd = getCurrentDirectory(); in refreshDirectory() local
379 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory()