/packages/apps/Settings/src/com/android/settings/widget/ |
D | PrimaryCheckBoxPreference.java | 36 private CheckBox mCheckBox; field in PrimaryCheckBoxPreference 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() 107 if (mCheckBox != null) { in setChecked() 108 mCheckBox.setChecked(checked); in setChecked() [all …]
|
D | DisabledCheckBoxPreference.java | 35 private View mCheckBox; field in DisabledCheckBoxPreference 81 if (mViewHolder != null && mCheckBox != null) { in enableCheckbox() 82 mCheckBox.setEnabled(mEnabledCheckBox); in enableCheckbox() 91 mCheckBox = holder.findViewById(android.R.id.checkbox); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingPasswordPreference.java | 42 @Nullable private CheckBox mCheckBox; field in AudioSharingPasswordPreference 78 mCheckBox = view.findViewById(R.id.audio_sharing_stream_password_checkbox); in onBindDialogView() 81 if (mEditText == null || mCheckBox == null || mDialogMessage == null) { in onBindDialogView() 86 mCheckBox.setOnCheckedChangeListener((unused, checked) -> setEditTextEnabled(!checked)); in onBindDialogView() 102 if (mEditText == null || mCheckBox == null) { in onClick() 111 mEditText.getText().toString(), mCheckBox.isChecked()); in onClick() 116 if (mEditText == null || mCheckBox == null || mDialogMessage == null) { in setEditable() 122 mCheckBox.setEnabled(editable); in setEditable() 127 if (mCheckBox == null) { in setChecked() 131 mCheckBox.setChecked(checked); in setChecked()
|
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/ |
D | LeftSideCheckBoxPreference.java | 30 private CheckBox mCheckBox; field in LeftSideCheckBoxPreference 59 mCheckBox = (CheckBox) view.findViewById(com.android.internal.R.id.checkbox); in onBindViewHolder() 60 if (mCheckBox != null) { in onBindViewHolder() 61 mCheckBox.setChecked(mChecked); in onBindViewHolder() 67 if (mCheckBox != null) { in onClick() 69 mCheckBox.setChecked(mChecked); in onClick()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemView.java | 60 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/ |
D | AttachmentGridItemView.java | 46 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/ |
D | EnterPasswordState.java | 105 private CheckBox mCheckBox; field in EnterPasswordState.EnterPasswordFragment 145 mCheckBox = checkBoxVH.mCheckbox; in onCreateActionsStylist() 147 mCheckBox.setChecked(!mCheckBox.isChecked()); in onCreateActionsStylist() 152 mCheckBox.setChecked(mUserChoiceInfo.isPasswordHidden()); in onCreateActionsStylist() 252 mUserChoiceInfo.setPasswordHidden(mCheckBox.isChecked()); in onGuidedActionEditedAndProceed() 275 if (mTextInput != null && mCheckBox != null) { in updatePasswordInputObfuscation() 277 | (mCheckBox.isChecked() in updatePasswordInputObfuscation()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | LocationDialogLayout.java | 39 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/ |
D | ContactListItemView.java | 190 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/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 96 protected CheckBox mCheckBox; field in ConfirmDeviceCredentialBaseFragment 218 mCheckBox = view.findViewById(R.id.checkbox); in onViewCreated() 219 if (mCheckBox != null && mRemoteValidation) { in onViewCreated() 220 mCheckBox.setVisibility(View.VISIBLE); in onViewCreated() 437 mRemoteLockscreenValidationSession.getSourcePublicKey(), mCheckBox.isChecked()); in validateGuess() 447 mCheckBox.setEnabled(!enable); in updateRemoteLockscreenValidationViews()
|
D | ConfirmLockPattern.java | 231 if (mCheckBox != null) { in onViewCreated() 232 mCheckBox.setText(TextUtils.isEmpty(mCheckBoxLabel) in onViewCreated() 632 if (mCheckBox.isChecked() && mRemoteLockscreenValidationFragment in onRemoteLockscreenValidationResult()
|
D | ConfirmLockPassword.java | 232 if (mCheckBox != null) { in onViewCreated() 233 mCheckBox.setText(TextUtils.isEmpty(mCheckBoxLabel) in onViewCreated() 617 if (mCheckBox.isChecked() && mRemoteLockscreenValidationFragment in onRemoteLockscreenValidationResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ConfirmLockPatternTest.java | 198 fragment.mCheckBox.setChecked(false); in onPatternDetected_remoteValidation_guessValid_checkboxUnchecked()
|
D | ConfirmLockPasswordTest.java | 217 fragment.mCheckBox.setChecked(false); in handleNext_remoteValidation_correctGuess_checkboxUnchecked()
|