OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mCheckBox
(Results
1 - 15
of
15
) sorted by null
/cts/tests/tests/widget/src/android/widget/cts/
CheckBoxTest.java
49
private CheckBox
mCheckBox
;
59
mCheckBox
= (CheckBox) mActivity.findViewById(R.id.check_box);
96
mActivity.getString(R.string.hello_world),
mCheckBox
.getText()));
98
mCheckBox
.setText("new text");
99
assertTrue(TextUtils.equals("new text",
mCheckBox
.getText()));
101
mCheckBox
.setText(R.string.text_name);
102
assertTrue(TextUtils.equals(mActivity.getString(R.string.text_name),
mCheckBox
.getText()));
110
mCheckBox
.setOnCheckedChangeListener(mockCheckedChangeListener);
113
assertFalse(
mCheckBox
.isChecked());
116
mCheckBox
.setChecked(false)
[
all
...]
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/
ConfigViewHolder.java
28
private CheckBox
mCheckBox
;
34
mCheckBox
= (CheckBox) itemView;
35
mCheckBox
.setOnCheckedChangeListener(this);
40
mCheckBox
.setText(toggle.getText());
41
mCheckBox
.setChecked(toggle.isChecked());
/packages/apps/Camera2/src/com/android/camera/widget/
LocationDialogLayout.java
39
private CheckBox
mCheckBox
;
78
mCheckBox
= (CheckBox) findViewById(R.id.check_box);
79
mCheckBox
.setChecked(mLocationRecordingEnabled);
80
mCheckBox
.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
AttachmentGridItemView.java
46
private CheckBox
mCheckBox
;
57
mCheckBox
= (CheckBox) findViewById(R.id.checkbox);
58
mCheckBox
.setOnClickListener(new OnClickListener() {
78
mCheckBox
.getHitRect(region);
80
setTouchDelegate(new TouchDelegate(region,
mCheckBox
));
108
mCheckBox
.setChecked(mHostInterface.isItemSelected(mAttachmentData));
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
ViewAnimations.java
42
CheckBox
mCheckBox
;
49
mCheckBox
= (CheckBox) findViewById(R.id.checkbox);
98
v.startAnimation(
mCheckBox
.isChecked() ?
/packages/apps/Settings/src/com/android/settings/widget/
DisabledCheckBoxPreference.java
32
private View
mCheckBox
;
78
if (mViewHolder != null &&
mCheckBox
!= null) {
79
mCheckBox
.setEnabled(mEnabledCheckBox);
88
mCheckBox
= holder.findViewById(android.R.id.checkbox);
MasterCheckBoxPreference.java
35
private CheckBox
mCheckBox
;
69
if (
mCheckBox
!= null && !
mCheckBox
.isEnabled()) {
82
mCheckBox
= (CheckBox) holder.findViewById(R.id.checkboxWidget);
83
if (
mCheckBox
!= null) {
84
mCheckBox
.setContentDescription(getTitle());
85
mCheckBox
.setChecked(mChecked);
86
mCheckBox
.setEnabled(mEnableCheckBox);
97
return
mCheckBox
!= null && mChecked;
102
if (
mCheckBox
!= null)
[
all
...]
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
PropertyAnimations.java
41
CheckBox
mCheckBox
;
48
mCheckBox
= (CheckBox) findViewById(R.id.checkbox);
101
if (
mCheckBox
.isChecked()) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
EnterPasswordState.java
83
private CheckBox
mCheckBox
;
114
mCheckBox
= viewHolder.
mCheckbox
;
115
mCheckBox
.setOnClickListener(view -> {
119
mCheckBox
.setChecked(mUserChoiceInfo.isPasswordHidden());
166
mUserChoiceInfo.setPasswordHidden(
mCheckBox
.isChecked());
176
| (
mCheckBox
.isChecked()
207
CheckBox
mCheckbox
;
211
mCheckbox
= v.findViewById(R.id.password_checkbox);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
GalleryGridItemView.java
55
private CheckBox
mCheckBox
;
73
mCheckBox
= (CheckBox) findViewById(R.id.checkbox);
74
mCheckBox
.setOnClickListener(mOnClickListener);
84
mCheckBox
.setOnLongClickListener(longClickListener);
91
setTouchDelegate(new TouchDelegate(region,
mCheckBox
) {
128
mCheckBox
.setVisibility(VISIBLE);
129
mCheckBox
.setClickable(true);
130
mCheckBox
.setChecked(mHostInterface.isItemSelected(mData));
132
mCheckBox
.setVisibility(GONE);
133
mCheckBox
.setClickable(false)
[
all
...]
/frameworks/base/core/java/com/android/internal/view/menu/
ListMenuItemView.java
49
private CheckBox
mCheckBox
;
168
if (!checkable && mRadioButton == null &&
mCheckBox
== null) {
182
otherCompoundButton =
mCheckBox
;
184
if (
mCheckBox
== null) {
187
compoundButton =
mCheckBox
;
204
if (
mCheckBox
!= null)
mCheckBox
.setVisibility(GONE);
218
if (
mCheckBox
== null) {
221
compoundButton =
mCheckBox
;
301
mCheckBox
[
all
...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
ListMenuItemView.java
56
private CheckBox
mCheckBox
;
174
if (!checkable && mRadioButton == null &&
mCheckBox
== null) {
188
otherCompoundButton =
mCheckBox
;
190
if (
mCheckBox
== null) {
193
compoundButton =
mCheckBox
;
209
if (
mCheckBox
!= null) {
210
mCheckBox
.setVisibility(GONE);
228
if (
mCheckBox
== null) {
231
compoundButton =
mCheckBox
;
313
mCheckBox
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/list/
ContactListItemView.java
193
private AppCompatCheckBox
mCheckBox
;
470
if (isVisible(
mCheckBox
)) {
471
mCheckBox
.measure(
474
mCheckBoxWidth =
mCheckBox
.getMeasuredWidth();
475
mCheckBoxHeight =
mCheckBox
.getMeasuredHeight();
655
if (isVisible(
mCheckBox
)) {
658
mCheckBox
.layout(rightBound - mGapFromScrollBar - mCheckBoxWidth,
663
mCheckBox
.layout(leftBound + mGapFromScrollBar,
[
all
...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
VfrFormPkg.h
[
all
...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
VfrFormPkg.h
957
EFI_IFR_CHECKBOX *
mCheckBox
;
960
CIfrCheckBox () : CIfrObj (EFI_IFR_CHECKBOX_OP, (CHAR8 **)&
mCheckBox
),
961
CIfrOpHeader (EFI_IFR_CHECKBOX_OP, &
mCheckBox
->Header),
962
CIfrQuestionHeader (&
mCheckBox
->Question) {
963
mCheckBox
->Flags = 0;
980
mCheckBox
->Flags |= EFI_IFR_CHECKBOX_DEFAULT;
984
mCheckBox
->Flags |= EFI_IFR_CHECKBOX_DEFAULT_MFG;
991
return
mCheckBox
->Flags;
[
all
...]
Completed in 640 milliseconds