Home
last modified time | relevance | path

Searched refs:mChecked (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DPrimarySwitchPreference.java41 private boolean mChecked; field in PrimarySwitchPreference
79 setChecked(!mChecked); in onBindViewHolder()
80 if (!callChangeListener(mChecked)) { in onBindViewHolder()
81 setChecked(!mChecked); in onBindViewHolder()
83 persistBoolean(mChecked); in onBindViewHolder()
97 mSwitch.setChecked(mChecked); in onBindViewHolder()
103 return mSwitch != null && mChecked; in isChecked()
113 return mCheckedSet ? mChecked : null; in getCheckedState()
123 final boolean changed = mChecked != checked; in setChecked()
125 mChecked = checked; in setChecked()
DPrimaryCheckBoxPreference.java37 private boolean mChecked; field in PrimaryCheckBoxPreference
73 setChecked(!mChecked); in onBindViewHolder()
74 if (!callChangeListener(mChecked)) { in onBindViewHolder()
75 setChecked(!mChecked); in onBindViewHolder()
77 persistBoolean(mChecked); in onBindViewHolder()
86 mCheckBox.setChecked(mChecked); in onBindViewHolder()
98 return mCheckBox != null && mChecked; in isChecked()
106 mChecked = checked; in setChecked()
DCheckableRelativeLayout.java47 private boolean mChecked; field in CheckableRelativeLayout
88 if (mChecked != checked) { in setChecked()
89 mChecked = checked; in setChecked()
108 return mChecked; in isChecked()
113 setChecked(!mChecked); in toggle()
119 event.setChecked(mChecked); in onInitializeAccessibilityEvent()
125 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfo()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java52 public boolean mChecked; field in CellDataPreference
67 mChecked = state.mChecked; in onRestoreInstanceState()
79 state.mChecked = mChecked; in onSaveInstanceState()
142 .action(context, SettingsEnums.ACTION_CELL_DATA_TOGGLE, !mChecked); in performClick()
146 if (mChecked) { in performClick()
165 if (mChecked == checked) return; in setChecked()
166 mChecked = checked; in setChecked()
175 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
261 public boolean mChecked; field in CellDataPreference.CellDataState
270 mChecked = source.readByte() != 0; in CellDataState()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DLeftSideCheckBoxPreference.java30 private boolean mChecked; field in LeftSideCheckBoxPreference
53 mChecked = isChecked; in LeftSideCheckBoxPreference()
62 mCheckBox.setChecked(mChecked); in onBindViewHolder()
69 mChecked = !mChecked; in onClick()
70 mCheckBox.setChecked(mChecked); in onClick()
71 callChangeListener(mChecked); in onClick()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DCheckableLinearLayout.java43 private boolean mChecked = false; field in CheckableLinearLayout
65 return mChecked; in isChecked()
70 if (mChecked == checked) { in setChecked()
74 mChecked = checked; in setChecked()
81 setChecked(!mChecked); in toggle()
95 updateChildrenChecked(this, mChecked); in updateChildrenChecked()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroup.java46 private boolean mChecked; field in CollapsibleCheckboxPreferenceGroup
68 mTextView.setActivated(mChecked); in onBindViewHolder()
70 ((Checkable) checkbox).setChecked(mChecked); in onBindViewHolder()
115 checkable.setChecked(mChecked); in onClick()
118 mTextView.setActivated(mChecked); in onClick()
132 return mChecked; in isChecked()
139 if (mChecked != checked) { in setChecked()
140 mChecked = checked; in setChecked()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCompoundButtonItem.java31 private boolean mChecked; field in CompoundButtonItem
103 if (mChecked != checked) { in setChecked()
104 mChecked = checked; in setChecked()
110 return mChecked; in isChecked()
115 mTextView.setText(mChecked ? mCheckedTitle : mUncheckedTitle); in updateInternal()
116 mCompoundButton.setChecked(mChecked); in updateInternal()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DCheckableImageView.java30 private boolean mChecked; field in CheckableImageView
50 setChecked(!mChecked); in toggle()
54 return mChecked; in isChecked()
58 if (mChecked != checked) { in setChecked()
59 mChecked = checked; in setChecked()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCheckableFrameLayout.java26 boolean mChecked; field in CheckableFrameLayout
41 return mChecked; in isChecked()
45 if (checked != mChecked) { in setChecked()
46 mChecked = checked; in setChecked()
52 setChecked(!mChecked); in toggle()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DAction.java53 private boolean mChecked; field in Action
70 private boolean mChecked; field in Action.Builder
84 mChecked, in build()
124 mChecked = checked; in checked()
162 mChecked = checked; in Action()
230 return mChecked; in isChecked()
257 mChecked = checked; in setChecked()
350 dest.writeInt(mChecked ? 1 : 0); in writeToParcel()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutPreference.java59 private boolean mChecked = false; field in ShortcutPreference
94 switchWidget.setChecked(mChecked); in onBindViewHolder()
118 if (mChecked != checked) { in setChecked()
119 mChecked = checked; in setChecked()
130 return mChecked; in isChecked()
164 setChecked(!mChecked); in callOnToggleClicked()
/packages/apps/Settings/src/com/android/settings/
DCheckableLinearLayout.java27 private boolean mChecked; field in CheckableLinearLayout
48 mChecked = checked; in setChecked()
54 return mChecked; in isChecked()
59 setChecked(!mChecked); in toggle()
67 ((Checkable) child).setChecked(mChecked); in updateChecked()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DCorpusView.java38 private boolean mChecked; field in CorpusView
70 return mChecked; in isChecked()
75 if (mChecked != checked) { in setChecked()
76 mChecked = checked; in setChecked()
83 setChecked(!mChecked); in toggle()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenRulePreference.java56 private boolean mChecked; field in ZenRulePreference
75 mChecked = mRule.isEnabled(); in ZenRulePreference()
113 mCheckBox.setChecked(mChecked); in onBindViewHolder()
118 return mChecked; in isChecked()
141 mChecked = checked; in setChecked()
150 mRule.setEnabled(!mChecked);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java56 private boolean mChecked; field in PeopleOptionsItemData
85 mChecked = notificationEnabled; in bind()
107 mChecked = cursor.getInt(INDEX_NOTIFICATION_VIBRATION) == 1; in bind()
137 return mChecked; in getChecked()
/packages/services/Telephony/src/com/android/phone/
DEditPhoneNumberPreference.java96 private boolean mChecked; field in EditPhoneNumberPreference
172 if (mChecked) { in onBindView()
271 } else if (mChecked) { in onPrepareDialogBuilder()
363 return mChecked; in isToggled()
369 mChecked = checked; in setToggled()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java68 private boolean mChecked; field in GroupMembershipView.GroupSelectionItem
73 mChecked = checked; in GroupSelectionItem()
81 return mChecked; in isChecked()
85 mChecked = checked; in setChecked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java151 private boolean mChecked; field in AppRestrictionsFragment.AppRestrictionsPreference
176 final boolean changed = mChecked != checked; in setChecked()
178 mChecked = checked; in setChecked()
199 return mChecked; in isChecked()
215 ((Checkable) view).setChecked(mChecked); in syncSwitchView()