Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DDisplayMirroringFragment.java55 private Spinner mDisplaySpinner; field in DisplayMirroringFragment
72 mDisplaySpinner = view.findViewById(R.id.display_spinner); in onCreateView()
80 mDisplaySpinner.setAdapter(new ArrayAdapter<>(getContext(), in onViewCreated()
97 int selectedDisplayId = (Integer) mDisplaySpinner.getSelectedItem(); in startMirroring()
115 mDisplaySpinner.setEnabled(!mMirroring); in updateUi()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/key/
DInjectKeyTestFragment.java72 private Spinner mDisplaySpinner; field in InjectKeyTestFragment
94 mDisplaySpinner = view.findViewById(R.id.display_select_spinner); in onCreateView()
105 mDisplaySpinner.setAdapter(new ArrayAdapter<>(getContext(), in onViewCreated()
107 mDisplaySpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onViewCreated()
110 int selectedDisplayId = (Integer) mDisplaySpinner.getItemAtPosition(position); in onViewCreated()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/
DPowerTestFragment.java57 private Spinner mDisplaySpinner; field in PowerTestFragment
112 mDisplaySpinner = v.findViewById(R.id.display_spinner); in onCreateView()
125 mDisplaySpinner.setAdapter(new ArrayAdapter<>(getContext(), in onViewCreated()
162 int selectedDisplayId = (Integer) mDisplaySpinner.getSelectedItem(); in displayOnBtn()
170 int selectedDisplayId = (Integer) mDisplaySpinner.getSelectedItem(); in displayOffBtn()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DInjectMotionTestFragment.java74 private Spinner mDisplaySpinner; field in InjectMotionTestFragment
98 mDisplaySpinner = view.findViewById(R.id.display_select_spinner); in onCreateView()
107 mDisplaySpinner.setAdapter(new ArrayAdapter<>(getContext(), in onViewCreated()
266 int selectedDisplayId = (Integer) mDisplaySpinner.getSelectedItem(); in startInjecting()
292 mDisplaySpinner.setEnabled(!mIsSelected); in updateUi()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java84 private Spinner mDisplaySpinner; field in LauncherActivity
166 mDisplaySpinner = findViewById(R.id.spinner); in onCreate()
167 mDisplaySpinner.setOnItemSelectedListener(new OnItemSelectedListener() { in onCreate()
181 mDisplaySpinner.setAdapter(mDisplayAdapter); in onCreate()
436 writer.printf("%smDisplaySpinner: %s\n", prefix, mDisplaySpinner); in dump()