Home
last modified time | relevance | path

Searched refs:setSelected (Results 1 – 25 of 109) sorted by relevance

12345

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarButtonTest.java96 mDefaultButton.setSelected(true); in onSelected_selectedIconDefined_togglesIcon()
101 mDefaultButton.setSelected(false); in onSelected_selectedIconDefined_togglesIcon()
114 selectedIconUndefinedButton.setSelected(true); in onSelected_selectedIconUndefined_displaysSameIcon()
120 selectedIconUndefinedButton.setSelected(false); in onSelected_selectedIconUndefined_displaysSameIcon()
130 mDefaultButton.setSelected(false); in onUnselected_doesNotHighlightWhenSelected_applySelectedAlpha()
138 mDefaultButton.setSelected(true); in onSelected_doesNotHighlightWhenSelected_applyDefaultUnselectedAlpha()
148 highlightWhenSelectedButton.setSelected(false); in onUnselected_highlightWhenSelected_applyDefaultUnselectedAlpha()
159 highlightWhenSelectedButton.setSelected(true); in onSelected_highlightWhenSelected_applyDefaultSelectedAlpha()
168 mDefaultButton.setSelected(true); in onSelected_doesNotShowMoreWhenSelected_doesNotShowMoreIcon()
180 showMoreWhenSelected.setSelected(true); in onSelected_showMoreWhenSelected_showsMoreIcon()
[all …]
DButtonSelectionStateControllerTest.java75 testButton.setSelected(false); in onTaskChanged_buttonDetectableByComponentName_selectsAssociatedButton()
86 testButton.setSelected(false); in onTaskChanged_buttonDetectableByCategory_selectsAssociatedButton()
97 testButton.setSelected(false); in onTaskChanged_buttonDetectableByPackage_selectsAssociatedButton()
108 oldButton.setSelected(false); in onTaskChanged_deselectsPreviouslySelectedButton()
/packages/apps/Settings/src/com/android/settings/notification/app/
DConversationPriorityPreference.java149 setSelected(mPriorityButton, false); in updateToggles()
150 setSelected(mAlertButton, false); in updateToggles()
151 setSelected(mSilenceButton, true); in updateToggles()
154 setSelected(mPriorityButton, true); in updateToggles()
155 setSelected(mAlertButton, false); in updateToggles()
156 setSelected(mSilenceButton, false); in updateToggles()
158 setSelected(mPriorityButton, false); in updateToggles()
159 setSelected(mAlertButton, true); in updateToggles()
160 setSelected(mSilenceButton, false); in updateToggles()
165 void setSelected(View view, boolean selected) { in setSelected() method in ConversationPriorityPreference
[all …]
DBubblePreference.java113 mBubbleAllButton.setSelected(mContext, mSelectedPreference == BUBBLE_PREFERENCE_ALL); in onBindViewHolder()
123 mBubbleSelectedButton.setSelected(mContext, in onBindViewHolder()
135 mBubbleNoneButton.setSelected(mContext, mSelectedPreference == BUBBLE_PREFERENCE_NONE); in onBindViewHolder()
146 mBubbleAllButton.setSelected(mContext, selected == BUBBLE_PREFERENCE_ALL); in onClick()
147 mBubbleSelectedButton.setSelected(mContext, selected == BUBBLE_PREFERENCE_SELECTED); in onClick()
148 mBubbleNoneButton.setSelected(mContext, selected == BUBBLE_PREFERENCE_NONE); in onClick()
164 void setSelected(Context context, boolean selected) { in setSelected() method in BubblePreference.ButtonViewHolder
168 mView.setSelected(selected); in setSelected()
DImportancePreference.java122 mSilenceButton.setSelected(true); in onBindViewHolder()
128 mAlertButton.setSelected(true); in onBindViewHolder()
141 mAlertButton.setSelected(false); in onBindViewHolder()
142 mSilenceButton.setSelected(true); in onBindViewHolder()
151 mSilenceButton.setSelected(false); in onBindViewHolder()
152 mAlertButton.setSelected(true); in onBindViewHolder()
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java111 private void setSelected(View view) { in setSelected() method in BottomNavBar
112 speedDial.setSelected(view == speedDial); in setSelected()
113 callLog.setSelected(view == callLog); in setSelected()
114 contacts.setSelected(view == contacts); in setSelected()
115 voicemail.setSelected(view == voicemail); in setSelected()
126 setSelected(speedDial); in selectTab()
129 setSelected(callLog); in selectTab()
132 setSelected(contacts); in selectTab()
135 setSelected(voicemail); in selectTab()
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DRegionalPreferenceListBasePreferenceController.java62 setSelected(pref); in initPreferences()
68 pref.setSelected(!value.isEmpty() && item.equals(value)); in initPreferences()
72 private void setSelected(TickButtonPreference preference) { in setSelected() method in RegionalPreferenceListBasePreferenceController
76 pref.setSelected(true); in setSelected()
79 pref.setSelected(false); in setSelected()
/packages/apps/Camera2/src/com/android/camera/widget/
DAspectRatioDialogLayout.java112 mAspectRatio4x3Button.setSelected(true); in setAspectRatio()
113 mAspectRatio16x9Button.setSelected(false); in setAspectRatio()
116 mAspectRatio16x9Button.setSelected(true); in setAspectRatio()
117 mAspectRatio4x3Button.setSelected(false); in setAspectRatio()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryComposerFragment.java126 setSelected(data1, true); in onActivityCreated()
154 setSelected(selectedData, selectedDataIsCopy); in onLoadFinished()
194 setSelected(new GalleryGridItemData(itemView.getData()), false); in onClick()
220 private void setSelected(GalleryGridItemData data, boolean isCopy) { in setSelected() method in GalleryComposerFragment
223 adapter.setSelected(selectedData); in setSelected()
239 setSelected(null, false); in clearComposer()
DGalleryGridAdapter.java87 gridView.setSelected(gridView.getData().equals(selectedData)); in bindView()
100 public void setSelected(GalleryGridItemData selectedData) { in setSelected() method in GalleryGridAdapter
103 view.setSelected(view.getData().equals(selectedData)); in setSelected()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DDuoTabs.java139 mPrimaryTabContainer.setSelected(tab == TAB_PRIMARY); in updateTabIndicator()
141 mPrimaryTabText.setSelected(tab == TAB_PRIMARY); in updateTabIndicator()
153 mSecondaryTabContainer.setSelected(tab == TAB_SECONDARY); in updateTabIndicator()
155 mSecondaryTabText.setSelected(tab == TAB_SECONDARY); in updateTabIndicator()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaChooser.java72 protected void setSelected(final boolean selected) { in setSelected() method in MediaChooser
79 mTabButton.setSelected(selected); in setSelected()
96 setSelected(mSelected); in onCreateTabButton()
DAudioMediaChooser.java109 protected void setSelected(final boolean selected) { in setSelected() method in AudioMediaChooser
110 super.setSelected(selected); in setSelected()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/chooser/
DTargetInfoTest.kt305 multiTargetInfo.setSelected(1) in testNewMultiDisplayResolveInfo()
357 multiTargetInfo.setSelected(0) in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget()
361 multiTargetInfo.setSelected(1) in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget()
365 multiTargetInfo.setSelected(2) in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget()
392 multiTargetInfo.setSelected(1) in testNewMultiDisplayResolveInfo_tryToCloneWithAppliedRefinement_delegatedToSelectedTarget()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DMainPanel.java60 looksButton.setSelected(value); in selection()
64 bordersButton.setSelected(value); in selection()
68 geometryButton.setSelected(value); in selection()
72 filtersButton.setSelected(value); in selection()
/packages/apps/Settings/src/com/android/settings/widget/
DTickButtonPreference.java42 setSelected(mIsSelected); in onBindViewHolder()
46 public void setSelected(boolean isSelected) { in setSelected() method in TickButtonPreference
/packages/apps/Settings/src/com/android/settings/inputmethod/
DNewKeyboardLayoutPickerController.java118 pref.setSelected(true); in handlePreferenceTreeClick()
121 preSelectedPref.setSelected(false); in handlePreferenceTreeClick()
155 pref.setSelected(true); in createPreferenceHierarchy()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableAdapter.java45 model.setSelected(false); in toggleSelect()
48 model.setSelected(true); in toggleSelect()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/
DCarUiPortraitAppGridButton.java47 super.setSelected(mRecentsButtonStateProvider.getIsRecentsActive() || mIsAppGridActive); in setAppGridSelected()
57 super.setSelected(mRecentsButtonStateProvider.getIsRecentsActive() || mIsAppGridActive); in setRecentsSelected()
/packages/apps/Settings/src/com/android/settings/dream/
DDreamAdapter.java103 itemView.setSelected(true); in bindView()
106 itemView.setSelected(false); in bindView()
126 mCustomizeButton.setSelected(false); in bindView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java203 mCurrentSelectedView.setSelected(false); in onTouch()
262 mCurrentView.setSelected(true); in onTouchEvent()
266 mCurrentView.setSelected(false); in onTouchEvent()
276 mCurrentView.setSelected(false); in onTouchEvent()
DStateView.java103 public void setSelected(boolean value) { in setSelected() method in StateView
104 super.setSelected(value); in setSelected()
326 setSelected(true); in onTouchEvent()
335 setSelected(false); in onTouchEvent()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java186 textView.setSelected(true); in addTab()
210 mTabStrip.getChildAt(mPrevSelected).setSelected(false); in onPageSelected()
213 selectedChild.setSelected(true); in onPageSelected()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DAssistantButton.java96 public void setSelected(boolean selected) { in setSelected() method in AssistantButton
104 () -> AssistantButton.super.setSelected(selected)); in assistantSetSelected()
/packages/apps/Calendar/src/com/android/calendar/
DDayFragment.kt101 view.setSelected(mSelectedDay, false, false) in makeView()
157 currentView.setSelected(goToTime, ignoreTime, animateToday) in goTo()
171 next?.setSelected(goToTime, ignoreTime, animateToday) in goTo()

12345