Home
last modified time | relevance | path

Searched refs:mCheckBox (Results 1 – 13 of 13) 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.java60 private CheckBox mCheckBox; field in GalleryGridItemView
83 mCheckBox = (CheckBox) findViewById(R.id.checkbox); in onFinishInflate()
84 mCheckBox.setOnClickListener(mOnClickListener); in onFinishInflate()
99 mCheckBox.setOnLongClickListener(longClickListener); in onFinishInflate()
106 setTouchDelegate(new TouchDelegate(region, mCheckBox) { in onFinishInflate()
143 mCheckBox.setVisibility(VISIBLE); in updateViewState()
144 mCheckBox.setClickable(true); in updateViewState()
145 mCheckBox.setChecked(mHostInterface.isItemSelected(mData)); in updateViewState()
147 mCheckBox.setVisibility(GONE); in updateViewState()
148 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 …]
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiListItemAdapter.java164 final CheckBox mCheckBox; field in CarUiListItemAdapter.ListItemViewHolder
182 mCheckBox = findViewByRefId(itemView, R.id.checkbox_widget); in ListItemViewHolder()
239 mCheckBox.setVisibility(View.GONE); in bind()
264 bindCompoundButton(item, mCheckBox, itemOnClickListener); in bind()