/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MetadataUtils.java | 24 import com.android.documentsui.base.Shared; 36 return hasVideoCoordinates(metadata.getBundle(Shared.METADATA_KEY_VIDEO)) in hasGeoCoordinates() 41 return data != null && (data.containsKey(Shared.METADATA_VIDEO_LATITUDE) in hasVideoCoordinates() 42 && data.containsKey(Shared.METADATA_VIDEO_LONGITUTE)); in hasVideoCoordinates() 61 bundle = metadata.getBundle(Shared.METADATA_KEY_VIDEO); in getGeoCoordinates() 86 data.getFloat(Shared.METADATA_VIDEO_LATITUDE), in getVideoCoords() 87 data.getFloat(Shared.METADATA_VIDEO_LONGITUTE) in getVideoCoords()
|
D | InspectorActivity.java | 33 import com.android.documentsui.base.Shared; 63 getIntent().getBooleanExtra(Shared.EXTRA_SHOW_DEBUG, false)); in onCreate()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | Snackbars.java | 27 import com.android.documentsui.base.Shared; 38 String msg = Shared.getQuantityString( in showDocumentsClipped() 44 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount); in showMove() 49 CharSequence message = Shared.getQuantityString(activity, R.plurals.copy_begin, docCount); in showCopy() 54 … CharSequence message = Shared.getQuantityString(activity, R.plurals.compress_begin, docCount); in showCompress() 59 … CharSequence message = Shared.getQuantityString(activity, R.plurals.extract_begin, docCount); in showExtract() 64 CharSequence message = Shared.getQuantityString(activity, R.plurals.deleting, docCount); in showDelete()
|
D | MessageBuilder.java | 27 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/dirlist/ |
D | DirectoryState.java | 22 import com.android.documentsui.base.Shared; 52 mRoot = bundle.getParcelable(Shared.EXTRA_ROOT); in restore() 53 mDocument = bundle.getParcelable(Shared.EXTRA_DOC); in restore() 61 bundle.putParcelable(Shared.EXTRA_ROOT, mRoot); in save() 62 bundle.putParcelable(Shared.EXTRA_DOC, mDocument); in save()
|
D | AnimationView.java | 28 import com.android.documentsui.base.Shared; 100 args.putBoolean(Shared.EXTRA_IGNORE_STATE, true); in setupAnimations() 105 args.putBoolean(Shared.EXTRA_IGNORE_STATE, true); in setupAnimations()
|
D | RenameDocumentFragment.java | 45 import com.android.documentsui.base.Shared; 93 Shared.ensureKeyboardPresent(context, dialog); in onCreateDialog() 139 mDocument = savedInstanceState.getParcelable(Shared.EXTRA_DOC); in onActivityCreated() 153 outState.putParcelable(Shared.EXTRA_DOC, mDocument); in onSaveInstanceState()
|
D | DirectoryFragment.java | 90 import com.android.documentsui.base.Shared; 477 operation.setDestination(data.getParcelableExtra(Shared.EXTRA_STACK)); in onCopyDestinationPicked() 870 Shared.ACTION_PICK_COPY_DESTINATION, in transferDocuments() 905 intent.putExtra(Shared.EXTRA_DIRECTORY_COPY, hasDirectory(docs)); in transferDocuments() 1073 args.putParcelable(Shared.EXTRA_ROOT, root); in create() 1074 args.putParcelable(Shared.EXTRA_DOC, doc); in create() 1176 && !getArguments().getBoolean(Shared.EXTRA_IGNORE_STATE, true)) { in accept()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LastAccessedStorage.java | 27 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()
|
D | PickActivity.java | 55 import com.android.documentsui.base.Shared; 147 Metrics.logPickerLaunchedFrom(Shared.getCallingPackageName(this)); in onCreate() 160 state.putParcelable(Shared.EXTRA_PICK_RESULT, mInjector.pickResult); in onSaveInstanceState() 177 PickResult result = icicle.getParcelable(Shared.EXTRA_PICK_RESULT); in getPickResult() 228 } else if (Shared.ACTION_PICK_COPY_DESTINATION.equals(action)) { in includeState() 247 Shared.EXTRA_DIRECTORY_COPY, false); in includeState()
|
D | ConfirmFragment.java | 36 import com.android.documentsui.base.Shared; 66 mTarget = arg.getParcelable(Shared.EXTRA_DOC); in onCreateDialog() 115 outState.putParcelable(Shared.EXTRA_DOC, mTarget); in onSaveInstanceState() 139 arg.putParcelable(Shared.EXTRA_DOC, overwriteTarget); in show()
|
D | SaveFragment.java | 43 import com.android.documentsui.base.Shared; 136 mReplaceTarget = savedInstanceState.getParcelable(Shared.EXTRA_DOC); in onActivityCreated() 144 outBundle.putParcelable(Shared.EXTRA_DOC, mReplaceTarget); in onSaveInstanceState()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 35 import com.android.documentsui.base.Shared; 120 return (uris.size() > Shared.MAX_DOCS_IN_INTENT) in getClipDataForDocuments() 131 assert(uris.size() <= Shared.MAX_DOCS_IN_INTENT); in createStandardClipData() 159 assert(uris.size() > Shared.MAX_DOCS_IN_INTENT); in createJumboClipData() 161 final int capacity = Math.min(uris.size(), Shared.MAX_DOCS_IN_INTENT); in createJumboClipData() 169 if (docCount++ < Shared.MAX_DOCS_IN_INTENT) { in createJumboClipData()
|
D | UrisSupplier.java | 34 import com.android.documentsui.base.Shared; 99 UrisSupplier urisSupplier = (uris.size() > Shared.MAX_DOCS_IN_INTENT) in create() 122 assert(mSelectionSize > Shared.MAX_DOCS_IN_INTENT); in JumboUrisSupplier()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | MediaViewTest.java | 27 import com.android.documentsui.base.Shared; 124 Bundle data = mMetadata.getBundle(Shared.METADATA_KEY_VIDEO); in testShowVideoData() 133 Bundle data = mMetadata.getBundle(Shared.METADATA_KEY_AUDIO); in testShowAudioData() 148 Bundle data = mMetadata.getBundle(Shared.METADATA_KEY_VIDEO); in testShowVideoData_HourPlusDuration()
|
D | TestMetadata.java | 23 import com.android.documentsui.base.Shared; 50 container.putBundle(Shared.METADATA_KEY_VIDEO, data); in populateVideoData() 60 container.putBundle(Shared.METADATA_KEY_AUDIO, data); in populateAudioData()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 19 import static com.android.documentsui.base.Shared.EXTRA_BENCHMARK; 59 import com.android.documentsui.base.Shared; 164 Shared.findView(this, R.id.dropdown_breadcrumb, R.id.horizontal_breadcrumb); in onCreate() 347 State state = icicle.<State>getParcelable(Shared.EXTRA_STATE); in getState() 364 state.showAdvanced = Shared.mustShowDeviceRoot(intent) in getState() 368 state.showDeviceStorageOption = !Shared.mustShowDeviceRoot(intent); in getState() 577 String packageName = Shared.getCallingPackageName(this); in getExcludedAuthorities() 747 state.putParcelable(Shared.EXTRA_STATE, mState); in onSaveInstanceState()
|
D | ThumbnailCache.java | 30 import com.android.documentsui.base.Shared; 227 Shared.checkMainLoop(); in obtain() 243 Shared.checkMainLoop(); in recycle()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchChipViewManagerTest.java | 36 import com.android.documentsui.base.Shared; 96 bundle.putIntArray(Shared.EXTRA_QUERY_CHIPS, new int[]{2}); in testRestoreCheckedChipItems_HasCorrectValue() 112 final int[] chipTypes = bundle.getIntArray(Shared.EXTRA_QUERY_CHIPS); in testSaveInstanceState_HasCorrectValue()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 59 import com.android.documentsui.base.Shared; 120 expected.putExtra(Shared.EXTRA_STACK, (Parcelable) path); in testOpenSelectedInNewWindow() 392 intent.putExtra(Shared.EXTRA_STACK, (Parcelable) path); in testInitLocation_LaunchToStackLocation() 638 assertHasExtra(intent, Shared.EXTRA_SHOW_DEBUG); in testShowInspector_DebugDisabled() 639 assertFalse(intent.getExtras().getBoolean(Shared.EXTRA_SHOW_DEBUG)); in testShowInspector_DebugDisabled() 649 assertHasExtra(intent, Shared.EXTRA_SHOW_DEBUG); in testShowInspector_DebugEnabled() 650 assertTrue(intent.getExtras().getBoolean(Shared.EXTRA_SHOW_DEBUG)); in testShowInspector_DebugEnabled()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 35 import com.android.documentsui.base.Shared; 153 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) <= 0); in testSort_names_ascending() 177 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) >= 0); in testSort_names_descending() 432 Shared.compareToIgnoreCaseNullable(lhs, rhs) <= 0); in testSort_type_ascending() 464 Shared.compareToIgnoreCaseNullable(lhs, rhs) >= 0); in testSort_type_descending()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileManagementUiTest.java | 31 import com.android.documentsui.base.Shared; 148 for (int i = 0; i <= Shared.MAX_DOCS_IN_INTENT; ++i) { in testCopyLargeAmountOfFiles() 176 final int expectedCount = Shared.MAX_DOCS_IN_INTENT + 1; in testCopyLargeAmountOfFiles()
|
D | FilesActivityDefaultsUiTest.java | 28 import com.android.documentsui.base.Shared; 109 return Shared.shouldShowDocumentsRoot(context); in docsRootEnabled()
|
D | PickerPreviewTextUiTest.java | 27 import com.android.documentsui.base.Shared; 45 mHasQuickViewer = Shared.hasQuickViewer(context); in setUp()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 28 import com.android.documentsui.base.Shared; 215 compare = Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort() 218 compare = -Shared.compareToIgnoreCaseNullable(lhs, rhs); in binarySort()
|