Home
last modified time | relevance | path

Searched refs:Spinner (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/docs/html/guide/topics/ui/controls/
Dspinner.jd10 <li><a href="#Populate">Populate the Spinner with User Choices</a></li>
15 <li>{@link android.widget.Spinner}</li>
29 <p>You can add a spinner to your layout with the {@link android.widget.Spinner} object. You
30 should usually do so in your XML layout with a {@code &lt;Spinner&gt;} element. For example:</p>
33 &lt;Spinner
43 <h2 id="Populate">Populate the Spinner with User Choices</h2>
76 Spinner spinner = (Spinner) findViewById(R.id.spinner);
100 {@link android.widget.Spinner}.</p>
105 <p>When the user selects an item from the drop-down, the {@link android.widget.Spinner} object
139 Spinner spinner = (Spinner) findViewById(R.id.spinner);
/frameworks/base/core/java/android/widget/
DSpinner.java62 public class Spinner extends AbsSpinner implements OnClickListener { class
101 public Spinner(Context context) { in Spinner() method in Spinner
117 public Spinner(Context context, int mode) { in Spinner() method in Spinner
128 public Spinner(Context context, AttributeSet attrs) { in Spinner() method in Spinner
143 public Spinner(Context context, AttributeSet attrs, int defStyleAttr) { in Spinner() method in Spinner
163 public Spinner(Context context, AttributeSet attrs, int defStyleAttr, int mode) { in Spinner() method in Spinner
187 public Spinner( in Spinner() method in Spinner
192 attrs, com.android.internal.R.styleable.Spinner, defStyleAttr, defStyleRes); in Spinner()
698 event.setClassName(Spinner.class.getName()); in onInitializeAccessibilityEvent()
704 info.setClassName(Spinner.class.getName()); in onInitializeAccessibilityNodeInfo()
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Dbinding.jd19 // Get a Spinner and bind it to an ArrayAdapter that
21 Spinner s1 = (Spinner) findViewById(R.id.spinner1);
27 // Load a Spinner and bind it to a data query.
32 Spinner s2 = (Spinner) findViewById(R.id.spinner2);
78 <a href="{@docRoot}guide/topics/ui/controls/spinner.html">Spinner</a>,
Dcontrols.jd83 <td><a href="controls/spinner.html">Spinner</a></td>
85 <td>{@link android.widget.Spinner Spinner} </td>
/frameworks/base/core/tests/coretests/src/android/view/
DPopupWindowVisibility.java26 import android.widget.Spinner;
54 Spinner spinner = (Spinner) findViewById(R.id.spinner); in onCreate()
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
DSimpleActivity.java27 import android.widget.Spinner;
42 Spinner spinner = (Spinner) findViewById(R.id.spinner_simple); in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintSpinner.java23 import android.widget.Spinner;
30 public class TintSpinner extends Spinner {
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java33 import android.widget.Spinner;
161 private class DisplayModifierSpinner extends Spinner {
183 private Spinner[] mSpinners;
188 mSpinners = new Spinner[mapsStrings.length]; in buildSpinnerLayout()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java39 import android.widget.Spinner;
52 Spinner mFgSpinner;
53 Spinner mBgSpinner;
54 Spinner mLimitSpinner;
165 mFgSpinner = (Spinner) findViewById(R.id.fgspinner); in onCreate()
171 mBgSpinner = (Spinner) findViewById(R.id.bgspinner); in onCreate()
177 mLimitSpinner = (Spinner) findViewById(R.id.limitspinner); in onCreate()
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java41 import android.widget.Spinner;
70 private Spinner mCameraSpinner;
71 private Spinner mResolutionSpinner;
110 mCameraSpinner = (Spinner) findViewById(R.id.cameras_selection); in onCreate()
116 mResolutionSpinner = (Spinner) findViewById(R.id.resolution_selection); in onCreate()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java31 import android.widget.Spinner;
155 Spinner sourceSpinner = (Spinner) findViewById(R.id.source_spinner); in onCreate()
175 Spinner sinkSpinner = (Spinner) findViewById(R.id.sink_spinner); in onCreate()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DTestBase.java34 import android.widget.Spinner;
86 public boolean onSpinner1Setup(Spinner s) { in onSpinner1Setup()
DImageProcessingActivity2.java31 import android.widget.Spinner;
118 private Spinner mSpinner;
133 private Spinner mTestSpinner;
360 mSpinner = (Spinner) findViewById(R.id.spinner1); in onCreate()
380 mTestSpinner = (Spinner) findViewById(R.id.filterselection); in onCreate()
DBlend.java29 import android.widget.Spinner;
83 public boolean onSpinner1Setup(Spinner s) { in onSpinner1Setup()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DTestBase.java39 import android.widget.Spinner;
102 public boolean onSpinner1Setup(Spinner s) { in onSpinner1Setup()
DBlend.java36 import android.widget.Spinner;
90 public boolean onSpinner1Setup(Spinner s) { in onSpinner1Setup()
DIPControlsJB.java30 import android.widget.Spinner;
52 private Spinner mResSpinner;
103 mResSpinner = (Spinner) findViewById(R.id.image_size); in init()
DImageProcessingActivityJB.java27 import android.widget.Spinner;
49 private Spinner mSpinner;
480 mSpinner = (Spinner) findViewById(R.id.spinner1); in onCreate()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
DTestBase.java37 import android.widget.Spinner;
100 public boolean onSpinner1Setup(Spinner s) { in onSpinner1Setup()
DImageProcessingActivity.java31 import android.widget.Spinner;
123 private Spinner mSpinner;
136 private Spinner mTestSpinner;
418 mSpinner = (Spinner) findViewById(R.id.spinner1); in init()
438 mTestSpinner = (Spinner) findViewById(R.id.filterselection); in init()
DBlend.java36 import android.widget.Spinner;
90 public boolean onSpinner1Setup(Spinner s) { in onSpinner1Setup()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java36 import android.widget.Spinner;
64 private Spinner mSpinner;
160 mSpinner = (Spinner) findViewById(R.id.spinner); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java42 import android.widget.Spinner;
57 private Spinner mTabSpinner;
203 private Spinner createSpinner() { in createSpinner()
204 final Spinner spinner = new Spinner(getContext(), null, in createSpinner()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java48 import android.widget.Spinner;
81 Spinner mModeSpinner;
146 mModeSpinner = (Spinner) findViewById(R.id.modeSpinner); in onCreate()
639 private Spinner.OnItemSelectedListener mModeChanged
640 = new Spinner.OnItemSelectedListener() {
/frameworks/base/docs/html/tools/testing/
Dactivity_test.jd135 If you want to learn more about Spinner, the application under test, then you
136 might want to review the "Spinner" sample app.
162 Spinner is the application under test. This tutorial focuses on the
196 both Spinner (the application under test) and SpinnerTest (the test application).
199 You'll be using the Spinner application as-is, without modification, so you'll be loading it
201 creating a new test project associated with Spinner that will contain the SpinnerTest
206 To install the Spinner app in a new Android project from existing source, following these steps:
220 …Browse</strong>, navigate to the directory <code>&lt;SDK_path&gt;/samples/android-8/Spinner</code>,
221 …then click Open. The directory name <code>&lt;SDK_path&gt;/samples/android-8/Spinner</code> now ap…
234 … <li><em>Location:</em> &quot;<code>&lt;SDK_path&gt;/samples/android-8/Spinner</code>&quot;</li>
[all …]

12