Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java51 public boolean mChecked; field in CellDataPreference
67 mChecked = state.mChecked; in onRestoreInstanceState()
79 state.mChecked = mChecked; in onSaveInstanceState()
119 .action(context, MetricsEvent.ACTION_CELL_DATA_TOGGLE, !mChecked); in performClick()
123 if (mChecked) { in performClick()
165 if (mChecked == checked) return; in setChecked()
166 mChecked = checked; in setChecked()
175 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
267 public boolean mChecked; field in CellDataPreference.CellDataState
276 mChecked = source.readByte() != 0; in CellDataState()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSwitchBarPreference.java30 private boolean mChecked; field in NotificationSwitchBarPreference
48 mChecked = !mChecked; in onBindViewHolder()
49 setChecked(mChecked); in onBindViewHolder()
50 if (!callChangeListener(mChecked)) { in onBindViewHolder()
51 setChecked(!mChecked); in onBindViewHolder()
55 mSwitch.setChecked(mChecked); in onBindViewHolder()
61 return mSwitch != null && mSwitch.isEnabled() && mChecked; in isChecked()
65 mChecked = checked; in setChecked()
/packages/services/Telephony/src/com/android/phone/
DMobileDataPreference.java51 public boolean mChecked; field in MobileDataPreference
65 mChecked = state.mChecked; in onRestoreInstanceState()
77 state.mChecked = mChecked; in onSaveInstanceState()
124 if (mChecked) { in performClick()
164 if (mChecked == checked) return; in setChecked()
165 mChecked = checked; in setChecked()
174 ((Checkable) checkableView).setChecked(mChecked); in onBindView()
273 public boolean mChecked; field in MobileDataPreference.CellDataState
282 mChecked = source.readByte() != 0; in CellDataState()
290 dest.writeByte((byte) (mChecked ? 1 : 0)); in writeToParcel()
DEditPhoneNumberPreference.java91 private boolean mChecked; field in EditPhoneNumberPreference
166 if (mChecked) { in onBindView()
257 if (mChecked) { in onPrepareDialogBuilder()
348 return mChecked; in isToggled()
354 mChecked = checked; in setToggled()
DMobileNetworkSettings.java1769 ((MobileDataPreference) preference).mChecked); in sendMetricsEventPreferenceClicked()
/packages/apps/Settings/src/com/android/settings/widget/
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 && mSwitch.isEnabled() && 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/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/Dialer/java/com/android/dialershared/bubble/
DCheckableImageButton.java40 private boolean mChecked; field in CheckableImageButton
74 if (mChecked != checked) { in setChecked()
75 mChecked = checked; in setChecked()
83 return mChecked; in isChecked()
88 setChecked(!mChecked); in toggle()
93 if (mChecked) { in onCreateDrawableState()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCompoundButtonItem.java32 private boolean mChecked; field in CompoundButtonItem
102 if (mChecked != checked) { in setChecked()
103 mChecked = checked; in setChecked()
109 return mChecked; in isChecked()
114 mTextView.setText(mChecked ? mCheckedTitle : mUncheckedTitle); in updateInternal()
115 mCompoundButton.setChecked(mChecked); in updateInternal()
/packages/apps/Music/src/com/android/music/
DCheckableRelativeLayout.java30 private boolean mChecked; field in CheckableRelativeLayout
48 setChecked(!mChecked); in toggle()
52 return mChecked; in isChecked()
56 if (mChecked != checked) { in setChecked()
57 mChecked = checked; in setChecked()
/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/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()
/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.java139 private boolean mChecked; field in AppRestrictionsFragment.AppRestrictionsPreference
164 final boolean changed = mChecked != checked; in setChecked()
166 mChecked = checked; in setChecked()
187 return mChecked; in isChecked()
203 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java185 private boolean mChecked = false; field in ConversationItemView
521 final boolean showSenders = !mChecked; in bind()
1307 final boolean showSenders = !mChecked; in drawSendersImage()
1366 if (mChecked) { in onCreateDrawableState()
1373 mChecked = checked; in setChecked()
1385 setChecked(!mChecked); in toggleCheckedState()
1391 conv.position = mChecked && listView != null ? listView.getPositionForView(this) in toggleCheckedState()
1407 final boolean front = !mChecked; in toggleCheckedState()