/cts/tests/tests/widget/src/android/widget/cts/ |
SpinnerTest.java | 34 import android.widget.Spinner; 37 * Test {@link Spinner}. 39 @TestTargetClass(Spinner.class) 56 method = "Spinner", 61 method = "Spinner", 66 method = "Spinner", 71 new Spinner(mTargetContext); 73 new Spinner(mTargetContext, null); 75 new Spinner(mTargetContext, null, com.android.internal.R.attr.spinnerStyle); 77 Spinner spinner = (Spinner) getActivity().findViewById(R.id.spinner1) local 88 Spinner spinner = new Spinner(mTargetContext); local 108 Spinner spinner = new Spinner(mTargetContext); local 124 final Spinner spinner = (Spinner) getActivity().findViewById(R.id.spinner1); local 138 Spinner spinner = new Spinner(mTargetContext); local 178 Spinner spinner = new Spinner(mTargetContext); local 197 Spinner spinner = new Spinner(mTargetContext); local [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
SpinnerOption.java | 19 import android.widget.Spinner; 26 public static void setSpinnerOptionValue(Spinner spinner, Object value) { 27 for (int i = 0, count = spinner.getCount(); i < count; i++) { 28 SpinnerOption so = (SpinnerOption)spinner.getItemAtPosition(i); 30 spinner.setSelection(i, true);
|
/frameworks/base/docs/html/resources/tutorials/views/ |
hello-spinner.jd | 1 page.title=Spinner 6 <p>{@link android.widget.Spinner} is a widget similar to a drop-down list for selecting items.</p> 9 a simple spinner widget that displays a list of planets. When one is selected, a toast message 28 <Spinner 29 android:id="@+id/spinner" 37 {@link android.widget.Spinner}'s <code>android:prompt</code> attribute both reference the same 39 android.widget.Spinner}, the title text will appear 62 android.widget.TextView} and {@link android.widget.Spinner} in the layout above. The {@code 64 the {@link android.widget.Spinner} widget.</p> 75 Spinner spinner = (Spinner) findViewById(R.id.spinner) [all...] |
/cts/tests/tests/holo/res/values/ |
arrays.xml | 18 <item>Spinner 1</item> 19 <item>Spinner 2</item> 20 <item>Spinner 3</item>
|
/development/samples/Spinner/src/com/android/example/spinner/ |
SpinnerActivity.java | 17 package com.android.example.spinner; 19 import com.android.example.spinner.R; 28 import android.widget.Spinner; 34 * Displays an Android spinner widget backed by data in an array. The 40 * Fields to contain the current position and display contents of the spinner 46 * ArrayAdapter connects the spinner widget to array-based data. 51 * The initial position of the spinner when it is first installed. 87 * 2) Reads the spinner's backing data from the string resources file 89 * spinner 107 Spinner spinner = (Spinner) findViewById(R.id.Spinner01) local [all...] |
/development/samples/SpinnerTest/src/com/android/example/spinner/test/ |
SpinnerActivityTest.java | 17 package com.android.example.spinner.test; 19 import com.android.example.spinner.SpinnerActivity; 25 import android.widget.Spinner; 30 * Tests the example application Spinner. Uses the instrumentation test class 41 // Number of items in the spinner's backing mLocalAdapter 49 // Set the initial position of the spinner to zero 71 // String displayed in the spinner in the app under test 75 // The currently selected position in the spinner in the app under test 80 * The Spinner object in the app under test. Used with instrumentation to control the 84 private Spinner mSpinner [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventViewUtils.java | 31 import android.widget.Spinner; 71 * @param values the list of minutes corresponding to the spinner choices 93 * @param values the list of minutes corresponding to the spinner choices 122 Spinner minuteSpinner = (Spinner) layout.findViewById(R.id.reminder_minutes_value); 123 Spinner methodSpinner = (Spinner) layout.findViewById(R.id.reminder_method_value); 201 * Set the list of labels on a reminder spinner. 203 private static void setReminderSpinnerLabels(Activity activity, Spinner spinner, 248 Spinner spinner = (Spinner) reminderItem.findViewById(R.id.reminder_minutes_value); local [all...] |
/packages/apps/Contacts/res/layout/ |
edit_spinner.xml | 17 <!-- Spinner for a field in the contact editor. --> 19 <!-- Note: explicitly override the default left and right padding on spinner --> 20 <Spinner 22 android:id="@+id/spinner"
|
/packages/apps/SpareParts/res/layout/ |
spare_parts.xml | 28 <Spinner android:id="@+id/window_animation_scale" 32 </Spinner> 34 <Spinner android:id="@+id/transition_animation_scale" 39 </Spinner>
|
/development/samples/Spinner/res/layout/ |
main.xml | 18 Creates a Linear Layout View to contain the spinner 27 Creates a spinner widget called Spinner01, within the Linear Layout 30 <Spinner 36 </Spinner> 39 Creates a TextView called SpinnerResult, below the spinner.
|
/frameworks/base/docs/html/guide/topics/ui/ |
binding.jd | 16 <li><a href="{@docRoot}resources/tutorials/views/hello-spinner.html">Spinner</a></li> 26 <p>{@link android.widget.Gallery Gallery}, {@link android.widget.ListView ListView}, and {@link android.widget.Spinner Spinner} are examples of AdapterView subclasses that you can use to bind to a specific type of data and display it in a certain way. </p> 44 <li>Creates a {@link android.widget.Spinner Spinner} with an existing View and binds it to a new ArrayAdapter 46 <li>Creates another Spinner object from a View and binds it to a new SimpleCursorAdapter that will read 51 // Get a Spinner and bind it to an ArrayAdapter that 53 Spinner s1 = (Spinner) findViewById(R.id.spinner1) [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ExportOptionsDialog.java | 28 import android.widget.Spinner; 79 final Spinner sizeSpinner = (Spinner)myView.findViewById( 83 final Spinner qualitySpinner = (Spinner)myView.findViewById( 110 // Setup the movie size spinner 119 final Spinner sizeSpinner = (Spinner)view.findViewById(R.id.export_option_size); 123 // Setup the movie quality spinner 130 final Spinner qualitySpinner = (Spinner)view.findViewById(R.id.export_option_quality) [all...] |
/development/apps/Development/src/com/android/development/ |
DevelopmentSettings.java | 44 import android.widget.Spinner; 58 private Spinner mPointerLocationSpinner; 59 private Spinner mStrictModeVisualSpinner; 69 private Spinner mMaxProcsSpinner; 70 private Spinner mWindowAnimationScaleSpinner; 71 private Spinner mTransitionAnimationScaleSpinner; 72 private Spinner mFontHintingSpinner; 105 mPointerLocationSpinner = (Spinner)findViewById(R.id.pointer_location); 115 mStrictModeVisualSpinner = (Spinner)findViewById(R.id.strictmode_visual); 145 mMaxProcsSpinner = (Spinner)findViewById(R.id.max_procs) 181 Spinner spinner = (Spinner)findViewById(resid); local 583 Spinner spinner; field in class:DevelopmentSettings.AnimationScaleSelectedListener [all...] |
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.widget.Spinner.html | 10 android.widget.Spinner 74 Class android.widget.<A HREF="../../../../reference/android/widget/Spinner.html" target="_top"><font size="+2"><code>Spinner</code></font></A> 85 <A NAME="android.widget.Spinner.ctor_added(android.content.Context, android.util.AttributeSet, int, int)"></A> 86 <nobr><A HREF="../../../../reference/android/widget/Spinner.html#Spinner(android.content.Context, android.util.AttributeSet, int, int)" target="_top"><code>Spinner</code></A>(<code>Context,</nobr> AttributeSet<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 92 <A NAME="android.widget.Spinner.ctor_added(android.content.Context, int)"></A> 93 <nobr><A HREF="../../../../reference/android/widget/Spinner.html#Spinner(android.content.Context, int)" target="_top"><code>Spinner</code></A>(<code>Context,</nobr> int<no (…) [all...] |
/frameworks/base/docs/html/guide/tutorials/views/ |
hello-spinner.jd | 1 page.title=Hello, Spinner 6 <p>A {@link android.widget.Spinner} is a widget that allows the user to select an item from a group. 30 <Spinner 31 android:id="@+id/spinner" 40 <p>Notice that the Spinner's <code>android:prompt</code> is a string resource. In 69 <p>This is the list of items (planets) that the user can select from in the Spinner widget.</p> 79 Spinner s = (Spinner) findViewById(R.id.spinner); 86 <p>That's it. We start by creating a Spinner from our layout. We then create an {@link android.widget.ArrayAdapter} [all...] |
/external/chromium/chrome/browser/resources/chromeos/ |
choose_mobile_network.css | 5 .spinner { 13 background-image: -webkit-canvas(spinner-circle);
|
choose_mobile_network.html | 17 // TODO(dpolukhin): refactor spinner code&css to be reusable. 18 // Setup css canvas 'spinner-circle' 23 '2d', 'spinner-circle', 2 * r, 2 * r); 47 <div id="spinner" class="spinner"></div>
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Controls1.java | 27 import android.widget.Spinner; 32 * Spinner. This example uses the light theme. 44 Spinner s1 = (Spinner) findViewById(R.id.spinner1);
|
Spinner1.java | 28 import android.widget.Spinner; 44 Spinner s1 = (Spinner) findViewById(R.id.spinner1); 61 Spinner s2 = (Spinner) findViewById(R.id.spinner2);
|
/frameworks/base/core/java/android/widget/ |
SpinnerAdapter.java | 24 * {@link android.widget.Spinner} and its data. A spinner adapter allows to 25 * define two different views: one that shows the data in the spinner itself and 26 * one that shows the data in the drop down list when the spinner is pressed.</p>
|
Spinner.java | 36 * The items in the Spinner come from the {@link Adapter} associated with 39 * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-spinner.html">Spinner 45 public class Spinner extends AbsSpinner implements OnClickListener { 46 private static final String TAG = "Spinner"; 52 * Use a dialog window for selecting spinner options. 57 * Use a dropdown anchored to the Spinner for selecting spinner options. 76 * Construct a new spinner with the given context's theme. 81 public Spinner(Context context) [all...] |
/frameworks/base/docs/html/design/building-blocks/ |
spinners.jd | 4 <p>Spinners provide a quick way to select one value from a set. In the default state, a spinner shows 5 its currently selected value. Touching the spinner displays a dropdown menu with all other available 18 associated spinner allows you to select whether it's a Home or Work address.</p> 26 <p>Use spinners in action bars to switch views. For example, Gmail uses a spinner to permit switching
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
NotifyingSpinner.java | 21 import android.widget.Spinner; 24 * Spinner that notifies a listener when the user taps on an item, whether or not this results 27 public class NotifyingSpinner extends Spinner {
|
/development/samples/SpinnerTest/ |
AndroidManifest.xml | 26 package="com.android.example.spinner.test" 39 the package of com.android.example.spinner. To run the tests use the command: 41 com.android.example.spinner.test/android.test.InstrumentationTestRunner" 44 android:targetPackage="com.android.example.spinner" 45 android:label="Tests for com.android.example.spinner"/>
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
SpinnerVisibilitySetter.java | 27 * This class manages the visibility of the progress spinner in the action bar for an 28 * Activity. It filters out short-lived appearances of the progress spinner by only 29 * showing the spinner if it hasn't been hidden again before the end of a specified 30 * delay period. It also enforces a minimum display time once the spinner is made visible. 31 * This meant to cut down on the frequent "flashes" of the progress spinner. 38 // Amount of time after a show request that the progress spinner is actually made visible. 43 // The minimum amount of time the progress spinner must be visible before it can be hidden.
|