/packages/apps/Settings/src/com/android/settings/widget/ |
D | SwitchBar.java | 165 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 …]
|
D | ToggleSwitch.java | 28 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/ |
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/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/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/UnifiedEmail/src/com/android/mail/ui/ |
D | MultiFoldersSelectionDialog.java | 109 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/ |
D | CheckableLabeledButton.java | 146 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/ |
D | CallButtonPresenter.java | 211 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/ |
D | SimImportFragment.java | 206 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/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 193 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/ |
D | KeyboardLayoutDialogFragment.java | 261 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/ |
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/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
D | MultiTargetSwitchPreference.java | 31 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/ |
D | BackgroundActivityPreferenceController.java | 61 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/ |
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()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | CarPackageManagerTest.java | 137 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/ |
D | ExternalSourcesDetails.java | 65 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/ |
D | IngestActivity.java | 135 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/ |
D | InCallButtonUiDelegate.java | 38 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/ |
D | CheckableRelativeLayout.java | 55 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/ |
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/Settings/src/com/android/settings/notification/ |
D | NotificationSwitchBarPreference.java | 64 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/ |
D | CorpusView.java | 74 public void setChecked(boolean checked) { in setChecked() argument 75 if (mChecked != checked) { in setChecked() 76 mChecked = checked; in setChecked()
|