Home
last modified time | relevance | path

Searched refs:mDisplayAdapter (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java68 private ArrayAdapter<DisplayItem> mDisplayAdapter; field in LauncherActivity
113 mSelectedDisplayId = mDisplayAdapter.getItem(i).mId; in onCreate()
121 mDisplayAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, in onCreate()
123 mDisplayAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
124 mDisplaySpinner.setAdapter(mDisplayAdapter); in onCreate()
242 mDisplayAdapter.setNotifyOnChange(false); in refreshDisplayPicker()
243 mDisplayAdapter.clear(); in refreshDisplayPicker()
244 mDisplayAdapter.add(new DisplayItem(Display.INVALID_DISPLAY, "Do not specify display")); in refreshDisplayPicker()
258 mDisplayAdapter.add(new DisplayItem(id, sb.toString())); in refreshDisplayPicker()
261 mDisplayAdapter.notifyDataSetChanged(); in refreshDisplayPicker()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java95 ArrayAdapter<Integer> mDisplayAdapter; field in AudioTestFragment
537 mDisplayAdapter = new ArrayAdapter<>(mContext, in setUpDisplayPlayer()
539 mDisplayAdapter.setDropDownViewResource( in setUpDisplayPlayer()
541 mDisplaySpinner.setAdapter(mDisplayAdapter); in setUpDisplayPlayer()
546 byte selectedDisplayPortId = mDisplayAdapter.getItem( in createDisplayAudioPlayer()
567 byte selectedDisplayPortId = mDisplayAdapter.getItem( in startDisplayAudio()