Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatSpinnerTest.java68 final AppCompatSpinner spinner = (AppCompatSpinner) mContainer.findViewById(spinnerId); in verifySpinnerPopupTheming() local
82 String itemText = (String) spinner.getAdapter().getItem(2); in verifySpinnerPopupTheming()
103 final AppCompatSpinner spinner = in testUnthemedPopupRuntimeTheming() local
105 spinner.setPopupBackgroundResource(R.drawable.test_background_blue); in testUnthemedPopupRuntimeTheming()
109 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable( in testUnthemedPopupRuntimeTheming()
117 final AppCompatSpinner spinner = in testThemedPopupRuntimeTheming() local
122 spinner.setPopupBackgroundResource(R.drawable.test_background_red); in testThemedPopupRuntimeTheming()
126 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable( in testThemedPopupRuntimeTheming()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DAppCompatWidgetsSpinners.java38 Spinner spinner = findViewById(R.id.widgets_spinner); in onCreate() local
39 spinner.setAdapter(new ArrayAdapter<>(this, in onCreate()
42 spinner = findViewById(R.id.widgets_spinner_underlined); in onCreate()
43 spinner.setAdapter(new ArrayAdapter<>(this, in onCreate()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DBaseLayoutManagerActivity.java113 final Spinner spinner = findViewById(R.id.spinner);
124 scrollToPosition(smooth, spinner.getSelectedItemPosition());
126 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
131 final Spinner spinner = findViewById(R.id.spinner);
132 spinner.setAdapter(new BaseAdapter() {
/frameworks/base/core/tests/coretests/src/android/view/
DPopupWindowVisibility.java54 Spinner spinner = findViewById(R.id.spinner); in onCreate() local
58 spinner.setAdapter(spinnerAdapter); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DRevealActivity.java72 ProgressBar spinner = new ProgressBar(this, null, android.R.attr.progressBarStyleLarge); in onCreate() local
73 … layout.addView(spinner, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
DCirclePropActivity.java44 ProgressBar spinner = new ProgressBar(this, null, android.R.attr.progressBarStyleLarge); in onCreate() local
45 … layout.addView(spinner, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
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/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DScrollingTabContainerView.java214 final Spinner spinner = new AppCompatSpinner(getContext(), null, in createSpinner() local
216 spinner.setLayoutParams(new LinearLayoutCompat.LayoutParams( in createSpinner()
219 spinner.setOnItemSelectedListener(this); in createSpinner()
220 return spinner; in createSpinner()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java204 final Spinner spinner = new Spinner(getContext(), null, in createSpinner() local
206 spinner.setLayoutParams(new LinearLayout.LayoutParams( in createSpinner()
208 spinner.setOnItemClickListenerInt(this); in createSpinner()
209 return spinner; in createSpinner()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java482 static class spinner extends Thread { class in ImageProcessingActivityJB.DVFSWorkaround
486 spinner() { in spinner() method in ImageProcessingActivityJB.DVFSWorkaround.spinner
514 spinner s1;
516 s1 = new spinner(); in DVFSWorkaround()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DAppCompatInflaterCustomTest.java80 assertEquals(AppCompatSpinner.class, mContainer.findViewById(R.id.spinner).getClass()); in testViewClasses()
DAppCompatInflaterPassTest.java86 assertEquals(AppCompatSpinner.class, mContainer.findViewById(R.id.spinner).getClass()); in testViewClasses()
/frameworks/support/preference/src/main/java/androidx/preference/
DDropDownPreference.java127 mSpinner = (Spinner) view.itemView.findViewById(R.id.spinner); in onBindViewHolder()
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java92 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
120 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
DDatePickerSpinnerDelegate.java594 private void setImeOptions(NumberPicker spinner, int spinnerCount, int spinnerIndex) { in setImeOptions() argument
601 … TextView input = (TextView) spinner.findViewById(com.android.internal.R.id.numberpicker_input); in setImeOptions()
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt39 to be captured by changing the number on the spinner (between 1-10).
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java160 mSpinner = (Spinner) findViewById(R.id.spinner); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2755 public void onItemSelected(AdapterView<?> spinner, View view, int position, long id) { in onItemSelected() argument
2758 if (spinner == mDestinationSpinner) { in onItemSelected()
2830 } else if (spinner == mMediaSizeSpinner) { in onItemSelected()
2854 } else if (spinner == mColorModeSpinner) { in onItemSelected()
2865 } else if (spinner == mDuplexModeSpinner) { in onItemSelected()
2876 } else if (spinner == mOrientationSpinner) { in onItemSelected()
2899 } else if (spinner == mRangeOptionsSpinner) { in onItemSelected()