Home
last modified time | relevance | path

Searched refs:mSelected (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableAdapter.java36 private List<M> mSelected = new ArrayList<>(); field in SelectableAdapter
46 mSelected.remove(model); in toggleSelect()
49 mSelected.add(model); in toggleSelect()
62 for (M model : mSelected) { in numSelected()
78 if (mSelected.size() == 0) { in deleteSelected()
84 for (M model : mSelected) { in deleteSelected()
87 getBaseList().removeAll(mSelected); in deleteSelected()
88 mSelected.clear(); in deleteSelected()
100 return mSelected.size() > 0; in hasSelected()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java53 private final MutableSelection<String> mSelected = new MutableSelection<>(); field in ActionModeController
72 mSelectionMgr.copySelection(mSelected); in onSelectionChanged()
73 if (mSelected.size() > 0) { in onSelectionChanged()
95 assert(!mSelected.isEmpty()); in onSelectionChanged()
97 R.plurals.elements_selected, mSelected.size()); in onSelectionChanged()
125 if (mSelected.size() > 0) { in onDestroyActionMode()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java108 private Map<String, Boolean> mSelected = new HashMap<>(); field in DocsSelectionHelperTest.TestSelectionManager
116 assertTrue(mSelected.containsKey(id)); in assertSelected()
117 assertTrue(mSelected.get(id)); in assertSelected()
119 assertEquals(expected.length, mSelected.size()); in assertSelected()
150 mSelected.put(id, selected); in setItemsSelected()
/packages/apps/TV/src/com/android/tv/menu/
DBaseCardView.java54 private boolean mSelected; field in BaseCardView
119 mSelected = true; in onSelected()
130 mSelected = false; in onDeselected()
185 setTextViewFocusedAlpha(mSelected ? 1f : 0f); in onTextViewUpdated()
190 setFocusAnimatedValue(mSelected ? SCALE_FACTOR_1F : SCALE_FACTOR_0F); in onTextViewUpdated()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaChooser.java47 protected boolean mSelected; field in MediaChooser
68 mSelected = false; in MediaChooser()
72 mSelected = selected; in setSelected()
95 setSelected(mSelected); in onCreateTabButton()
DCameraMediaChooser.java351 if (mErrorToast != 0 && mSelected) { in showErrorToastIfNeeded()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtoneHolder.java31 private boolean mSelected; field in RingtoneHolder
50 boolean isSelected() { return mSelected; } in isSelected()
51 void setSelected(boolean selected) { mSelected = selected; } in setSelected()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java32 private int mSelected; field in ColorChooser
50 mSelected = res.getColor(R.color.color_chooser_slected_border); in setUp()
73 sd.setStroke(3, (mSelectedButton == i) ? mSelected : mTransparent); in setUp()
118 sd.setStroke(3, (mSelectedButton == i) ? mSelected : mTransparent); in resetBorders()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java44 private boolean mSelected; field in PieItem
122 mSelected = s; in setSelected()
126 return mSelected; in isSelected()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorDrawTabletUI.java63 private int mSelected; field in EditorDrawTabletUI
171 mSelected = res.getColor(R.color.color_chooser_slected_border); in EditorDrawTabletUI()
184 sd.setStroke(3, (0 == i) ? mSelected : mTransparent); in EditorDrawTabletUI()
275 sd.setStroke(3, (mSelectedColorButton == i) ? mSelected : mTransparent); in resetBorders()
DEditorColorBorderTabletUI.java55 private int mSelected; field in EditorColorBorderTabletUI
166 mSelected = res.getColor(R.color.color_chooser_slected_border); in setupColor()
177 sd.setStroke(3, (0 == i) ? mSelected : mTransparent); in setupColor()
252 sd.setStroke(3, (mSelectedColorButton == i) ? mSelected : mTransparent); in resetBorders()