/packages/apps/Settings/src/com/android/settings/widget/ |
D | SwitchBar.java | 209 public void setChecked(boolean checked) { in setChecked() argument 210 setTextViewLabelAndBackground(checked); in setChecked() 211 mSwitch.setChecked(checked); in setChecked() 214 public void setCheckedInternal(boolean checked) { in setCheckedInternal() argument 215 setTextViewLabelAndBackground(checked); in setCheckedInternal() 216 mSwitch.setCheckedInternal(checked); in setCheckedInternal() 320 boolean checked; field in SwitchBar.SavedState 332 checked = (Boolean) in.readValue(null); in SavedState() 339 out.writeValue(checked); in writeToParcel() 347 + " checked=" + checked in toString() [all …]
|
D | ToggleSwitch.java | 28 boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked); in onBeforeCheckedChanged() argument 52 public void setChecked(boolean checked) { in setChecked() argument 54 && mOnBeforeListener.onBeforeCheckedChanged(this, checked)) { in setChecked() 57 super.setChecked(checked); in setChecked() 60 public void setCheckedInternal(boolean checked) { in setCheckedInternal() argument 61 super.setChecked(checked); in setCheckedInternal()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SwitchBar.java | 199 public void setChecked(boolean checked) { in setChecked() argument 200 setTextViewLabelAndBackground(checked); in setChecked() 201 mSwitch.setChecked(checked); in setChecked() 204 public void setCheckedInternal(boolean checked) { in setCheckedInternal() argument 205 setTextViewLabelAndBackground(checked); in setCheckedInternal() 206 mSwitch.setCheckedInternal(checked); in setCheckedInternal() 322 boolean checked; field in SwitchBar.SavedState 334 checked = (Boolean) in.readValue(null); in SavedState() 341 out.writeValue(checked); in writeToParcel() 349 + " checked=" + checked in toString() [all …]
|
D | ToggleSwitch.java | 28 boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked); in onBeforeCheckedChanged() argument 52 public void setChecked(boolean checked) { in setChecked() argument 54 && mOnBeforeListener.onBeforeCheckedChanged(this, checked)) { in setChecked() 57 super.setChecked(checked); in setChecked() 60 public void setCheckedInternal(boolean checked) { in setCheckedInternal() argument 61 super.setChecked(checked); in setCheckedInternal()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | Action.java | 123 public Builder checked(boolean checked) { in checked() argument 124 mChecked = checked; in checked() 155 int drawableResource, boolean checked, boolean multilineDescription, in Action() argument 162 mChecked = checked; in Action() 202 builder.checked(true); in createActionsFromArrays() 204 builder.checked(false); in createActionsFromArrays() 256 public void setChecked(boolean checked) { in setChecked() argument 257 mChecked = checked; in setChecked() 325 .checked(source.readInt() != 0)
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | CheckableImageButton.java | 73 public void setChecked(boolean checked) { in setChecked() argument 74 performSetChecked(checked); in setChecked() 84 private void performSetChecked(boolean checked) { in performSetChecked() argument 85 if (isChecked() == checked) { in performSetChecked() 88 isChecked = checked; in performSetChecked() 108 private void userRequestedSetChecked(boolean checked) { in userRequestedSetChecked() argument 109 if (isChecked() == checked) { in userRequestedSetChecked() 117 onCheckedChangeListener.onCheckedChanged(this, checked); in userRequestedSetChecked()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | CollapsibleCheckboxPreferenceGroup.java | 138 public void setChecked(boolean checked) { in setChecked() argument 139 if (mChecked != checked) { in setChecked() 140 mChecked = checked; in setChecked() 142 callChangeListener(checked); in setChecked() 160 myState.checked = isChecked(); in onSaveInstanceState() 175 setChecked(myState.checked); in onRestoreInstanceState() 197 boolean checked; field in CollapsibleCheckboxPreferenceGroup.SavedState 202 checked = source.readInt() != 0; in SavedState() 213 dest.writeInt(checked ? 1 : 0); in writeToParcel()
|
D | DownloadsDeletionPreferenceGroup.java | 90 boolean checked = (boolean) newValue; in onPreferenceChange() 91 if (!checked) { in onPreferenceChange() 108 mDeletionType.setFileChecked(p.getFile(), checked); in onPreferenceChange() local 109 p.setChecked(checked); in onPreferenceChange() 116 checked); in onPreferenceChange() local 122 mDeletionType.setFileChecked(p.getFile(), checked); in onPreferenceChange() local
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttCheckableButton.java | 78 public void setChecked(boolean checked) { in setChecked() argument 79 performSetChecked(checked); in setChecked() 89 private void performSetChecked(boolean checked) { in performSetChecked() argument 90 if (isChecked() == checked) { in performSetChecked() 93 isChecked = checked; in performSetChecked() 113 private void userRequestedSetChecked(boolean checked) { in userRequestedSetChecked() argument 114 if (isChecked() == checked) { in userRequestedSetChecked() 122 onCheckedChangeListener.onCheckedChanged(this, checked); in userRequestedSetChecked()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | CheckableLinearLayout.java | 69 public void setChecked(boolean checked) { in setChecked() argument 70 if (mChecked == checked) { in setChecked() 74 mChecked = checked; in setChecked() 99 private static void updateChildrenChecked(@NonNull ViewGroup viewGroup, boolean checked) { in updateChildrenChecked() argument 105 ((Checkable) child).setChecked(checked); in updateChildrenChecked() 107 updateChildrenChecked((ViewGroup) child, checked); in updateChildrenChecked() local
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 170 public void setChecked(boolean checked) { in setChecked() argument 171 performSetChecked(checked); in setChecked() 238 private void performSetChecked(boolean checked) { in performSetChecked() argument 239 if (isChecked() == checked) { in performSetChecked() 242 isChecked = checked; in performSetChecked() 253 private void userRequestedSetChecked(boolean checked) { in userRequestedSetChecked() argument 254 if (isChecked() == checked) { in userRequestedSetChecked() 262 onCheckedChangeListener.onCheckedChanged(this, checked); in userRequestedSetChecked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 173 final boolean checked = AccessibilityUtils.getEnabledServicesFromSettings(getActivity()) in updateSwitchBarToggleSwitch() 175 mSwitchBar.setCheckedInternal(checked); in updateSwitchBarToggleSwitch() 209 final boolean checked; in onClick() 226 checked = (mShownDialogId == DIALOG_ID_DISABLE_WARNING); in onClick() 227 handleConfirmServiceEnabled(checked); in onClick() 260 public boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked) { in onInstallSwitchBarToggleSwitch() 261 if (checked) { in onInstallSwitchBarToggleSwitch()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportFragment.java | 207 final SparseBooleanArray checked = mListView.getCheckedItemPositions(); in updateToolbarWithCurrentSelections() local 208 for (int i = 0; i < checked.size(); i++) { in updateToolbarWithCurrentSelections() 209 if (checked.valueAt(i) && !mAdapter.existsInCurrentAccount(checked.keyAt(i))) { in updateToolbarWithCurrentSelections() 292 final SparseBooleanArray checked = mListView.getCheckedItemPositions(); in importCurrentSelections() local 293 final ArrayList<SimContact> importableContacts = new ArrayList<>(checked.size()); in importCurrentSelections() 294 for (int i = 0; i < checked.size(); i++) { in importCurrentSelections() 297 if (checked.valueAt(i) && !mAdapter.existsInCurrentAccount(i)) { in importCurrentSelections() 298 importableContacts.add(mAdapter.getItem(checked.keyAt(i))); in importCurrentSelections()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
D | CheckBroker.java | 42 public abstract void setItemChecked(int position, boolean checked); in setItemChecked() argument 44 public void onCheckedChange(int position, boolean checked) { in onCheckedChange() argument 45 if (isItemChecked(position) != checked) { in onCheckedChange() 47 l.onCheckedChanged(position, checked); in onCheckedChange()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | MultiTargetSwitchPreference.java | 33 public void setCheckedOverride(boolean checked) { in setCheckedOverride() argument 34 super.setChecked(checked); in setCheckedOverride() 38 public void setChecked(boolean checked) { in setChecked() argument 41 super.setChecked(checked); in setChecked()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackSideFragment.java | 78 .checked(mSelectedTrackId == null) in onCreateActions() 83 boolean checked = TextUtils.equals(info.getId(), mSelectedTrackId); in onCreateActions() 89 .checked(checked) in onCreateActions() 92 if (checked) { in onCreateActions()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutDialogFragment.java | 248 boolean checked = (position == mCheckedItem); in getView() 250 return inflateOneLine(convertView, parent, label, checked); in getView() 252 return inflateTwoLine(convertView, parent, label, collection, checked); in getView() 257 String label, boolean checked) { in inflateOneLine() argument 267 headline.setChecked(checked); in inflateOneLine() 272 String label, String collection, boolean checked) { in inflateTwoLine() argument 286 radioButton.setChecked(checked); in inflateTwoLine()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/ |
D | KeyboardLayoutDialogFragment.java | 248 boolean checked = (position == mCheckedItem); in getView() 250 return inflateOneLine(convertView, parent, label, checked); in getView() 252 return inflateTwoLine(convertView, parent, label, collection, checked); in getView() 257 String label, boolean checked) { in inflateOneLine() argument 267 headline.setChecked(checked); in inflateOneLine() 272 String label, String collection, boolean checked) { in inflateTwoLine() argument 286 radioButton.setChecked(checked); in inflateTwoLine()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallButtonPresenter.java | 229 public void muteClicked(boolean checked, boolean clickedByUser) { in muteClicked() argument 231 "CallButtonPresenter", "turning on mute: %s, clicked by user: %s", checked, clickedByUser); in muteClicked() 235 checked in muteClicked() 241 TelecomAdapter.getInstance().mute(checked); in muteClicked() 245 public void holdClicked(boolean checked) { in holdClicked() argument 249 if (checked) { in holdClicked() 289 public void showDialpadClicked(boolean checked) { in showDialpadClicked() argument 295 LogUtil.v("CallButtonPresenter", "show dialpad " + String.valueOf(checked)); in showDialpadClicked() 296 getActivity().showDialpadFragment(checked /* show */, true /* animate */); in showDialpadClicked()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/ |
D | CheckableRelativeLayout.java | 68 public void setChecked(boolean checked) { in setChecked() argument 69 if (mChecked != checked) { in setChecked() 70 mChecked = checked; in setChecked() 72 mCheckableChildView.setChecked(checked); in setChecked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | ExternalSourcesDetails.java | 67 final boolean checked = (Boolean) newValue; in onPreferenceChange() 69 if (mInstallAppsState != null && checked != mInstallAppsState.canInstallApps()) { in onPreferenceChange() 72 setResult(checked ? RESULT_OK : RESULT_CANCELED); in onPreferenceChange() 74 setCanInstallApps(checked); in onPreferenceChange()
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | InCallButtonUiDelegate.java | 36 void muteClicked(boolean checked, boolean clickedByUser); in muteClicked() argument 40 void holdClicked(boolean checked); in holdClicked() argument 44 void showDialpadClicked(boolean checked); in showDialpadClicked() argument
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | CheckableImageView.java | 57 public void setChecked(boolean checked) { in setChecked() argument 58 if (mChecked != checked) { in setChecked() 59 mChecked = checked; in setChecked()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | CheckableFrameLayout.java | 44 public void setChecked(boolean checked) { in setChecked() argument 45 if (checked != mChecked) { in setChecked() 46 mChecked = checked; in setChecked()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 70 public GroupSelectionItem(long groupId, String title, boolean checked) { in GroupSelectionItem() argument 73 mChecked = checked; in GroupSelectionItem() 84 public void setChecked(boolean checked) { in setChecked() argument 85 mChecked = checked; in setChecked() 368 boolean checked = hasMembership(groupId); in onClick() 369 mAdapter.add(new GroupSelectionItem(groupId, title, checked)); in onClick()
|