HomeSort by relevance Sort by last modified time
    Searched refs:inputDevice (Results 1 - 6 of 6) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowInputDevice.java 3 import android.view.InputDevice;
8 @Implements(InputDevice.class)
12 public static InputDevice makeInputDeviceNamed(String deviceName) {
13 InputDevice inputDevice = Shadow.newInstanceOf(InputDevice.class);
14 ShadowInputDevice shadowInputDevice = Shadow.extract(inputDevice);
16 return inputDevice;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowInputDeviceTest.java 5 import android.view.InputDevice;
14 InputDevice inputDevice = ShadowInputDevice.makeInputDeviceNamed("foo");
15 assertThat(inputDevice.getName()).isEqualTo("foo");
  /cts/tests/tests/view/src/android/view/cts/
InputDeviceEnabledTest.java 24 import android.view.InputDevice;
35 * Test {@link android.view.InputDevice} enable/disable functionality.
55 final InputDevice inputDevice = mInputManager.getInputDevice(inputDeviceId);
57 inputDevice.isEnabled(); // output is not checked
63 // Check that InputDevice.enable() and InputDevice.disable() throw SecurityException
68 final InputDevice inputDevice = mInputManager.getInputDevice(inputDeviceId);
71 inputDevice.enable()
    [all...]
SearchEventTest.java 26 import android.view.InputDevice;
70 final InputDevice inputDevice = inputManager.getInputDevice(inputDeviceId);
71 new SearchEvent(inputDevice);
85 InputDevice id = se.getInputDevice();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
MicrophoneDeviceTestActivity.java 28 import android.view.InputDevice;
112 final InputDevice inputDevice = mInputManager.getInputDevice(inputDeviceId);
113 final boolean hasMicrophone = inputDevice.hasMicrophone();
114 Log.w(TAG, "name: " + inputDevice.getName() + ", mic: " + hasMicrophone + ", virtual: "
115 + inputDevice.isVirtual() + ", descriptor: " + inputDevice.getDescriptor());
119 if (inputDevice.isVirtual()) {
124 getString(R.string.tv_microphone_device_test_mic_question, inputDevice.getName());
  /external/webrtc/webrtc/modules/video_capture/ios/
rtc_video_capture_ios_objc.mm 215 AVCaptureDevice* inputDevice = deviceInput.device;
216 if (inputDevice) {
217 AVCaptureDeviceFormat* activeFormat = inputDevice.activeFormat;
228 if (targetRange && [inputDevice lockForConfiguration:NULL]) {
229 inputDevice.activeVideoMinFrameDuration = targetRange.minFrameDuration;
230 inputDevice.activeVideoMaxFrameDuration = targetRange.minFrameDuration;
231 [inputDevice unlockForConfiguration];

Completed in 263 milliseconds