Home
last modified time | relevance | path

Searched refs:checked (Results 1 – 25 of 143) sorted by relevance

123456

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java199 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 …]
DToggleSwitch.java28 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/Settings/src/com/android/settings/widget/
DSwitchBar.java209 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 …]
DToggleSwitch.java28 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/
DAction.java123 public Builder checked(boolean checked) { in checked() method in Action.Builder
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/
DCheckableImageButton.java73 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/
DCollapsibleCheckboxPreferenceGroup.java138 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()
DDownloadsDeletionPreferenceGroup.java90 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/
DRttCheckableButton.java78 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/UnifiedEmail/src/com/android/mail/ui/
DMultiFoldersSelectionDialog.java109 final HashSet<String> checked = new HashSet<String>(); in onCreate()
114 checked.addAll(Arrays.asList(Folder.getUriArray(rawFolders))); in onCreate()
118 checked.add(mCurrentFolder.folderUri.fullUri.toString()); in onCreate()
121 final Set<String> originalChecked = ImmutableSet.copyOf(checked); in onCreate()
124 checked.add(entry.getKey().toString()); in onCreate()
126 checked.remove(entry.getKey().toString()); in onCreate()
147 checked, R.layout.multi_folders_view)); in onCreate()
155 checked, R.layout.multi_folders_view)); in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DCheckableLinearLayout.java69 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/
DCheckableLabeledButton.java170 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/
DToggleAccessibilityServicePreferenceFragment.java173 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/
DSimImportFragment.java206 final SparseBooleanArray checked = mListView.getCheckedItemPositions(); in updateToolbarWithCurrentSelections() local
207 for (int i = 0; i < checked.size(); i++) { in updateToolbarWithCurrentSelections()
208 if (checked.valueAt(i) && !mAdapter.existsInCurrentAccount(checked.keyAt(i))) { in updateToolbarWithCurrentSelections()
291 final SparseBooleanArray checked = mListView.getCheckedItemPositions(); in importCurrentSelections() local
292 final ArrayList<SimContact> importableContacts = new ArrayList<>(checked.size()); in importCurrentSelections()
293 for (int i = 0; i < checked.size(); i++) { in importCurrentSelections()
296 if (checked.valueAt(i) && !mAdapter.existsInCurrentAccount(i)) { in importCurrentSelections()
297 importableContacts.add(mAdapter.getItem(checked.keyAt(i))); in importCurrentSelections()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DCheckBroker.java42 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/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackSideFragment.java78 .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/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DMultiTargetSwitchPreference.java33 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/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java248 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/
DKeyboardLayoutDialogFragment.java248 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/
DCallButtonPresenter.java222 public void muteClicked(boolean checked, boolean clickedByUser) { in muteClicked() argument
224 "CallButtonPresenter", "turning on mute: %s, clicked by user: %s", checked, clickedByUser); in muteClicked()
228 checked in muteClicked()
234 TelecomAdapter.getInstance().mute(checked); in muteClicked()
238 public void holdClicked(boolean checked) { in holdClicked() argument
242 if (checked) { in holdClicked()
293 public void showDialpadClicked(boolean checked) { in showDialpadClicked() argument
299 LogUtil.v("CallButtonPresenter", "show dialpad " + String.valueOf(checked)); in showDialpadClicked()
300 getActivity().showDialpadFragment(checked /* show */, true /* animate */); in showDialpadClicked()
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DCheckableRelativeLayout.java68 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/
DExternalSourcesDetails.java67 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/
DInCallButtonUiDelegate.java38 void muteClicked(boolean checked, boolean clickedByUser); in muteClicked() argument
42 void holdClicked(boolean checked); in holdClicked() argument
46 void showDialpadClicked(boolean checked); in showDialpadClicked() argument
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DCheckableImageView.java57 public void setChecked(boolean checked) { in setChecked() argument
58 if (mChecked != checked) { in setChecked()
59 mChecked = checked; in setChecked()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java70 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()

123456