/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactListItemView.java | 143 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/ |
D | TopLevelPickerActivity.java | 152 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/ |
D | ConversationMessageView.java | 326 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/ |
D | RingtonePickerActivity.kt | 250 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>()
|
D | RingtoneViewHolder.kt | 50 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()
|
D | RingtoneViewHolder.java | 65 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()
|
D | RingtonePickerActivity.java | 393 if (!ringtone.isSelected()) { in startPlayingRingtone() 415 if (deselect && ringtone.isSelected()) { in stopPlayingRingtone() 660 if (toRemove.isSelected()) { in onPostExecute()
|
D | RingtoneHolder.kt | 31 var isSelected = false variable
|
/packages/apps/Dialer/java/com/android/contacts/common/widget/ |
D | SelectPhoneAccountDialogFragment.java | 69 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/ |
D | ModelBackedDocumentsAdapter.java | 119 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()
|
D | DragStartListener.java | 154 && !mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied() 158 if (mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiCallingSettingUiTest.java | 23 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/ |
D | DocsSelectionHelper.java | 78 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/ |
D | DocsSelectionHelperTest.java | 71 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/ |
D | MediaPickerTest.java | 110 assertEquals(i == 0, tabButton.isSelected()); in testDefaultTabs() 126 assertEquals(i == 0, tabButton.isSelected()); in testFilterTabsBeforeAttach()
|
D | GalleryGridItemViewTest.java | 57 final boolean isSelected) { in verifyContent() argument 67 assertEquals(isSelected, checkBox.isChecked()); in verifyContent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 172 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/ |
D | SortBot.java | 120 boolean isSelected = verifyLabel.isChecked(); in sortByMenu() 123 return isSelected; in sortByMenu()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | AlbumDataAdapter.java | 63 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/ |
D | LRResolverRankerService.java | 151 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/ |
D | SmsDefaultDialog.java | 94 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/ |
D | ConversationListItemView.java | 436 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/ |
D | StateView.java | 116 if (isSelected()) { in drawText() 156 } else if (isSelected()) { in onDraw()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | SelectionAnimator.java | 23 boolean isSelected(); in isSelected() method
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/ |
D | WifiDisplaySettings.java | 564 if (route.isSelected()) { in toggleRoute() 674 if (route.isSelected()) { in RoutePreference() 820 && route.isSelected() && !route.isConnecting()) { in updateSummary()
|