Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DAppCompatWidgetsSpinners.java37 Spinner spinner = (Spinner) findViewById(R.id.widgets_spinner); in onCreate() local
38 spinner.setAdapter(new ArrayAdapter<>(this, in onCreate()
41 spinner = (Spinner) findViewById(R.id.widgets_spinner_underlined); in onCreate()
42 spinner.setAdapter(new ArrayAdapter<>(this, in onCreate()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DBaseLayoutManagerActivity.java114 final Spinner spinner = (Spinner) findViewById(R.id.spinner);
125 scrollToPosition(smooth, spinner.getSelectedItemPosition());
127 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
132 final Spinner spinner = (Spinner) findViewById(R.id.spinner);
133 spinner.setAdapter(new BaseAdapter() {
/development/samples/Spinner/src/com/android/example/spinner/
DSpinnerActivity.java17 package com.android.example.spinner;
19 import com.android.example.spinner.R;
107 Spinner spinner = (Spinner) findViewById(R.id.Spinner01); in onCreate() local
121 spinner.setAdapter(this.mAdapter); in onCreate()
134 spinner.setOnItemSelectedListener(spinnerListener); in onCreate()
/development/samples/SpinnerTest/src/com/android/example/spinner/test/
DSpinnerActivityTest.java17 package com.android.example.spinner.test;
19 import com.android.example.spinner.SpinnerActivity;
135 mSpinner = (Spinner)mActivity.findViewById(com.android.example.spinner.R.id.Spinner01); in setUp()
223 (TextView) mActivity.findViewById(com.android.example.spinner.R.id.SpinnerResult); in testSpinnerUI()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java178 Spinner spinner = (Spinner) findViewById(R.id.file_size_spinner); in initFileSizeSpinner() local
183 spinner.setAdapter(adapter); in initFileSizeSpinner()
184 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in initFileSizeSpinner()
203 Spinner spinner = (Spinner) findViewById(R.id.storage_spinner); in initFileStorageSpinner() local
208 spinner.setAdapter(adapter); in initFileStorageSpinner()
209 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in initFileStorageSpinner()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java180 Spinner spinner = (Spinner) findViewById(spinnerId); in setUpColorPickerSelection() local
184 spinner.setSelection(i); in setUpColorPickerSelection()
191 Spinner spinner = (Spinner) findViewById(spinnerId); in setUpColorPickerListener() local
192 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in setUpColorPickerListener()
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java76 mSpinner = (Spinner) findViewById(R.id.spinner); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DAnimation2.java44 Spinner s = (Spinner) findViewById(R.id.spinner); in onCreate()
DAnimation3.java45 Spinner s = (Spinner) findViewById(R.id.spinner); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DMenuInflateFromXml.java89 mSpinner.setId(R.id.spinner); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java85 Spinner s = (Spinner) findViewById(R.id.spinner); in onCreate()