Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DSpinnerTest.java172 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument
173 assertEquals(-1, spinner.getBaseline()); in verifyGetBaseline()
177 spinner.setAdapter(adapter); in verifyGetBaseline()
178 assertTrue(spinner.getBaseline() > 0); in verifyGetBaseline()
188 private void verifySetOnItemClickListener(Spinner spinner) { in verifySetOnItemClickListener() argument
190 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()
196 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()
208 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument
209 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()
218 private void verifyOnClick(Spinner spinner) { in verifyOnClick() argument
[all …]
DPointerIconTest.java221 mActivity.findViewById(R.id.spinner) in testSpinnerButtonWithoutFlag()
229 assertDefaultWidgetMousePointerIconBehavior(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/tests/tests/media/common/src/android/media/cts/
DMediaProjectionActivity.java213 UiObject2 spinner = findUiObject(SPINNER_RESOURCE_ID); in selectEntireScreenOption() local
214 if (spinner == null) { in selectEntireScreenOption()
218 spinner.click(); in selectEntireScreenOption()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DSimpleOffhostReaderActivity.java85 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local
89 spinner.setAdapter(adapter); in onCreate()
90 spinner.setOnItemSelectedListener(this); in onCreate()
95 spinner.setSelection(1); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DCheckoutActivityTest.java567 Spinner spinner = mActivity.getCcExpiration();
569 ID_CC_EXPIRATION, spinner, expectedValue);
570 spinner.setOnItemSelectedListener(spinnerWatcher);
576 assertThat(spinner.getSelectedItemPosition()).isEqualTo(expectedValue);
603 Spinner spinner = mActivity.getCcExpiration();
604 mActivity.syncRunOnUiThread(() -> spinner.setSelection(1));
606 assertThat(spinner.getAutofillValue()).isEqualTo(AutofillValue.forList(1));
608 mActivity.syncRunOnUiThread(() -> spinner.setEnabled(false));
610 assertThat(spinner.getAutofillValue()).isNull();
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java326 UiObject2 spinner = waitForObject(By.res(SPINNER_RESOURCE_ID)); in selectEntireScreenOption() local
327 if (spinner == null) { in selectEntireScreenOption()
331 spinner.click(); in selectEntireScreenOption()
/cts/hostsidetests/theme/app/src/android/theme/app/
DTestConfiguration.java166 new LayoutInfo(R.layout.spinner, "spinner"),
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt4050 …leProperty.EnumEntry(value=android.widget.DatePicker.MODE_SPINNER, name="spinner"), @android.view.…
4097 …MODE_CLOCK), @android.view.inspector.InspectableProperty.EnumEntry(name="spinner", value=android.w…