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/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java54 private void setLastHolderSelected(boolean isSelected) { in setLastHolderSelected() argument
56 mLastSelectedViewHolder.itemView.setActivated(isSelected); in setLastHolderSelected()
57 mLastSelectedViewHolder.setIsRecyclable(!isSelected); in setLastHolderSelected()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.kt251 toSelect.isSelected = true in <lambda>()
327 if (!ringtone.isSelected) { in <lambda>()
328 ringtone.isSelected = true in <lambda>()
349 if (deselect && ringtone.isSelected) { in <lambda>()
350 ringtone.isSelected = false in <lambda>()
571 if (toRemove.isSelected) { in <lambda>()
575 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()
DRingtoneHolder.kt31 var isSelected = false variable
/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java155 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 …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java119 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()
DDragStartListener.java154 && !mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied()
158 if (mSelectionMgr.isSelected(modelId)) { in getSelectionToBeCopied()
/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/
DDocsSelectionHelper.java78 public boolean isSelected(String id) { in isSelected() method in DocsSelectionHelper
79 return mDelegate.isSelected(id); in isSelected()
DStubSelectionTracker.java54 public boolean isSelected(K key) { in isSelected() method in StubSelectionTracker
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java62 assertFalse(mSelectionMgr.isSelected("poodle")); in testCallableBeforeReset()
138 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/java/src/android/ext/services/resolver/
DLRResolverRankerService.java173 private void update(ArrayMap<String, Float> target, float predict, boolean isSelected) { in update() argument
178 float error = isSelected ? 1.0f - predict : -predict; in update()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DSelectionAnimator.java23 boolean isSelected(); in isSelected() method
/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/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableRowModel.java32 boolean isSelected() { in isSelected() method in SelectableRowModel
DSelectableAdapter.java44 if (model.isSelected()) { in toggleSelect()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java116 if (isSelected()) { in drawText()
156 } else if (isSelected()) { in onDraw()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestEnvironment.java50 public boolean isSelected(String id) { in isSelected() method in TestEnvironment

123