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.java54 private final MutableSelection<String> mSelected = new MutableSelection<>(); field in ActionModeController
75 mSelectionMgr.copySelection(mSelected); in onSelectionChanged()
76 if (mSelected.size() > 0) { in onSelectionChanged()
98 assert(!mSelected.isEmpty()); in onSelectionChanged()
100 R.plurals.elements_selected, mSelected.size()); in onSelectionChanged()
128 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/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaChooser.java48 protected boolean mSelected; field in MediaChooser
69 mSelected = false; in MediaChooser()
73 mSelected = selected; in setSelected()
96 setSelected(mSelected); in onCreateTabButton()
DCameraMediaChooser.java351 if (mErrorToast != 0 && mSelected) { in showErrorToastIfNeeded()
/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/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/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarButton.java68 private boolean mSelected = false; field in CarSystemBarButton
105 mSelected = selected; in setSelected()
108 mIcon.setAlpha(mSelected ? mSelectedAlpha : mUnselectedAlpha); in setSelected()
348 mIcon.setImageResource(mSelected ? mSelectedIconResourceId : mIconResourceId);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
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()
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()