Home
last modified time | relevance | path

Searched refs:isSelected (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListItemView.java143 final boolean isSelected = mHostInterface.isContactSelected(mData); in updateViewAppearance()
144 setSelected(isSelected); in updateViewAppearance()
145 mContactCheckmarkView.setVisibility(isSelected ? VISIBLE : GONE); in updateViewAppearance()
152 final boolean isSelected = mHostInterface.isContactSelected(mData); in updateViewAppearance()
153 setSelected(isSelected); in updateViewAppearance()
154 mContactCheckmarkView.setVisibility(isSelected ? VISIBLE : GONE); in updateViewAppearance()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java152 private static int getTextColorIdForWallpaperPositionButton(boolean isSelected) { in getTextColorIdForWallpaperPositionButton() argument
153 return isSelected ? R.color.accent_color : R.color.material_grey500; in getTextColorIdForWallpaperPositionButton()
1043 private void setCenterWallpaperPositionButtonSelected(Button button, boolean isSelected) { in setCenterWallpaperPositionButtonSelected() argument
1044 int drawableId = isSelected ? R.drawable.center_blue : R.drawable.center_grey; in setCenterWallpaperPositionButtonSelected()
1046 button.setTextColor(getColor(getTextColorIdForWallpaperPositionButton(isSelected))); in setCenterWallpaperPositionButtonSelected()
1049 private void setCenterCropWallpaperPositionButtonSelected(Button button, boolean isSelected) { in setCenterCropWallpaperPositionButtonSelected() argument
1050 int drawableId = isSelected ? R.drawable.center_crop_blue : R.drawable.center_crop_grey; in setCenterCropWallpaperPositionButtonSelected()
1052 button.setTextColor(getColor(getTextColorIdForWallpaperPositionButton(isSelected))); in setCenterCropWallpaperPositionButtonSelected()
1055 private void setStretchWallpaperPositionButtonSelected(Button button, boolean isSelected) { in setStretchWallpaperPositionButtonSelected() argument
1056 int drawableId = isSelected ? R.drawable.stretch_blue : R.drawable.stretch_grey; in setStretchWallpaperPositionButtonSelected()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java326 if (isSelected()) { in updateViewContent()
344 if (isSelected()) { in updateViewContent()
369 if (isSelected()) { in updateViewContent()
701 isSelected(), in updateViewAppearance()
728 isSelected(), in updateViewAppearance()
857 if (isSelected()) { in updateMessageAttachmentsAppearance()
864 if (isSelected()) { in updateMessageAttachmentsAppearance()
875 if (isSelected()) { in updateMessageAttachmentsAppearance()
905 if (isSelected()) { in updateTextAppearance()
1114 audioView.bindMessagePartData(attachment, mData.getIsIncoming(), isSelected());
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.kt250 toSelect.isSelected = true in <lambda>()
326 if (!ringtone.isSelected) { in <lambda>()
327 ringtone.isSelected = true in <lambda>()
348 if (deselect && ringtone.isSelected) { in <lambda>()
349 ringtone.isSelected = false in <lambda>()
570 if (toRemove.isSelected) { in <lambda>()
574 defaultRingtone.isSelected = true in <lambda>()
DRingtoneViewHolder.kt50 val opaque = itemHolder.isSelected || !itemHolder.hasPermissions() in onBindItemView()
74 mSelectedView.visibility = if (itemHolder.isSelected) View.VISIBLE else View.GONE in onBindItemView()
76 val bgColorId = if (itemHolder.isSelected) R.color.white_08p else R.color.transparent in onBindItemView()
DRingtoneViewHolder.java65 final boolean opaque = itemHolder.isSelected() || !itemHolder.hasPermissions(); in onBindItemView()
89 mSelectedView.setVisibility(itemHolder.isSelected() ? VISIBLE : GONE); in onBindItemView()
91 final int bgColorId = itemHolder.isSelected() ? R.color.white_08p : R.color.transparent; in onBindItemView()
DRingtonePickerActivity.java393 if (!ringtone.isSelected()) { in startPlayingRingtone()
415 if (deselect && ringtone.isSelected()) { in stopPlayingRingtone()
660 if (toRemove.isSelected()) { in onPostExecute()
DRingtoneHolder.kt31 var isSelected = false variable
/packages/apps/Dialer/java/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java69 private boolean isSelected; field in SelectPhoneAccountDialogFragment
111 isSelected = false; in onCreateDialog()
117 isSelected = true; in onCreateDialog()
181 if (!isSelected && listener != null) { in onCancel()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java119 final boolean selected = mEnv.isSelected(mModelIds.get(position)); in onBindViewHolder()
136 boolean selected = mEnv.isSelected(modelId); in onBindViewHolder()
141 holder.setSelected(mEnv.isSelected(modelId), false); in onBindViewHolder()
DDragStartListener.java154 && !mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied()
158 if (mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiCallingSettingUiTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isSelected;
235 onView(withText(SUBSCRIPTION0_NAME)).check(matches(isSelected())); in testDualSimUi()
244 onView(withText(SUBSCRIPTION1_NAME)).check(matches(isSelected())); in testDualSimUi()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocsSelectionHelper.java78 public boolean isSelected(String id) { in isSelected() method in DocsSelectionHelper
79 return mDelegate.isSelected(id); in isSelected()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java71 assertFalse(mSelectionMgr.isSelected("poodle")); in testCallableBeforeReset()
144 public boolean isSelected(String id) { in isSelected() method in DocsSelectionHelperTest.TestSelectionManager
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DMediaPickerTest.java110 assertEquals(i == 0, tabButton.isSelected()); in testDefaultTabs()
126 assertEquals(i == 0, tabButton.isSelected()); in testFilterTabsBeforeAttach()
DGalleryGridItemViewTest.java57 final boolean isSelected) { in verifyContent() argument
67 assertEquals(isSelected, checkBox.isChecked()); in verifyContent()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DManageCachePage.java172 boolean isSelected = mSelectionManager.isItemSelected(path); in onSingleTapUp()
177 if (isSelected) { in onSingleTapUp()
186 (isFullyCached ^ isSelected) ? -sizeOfTarget : sizeOfTarget); in onSingleTapUp()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java120 boolean isSelected = verifyLabel.isChecked(); in sortByMenu()
123 return isSelected; in sortByMenu()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DAlbumDataAdapter.java63 public boolean isSelected(int position) { in isSelected() method in AlbumDataAdapter
92 checkBox.setChecked(isSelected(position)); in getView()
/packages/modules/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java151 private void update(ArrayMap<String, Float> target, float predict, boolean isSelected) { in update() argument
156 float error = isSelected ? 1.0f - predict : -predict; in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSmsDefaultDialog.java94 if (!adapter.isSelected(which)) { in onClick()
246 public boolean isSelected(int position) { in isSelected() method in SmsDefaultDialog.AppListAdapter
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListItemView.java436 final boolean isSelected = mHostInterface.isConversationSelected(mData.getConversationId()); in bind()
437 setSelected(isSelected); in bind()
442 if (isSelected) { in bind()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java116 if (isSelected()) { in drawText()
156 } else if (isSelected()) { in onDraw()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DSelectionAnimator.java23 boolean isSelected(); in isSelected() method
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java564 if (route.isSelected()) { in toggleRoute()
674 if (route.isSelected()) { in RoutePreference()
820 && route.isSelected() && !route.isConnecting()) { in updateSummary()

123