Searched refs:spinner (Results 1 – 9 of 9) sorted by relevance
145 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument146 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() argument165 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()171 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()183 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument184 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()193 private void verifyOnClick(Spinner spinner) { in verifyOnClick() argument[all …]
114 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()
76 mSpinner = (Spinner) mActivity.findViewById(R.id.spinner); in setFields()
54 View spinner = mViewItem.findViewById(R.id.loadingSpinner); in showLoadingSpinner() local55 spinner.setVisibility(View.VISIBLE); in showLoadingSpinner()59 View spinner = mViewItem.findViewById(R.id.loadingSpinner); in hideLoadingSpinner() local60 spinner.setVisibility(View.INVISIBLE); in hideLoadingSpinner()
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()
82 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local86 spinner.setAdapter(adapter); in onCreate()87 spinner.setOnItemSelectedListener(this); in onCreate()92 spinner.setSelection(1); in onCreate()
202 Spinner spinner = (Spinner) findViewById(R.id.spinner_widget); in updateWidget() local203 spinner.setVisibility(View.VISIBLE); in updateWidget()204 spinner.setOnItemSelectedListener(this); in updateWidget()212 spinner.setAdapter(adapter); in updateWidget()
224 new LayoutInfo(R.layout.spinner, "spinner"),