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 33 private CompoundButton mCompoundButton;
67 mCompoundButton = (CompoundButton) view.findViewById(getCompoundButtonId());
93 mCompoundButton = null;
116 mCompoundButton.setChecked(mChecked);
  /cts/tests/autofillservice/src/android/autofillservice/cts/
AutofillValueTest.java 64 private CompoundButton mCompoundButton;
77 mCompoundButton = (CompoundButton) mActivity.findViewById(R.id.compoundButton);
230 mActivity.syncRunOnUiThread(() -> mCompoundButton.setVisibility(View.VISIBLE));
241 "compoundButton", mCompoundButton, expectedValue);
242 mCompoundButton.setOnCheckedChangeListener(checkedWatcher);
244 startAutoFill(mCompoundButton);
253 assertThat(mCompoundButton.isChecked()).isEqualTo(expectedValue);
274 mActivity.syncRunOnUiThread(() -> mCompoundButton.setChecked(true));
275 assertThat(mCompoundButton.getAutofillValue()).isEqualTo(AutofillValue.forToggle(true));
277 mActivity.syncRunOnUiThread(() -> mCompoundButton.setEnabled(false))
    [all...]
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
RatingsFragment.java 252 private CompoundButton mCompoundButton;
274 mCompoundButton = (CompoundButton) view.findViewById(getCompoundButtonId());
275 mCompoundButton.setVisibility(View.VISIBLE);
289 mCompoundButton = null;
295 mCompoundButton.setButtonDrawable(getButtonDrawable());

Completed in 107 milliseconds