/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
H A D | FanDirectionButtonTest.java | 102 assertThat(mDirectionFaceButton.isSelected()).isTrue(); in onPropertyChanged_fanDirectionFace_faceDirectionButtonSelected() 116 assertThat(mDirectionFloorButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionFace_otherButtonsUnselected() 117 assertThat(mDirectionDefrostButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionFace_otherButtonsUnselected() 143 assertThat(mDirectionFaceButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionFaceAndFloor_otherButtonsUnselected() 144 assertThat(mDirectionFloorButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionFaceAndFloor_otherButtonsUnselected() 145 assertThat(mDirectionDefrostButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionFaceAndFloor_otherButtonsUnselected() 158 assertThat(mDirectionFloorButton.isSelected()).isTrue(); in onPropertyChanged_fanDirectionFloor_floorDirectionButtonSelected() 171 assertThat(mDirectionFaceButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionFloor_otherButtonsUnselected() 186 assertThat(mDirectionDefrostButton.isSelected()).isTrue(); in onPropertyChanged_fanDirectionDefrost_defrostDirectionButtonSelected() 199 assertThat(mDirectionFaceButton.isSelected()).isFalse(); in onPropertyChanged_fanDirectionDefrost_otherButtonsUnselected() [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A 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()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsFastScrollHelper.java | 54 private void setLastHolderSelected(boolean isSelected) { in setLastHolderSelected() argument 56 mLastSelectedViewHolder.itemView.setActivated(isSelected); in setLastHolderSelected() 57 mLastSelectedViewHolder.setIsRecyclable(!isSelected); in setLastHolderSelected()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfItemsShorterThanScreenTest.java | 48 assertTrue(mListView.getChildAt(0).isSelected()); in testPreconditions() 55 assertFalse(next.isSelected()); in testMoveDownToOnScreenNextItem() 63 assertTrue(next.isSelected()); in testMoveDownToOnScreenNextItem() 103 assertFalse(view.isSelected()); in testMoveDownToItemRequiringScrolling()
|
H A D | ListOfItemsTallerThanScreenTest.java | 57 assertTrue(view.isSelected()); in testScrollDownAcrossItem() 79 assertTrue("same view should be selected", view.isSelected()); in testScrollDownAcrossItem() 99 assertFalse(mListView.getChildAt(0).isSelected()); in testScrollDownToNextItem() 105 assertTrue("has selection", next.isSelected()); in testScrollDownToNextItem()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsBroadcastConfigInfo.java | 77 public boolean isSelected() { in isSelected() method in CdmaSmsBroadcastConfigInfo 85 (isSelected() ? "ENABLED" : "DISABLED"); in toString()
|
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PreviewPageFrame.java | 43 event.setChecked(isSelected()); in onInitializeAccessibilityEvent() 51 info.setChecked(isSelected()); in onInitializeAccessibilityNodeInfo()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
H A D | RingtoneViewHolder.kt | 50 val opaque = itemHolder.isSelected || !itemHolder.hasPermissions() 74 mSelectedView.visibility = if (itemHolder.isSelected) View.VISIBLE else View.GONE 76 val bgColorId = if (itemHolder.isSelected) R.color.white_08p else R.color.transparent
|
H A D | RingtonePickerActivity.kt | 251 toSelect.isSelected = true 327 if (!ringtone.isSelected) { 328 ringtone.isSelected = true 349 if (deselect && ringtone.isSelected) { 350 ringtone.isSelected = false 571 if (toRemove.isSelected) { 575 defaultRingtone.isSelected = true
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleDebugConfig.java | 69 boolean isSelected = (selected != null in formatBubblesString() 72 String arrow = isSelected ? "=>" : " "; in formatBubblesString()
|
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | VisibleRecipientChip.java | 44 public boolean isSelected() { in isSelected() method in VisibleRecipientChip 45 return mDelegate.isSelected(); in isSelected()
|
H A D | InvisibleRecipientChip.java | 46 public boolean isSelected() { in isSelected() method in InvisibleRecipientChip 47 return mDelegate.isSelected(); in isSelected()
|
H A D | BaseRecipientChip.java | 35 boolean isSelected(); in isSelected() method
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A 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() 1116 isSelected(), mData.getIsIncoming(), false /* needArrow */, [all …]
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
H A D | TopLevelPickerActivity.java | 155 private int getTextColorForWallpaperPositionButton(boolean isSelected) { in getTextColorForWallpaperPositionButton() argument 156 int textColorId = isSelected in getTextColorForWallpaperPositionButton() 1074 private void setCenterWallpaperPositionButtonSelected(Button button, boolean isSelected) { in setCenterWallpaperPositionButtonSelected() argument 1075 int drawableId = isSelected ? R.drawable.center_blue : R.drawable.center_grey; in setCenterWallpaperPositionButtonSelected() 1077 button.setTextColor(getTextColorForWallpaperPositionButton(isSelected)); in setCenterWallpaperPositionButtonSelected() 1080 private void setCenterCropWallpaperPositionButtonSelected(Button button, boolean isSelected) { in setCenterCropWallpaperPositionButtonSelected() argument 1081 int drawableId = isSelected ? R.drawable.center_crop_blue : R.drawable.center_crop_grey; in setCenterCropWallpaperPositionButtonSelected() 1083 button.setTextColor(getTextColorForWallpaperPositionButton(isSelected)); in setCenterCropWallpaperPositionButtonSelected() 1086 private void setStretchWallpaperPositionButtonSelected(Button button, boolean isSelected) { in setStretchWallpaperPositionButtonSelected() argument 1087 int drawableId = isSelected ? R.drawable.stretch_blue : R.drawable.stretch_grey; in setStretchWallpaperPositionButtonSelected() [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | ModelBackedDocumentsAdapter.java | 119 final boolean selected = mEnv.isSelected(mModelIds.get(position)); in onBindViewHolder() 137 boolean selected = mEnv.isSelected(modelId); in onBindViewHolder() 142 holder.setSelected(mEnv.isSelected(modelId), false); in onBindViewHolder()
|
H A D | DragStartListener.java | 154 && !mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied() 158 if (mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied()
|
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/widget/ |
H A 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()
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | DocsSelectionHelper.java | 78 public boolean isSelected(String id) { in isSelected() method in DocsSelectionHelper 79 return mDelegate.isSelected(id); in isSelected()
|
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
H A D | DocsSelectionHelperTest.java | 62 assertFalse(mSelectionMgr.isSelected("poodle")); in testCallableBeforeReset() 138 public boolean isSelected(String id) { in isSelected() method in DocsSelectionHelperTest.TestSelectionManager
|
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
H A D | MediaPickerTest.java | 110 assertEquals(i == 0, tabButton.isSelected()); in testDefaultTabs() 126 assertEquals(i == 0, tabButton.isSelected()); in testFilterTabsBeforeAttach()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
H A D | SelectionAnimator.java | 23 boolean isSelected(); in isSelected() method
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | SortBot.java | 120 boolean isSelected = verifyLabel.isChecked(); in sortByMenu() 123 return isSelected; in sortByMenu()
|
/aosp12/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
H A D | SelectableRowModel.java | 32 boolean isSelected() { in isSelected() method in SelectableRowModel
|
/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | AlbumDataAdapter.java | 63 public boolean isSelected(int position) { in isSelected() method in AlbumDataAdapter 92 checkBox.setChecked(isSelected(position)); in getView()
|