Searched refs:spinner (Results 1 – 7 of 7) sorted by relevance
143 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument144 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() argument163 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()169 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()181 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument182 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()191 private void verifyOnClick(Spinner spinner) { in verifyOnClick() argument[all …]
110 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.spinner)); in testSpinnerButton()
37 private final Spinner spinner; field in OneTimeSpinnerListener40 OneTimeSpinnerListener(String name, Spinner spinner, int expectedAutoFilledValue) { in OneTimeSpinnerListener() argument42 this.spinner = spinner; in OneTimeSpinnerListener()50 final int actual = spinner.getSelectedItemPosition(); in assertAutoFilled()
82 mSpinner = (Spinner) mActivity.findViewById(R.id.spinner); in setFields()
61 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local65 spinner.setAdapter(adapter); in onCreate()66 spinner.setOnItemSelectedListener(this); in onCreate()71 spinner.setSelection(1); in onCreate()
203 Spinner spinner = (Spinner) findViewById(R.id.spinner_widget); in updateWidget() local204 spinner.setVisibility(View.VISIBLE); in updateWidget()205 spinner.setOnItemSelectedListener(this); in updateWidget()213 spinner.setAdapter(adapter); in updateWidget()
410 new Layout(R.layout.spinner, "spinner"),