Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java165 public void setChecked(boolean checked) { in setChecked() argument
166 setTextViewLabel(checked); in setChecked()
167 mSwitch.setChecked(checked); in setChecked()
170 public void setCheckedInternal(boolean checked) { in setCheckedInternal() argument
171 setTextViewLabel(checked); in setCheckedInternal()
172 mSwitch.setCheckedInternal(checked); in setCheckedInternal()
275 boolean checked; field in SwitchBar.SavedState
287 checked = (Boolean)in.readValue(null); in SavedState()
294 out.writeValue(checked); in writeToParcel()
302 + " checked=" + checked in toString()
[all …]
DToggleSwitch.java28 public 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() 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/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/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/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/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java146 public void setChecked(boolean checked) { in setChecked() argument
147 performSetChecked(checked); in setChecked()
214 private void performSetChecked(boolean checked) { in performSetChecked() argument
215 if (isChecked() == checked) { in performSetChecked()
218 isChecked = checked; in performSetChecked()
229 private void userRequestedSetChecked(boolean checked) { in userRequestedSetChecked() argument
230 if (isChecked() == checked) { in userRequestedSetChecked()
238 onCheckedChangeListener.onCheckedChanged(this, checked); in userRequestedSetChecked()
/packages/apps/Dialer/java/com/android/incallui/
DCallButtonPresenter.java211 public void muteClicked(boolean checked, boolean clickedByUser) { in muteClicked() argument
213 "CallButtonPresenter", "turning on mute: %s, clicked by user: %s", checked, clickedByUser); in muteClicked()
217 checked in muteClicked()
223 TelecomAdapter.getInstance().mute(checked); in muteClicked()
227 public void holdClicked(boolean checked) { in holdClicked() argument
231 if (checked) { in holdClicked()
266 public void showDialpadClicked(boolean checked) { in showDialpadClicked() argument
267 LogUtil.v("CallButtonPresenter", "show dialpad " + String.valueOf(checked)); in showDialpadClicked()
268 getActivity().showDialpadFragment(checked /* show */, true /* animate */); in showDialpadClicked()
/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/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java193 final boolean checked = AccessibilityUtils.getEnabledServicesFromSettings(getActivity()) in updateSwitchBarToggleSwitch()
195 mSwitchBar.setCheckedInternal(checked); in updateSwitchBarToggleSwitch()
229 final boolean checked; in onClick()
246 checked = (mShownDialogId == DIALOG_ID_DISABLE_WARNING); in onClick()
247 handleConfirmServiceEnabled(checked); in onClick()
280 public boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked) { in onInstallSwitchBarToggleSwitch()
281 if (checked) { in onInstallSwitchBarToggleSwitch()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java261 boolean checked = (position == mCheckedItem); in getView()
263 return inflateOneLine(convertView, parent, label, checked); in getView()
265 return inflateTwoLine(convertView, parent, label, collection, checked); in getView()
270 String label, boolean checked) { in inflateOneLine() argument
280 headline.setChecked(checked); in inflateOneLine()
285 String label, String collection, boolean checked) { in inflateTwoLine() argument
299 radioButton.setChecked(checked); in inflateTwoLine()
/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DMultiTargetSwitchPreference.java31 public void setCheckedOverride(boolean checked) { in setCheckedOverride() argument
32 super.setChecked(checked); in setCheckedOverride()
36 public void setChecked(boolean checked) { in setChecked() argument
39 super.setChecked(checked); in setChecked()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBackgroundActivityPreferenceController.java61 final boolean checked = mode != AppOpsManager.MODE_IGNORED; in updateState()
62 ((SwitchPreference) preference).setChecked(checked); in updateState()
125 final boolean checked = mode != AppOpsManager.MODE_IGNORED; in updateSummary()
126 preference.setSummary(checked ? R.string.background_activity_summary_on in updateSummary()
/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()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarPackageManagerTest.java137 boolean checked = checker.check(); in pollingCheck()
138 while (!checked && (retry < maxRetry)) { in pollingCheck()
141 checked = checker.check(); in pollingCheck()
143 return checked; in pollingCheck()
/packages/apps/Settings/src/com/android/settings/applications/
DExternalSourcesDetails.java65 final boolean checked = (Boolean) newValue; in onPreferenceChange()
67 if (mInstallAppsState != null && checked != mInstallAppsState.canInstallApps()) { in onPreferenceChange()
70 setResult(checked ? RESULT_OK : RESULT_CANCELED); in onPreferenceChange()
72 setCanInstallApps(checked); in onPreferenceChange()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java135 boolean checked) {
173 mPositionMappingCheckBroker.onCheckedChange(position, checked);
317 public void setItemChecked(int position, boolean checked) { in setItemChecked() argument
318 mGridView.setItemChecked(mapPagerToGridPosition(position), checked); in setItemChecked() local
322 public void onCheckedChange(int position, boolean checked) { in onCheckedChange() argument
324 super.onCheckedChange(mapGridToPagerPosition(position), checked); in onCheckedChange() local
/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/Music/src/com/android/music/
DCheckableRelativeLayout.java55 public void setChecked(boolean checked) { in setChecked() argument
56 if (mChecked != checked) { in setChecked()
57 mChecked = checked; in setChecked()
/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/WallpaperPicker/src/com/android/wallpaperpicker/
DCheckableFrameLayout.java44 public void setChecked(boolean checked) { in setChecked() argument
45 if (checked != mChecked) { in setChecked()
46 mChecked = checked; in setChecked()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSwitchBarPreference.java64 public void setChecked(boolean checked) { in setChecked() argument
65 mChecked = checked; in setChecked()
67 mSwitch.setChecked(checked); in setChecked()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DCorpusView.java74 public void setChecked(boolean checked) { in setChecked() argument
75 if (mChecked != checked) { in setChecked()
76 mChecked = checked; in setChecked()

1234