HomeSort by relevance Sort by last modified time
    Searched refs:mSelection (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /packages/apps/DocumentsUI/src/com/android/documentsui/selection/
Selection.java 49 final Set<String> mSelection;
53 mSelection = new HashSet<>();
61 mSelection = selection;
70 return mSelection.contains(id) || mProvisionalSelection.contains(id);
81 return mSelection.iterator();
88 return mSelection.size() + mProvisionalSelection.size();
95 return mSelection.isEmpty() && mProvisionalSelection.isEmpty();
111 if (!newSelection.contains(id) && !mSelection.contains(id)) {
116 for (String id: mSelection) {
127 if (!mSelection.contains(id) && !mProvisionalSelection.contains(id))
    [all...]
SelectionManager.java 61 private final Selection mSelection = new Selection();
102 mSelection.cancelProvisionalSelection();
103 mSelection.intersect(mModelIds);
116 mSelection.cancelProvisionalSelection();
124 mSelection.cancelProvisionalSelection();
126 mSelection.intersect(mModelIds);
140 // Provides BandController with access to private mSelection state.
141 controller.bindSelection(mSelection);
161 return !mSelection.isEmpty();
175 return mSelection;
    [all...]
  /packages/providers/TvProvider/src/com/android/providers/tv/util/
SqlParams.java 23 private String mSelection;
36 return mSelection;
48 mSelection = selection;
53 mSelection = DatabaseUtils.concatenateWhere(mSelection, selection);
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
SelectionManagerTest.java 49 private SelectionProbe mSelection;
63 mSelection = new SelectionProbe(mManager, mItemCallback);
72 mSelection.assertSelection(7);
75 mSelection.assertNoSelection();
83 mSelection.assertNoSelection();
102 mSelection.assertSelection(7);
112 mSelection.assertSelection(7);
119 mSelection.assertRangeSelected(6, 8);
128 mSelection.assertSelected(6);
129 mSelection.assertNotSelected(7)
    [all...]
SelectionManager_SingleSelectTest.java 44 private SelectionProbe mSelection;
52 mSelection = new SelectionProbe(mManager);
60 mSelection.assertSelection(4);
74 mSelection.assertSelection(3);
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
UserInputHandler_RangeTest.java 52 private SelectionProbe mSelection;
66 mSelection = new SelectionProbe(selectionMgr);
92 mSelection.assertRangeSelection(7, 11);
100 mSelection.assertRangeSelection(7, 21);
112 mSelection.assertRangeNotSelected(7, 11);
113 mSelection.assertRangeSelected(20, 25);
114 mSelection.assertSelectionSize(6);
122 mSelection.assertRangeSelection(7, 10);
130 mSelection.assertRangeSelection(14, 17);
137 mSelection.assertRangeSelection(5, 12)
    [all...]
UserInputHandler_MouseTest.java 52 private SelectionProbe mSelection;
68 mSelection = new SelectionProbe(mSelectionMgr);
94 mSelection.assertSelection(11);
124 mSelection.assertSelection(11);
132 mSelection.assertSelection(7, 11);
140 mSelection.assertSelection(7, 8, 9, 10, 11);
149 mSelection.assertNoSelection();
152 mSelection.assertSelection(7, 8, 9, 10, 11);
160 mSelection.assertSelection(7, 8, 9, 10, 11);
163 mSelection.assertSelection(5, 6, 7)
    [all...]
UserInputHandler_TouchTest.java 51 private SelectionProbe mSelection;
66 mSelection = new SelectionProbe(selectionMgr);
105 mSelection.assertSelection(7);
124 mSelection.assertSelection(7, 13, 99);
131 mSelection.assertNoSelection();
139 mSelection.assertNoSelection();
UserInputHandler_KeyboardTest.java 49 private SelectionProbe mSelection;
64 mSelection = new SelectionProbe(selectionMgr);
90 mSelection.assertSelection(11);
96 mSelection.assertNoSelection();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
ClearLintMarkersAction.java 29 private ISelection mSelection;
33 mSelection = selection;
38 List<IProject> projects = RunLintAction.getProjects(mSelection, false /*warn*/);
  /frameworks/base/core/java/com/android/internal/content/
SelectionBuilder.java 34 private StringBuilder mSelection = new StringBuilder();
41 mSelection.setLength(0);
61 if (mSelection.length() > 0) {
62 mSelection.append(" AND ");
65 mSelection.append("(").append(selection).append(")");
83 return mSelection.toString();
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
CursorQueryData.java 39 protected final String mSelection;
49 mSelection = selection;
55 return new BoundCursorLoader(bindingId, mContext, mUri, mProjection, mSelection,
65 return mContext.getContentResolver().query(mUri, mProjection, mSelection,
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/
AddNativeAction.java 33 private ISelection mSelection;
38 if (mSelection instanceof IStructuredSelection) {
39 IStructuredSelection ss = (IStructuredSelection) mSelection;
61 mSelection = selection;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringAction.java 76 private ITextSelection mSelection;
108 mSelection = null;
112 mSelection = (ITextSelection) selection;
113 if (mSelection.getLength() > 0) {
119 action.setEnabled(mSelection != null && mFile != null);
127 if (mSelection != null && mFile != null) {
128 ExtractStringRefactoring ref = new ExtractStringRefactoring(mFile, mEditor, mSelection);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
ExportAction.java 36 private ISelection mSelection;
49 if (mSelection instanceof IStructuredSelection) {
50 IStructuredSelection selection = (IStructuredSelection)mSelection;
83 mSelection = selection;
ExportWizardAction.java 37 private ISelection mSelection;
50 if (mSelection instanceof IStructuredSelection) {
51 IStructuredSelection selection = (IStructuredSelection)mSelection;
92 mSelection = selection;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
ImportProjectWizard.java 43 private IStructuredSelection mSelection;
53 if (mSelection != null) {
54 mImportPage.init(mSelection, AdtUtils.getActivePart());
61 mSelection = selection;
  /development/samples/Spinner/src/com/android/example/spinner/
SpinnerActivity.java 43 protected String mSelection;
193 SpinnerActivity.this.mSelection = parent.getItemAtPosition(pos).toString();
198 resultText.setText(SpinnerActivity.this.mSelection);
310 this.mSelection = p.getString(SELECTION_KEY, "");
348 e.putString(SELECTION_KEY, this.mSelection);
368 return this.mSelection;
372 this.mSelection = selection;
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/db/
SelectionBuilder.java 98 private StringBuilder mSelection = new StringBuilder();
110 mSelection.setLength(0);
156 if (mSelection.length() > 0) {
157 mSelection.append(" AND ");
160 mSelection.append("(").append(selection).append(")");
237 return mSelection.toString();
  /developers/samples/android/common/src/java/com/example/android/common/db/
SelectionBuilder.java 98 private StringBuilder mSelection = new StringBuilder();
110 mSelection.setLength(0);
156 if (mSelection.length() > 0) {
157 mSelection.append(" AND ");
160 mSelection.append("(").append(selection).append(")");
237 return mSelection.toString();
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
SelectionBuilder.java 98 private StringBuilder mSelection = new StringBuilder();
110 mSelection.setLength(0);
156 if (mSelection.length() > 0) {
157 mSelection.append(" AND ");
160 mSelection.append("(").append(selection).append(")");
237 return mSelection.toString();
  /frameworks/base/core/java/android/content/
CursorLoader.java 47 String mSelection;
64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection,
139 mSelection = selection;
207 return mSelection;
211 mSelection = selection;
236 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection);
ContentProviderOperation.java 48 private final String mSelection;
66 mSelection = builder.mSelection;
78 mSelection = source.readInt() != 0 ? source.readString() : null;
105 mSelection = cpo.mSelection;
130 if (mSelection != null) {
132 dest.writeString(mSelection);
311 numRows = provider.delete(mUri, mSelection, selectionArgs);
313 numRows = provider.update(mUri, values, mSelection, selectionArgs)
    [all...]
  /frameworks/support/core-utils/java/android/support/v4/content/
CursorLoader.java 42 String mSelection;
60 mUri, mProjection, mSelection, mSelectionArgs, mSortOrder,
135 mSelection = selection;
203 return mSelection;
207 mSelection = selection;
232 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
PropertySheetPage.java 74 private List<CanvasViewInfo> mSelection;
124 if (mSelection != null) {
125 if (mSelection.isEmpty()) {
131 if (selectionCount == mSelection.size()) {
138 if (info != mSelection.get(i)) {
157 mSelection = Collections.emptyList();
169 mSelection = newSelection;
185 if (mSelection != null && !mSelection.isEmpty()) {
186 for (CanvasViewInfo item : mSelection) {
    [all...]

Completed in 715 milliseconds

1 2 3 4