Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/
DTestItemSelectionListener.java28 private final Set<String> mSelected = new HashSet<>(); field in TestItemSelectionListener
34 mSelected.add(id); in onItemStateChanged()
37 mSelected.remove(id); in onItemStateChanged()
43 mSelected.clear(); in onSelectionReset()
47 assertTrue(mSelected.isEmpty()); in assertNoSelection()
51 assertEquals(expected, mSelected.size()); in assertSelectionSize()
55 assertTrue(id + " is not selected.", mSelected.contains(id)); in assertSelected()
59 assertFalse(id + " is already selected", mSelected.contains(id)); in assertNotSelected()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java58 private final Selection mSelected = new Selection(); field in ActionModeController
77 mSelectionMgr.getSelection(mSelected); in onSelectionChanged()
78 if (mSelected.size() > 0) { in onSelectionChanged()
92 assert(!mSelected.isEmpty()); in onSelectionChanged()
94 R.plurals.elements_selected, mSelected.size()); in onSelectionChanged()
102 mSelectionMgr.getSelection(mSelected); in onSelectionRestored()
103 if (mSelected.size() > 0) { in onSelectionRestored()
117 assert(!mSelected.isEmpty()); in onSelectionRestored()
119 R.plurals.elements_selected, mSelected.size()); in onSelectionRestored()
140 mSelected.clear(); in onDestroyActionMode()
/packages/apps/TV/src/com/android/tv/menu/
DBaseCardView.java58 private boolean mSelected; field in BaseCardView
120 mSelected = true; in onSelected()
131 mSelected = false; in onDeselected()
183 setTextViewFocusedAlpha(mSelected ? 1f : 0f); in onTextViewUpdated()
188 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/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/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/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java41 private boolean mSelected; field in PieItem
105 mSelected = s; in setSelected()
109 return mSelected; in isSelected()
/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/
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()