Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DSpinnerTest.java145 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument
146 assertEquals(-1, spinner.getBaseline()); in verifyGetBaseline()
152 spinner.setAdapter(adapter); in verifyGetBaseline()
153 assertTrue(spinner.getBaseline() > 0); in verifyGetBaseline()
163 private void verifySetOnItemClickListener(Spinner spinner) { in verifySetOnItemClickListener() argument
165 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()
171 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()
183 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument
184 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()
193 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/
DOneTimeSpinnerListener.java37 private final Spinner spinner; field in OneTimeSpinnerListener
40 OneTimeSpinnerListener(String name, Spinner spinner, int expectedAutoFilledValue) { in OneTimeSpinnerListener() argument
42 this.spinner = spinner; in OneTimeSpinnerListener()
50 final int actual = spinner.getSelectedItemPosition(); in assertAutoFilled()
DAutofillValueTest.java76 mSpinner = (Spinner) mActivity.findViewById(R.id.spinner); in setFields()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/
DAsyncTestStep.java54 View spinner = mViewItem.findViewById(R.id.loadingSpinner); in showLoadingSpinner() local
55 spinner.setVisibility(View.VISIBLE); in showLoadingSpinner()
59 View spinner = mViewItem.findViewById(R.id.loadingSpinner); in hideLoadingSpinner() local
60 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.java82 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local
86 spinner.setAdapter(adapter); in onCreate()
87 spinner.setOnItemSelectedListener(this); in onCreate()
92 spinner.setSelection(1); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestActivity.java202 Spinner spinner = (Spinner) findViewById(R.id.spinner_widget); in updateWidget() local
203 spinner.setVisibility(View.VISIBLE); in updateWidget()
204 spinner.setOnItemSelectedListener(this); in updateWidget()
212 spinner.setAdapter(adapter); in updateWidget()
/cts/hostsidetests/theme/app/src/android/theme/app/
DTestConfiguration.java224 new LayoutInfo(R.layout.spinner, "spinner"),