Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java50 private CheckBox mCheckBox; field in ListMenuItemView
175 if (!checkable && mRadioButton == null && mCheckBox == null) { in setCheckable()
189 otherCompoundButton = mCheckBox; in setCheckable()
191 if (mCheckBox == null) { in setCheckable()
194 compoundButton = mCheckBox; in setCheckable()
211 if (mCheckBox != null) mCheckBox.setVisibility(GONE); in setCheckable()
225 if (mCheckBox == null) { in setChecked()
228 compoundButton = mCheckBox; in setChecked()
311 mCheckBox = in insertCheckBox()
314 addContentView(mCheckBox); in insertCheckBox()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java157 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindPairNew_verifyView()
179 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindGroup_withSessionName_verifyView()
199 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindGroup_noSessionName_verifyView()
210 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindConnectedDevice_verifyView()
226 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindNonRemoteConnectedDevice_verifyView()
244 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindConnectedRemoteDevice_verifyView()
277 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindSingleConnectedRemoteDevice_verifyView()
298 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindConnectedRemoteDeviceWithOnGoingSession_verifyView()
321 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindConnectedRemoteDeviceWithHostOnGoingSession_verifyView()
335 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindConnectedDeviceWithMutingExpectedDeviceExist_verifyView()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputAdapter.java405 isDeviceDeselectable ? (v) -> mCheckBox.performClick() : null); in updateEndClickArea()
415 mCheckBox.setOnCheckedChangeListener(null); in updateGroupableCheckBox()
416 mCheckBox.setChecked(isSelected); in updateGroupableCheckBox()
417 mCheckBox.setOnCheckedChangeListener( in updateGroupableCheckBox()
420 mCheckBox.setEnabled(isGroupable); in updateGroupableCheckBox()
421 setCheckBoxColor(mCheckBox, mController.getColorItemContent()); in updateGroupableCheckBox()
433 mCheckBox.setVisibility(View.GONE); in onBind()
DMediaOutputBaseAdapter.java152 final CheckBox mCheckBox; field in MediaOutputBaseAdapter.MediaDeviceBaseViewHolder
174 mCheckBox = view.requireViewById(R.id.check_box); in MediaDeviceBaseViewHolder()
184 mCheckBox.setVisibility(View.GONE); in onBind()
237 mCheckBox.setVisibility(showCheckBox ? View.VISIBLE : View.GONE); in setSingleLineLayout()