Home
last modified time | relevance | path

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

1234

/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java27 import com.android.documentsui.base.Shared;
33 String msg = Shared.getQuantityString( in showDocumentsClipped()
39 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount); in showMove()
44 CharSequence message = Shared.getQuantityString(activity, R.plurals.copy_begin, docCount); in showCopy()
49 … CharSequence message = Shared.getQuantityString(activity, R.plurals.compress_begin, docCount); in showCompress()
54 … CharSequence message = Shared.getQuantityString(activity, R.plurals.extract_begin, docCount); in showExtract()
59 CharSequence message = Shared.getQuantityString(activity, R.plurals.deleting, docCount); in showDelete()
DMessageBuilder.java27 import com.android.documentsui.base.Shared;
68 message = Shared.getQuantityString(mContext, in generateDeleteMessage()
72 message = Shared.getQuantityString(mContext, in generateDeleteMessage()
76 message = Shared.getQuantityString(mContext, in generateDeleteMessage()
139 return Shared.getQuantityString(mContext, stringId, quantity); in getQuantityString()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java19 import static com.android.documentsui.base.Shared.DEBUG;
20 import static com.android.documentsui.base.Shared.EXTRA_BENCHMARK;
49 import com.android.documentsui.base.Shared;
146 Shared.findView(this, R.id.dropdown_breadcrumb, R.id.horizontal_breadcrumb); in onCreate()
253 State state = icicle.<State>getParcelable(Shared.EXTRA_STATE); in getState()
268 state.showAdvanced = Shared.mustShowDeviceRoot(intent) in getState()
272 state.showDeviceStorageOption = !Shared.mustShowDeviceRoot(intent); in getState()
426 String packageName = Shared.getCallingPackageName(this); in getExcludedAuthorities()
506 state.putParcelable(Shared.EXTRA_STATE, mState); in onSaveInstanceState()
DDirectoryReloadLock.java19 import static com.android.documentsui.base.Shared.VERBOSE;
25 import com.android.documentsui.base.Shared;
43 Shared.checkMainLoop(); in block()
54 Shared.checkMainLoop(); in unblock()
DCreateDirectoryFragment.java19 import static com.android.documentsui.base.Shared.TAG;
47 import com.android.documentsui.base.Shared;
88 Shared.ensureKeyboardPresent(context, dialog); in onCreateDialog()
DThumbnailCache.java29 import com.android.documentsui.base.Shared;
226 Shared.checkMainLoop(); in obtain()
242 Shared.checkMainLoop(); in recycle()
DAbstractActionHandler.java21 import static com.android.documentsui.base.Shared.DEBUG;
51 import com.android.documentsui.base.Shared;
217 intent.putExtra(Shared.EXTRA_STACK, (Parcelable) path); in openInNewWindow()
505 loadRoot(Shared.getDefaultRootUri(mActivity)); in loadHomeDir()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryState.java22 import com.android.documentsui.base.Shared;
47 mRoot = bundle.getParcelable(Shared.EXTRA_ROOT); in restore()
48 mDocument = bundle.getParcelable(Shared.EXTRA_DOC); in restore()
55 bundle.putParcelable(Shared.EXTRA_ROOT, mRoot); in save()
56 bundle.putParcelable(Shared.EXTRA_DOC, mDocument); in save()
DRenameDocumentFragment.java19 import static com.android.documentsui.base.Shared.TAG;
52 import com.android.documentsui.base.Shared;
95 Shared.ensureKeyboardPresent(context, dialog); in onCreateDialog()
140 mDocument = savedInstanceState.getParcelable(Shared.EXTRA_DOC); in onActivityCreated()
154 outState.putParcelable(Shared.EXTRA_DOC, mDocument); in onSaveInstanceState()
DDirectoryFragment.java21 import static com.android.documentsui.base.Shared.DEBUG;
22 import static com.android.documentsui.base.Shared.VERBOSE;
90 import com.android.documentsui.base.Shared;
474 operation.setDestination(data.getParcelableExtra(Shared.EXTRA_STACK)); in handleCopyResult()
782 Shared.ACTION_PICK_COPY_DESTINATION, in transferDocuments()
817 intent.putExtra(Shared.EXTRA_DIRECTORY_COPY, hasDirectory(docs)); in transferDocuments()
1099 args.putParcelable(Shared.EXTRA_ROOT, root); in create()
1100 args.putParcelable(Shared.EXTRA_DOC, doc); in create()
1101 args.putParcelable(Shared.EXTRA_SELECTION, new Selection()); in create()
1175 && !getArguments().getBoolean(Shared.EXTRA_IGNORE_STATE, false)) { in accept()
DMessage.java29 import com.android.documentsui.base.Shared;
148 Shared.DEBUG ? Shared.getStackTrace(event.getException()) : null); in update()
161 assert (Shared.DEBUG); in updateToInflatedErrorMesage()
DAnimationView.java27 import com.android.documentsui.base.Shared;
99 args.putBoolean(Shared.EXTRA_IGNORE_STATE, true); in setupAnimations()
104 args.putBoolean(Shared.EXTRA_IGNORE_STATE, true); in setupAnimations()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java34 import com.android.documentsui.base.Shared;
102 return (selection.size() > Shared.MAX_DOCS_IN_INTENT) in getClipDataForDocuments()
114 assert(selection.size() <= Shared.MAX_DOCS_IN_INTENT); in createStandardClipData()
145 assert(selection.size() > Shared.MAX_DOCS_IN_INTENT); in createJumboClipData()
149 final int capacity = Math.min(selection.size(), Shared.MAX_DOCS_IN_INTENT); in createJumboClipData()
159 if (docCount++ < Shared.MAX_DOCS_IN_INTENT) { in createJumboClipData()
DUrisSupplier.java32 import com.android.documentsui.base.Shared;
98 UrisSupplier urisSupplier = (uris.size() > Shared.MAX_DOCS_IN_INTENT) in create()
121 assert(mSelectionSize > Shared.MAX_DOCS_IN_INTENT); in JumboUrisSupplier()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DOverwriteConfirmFragment.java30 import com.android.documentsui.base.Shared;
53 mOverwriteTarget = arg.getParcelable(Shared.EXTRA_DOC); in onCreateDialog()
73 outState.putParcelable(Shared.EXTRA_DOC, mOverwriteTarget); in onSaveInstanceState()
78 arg.putParcelable(Shared.EXTRA_DOC, overwriteTarget); in show()
DLastAccessedStorage.java27 import com.android.documentsui.base.Shared;
62 final String packageName = Shared.getCallingPackageName(activity); in getLastAccessed()
80 String packageName = Shared.getCallingPackageName(activity); in setLastAccessed()
86 final String packageName = Shared.getCallingPackageName(activity); in setLastAccessedToExternalApp()
DActionHandler.java19 import static com.android.documentsui.base.Shared.DEBUG;
50 import com.android.documentsui.base.Shared;
136 if (Shared.ACTION_PICK_COPY_DESTINATION.equals(intent.getAction())) { in launchHomeForCopyDestination()
348 intent.putExtra(Shared.EXTRA_STACK, (Parcelable) mState.stack); in onPickFinished()
DSaveFragment.java42 import com.android.documentsui.base.Shared;
135 mReplaceTarget = savedInstanceState.getParcelable(Shared.EXTRA_DOC); in onActivityCreated()
143 outBundle.putParcelable(Shared.EXTRA_DOC, mReplaceTarget); in onSaveInstanceState()
DPickActivity.java47 import com.android.documentsui.base.Shared;
172 } else if (Shared.ACTION_PICK_COPY_DESTINATION.equals(action)) { in includeState()
191 Shared.EXTRA_DIRECTORY_COPY, false); in includeState()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java19 import static com.android.documentsui.base.Shared.DEBUG;
39 import com.android.documentsui.base.Shared;
72 mCurrentSearch = savedState != null ? savedState.getString(Shared.EXTRA_QUERY) : null; in SearchViewManager()
245 state.putString(Shared.EXTRA_QUERY, mCurrentSearch); in onSaveInstanceState()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEvents.java19 import static com.android.documentsui.base.Shared.DEBUG;
215 Shared.checkMainLoop(); in obtain()
227 Shared.checkMainLoop(); in recycle()
DFilteringCursorWrapper.java21 import static com.android.documentsui.base.Shared.DEBUG;
22 import static com.android.documentsui.base.Shared.TAG;
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java19 import static com.android.documentsui.base.Shared.DEBUG;
20 import static com.android.documentsui.base.Shared.VERBOSE;
64 import com.android.documentsui.base.Shared;
253 if (root.isHome() && !Shared.shouldShowDocumentsRoot(activity)) { in sortLoadResult()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java27 import com.android.documentsui.base.Shared;
208 compare = Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort()
211 compare = -Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFilesActivityDefaultsUiTest.java27 import com.android.documentsui.base.Shared;
92 return Shared.shouldShowDocumentsRoot(context); in docsRootEnabled()

1234