Home
last modified time | relevance | path

Searched refs:mCheckBox (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DMasterCheckBoxPreference.java36 private CheckBox mCheckBox; field in MasterCheckBoxPreference
70 if (mCheckBox != null && !mCheckBox.isEnabled()) { in onBindViewHolder()
83 mCheckBox = (CheckBox) holder.findViewById(R.id.checkboxWidget); in onBindViewHolder()
84 if (mCheckBox != null) { in onBindViewHolder()
85 mCheckBox.setContentDescription(getTitle()); in onBindViewHolder()
86 mCheckBox.setChecked(mChecked); in onBindViewHolder()
87 mCheckBox.setEnabled(mEnableCheckBox); in onBindViewHolder()
98 return mCheckBox != null && mChecked; in isChecked()
103 if (mCheckBox != null) { in setChecked()
104 mCheckBox.setChecked(checked); in setChecked()
[all …]
DDisabledCheckBoxPreference.java34 private View mCheckBox; field in DisabledCheckBoxPreference
80 if (mViewHolder != null && mCheckBox != null) { in enableCheckbox()
81 mCheckBox.setEnabled(mEnabledCheckBox); in enableCheckbox()
90 mCheckBox = holder.findViewById(android.R.id.checkbox); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMasterCheckBoxPreference.java36 private CheckBox mCheckBox; field in MasterCheckBoxPreference
70 if (mCheckBox != null && !mCheckBox.isEnabled()) { in onBindViewHolder()
83 mCheckBox = (CheckBox) holder.findViewById(R.id.checkboxWidget); in onBindViewHolder()
84 if (mCheckBox != null) { in onBindViewHolder()
85 mCheckBox.setContentDescription(getTitle()); in onBindViewHolder()
86 mCheckBox.setChecked(mChecked); in onBindViewHolder()
87 mCheckBox.setEnabled(mEnableCheckBox); in onBindViewHolder()
98 return mCheckBox != null && mChecked; in isChecked()
103 if (mCheckBox != null) { in setChecked()
104 mCheckBox.setChecked(checked); in setChecked()
[all …]
DDisabledCheckBoxPreference.java33 private View mCheckBox; field in DisabledCheckBoxPreference
79 if (mViewHolder != null && mCheckBox != null) { in enableCheckbox()
80 mCheckBox.setEnabled(mEnabledCheckBox); in enableCheckbox()
89 mCheckBox = holder.findViewById(android.R.id.checkbox); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DChannelSummaryPreference.java36 private CheckBox mCheckBox; field in ChannelSummaryPreference
66 mCheckBox = (CheckBox) view.findViewById(com.android.internal.R.id.checkbox); in onBindViewHolder()
67 if (mCheckBox != null) { in onBindViewHolder()
68 mCheckBox.setChecked(mChecked); in onBindViewHolder()
69 mCheckBox.setEnabled(mEnableCheckBox); in onBindViewHolder()
89 if (mCheckBox != null) { in setChecked()
90 mCheckBox.setChecked(checked); in setChecked()
96 if (mCheckBox != null) { in setCheckBoxEnabled()
97 mCheckBox.setEnabled(enabled); in setCheckBoxEnabled()
104 if (mCheckBox != null && !mCheckBox.isEnabled()) {
DZenRulePreference.java57 private CheckBox mCheckBox; field in ZenRulePreference
111 mCheckBox = (CheckBox) view.findViewById(com.android.internal.R.id.checkbox); in onBindViewHolder()
112 if (mCheckBox != null) { in onBindViewHolder()
113 mCheckBox.setChecked(mChecked); in onBindViewHolder()
142 if (mCheckBox != null) { in setChecked()
143 mCheckBox.setChecked(checked); in setChecked()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java55 private CheckBox mCheckBox; field in GalleryGridItemView
73 mCheckBox = (CheckBox) findViewById(R.id.checkbox); in onFinishInflate()
74 mCheckBox.setOnClickListener(mOnClickListener); in onFinishInflate()
84 mCheckBox.setOnLongClickListener(longClickListener); in onFinishInflate()
91 setTouchDelegate(new TouchDelegate(region, mCheckBox) { in onFinishInflate()
128 mCheckBox.setVisibility(VISIBLE); in updateViewState()
129 mCheckBox.setClickable(true); in updateViewState()
130 mCheckBox.setChecked(mHostInterface.isItemSelected(mData)); in updateViewState()
132 mCheckBox.setVisibility(GONE); in updateViewState()
133 mCheckBox.setClickable(false); in updateViewState()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridItemView.java46 private CheckBox mCheckBox; field in AttachmentGridItemView
57 mCheckBox = (CheckBox) findViewById(R.id.checkbox); in onFinishInflate()
58 mCheckBox.setOnClickListener(new OnClickListener() { in onFinishInflate()
78 mCheckBox.getHitRect(region); in onFinishInflate()
80 setTouchDelegate(new TouchDelegate(region, mCheckBox)); in onFinishInflate()
108 mCheckBox.setChecked(mHostInterface.isItemSelected(mAttachmentData)); in updateSelectedState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DEnterPasswordState.java84 private CheckBox mCheckBox; field in EnterPasswordState.EnterPasswordFragment
115 mCheckBox = viewHolder.mCheckbox; in onCreateActionsStylist()
116 mCheckBox.setOnClickListener(view -> { in onCreateActionsStylist()
120 mCheckBox.setChecked(mUserChoiceInfo.isPasswordHidden()); in onCreateActionsStylist()
167 mUserChoiceInfo.setPasswordHidden(mCheckBox.isChecked()); in onGuidedActionEditedAndProceed()
177 | (mCheckBox.isChecked() in updatePasswordInputObfuscation()
/packages/apps/Settings/src/com/android/settings/notification/
DZenRulePreference.java57 private CheckBox mCheckBox; field in ZenRulePreference
111 mCheckBox = (CheckBox) view.findViewById(com.android.internal.R.id.checkbox); in onBindViewHolder()
112 if (mCheckBox != null) { in onBindViewHolder()
113 mCheckBox.setChecked(mChecked); in onBindViewHolder()
142 if (mCheckBox != null) { in setChecked()
143 mCheckBox.setChecked(checked); in setChecked()
/packages/apps/Camera2/src/com/android/camera/widget/
DLocationDialogLayout.java39 private CheckBox mCheckBox; field in LocationDialogLayout
78 mCheckBox = (CheckBox) findViewById(R.id.check_box); in updateSubviewReferences()
79 mCheckBox.setChecked(mLocationRecordingEnabled); in updateSubviewReferences()
80 mCheckBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in updateSubviewReferences()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java190 private AppCompatCheckBox mCheckBox; field in ContactListItemView
467 if (isVisible(mCheckBox)) { in onMeasure()
468 mCheckBox.measure( in onMeasure()
471 mCheckBoxWidth = mCheckBox.getMeasuredWidth(); in onMeasure()
472 mCheckBoxHeight = mCheckBox.getMeasuredHeight(); in onMeasure()
652 if (isVisible(mCheckBox)) { in onLayout()
655 mCheckBox.layout(rightBound - mGapFromScrollBar - mCheckBoxWidth, in onLayout()
660 mCheckBox.layout(leftBound + mGapFromScrollBar, in onLayout()
1323 if (mCheckBox == null) { in getCheckBox()
1324 mCheckBox = new AppCompatCheckBox(getContext()); in getCheckBox()
[all …]