Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DSpinnerTest.java143 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument
144 assertEquals(-1, spinner.getBaseline()); in verifyGetBaseline()
150 spinner.setAdapter(adapter); in verifyGetBaseline()
151 assertTrue(spinner.getBaseline() > 0); in verifyGetBaseline()
161 private void verifySetOnItemClickListener(Spinner spinner) { in verifySetOnItemClickListener() argument
163 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()
169 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()
181 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument
182 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()
191 private void verifyOnClick(Spinner spinner) { in verifyOnClick() argument
[all …]
DPointerIconTest.java110 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.java82 mSpinner = (Spinner) mActivity.findViewById(R.id.spinner); in setFields()
/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/managedprovisioning/
DPolicyTransparencyTestActivity.java203 Spinner spinner = (Spinner) findViewById(R.id.spinner_widget); in updateWidget() local
204 spinner.setVisibility(View.VISIBLE); in updateWidget()
205 spinner.setOnItemSelectedListener(this); in updateWidget()
213 spinner.setAdapter(adapter); in updateWidget()
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java410 new Layout(R.layout.spinner, "spinner"),