Home
last modified time | relevance | path

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

/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java67 private ArrayAdapter<DisplayItem> mDisplayAdapter; field in LauncherActivity
99 mSelectedDisplayId = mDisplayAdapter.getItem(i).mId; in onCreate()
107 mDisplayAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, in onCreate()
109 mDisplayAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
110 mDisplaySpinner.setAdapter(mDisplayAdapter); in onCreate()
228 mDisplayAdapter.setNotifyOnChange(false); in refreshDisplayPicker()
229 mDisplayAdapter.clear(); in refreshDisplayPicker()
230 mDisplayAdapter.add(new DisplayItem(Display.INVALID_DISPLAY, "Do not specify display")); in refreshDisplayPicker()
244 mDisplayAdapter.add(new DisplayItem(id, sb.toString())); in refreshDisplayPicker()
247 mDisplayAdapter.notifyDataSetChanged(); in refreshDisplayPicker()