/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageListTest.java | 158 final Spinner spinner = mock(Spinner.class); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments() local 159 when(spinner.getSelectedItemPosition()).thenReturn(0); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments() 160 ReflectionHelpers.setField(mDataUsageList, "mCycleSpinner", spinner); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments() 180 final Spinner spinner = getSpinner(header); in onViewCreated_shouldHideCycleSpinner() local 181 spinner.setVisibility(View.VISIBLE); in onViewCreated_shouldHideCycleSpinner() 187 assertThat(spinner.getVisibility()).isEqualTo(View.GONE); in onViewCreated_shouldHideCycleSpinner() 194 final Spinner spinner = getSpinner(getHeader()); in onLoadFinished_networkCycleDataCallback_shouldShowCycleSpinner() local 195 spinner.setVisibility(View.INVISIBLE); in onLoadFinished_networkCycleDataCallback_shouldShowCycleSpinner() 196 mDataUsageList.mCycleSpinner = spinner; in onLoadFinished_networkCycleDataCallback_shouldShowCycleSpinner() 197 assertThat(spinner.getVisibility()).isEqualTo(View.INVISIBLE); in onLoadFinished_networkCycleDataCallback_shouldShowCycleSpinner() [all …]
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | ProfileSettingsPreferenceFragment.java | 44 final Spinner spinner = (Spinner) setPinnedHeaderView(R.layout.spinner_view); in onViewCreated() local 45 spinner.setAdapter(profileSpinnerAdapter); in onViewCreated() 46 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onViewCreated() 57 spinner.setSelection(0); in onViewCreated()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | ProfileSettingsPreferenceFragment.java | 44 final Spinner spinner = (Spinner) setPinnedHeaderView(R.layout.spinner_view); in onViewCreated() local 45 spinner.setAdapter(profileSpinnerAdapter); in onViewCreated() 46 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onViewCreated() 57 spinner.setSelection(0); in onViewCreated()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | SpinnerPreference.java | 66 SettingsSpinner spinner = (SettingsSpinner) holder.findViewById(R.id.cycles_spinner); in onBindViewHolder() local 67 spinner.setAdapter(mAdapter); in onBindViewHolder() 68 spinner.setSelection(mPosition); in onBindViewHolder() 69 spinner.setOnItemSelectedListener(mOnSelectedListener); in onBindViewHolder()
|
D | CycleAdapter.java | 39 public CycleAdapter(Context context, SpinnerInterface spinner, in CycleAdapter() argument 42 mSpinner = spinner; in CycleAdapter()
|
D | BillingCycleSettings.java | 322 Spinner spinner = (Spinner) mView.findViewById(R.id.size_spinner); in onClick() local 329 * (spinner.getSelectedItemPosition() == 0 ? MIB_IN_BYTES : GIB_IN_BYTES)); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | SpinnerPreference.java | 66 SettingsSpinner spinner = (SettingsSpinner) holder.findViewById(R.id.cycles_spinner); in onBindViewHolder() local 67 spinner.setAdapter(mAdapter); in onBindViewHolder() 68 spinner.setSelection(mPosition); in onBindViewHolder() 69 spinner.setOnItemSelectedListener(mOnSelectedListener); in onBindViewHolder()
|
D | CycleAdapter.java | 39 public CycleAdapter(Context context, SpinnerInterface spinner, in CycleAdapter() argument 42 mSpinner = spinner; in CycleAdapter()
|
D | BillingCycleSettings.java | 322 Spinner spinner = (Spinner) mView.findViewById(R.id.size_spinner); in onClick() local 329 * (spinner.getSelectedItemPosition() == 0 ? MIB_IN_BYTES : GIB_IN_BYTES)); in onClick()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 515 private void reverbSpinnerInit(Spinner spinner) { in reverbSpinnerInit() argument 519 spinner.setAdapter(adapter); in reverbSpinnerInit() 520 spinner.setOnItemSelectedListener(new OnItemSelectedListener() { in reverbSpinnerInit() 534 spinner.setSelection(mPRPreset); in reverbSpinnerInit() 537 private void equalizerSpinnerInit(Spinner spinner) { in equalizerSpinnerInit() argument 541 spinner.setAdapter(adapter); in equalizerSpinnerInit() 542 spinner.setOnItemSelectedListener(new OnItemSelectedListener() { in equalizerSpinnerInit() 556 spinner.setSelection(mEQPreset); in equalizerSpinnerInit()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CustomInputStylePreference.java | 150 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/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TrustedCredentialsDialogBuilder.java | 294 Spinner spinner = new Spinner(mActivity); in getCertLayout() local 295 spinner.setAdapter(arrayAdapter); in getCertLayout() 296 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in getCertLayout() 312 certLayout.addView(spinner); in getCertLayout()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 294 Spinner spinner = new Spinner(mActivity); in getCertLayout() local 295 spinner.setAdapter(arrayAdapter); in getCertLayout() 296 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in getCertLayout() 312 certLayout.addView(spinner); in getCertLayout()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugMmsConfigFragment.java | 55 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/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | OffcarTestingFragment.java | 214 private void populateSpinner(Spinner spinner, ArrayAdapter adapter) { in populateSpinner() argument 216 spinner.setAdapter(adapter); in populateSpinner() 217 spinner.setOnItemSelectedListener(this); in populateSpinner()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | SeriesDetailsActivity.java | 163 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/ |
D | CommonControllerOverlay.java | 96 ProgressBar spinner = new ProgressBar(context); in CommonControllerOverlay() local 97 spinner.setIndeterminate(true); in CommonControllerOverlay() 98 mLoadingView.addView(spinner, wrapContent); in CommonControllerOverlay()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 1397 Spinner spinner, in loadCertificates() argument 1438 spinner.setEnabled(false); in loadCertificates() 1440 spinner.setEnabled(true); in loadCertificates() 1447 spinner.setAdapter(adapter); in loadCertificates() 1450 private void setSelection(Spinner spinner, String value) { in setSelection() argument 1453 ArrayAdapter<String> adapter = (ArrayAdapter<String>) spinner.getAdapter(); in setSelection() 1456 spinner.setSelection(i); in setSelection()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 271 final Spinner spinner = new Spinner(mContext); in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates() local 274 mController.loadCertificates(spinner, in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates() 280 assertThat(spinner.getAdapter().getCount()).isEqualTo(1); // doNotProvideEapUserCertString in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialog.java | 446 private void loadCertificates(Spinner spinner, String prefix, int firstId, String selected) { in loadCertificates() argument 463 spinner.setAdapter(adapter); in loadCertificates() 467 spinner.setSelection(i); in loadCertificates()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimPreferenceDialog.java | 97 final Spinner tintSpinner = (Spinner) mDialogLayout.findViewById(R.id.spinner); in onRestoreInstanceState() 111 final Spinner tintSpinner = (Spinner) mDialogLayout.findViewById(R.id.spinner); in createEditDialog()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialog.java | 514 private void loadCertificates(Spinner spinner, String prefix, int firstId, String selected) { in loadCertificates() argument 531 spinner.setAdapter(adapter); in loadCertificates() 535 spinner.setSelection(i); in loadCertificates()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimPreferenceDialog.java | 97 final Spinner tintSpinner = (Spinner) mDialogLayout.findViewById(R.id.spinner); in onRestoreInstanceState() 111 final Spinner tintSpinner = (Spinner) mDialogLayout.findViewById(R.id.spinner); in createEditDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiConfigController.java | 1339 Spinner spinner, in loadCertificates() argument 1366 spinner.setAdapter(adapter); in loadCertificates() 1369 private void setSelection(Spinner spinner, String value) { in setSelection() argument 1372 ArrayAdapter<String> adapter = (ArrayAdapter<String>) spinner.getAdapter(); in setSelection() 1375 spinner.setSelection(i); in setSelection()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | FlipperDreamSettings.java | 121 View empty = findViewById(R.id.spinner); in showApology()
|