Home
last modified time | relevance | path

Searched refs:spinner (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DSpinnerTest.java146 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument
147 assertEquals(-1, spinner.getBaseline()); in verifyGetBaseline()
153 spinner.setAdapter(adapter); in verifyGetBaseline()
154 assertTrue(spinner.getBaseline() > 0); in verifyGetBaseline()
164 private void verifySetOnItemClickListener(Spinner spinner) { in verifySetOnItemClickListener() argument
166 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()
172 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()
184 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument
185 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()
194 private void verifyOnClick(Spinner spinner) { in verifyOnClick() argument
[all …]
DPointerIconTest.java114 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.spinner)); in testSpinnerButton()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DOneTimeSpinnerListener.java37 private final Spinner spinner; field in OneTimeSpinnerListener
40 public OneTimeSpinnerListener(String name, Spinner spinner, int expectedAutoFilledValue) { in OneTimeSpinnerListener() argument
42 this.spinner = spinner; in OneTimeSpinnerListener()
50 final int actual = spinner.getSelectedItemPosition(); in assertAutoFilled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/
DAsyncTestStep.java55 View spinner = mButtonView.findViewById(R.id.loadingSpinner); in showLoadingSpinner() local
56 spinner.setVisibility(View.VISIBLE); in showLoadingSpinner()
60 View spinner = mButtonView.findViewById(R.id.loadingSpinner); in hideLoadingSpinner() local
61 spinner.setVisibility(View.INVISIBLE); in hideLoadingSpinner()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DSimpleReaderActivity.java61 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local
65 spinner.setAdapter(adapter); in onCreate()
66 spinner.setOnItemSelectedListener(this); in onCreate()
71 spinner.setSelection(1); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DSimpleOffhostReaderActivity.java83 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local
87 spinner.setAdapter(adapter); in onCreate()
88 spinner.setOnItemSelectedListener(this); in onCreate()
93 spinner.setSelection(1); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DCheckoutActivityTest.java557 Spinner spinner = mActivity.getCcExpiration();
559 ID_CC_EXPIRATION, spinner, expectedValue);
560 spinner.setOnItemSelectedListener(spinnerWatcher);
566 assertThat(spinner.getSelectedItemPosition()).isEqualTo(expectedValue);
592 Spinner spinner = mActivity.getCcExpiration();
593 mActivity.syncRunOnUiThread(() -> spinner.setSelection(1));
595 assertThat(spinner.getAutofillValue()).isEqualTo(AutofillValue.forList(1));
597 mActivity.syncRunOnUiThread(() -> spinner.setEnabled(false));
599 assertThat(spinner.getAutofillValue()).isNull();
/cts/hostsidetests/theme/app/src/android/theme/app/
DTestConfiguration.java229 new LayoutInfo(R.layout.spinner, "spinner"),