HomeSort by relevance Sort by last modified time
    Searched refs:mCompoundButton (Results 1 - 4 of 4) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java 72 private CompoundButton mCompoundButton;
82 mCompoundButton = (CompoundButton) mActivity.findViewById(R.id.compound_button);
115 mCompoundButton.setOnCheckedChangeListener(mockCheckedChangeListener);
116 assertFalse(mCompoundButton.isChecked());
119 mCompoundButton.setChecked(true);
120 assertTrue(mCompoundButton.isChecked());
121 verify(mockCheckedChangeListener, times(1)).onCheckedChanged(mCompoundButton, true);
124 mCompoundButton.setChecked(true);
125 assertTrue(mCompoundButton.isChecked());
128 mCompoundButton.setChecked(false)
    [all...]
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
CompoundButtonItem.java 34 private CompoundButton mCompoundButton;
68 mCompoundButton = (CompoundButton) view.findViewById(getCompoundButtonId());
92 mCompoundButton = null;
115 mCompoundButton.setChecked(mChecked);
  /cts/tests/autofillservice/src/android/autofillservice/cts/
AutofillValueTest.java 61 private CompoundButton mCompoundButton;
74 mCompoundButton = (CompoundButton) mActivity.findViewById(R.id.compoundButton);
227 mActivity.syncRunOnUiThread(() -> mCompoundButton.setVisibility(View.VISIBLE));
238 "compoundButton", mCompoundButton, expectedValue);
239 mCompoundButton.setOnCheckedChangeListener(checkedWatcher);
241 startAutoFill(mCompoundButton);
250 assertThat(mCompoundButton.isChecked()).isEqualTo(expectedValue);
271 mActivity.syncRunOnUiThread(() -> mCompoundButton.setChecked(true));
272 assertThat(mCompoundButton.getAutofillValue()).isEqualTo(AutofillValue.forToggle(true));
274 mActivity.syncRunOnUiThread(() -> mCompoundButton.setEnabled(false))
    [all...]
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
RatingsFragment.java 249 private CompoundButton mCompoundButton;
271 mCompoundButton = (CompoundButton) view.findViewById(getCompoundButtonId());
272 mCompoundButton.setVisibility(View.VISIBLE);
286 mCompoundButton = null;
292 mCompoundButton.setButtonDrawable(getButtonDrawable());

Completed in 509 milliseconds