Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationSwitchBarPreference.java31 private boolean mChecked; field in NotificationSwitchBarPreference
49 mChecked = !mChecked; in onBindViewHolder()
50 setChecked(mChecked); in onBindViewHolder()
51 if (!callChangeListener(mChecked)) { in onBindViewHolder()
52 setChecked(!mChecked); in onBindViewHolder()
56 mSwitch.setChecked(mChecked); in onBindViewHolder()
62 return mSwitch != null && mSwitch.isEnabled() && mChecked; in isChecked()
66 mChecked = checked; in setChecked()
DNotificationAppPreference.java35 private boolean mChecked; field in NotificationAppPreference
72 setChecked(!mChecked); in onBindViewHolder()
73 if (!callChangeListener(mChecked)) { in onBindViewHolder()
74 setChecked(!mChecked); in onBindViewHolder()
76 persistBoolean(mChecked); in onBindViewHolder()
85 mSwitch.setChecked(mChecked); in onBindViewHolder()
91 return mSwitch != null && mChecked; in isChecked()
95 mChecked = checked; in setChecked()
DChannelSummaryPreference.java37 private boolean mChecked; field in ChannelSummaryPreference
68 mCheckBox.setChecked(mChecked); in onBindViewHolder()
74 return mChecked; in isChecked()
88 mChecked = checked; in setChecked()
107 setChecked(!mChecked);
108 if (!callChangeListener(mChecked)) {
109 setChecked(!mChecked);
111 persistBoolean(mChecked);
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/Settings/src/com/android/settings/notification/
DNotificationSwitchBarPreference.java31 private boolean mChecked; field in NotificationSwitchBarPreference
49 mChecked = !mChecked; in onBindViewHolder()
50 setChecked(mChecked); in onBindViewHolder()
51 if (!callChangeListener(mChecked)) { in onBindViewHolder()
52 setChecked(!mChecked); in onBindViewHolder()
56 mSwitch.setChecked(mChecked); in onBindViewHolder()
62 return mSwitch != null && mSwitch.isEnabled() && mChecked; in isChecked()
66 mChecked = checked; in setChecked()
DNotificationAppPreference.java35 private boolean mChecked; field in NotificationAppPreference
72 setChecked(!mChecked); in onBindViewHolder()
73 if (!callChangeListener(mChecked)) { in onBindViewHolder()
74 setChecked(!mChecked); in onBindViewHolder()
76 persistBoolean(mChecked); in onBindViewHolder()
85 mSwitch.setChecked(mChecked); in onBindViewHolder()
91 return mSwitch != null && mChecked; in isChecked()
95 mChecked = checked; in setChecked()
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCellDataPreference.java53 public boolean mChecked; field in CellDataPreference
70 mChecked = state.mChecked; in onRestoreInstanceState()
82 state.mChecked = mChecked; in onSaveInstanceState()
139 .action(context, SettingsEnums.ACTION_CELL_DATA_TOGGLE, !mChecked); in performClick()
143 if (mChecked) { in performClick()
185 if (mChecked == checked) return; in setChecked()
186 mChecked = checked; in setChecked()
195 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
300 public boolean mChecked; field in CellDataPreference.CellDataState
309 mChecked = source.readByte() != 0; in CellDataState()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java53 public boolean mChecked; field in CellDataPreference
70 mChecked = state.mChecked; in onRestoreInstanceState()
82 state.mChecked = mChecked; in onSaveInstanceState()
139 .action(context, SettingsEnums.ACTION_CELL_DATA_TOGGLE, !mChecked); in performClick()
143 if (mChecked) { in performClick()
185 if (mChecked == checked) return; in setChecked()
186 mChecked = checked; in setChecked()
195 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
300 public boolean mChecked; field in CellDataPreference.CellDataState
309 mChecked = source.readByte() != 0; in CellDataState()
[all …]
/packages/services/Telephony/src/com/android/phone/
DMobileDataPreference.java54 public boolean mChecked; field in MobileDataPreference
76 mChecked = state.mChecked; in onRestoreInstanceState()
88 state.mChecked = mChecked; in onSaveInstanceState()
139 if (mChecked) { in performClick()
178 if (mChecked == checked) return; in setChecked()
179 mChecked = checked; in setChecked()
188 ((Checkable) checkableView).setChecked(mChecked); in onBindView()
286 public boolean mChecked; field in MobileDataPreference.CellDataState
295 mChecked = source.readByte() != 0; in CellDataState()
303 dest.writeByte((byte) (mChecked ? 1 : 0)); in writeToParcel()
/packages/apps/Settings/src/com/android/settings/widget/
DMasterCheckBoxPreference.java37 private boolean mChecked; field in MasterCheckBoxPreference
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()
102 mChecked = checked; in setChecked()
DMasterSwitchPreference.java38 private boolean mChecked; field in MasterSwitchPreference
74 setChecked(!mChecked); in onBindViewHolder()
75 if (!callChangeListener(mChecked)) { in onBindViewHolder()
76 setChecked(!mChecked); in onBindViewHolder()
78 persistBoolean(mChecked); in onBindViewHolder()
87 mSwitch.setChecked(mChecked); in onBindViewHolder()
93 return mSwitch != null && mChecked; in isChecked()
97 mChecked = checked; in setChecked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMasterCheckBoxPreference.java37 private boolean mChecked; field in MasterCheckBoxPreference
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()
102 mChecked = checked; in setChecked()
DMasterSwitchPreference.java38 private boolean mChecked; field in MasterSwitchPreference
74 setChecked(!mChecked); in onBindViewHolder()
75 if (!callChangeListener(mChecked)) { in onBindViewHolder()
76 setChecked(!mChecked); in onBindViewHolder()
78 persistBoolean(mChecked); in onBindViewHolder()
87 mSwitch.setChecked(mChecked); in onBindViewHolder()
93 return mSwitch != null && mChecked; in isChecked()
97 mChecked = checked; in setChecked()
/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/PermissionController/src/com/android/packageinstaller/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/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/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
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/Car/Dialer/src/com/android/car/dialer/widget/
DCheckableRelativeLayout.java30 private boolean mChecked; field in CheckableRelativeLayout
69 if (mChecked != checked) { in setChecked()
70 mChecked = checked; in setChecked()
79 return mChecked; in isChecked()
84 setChecked(!mChecked); in toggle()
/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/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()

12