Searched refs:spinner (Results 1 – 8 of 8) sorted by relevance
146 private void verifyGetBaseline(Spinner spinner) throws Throwable { in verifyGetBaseline() argument147 assertEquals(-1, spinner.getBaseline()); in verifyGetBaseline()153 spinner.setAdapter(adapter); in verifyGetBaseline()154 assertTrue(spinner.getBaseline() > 0); in verifyGetBaseline()164 private void verifySetOnItemClickListener(Spinner spinner) { in verifySetOnItemClickListener() argument166 spinner.setOnItemClickListener(null); in verifySetOnItemClickListener()172 spinner.setOnItemClickListener(mock(Spinner.OnItemClickListener.class)); in verifySetOnItemClickListener()184 private void verifyPerformClick(Spinner spinner) throws Throwable { in verifyPerformClick() argument185 mActivityRule.runOnUiThread(() -> assertTrue(spinner.performClick())); in verifyPerformClick()194 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 public OneTimeSpinnerListener(String name, Spinner spinner, int expectedAutoFilledValue) { in OneTimeSpinnerListener() argument42 this.spinner = spinner; in OneTimeSpinnerListener()50 final int actual = spinner.getSelectedItemPosition(); in assertAutoFilled()
55 View spinner = mButtonView.findViewById(R.id.loadingSpinner); in showLoadingSpinner() local56 spinner.setVisibility(View.VISIBLE); in showLoadingSpinner()60 View spinner = mButtonView.findViewById(R.id.loadingSpinner); in hideLoadingSpinner() local61 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()
83 Spinner spinner = (Spinner) findViewById(R.id.type_ab_selection); in onCreate() local87 spinner.setAdapter(adapter); in onCreate()88 spinner.setOnItemSelectedListener(this); in onCreate()93 spinner.setSelection(1); in onCreate()
557 Spinner spinner = mActivity.getCcExpiration();559 ID_CC_EXPIRATION, spinner, expectedValue);560 spinner.setOnItemSelectedListener(spinnerWatcher);566 assertThat(spinner.getSelectedItemPosition()).isEqualTo(expectedValue);592 Spinner spinner = mActivity.getCcExpiration();593 mActivity.syncRunOnUiThread(() -> spinner.setSelection(1));595 assertThat(spinner.getAutofillValue()).isEqualTo(AutofillValue.forList(1));597 mActivity.syncRunOnUiThread(() -> spinner.setEnabled(false));599 assertThat(spinner.getAutofillValue()).isNull();
229 new LayoutInfo(R.layout.spinner, "spinner"),