/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
D | SelectionTest.java | 26 import com.android.documentsui.selection.Selection; 41 private Selection selection; 51 selection = new Selection(); in setUp() 82 assertTrue(new Selection().isEmpty()); in testIsEmpty() 89 Selection other = new Selection(); in testSize() 103 Selection other = new Selection(); in testEqualsOther() 113 Selection other = new Selection(); in testEqualsCopy() 121 Selection other = new Selection(); in testNotEquals() 128 Selection testSelection = new Selection(); in testIntersection_empty0() 135 Selection testSelection = new Selection(); in testIntersection_empty1() [all …]
|
D | SelectionManagerTest.java | 26 import com.android.documentsui.selection.Selection; 237 Selection s = mManager.getSelection(); in testProvisionalSelection() 253 Selection s = mManager.getSelection(); in testProvisionalSelection_Replace() 277 Selection s = mManager.getSelection(); in testProvisionalSelection_IntersectsExistingProvisionalSelection() 299 Selection s = mManager.getSelection(); in testProvisionalSelection_Apply() 317 Selection s = mManager.getSelection(); in testProvisionalSelection_Cancel() 333 Selection s = mManager.getSelection(); in testProvisionalSelection_IntersectsAppliedSelection()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
D | Selection.java | 36 public final class Selection implements Iterable<String>, Parcelable { class 52 public Selection() { in Selection() method in Selection 60 private Selection(Set<String> selection) { in Selection() method in Selection 200 void copyFrom(Selection source) { in copyFrom() 235 if (!(that instanceof Selection)) { in equals() 239 return mSelection.equals(((Selection) that).mSelection) && in equals() 240 mProvisionalSelection.equals(((Selection) that).mProvisionalSelection); in equals() 255 public static final ClassLoaderCreator<Selection> CREATOR = 256 new ClassLoaderCreator<Selection>() { 258 public Selection createFromParcel(Parcel in) { [all …]
|
D | SelectionManager.java | 62 private final Selection mSelection = new Selection(); 175 public Selection getSelection() { in getSelection() 185 public Selection getSelection(Selection dest) { in getSelection() 200 public void restoreSelection(Selection other) { in restoreSelection() 258 Selection oldSelection = getSelection(new Selection()); in clearSelectionQuietly()
|
D | BandController.java | 76 private Selection mSelection; 186 void bindSelection(Selection selection) { in bindSelection()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | DragStartListenerTest.java | 37 import com.android.documentsui.selection.Selection; 88 (Selection selection) -> { in setUp() 141 Selection selection = mListener.getSelectionToBeCopied("1234", in testDragStart_nonSelectedItem() 149 Selection selection = new Selection(); in testDragStart_selectedItem() 163 Selection selection = new Selection(); in testDragStart_newNonSelectedItem() 177 Selection selection = new Selection(); in testCtrlDragStart_newNonSelectedItem()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DragStartListener.java | 33 import com.android.documentsui.selection.Selection; 74 private final Function<Selection, List<DocumentInfo>> mDocsConverter; 86 Function<Selection, List<DocumentInfo>> docsConverter, in ActiveListener() argument 126 Selection selection = getSelectionToBeCopied(modelId, event); in startDrag() 152 Selection getSelectionToBeCopied(String modelId, InputEvent event) { in getSelectionToBeCopied() 153 Selection selection = new Selection(); in getSelectionToBeCopied()
|
D | DirectoryFragment.java | 95 import com.android.documentsui.selection.Selection; 185 private @Nullable Selection mRestoredSelection = null; 431 state.selection = mSelectionMgr.getSelection(new Selection()); in retainState() 609 Selection selection = mSelectionMgr.getSelection(new Selection()); in handleMenuItemClick() 737 private void openDocuments(final Selection selected) { in openDocuments() 749 private void showChooserForDoc(final Selection selected) { in showChooserForDoc() 758 private void transferDocuments(final Selection selected, @Nullable DocumentStack destination, in transferDocuments() 869 private void renameDocuments(Selection selected) { in renameDocuments() 1023 args.putParcelable(Shared.EXTRA_SELECTION, new Selection()); in create()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 64 import com.android.documentsui.selection.Selection; 136 Selection selection = getStableSelection(); in openSelectedInNewWindow() 220 private Selection getSelectedOrFocused() { in getSelectedOrFocused() 221 final Selection selection = this.getStableSelection(); in getSelectedOrFocused() 235 Selection selection = getSelectedOrFocused(); in cutToClipboard() 256 Selection selection = getSelectedOrFocused(); in copyToClipboard() 271 Selection selection = getSelectedOrFocused(); in viewInOwner() 293 Selection selection = getSelectedOrFocused(); in deleteSelectedDocuments() 345 Selection selection = getStableSelection(); in shareSelectedDocuments()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | DocumentClipper.java | 28 import com.android.documentsui.selection.Selection; 50 ClipData getClipDataForDocuments(Function<String, Uri> uriBuilder, Selection selection, in getClipDataForDocuments() 66 void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection selection); in clipDocumentsForCopy() 72 Function<String, Uri> uriBuilder, Selection selection, DocumentInfo parent); in clipDocumentsForCut()
|
D | RuntimeDocumentClipper.java | 35 import com.android.documentsui.selection.Selection; 93 Function<String, Uri> uriBuilder, Selection selection, @OpType int opType) { in getClipDataForDocuments() 193 public void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection selection) { in clipDocumentsForCopy() 203 Function<String, Uri> uriBuilder, Selection selection, DocumentInfo parent) { in clipDocumentsForCut()
|
D | UrisSupplier.java | 33 import com.android.documentsui.selection.Selection; 85 Selection selection, Function<String, Uri> uriBuilder, ClipStore storage) in create()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/ |
D | SelectionProbe.java | 24 import com.android.documentsui.selection.Selection; 66 Selection selection = mMgr.getSelection(); in assertSelectionSize() 86 Selection sel = mMgr.getSelection(); in assertSelected() 96 Selection sel = mMgr.getSelection(); in assertNotSelected()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentClipper.java | 26 import com.android.documentsui.selection.Selection; 52 public ClipData getClipDataForDocuments(Function<String, Uri> uriBuilder, Selection selection, in getClipDataForDocuments() 70 public void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection selection) { in clipDocumentsForCopy() 74 public void clipDocumentsForCut(Function<String, Uri> uriBuilder, Selection selection, in clipDocumentsForCut()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Model.java | 41 import com.android.documentsui.selection.Selection; 206 public List<DocumentInfo> getDocuments(Selection selection) { in getDocuments() 217 public List<DocumentInfo> loadDocuments(Selection selection, Predicate<Cursor> filter) { in loadDocuments() 231 public boolean hasDocuments(Selection selection, Predicate<Cursor> filter) { in hasDocuments()
|
D | ActionModeController.java | 37 import com.android.documentsui.selection.Selection; 58 private final Selection mSelected = new Selection();
|
D | AbstractActionHandler.java | 61 import com.android.documentsui.selection.Selection; 527 protected Selection getStableSelection() { in getStableSelection() 528 return mSelectionMgr.getSelection(new Selection()); in getStableSelection()
|
D | BaseActivity.java | 63 import com.android.documentsui.selection.Selection; 661 public @Nullable Selection selection;
|
D | ActionHandler.java | 33 import com.android.documentsui.selection.Selection;
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | AppsSearchContainerLayout.java | 25 import android.text.Selection; 88 Selection.setSelection(mSearchQueryBuilder, 0); in AppsSearchContainerLayout() 190 Selection.setSelection(mSearchQueryBuilder, 0); in clearSearchResult()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ShortcutNameActivity.java | 24 import android.text.Selection; 66 Selection.setSelection(editableText, editableText.length()); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProxySelector.java | 29 import android.text.Selection; 275 Selection.selectAll((Spannable) textView.getText());
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 24 import android.text.Selection; 100 Selection.setSelection(mSearchQueryBuilder, 0); in AllAppsContainerView()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | EditFdnContactScreen.java | 36 import android.text.Selection; 444 Selection.selectAll((Spannable) textView.getText());
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 42 import android.text.Selection; 744 Selection.setSelection((Spannable) tmp, 0, tmp.length()); in handleNext()
|