Home
last modified time | relevance | path

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

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAbsSpinnerTest.java30 private Spinner spinner; field in AbsSpinnerTest
38 spinner = new Spinner(context); in setUp()
39 shadowSpinner = (ShadowAbsSpinner) Robolectric.shadowOf(spinner); in setUp()
51 spinner.setAdapter(arrayAdapter); in checkSetAdapter()
56 spinner.setAdapter(arrayAdapter); in getSelectedItemShouldReturnCorrectValue()
57 spinner.setSelection(0); in getSelectedItemShouldReturnCorrectValue()
58 assertThat((String) spinner.getSelectedItem(), equalTo("foo")); in getSelectedItemShouldReturnCorrectValue()
59 assertThat((String) spinner.getSelectedItem(), not(equalTo("bar"))); in getSelectedItemShouldReturnCorrectValue()
61 spinner.setSelection(1); in getSelectedItemShouldReturnCorrectValue()
62 assertThat((String) spinner.getSelectedItem(), equalTo("bar")); in getSelectedItemShouldReturnCorrectValue()
[all …]
DSpinnerTest.java16 private Spinner spinner; field in SpinnerTest
20 spinner = new Spinner(new Activity()); in beforeTests()
25 spinner.setPrompt("foo"); in testPrompt()
27 assertThat(spinner.getPrompt().toString(), is("foo")); in testPrompt()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAbsSpinnerTest.java20 private Spinner spinner; field in ShadowAbsSpinnerTest
27 spinner = new Spinner(context); in setUp()
28 shadowSpinner = shadowOf(spinner); in setUp()
35 spinner.setAdapter(arrayAdapter); in checkSetAdapter()
40 spinner.setAdapter(arrayAdapter); in getSelectedItemShouldReturnCorrectValue()
41 spinner.setSelection(0); in getSelectedItemShouldReturnCorrectValue()
42 assertThat((String) spinner.getSelectedItem()).isEqualTo("foo"); in getSelectedItemShouldReturnCorrectValue()
43 assertThat((String) spinner.getSelectedItem()).isNotEqualTo("bar"); in getSelectedItemShouldReturnCorrectValue()
45 spinner.setSelection(1); in getSelectedItemShouldReturnCorrectValue()
46 assertThat((String) spinner.getSelectedItem()).isEqualTo("bar"); in getSelectedItemShouldReturnCorrectValue()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DDurationPicker.java60 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { in DurationPicker()
70 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { in DurationPicker()
80 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { in DurationPicker()
90 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { in DurationPicker()
/external/jemalloc/src/
Dchunk_dss.c67 spin_t spinner; in chunk_dss_max_update() local
73 spin_init(&spinner); in chunk_dss_max_update()
83 spin_adaptive(&spinner); in chunk_dss_max_update()
Drtree.c99 spin_t spinner; in rtree_node_init() local
105 spin_init(&spinner); in rtree_node_init()
107 spin_adaptive(&spinner); in rtree_node_init()
Djemalloc.c1332 spin_t spinner; local
1335 spin_init(&spinner);
1338 spin_adaptive(&spinner);
/external/valgrind/none/tests/x86/
Dyield.c19 static void *spinner(void *v) in spinner() function
57 pthread_create(&a, NULL, spinner, NULL); in main()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DOptionAdapter.java17 public OptionAdapter(Context context, int resource, List<String> options, Spinner spinner) { in OptionAdapter() argument
21 mSpinner = spinner; in OptionAdapter()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DOptionAdapter.java17 public OptionAdapter(Context context, int resource, List<String> options, Spinner spinner) { in OptionAdapter() argument
21 mSpinner = spinner; in OptionAdapter()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DScreenResponseFragment.java70 private Spinner spinner; field in ScreenResponseFragment
125 spinner = (Spinner) view.findViewById(R.id.spinner_screen_response); in onCreateView()
130 spinner.setAdapter(modeAdapter); in onCreateView()
402 final int spinnerPosition = spinner.getSelectedItemPosition(); in onClick()
/external/e2fsprogs/e2fsck/
Dunix.c509 static const char spinner[] = "\\|/-"; in e2fsck_simple_progress() local
560 fputc(spinner[ctx->progress_pos & 3], stdout); in e2fsck_simple_progress()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
Dwikipedia.min.css1 …tion:relative;top:-16px}.mw-small-spinner{padding:10px!important;margin-right:.6em;background-imag…
Dwikipedia.css1657 .mw-small-spinner {
1661 background-image: url(images/spinner.gif);
/external/doclava/res/assets/templates-sdk/assets/js/
Dandroid_3p-bundle.js2702spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li… property
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/e2fsprogs/
DRELEASE-NOTES7382 spinner) if the -C0 option is requested or if it receives a SIGUSR1