Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/print/
DProfileSettingsPreferenceFragment.java49 final Spinner spinner = (Spinner) setPinnedHeaderView(R.layout.spinner_view); in onViewCreated() local
50 spinner.setAdapter(profileSpinnerAdapter); in onViewCreated()
51 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onViewCreated()
64 spinner.setSelection(0); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/datausage/
DSpinnerPreference.java71 Spinner spinner = (Spinner) holder.findViewById(R.id.cycles_spinner); in onBindViewHolder() local
72 spinner.setAdapter(mAdapter); in onBindViewHolder()
73 spinner.setSelection(mPosition); in onBindViewHolder()
74 spinner.setOnItemSelectedListener(mOnSelectedListener); in onBindViewHolder()
DCycleAdapter.java28 public CycleAdapter(Context context, SpinnerInterface spinner) { in CycleAdapter() argument
30 mSpinner = spinner; in CycleAdapter()
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
DDialogsActivity.java167 final NumberPicker spinner = new NumberPicker(this); in addSpinner() local
168 spinner.setValue(0); in addSpinner()
169 spinner.setMaxValue(0); in addSpinner()
170 mSpinners.addView(spinner); in addSpinner()
171 return spinner; in addSpinner()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListHeaderControllerTest.kt53 private val spinner: Spinner = header.requireViewById(R.id.filter_spinner) constant in com.android.settings.datausage.DataUsageListHeaderControllerTest
68 assertThat(spinner.visibility).isEqualTo(View.GONE) in onViewCreated_shouldHideCycleSpinner()
76 assertThat(spinner.visibility).isEqualTo(View.VISIBLE) in <lambda>()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java880 final UiObject spinner = getUiSpinner(); in testDirectlyOpen_onCreateDeleteFile() local
887 assertTrue(spinner.waitForExists(TEST_TIMEOUT_MS)); in testDirectlyOpen_onCreateDeleteFile()
923 final UiObject spinner = getUiSpinner(); in testDirectlyOpen_taskCancelToast() local
925 assertTrue(spinner.waitForExists(TEST_TIMEOUT_MS)); in testDirectlyOpen_taskCancelToast()
942 final UiObject spinner = getUiSpinner(); in testDirectlyOpen_cancelPendingTask() local
944 assertFalse(spinner.exists()); in testDirectlyOpen_cancelPendingTask()
949 assertTrue(spinner.waitForExists(TEST_TIMEOUT_MS)); in testDirectlyOpen_cancelPendingTask()
962 assertTrue(spinner.waitUntilGone(TEST_TIMEOUT_MS)); in testDirectlyOpen_cancelPendingTask()
978 final UiObject spinner = getUiSpinner(); in testDirectlyOpen_successfullyDownload() local
980 assertFalse(spinner.exists()); in testDirectlyOpen_successfullyDownload()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/packageinfo/
DPackageInfoFragment.java187 Spinner spinner = v.findViewById(R.id.spinner); in setListener() local
191 spinner.setAdapter(userArrayAdapter); in setListener()
192 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in setListener()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcWebPortalFragment.java74 ProgressBar spinner = v.findViewById(R.id.loadingbar); in onCreateView() local
85 spinner.setVisibility(View.VISIBLE); in onCreateView()
90 spinner.setVisibility(View.GONE); in onCreateView()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DCertificateDetailsPreferenceController.kt131 val spinner = Spinner(context) in <lambda>() constant
132 spinner.setAdapter(arrayAdapter) in <lambda>()
138 certLayout.addView(spinner) in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigFragment.java55 final Spinner spinner = (Spinner) fragmentView.findViewById(R.id.sim_selector); in onCreateView() local
60 spinner.setAdapter(spinnerAdapter); in onCreateView()
61 spinner.setOnItemSelectedListener(new OnItemSelectedListener() { in onCreateView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStylePreference.java150 private static void setSpinnerPosition(final Spinner spinner, final Object itemToSelect) { in setSpinnerPosition() argument
151 final SpinnerAdapter adapter = spinner.getAdapter(); in setSpinnerPosition()
154 final Object item = spinner.getItemAtPosition(i); in setSpinnerPosition()
156 spinner.setSelection(i); in setSpinnerPosition()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DOffcarTestingFragment.java218 private void populateSpinner(Spinner spinner, ArrayAdapter adapter) { in populateSpinner() argument
220 spinner.setAdapter(adapter); in populateSpinner()
221 spinner.setOnItemSelectedListener(this); in populateSpinner()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java575 private void reverbSpinnerInit(Spinner spinner) { in reverbSpinnerInit() argument
579 spinner.setAdapter(adapter); in reverbSpinnerInit()
580 spinner.setOnItemSelectedListener(new OnItemSelectedListener() { in reverbSpinnerInit()
594 spinner.setSelection(mPRPreset); in reverbSpinnerInit()
597 private void equalizerSpinnerInit(Spinner spinner) { in equalizerSpinnerInit() argument
601 spinner.setAdapter(adapter); in equalizerSpinnerInit()
602 spinner.setOnItemSelectedListener(new OnItemSelectedListener() { in equalizerSpinnerInit()
616 spinner.setSelection(mEQPreset); in equalizerSpinnerInit()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java294 Spinner spinner = new Spinner(mActivity); in getCertLayout() local
295 spinner.setAdapter(arrayAdapter); in getCertLayout()
296 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in getCertLayout()
314 certLayout.addView(spinner); in getCertLayout()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/qns/
DWfcQnsWebPortalFragment.java63 ProgressBar spinner = (ProgressBar) v.findViewById(R.id.loadingbar); in onCreateView() local
89 spinner.setVisibility(View.GONE); in onCreateView()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DSeriesDetailsActivity.java163 Spinner spinner = findViewById(R.id.activity_series_details_spinner); in updateViews() local
164 spinner.setAdapter(new BaseAdapter() { in updateViews()
219 spinner.setOnItemSelectedListener((SeriesAdapter) recyclerView.getAdapter()); in updateViews()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCommonControllerOverlay.java96 ProgressBar spinner = new ProgressBar(context); in CommonControllerOverlay() local
97 spinner.setIndeterminate(true); in CommonControllerOverlay()
98 mLoadingView.addView(spinner, wrapContent); in CommonControllerOverlay()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java324 final Spinner spinner = new Spinner(mContext); in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates() local
326 mController.loadCertificates(spinner, in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates()
332 assertThat(spinner.getAdapter().getCount()).isEqualTo(1); // doNotProvideEapUserCertString in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates()
1006 Spinner spinner = mController.getEapMinTlsVerSpinner(true /* isTlsV13Supported */); in getEapMinTlsVerSpinner_isTlsV13Supported_containsTlsV13() local
1008 List<Object> list = IntStream.range(0, spinner.getAdapter().getCount()) in getEapMinTlsVerSpinner_isTlsV13Supported_containsTlsV13()
1009 .mapToObj(spinner.getAdapter()::getItem) in getEapMinTlsVerSpinner_isTlsV13Supported_containsTlsV13()
1017 Spinner spinner = mController.getEapMinTlsVerSpinner(false /* isTlsV13Supported */); in getEapMinTlsVerSpinner_isNotTlsV13Supported_doesNotContainTlsV13() local
1019 List<Object> list = IntStream.range(0, spinner.getAdapter().getCount()) in getEapMinTlsVerSpinner_isNotTlsV13Supported_doesNotContainTlsV13()
1020 .mapToObj(spinner.getAdapter()::getItem) in getEapMinTlsVerSpinner_isNotTlsV13Supported_doesNotContainTlsV13()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java507 private static SpinnerWrapper create(Context context, Spinner spinner, in create() argument
509 SpinnerWrapper wrapper = new SpinnerWrapper(context, spinner, entries); in create()
514 private SpinnerWrapper(Context context, Spinner spinner, ArrayList<String> entries) { in SpinnerWrapper() argument
515 mSpinner = spinner; in SpinnerWrapper()
DSimpleUserPickerFragment.java514 private static SpinnerWrapper create(Context context, Spinner spinner, in create() argument
516 SpinnerWrapper wrapper = new SpinnerWrapper(context, spinner, entries); in create()
521 private SpinnerWrapper(Context context, Spinner spinner, ArrayList<String> entries) { in SpinnerWrapper() argument
522 mSpinner = spinner; in SpinnerWrapper()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java1585 Spinner spinner, in loadCertificates() argument
1625 spinner.setEnabled(false); in loadCertificates()
1627 spinner.setEnabled(true); in loadCertificates()
1632 spinner.setAdapter(adapter); in loadCertificates()
1635 private void setSelection(Spinner spinner, String value) { in setSelection() argument
1638 ArrayAdapter<String> adapter = (ArrayAdapter<String>) spinner.getAdapter(); in setSelection()
1641 spinner.setSelection(i); in setSelection()
1998 Spinner spinner = mView.findViewById(R.id.min_tls_ver);
2006 spinner.setAdapter(getSpinnerAdapter(stringArray));
2007 return spinner;
DWifiConfigController.java1553 Spinner spinner, in loadCertificates() argument
1589 spinner.setEnabled(false); in loadCertificates()
1591 spinner.setEnabled(true); in loadCertificates()
1596 spinner.setAdapter(adapter); in loadCertificates()
1599 private void setSelection(Spinner spinner, String value) { in setSelection() argument
1602 ArrayAdapter<String> adapter = (ArrayAdapter<String>) spinner.getAdapter(); in setSelection()
1605 spinner.setSelection(i); in setSelection()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java434 private void loadCertificates(Spinner spinner, Collection<String> choices, int firstId, in loadCertificates() argument
454 spinner.setAdapter(adapter); in loadCertificates()
458 spinner.setSelection(i); in loadCertificates()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DSpinnerPreference.java60 mSpinner = (Spinner) view.findViewById(R.id.spinner); in onBindViewHolder()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DFlipperDreamSettings.java121 View empty = findViewById(R.id.spinner); in showApology()

12