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

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DAppCompatWidgetsSpinners.java37 Spinner spinner = findViewById(R.id.widgets_spinner);
38 spinner.setAdapter(new ArrayAdapter<>(this,
41 spinner = findViewById(R.id.widgets_spinner_underlined);
42 spinner.setAdapter(new ArrayAdapter<>(this,
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DAppCompatWidgetsSpinners.java37 Spinner spinner = findViewById(R.id.widgets_spinner);
38 spinner.setAdapter(new ArrayAdapter<>(this,
41 spinner = findViewById(R.id.widgets_spinner_underlined);
42 spinner.setAdapter(new ArrayAdapter<>(this,
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatSpinnerTest.java66 final AppCompatSpinner spinner = (AppCompatSpinner) mContainer.findViewById(spinnerId);
68 // Click the spinner to show its popup content
80 String itemText = (String) spinner.getAdapter().getItem(2);
101 final AppCompatSpinner spinner =
103 spinner.setPopupBackgroundResource(R.drawable.test_background_blue);
107 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable(
115 final AppCompatSpinner spinner =
120 spinner.setPopupBackgroundResource(R.drawable.test_background_red);
124 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable(
/frameworks/base/core/tests/coretests/src/android/view/
H A DPopupWindowVisibility.java54 Spinner spinner = findViewById(R.id.spinner);
58 spinner.setAdapter(spinnerAdapter);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java112 final Spinner spinner = findViewById(R.id.spinner);
123 scrollToPosition(smooth, spinner.getSelectedItemPosition());
125 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
130 final Spinner spinner = findViewById(R.id.spinner);
131 spinner.setAdapter(new BaseAdapter() {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java112 final Spinner spinner = findViewById(R.id.spinner);
123 scrollToPosition(smooth, spinner.getSelectedItemPosition());
125 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
130 final Spinner spinner = findViewById(R.id.spinner);
131 spinner.setAdapter(new BaseAdapter() {
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$id.class ... searchView public static final int seekBar public static final int spinner public static final int switch1 public static final int switch2 ...
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DRevealActivity.java72 ProgressBar spinner = new ProgressBar(this, null, android.R.attr.progressBarStyleLarge);
73 layout.addView(spinner, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
H A DCirclePropActivity.java44 ProgressBar spinner = new ProgressBar(this, null, android.R.attr.progressBarStyleLarge);
45 layout.addView(spinner, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DDropDownPreference.java126 mSpinner = (Spinner) view.itemView.findViewById(R.id.spinner);
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java131 * @return true if showing as a spinner
204 final Spinner spinner = new Spinner(getContext(), null,
206 spinner.setLayoutParams(new LinearLayout.LayoutParams(
208 spinner.setOnItemClickListenerInt(this);
209 return spinner;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingActivityJB.java482 static class spinner extends Thread { class in class:ImageProcessingActivityJB.DVFSWorkaround
486 spinner() { method in class:ImageProcessingActivityJB.DVFSWorkaround.spinner
514 spinner s1;
516 s1 = new spinner();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DScrollingTabContainerView.java141 * @return true if showing as a spinner
212 final Spinner spinner = new AppCompatSpinner(getContext(), null,
214 spinner.setLayoutParams(new LinearLayoutCompat.LayoutParams(
217 spinner.setOnItemSelectedListener(this);
218 return spinner;
/frameworks/base/core/java/android/widget/
H A DDatePickerSpinnerDelegate.java516 // set the spinner ranges respecting the min and max dates
544 // with the months in the month spinner
549 // year spinner range does not change based on the current date
554 // set the spinner values
588 * Sets the IME options for a spinner based on its ordering.
590 * @param spinner The spinner.
591 * @param spinnerCount The total spinner count.
592 * @param spinnerIndex The index of the given spinner.
594 private void setImeOptions(NumberPicker spinner, in argument
[all...]
H A DTimePickerSpinnerDelegate.java43 * A delegate implementing the basic spinner-based TimePicker.
59 // version uses a NumberPicker spinner. Therefore the code
92 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) {
120 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) {
145 // Get the localized am/pm strings and use them in the spinner.
363 // cache the current hour since spinner range changes and BEFORE changing mIs24HourView!!
369 // set value after spinner range is updated
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DSmartCamera.java160 mSpinner = (Spinner) findViewById(R.id.spinner);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java1379 // Special prompt instead of destination spinner for the first time the user printed
1656 // If the media sizes changed, we update the adapter and the spinner.
1716 // If the color modes changed, we update the adapter and the spinner.
1780 // If the duplex modes changed, we update the adapter and the spinner.
2717 public void onItemSelected(AdapterView<?> spinner, View view, int position, long id) { argument
2720 if (spinner == mDestinationSpinner) {
2792 } else if (spinner == mMediaSizeSpinner) {
2816 } else if (spinner == mColorModeSpinner) {
2827 } else if (spinner == mDuplexModeSpinner) {
2838 } else if (spinner
[all...]

Completed in 691 milliseconds