Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/
DStylusDevicesControllerTest.java92 private StylusDevicesController mController;
133 mPreferenceContainer.setKey(StylusDevicesController.KEY_STYLUS); in setUp()
170 mController = new StylusDevicesController(mContext, mInputDevice, null, mLifecycle); in setUp()
175 assertThat(StylusDevicesController.isDeviceStylus(null, null)).isFalse(); in isDeviceStylus_noDevices_false()
184 assertThat(StylusDevicesController.isDeviceStylus(inputDevice, null)).isFalse(); in isDeviceStylus_nonStylusInputDevice_false()
193 assertThat(StylusDevicesController.isDeviceStylus(inputDevice, null)).isTrue(); in isDeviceStylus_stylusInputDevice_true()
201 assertThat(StylusDevicesController.isDeviceStylus(null, mCachedBluetoothDevice)).isFalse(); in isDeviceStylus_nonStylusBluetoothDevice_false()
210 assertThat(StylusDevicesController.isDeviceStylus(null, mCachedBluetoothDevice)).isTrue(); in isDeviceStylus_stylusBluetoothDevice_true()
215 StylusDevicesController controller = new StylusDevicesController( in noInputDevice_noBluetoothDevice_noPreference()
228 StylusDevicesController controller = new StylusDevicesController( in noInputDevice_nonStylusBluetoothDevice_noPreference()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceDetailsFragment.java50 import com.android.settings.connecteddevice.stylus.StylusDevicesController;
380 controllers.add(new StylusDevicesController(context, mInputDevice, mCachedDevice, in createPreferenceControllers()
425 if (StylusDevicesController.isDeviceStylus(mInputDevice, mCachedDevice)) { in setTitleForInputDevice()
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/
DStylusUsiDetailsFragment.java78 controllers.add(new StylusDevicesController(context, mInputDevice, null, lifecycle)); in createPreferenceControllers()
DStylusDevicesController.java65 public class StylusDevicesController extends AbstractPreferenceController implements class
94 public StylusDevicesController(Context context, InputDevice inputDevice, in StylusDevicesController() method in StylusDevicesController