HomeSort by relevance Sort by last modified time
    Searched defs:mInputManager (Results 1 - 25 of 37) sorted by null

1 2

  /packages/apps/TV/src/com/android/tv/data/
TvInputNewComparator.java 27 private final TvInputManagerHelper mInputManager;
31 mInputManager = inputManager;
51 return mInputManager.getDefaultTvInputInfoComparator().compare(lhs, rhs);
  /cts/tests/tests/hardware/src/android/hardware/input/cts/
InputCtsActivity.java 33 private InputManager mInputManager;
38 mInputManager = getApplicationContext().getSystemService(InputManager.class);
39 mInputManager.registerInputDeviceListener(this, null);
90 mInputManager.getInputDevice(deviceId); // if this isn't called, won't get new notifications
  /development/samples/ControllerSample/src/com/example/inputmanagercompat/
InputManagerV16.java 33 private final InputManager mInputManager;
37 mInputManager = (InputManager) context.getSystemService(Context.INPUT_SERVICE);
43 return mInputManager.getInputDevice(id);
48 return mInputManager.getInputDeviceIds();
78 mInputManager.registerInputDeviceListener(v16Listener, handler);
87 mInputManager.unregisterInputDeviceListener(curListener);
InputManagerV9.java 47 private final WeakReference<InputManagerV9> mInputManager;
50 mInputManager = new WeakReference<InputManagerV9>(im);
58 InputManagerV9 imv = mInputManager.get();
  /cts/tests/tests/view/src/android/view/cts/
InputDeviceEnabledTest.java 39 private InputManager mInputManager;
45 mInputManager = mInstrumentation.getTargetContext().getSystemService(InputManager.class);
46 assertNotNull(mInputManager);
51 final int[] inputDeviceIds = mInputManager.getInputDeviceIds();
54 final InputDevice inputDevice = mInputManager.getInputDevice(inputDeviceId);
65 final int[] inputDeviceIds = mInputManager.getInputDeviceIds();
67 final InputDevice inputDevice = mInputManager.getInputDevice(inputDeviceId);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
GameControllerPreferenceControllerTest.java 47 private InputManager mInputManager;
58 when(mContext.getSystemService(Context.INPUT_SERVICE)).thenReturn(mInputManager);
67 verify(mInputManager).registerInputDeviceListener(mController, null);
68 verify(mInputManager, never()).unregisterInputDeviceListener(mController);
72 verify(mInputManager).registerInputDeviceListener(mController, null);
73 verify(mInputManager).unregisterInputDeviceListener(mController);
78 when(mInputManager.getInputDeviceIds()).thenReturn(new int[] {1});
79 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice);
88 when(mInputManager.getInputDeviceIds()).thenReturn(new int[] {1});
89 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice)
    [all...]
  /packages/apps/TV/src/com/android/tv/setup/
SystemSetupActivity.java 46 private TvInputManagerHelper mInputManager;
57 mInputManager = singletons.getTvInputManagerHelper();
89 TvInputInfo input = mInputManager.getTvInputInfo(inputId);
  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
FullscreenActivity.java 129 private InputManager mInputManager;
205 mInputManager = (InputManager) getSystemService(Context.INPUT_SERVICE);
214 int[] deviceIds = mInputManager.getInputDeviceIds();
250 mInputManager.registerInputDeviceListener(this, null);
256 mInputManager.unregisterInputDeviceListener(this);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
MicrophoneDeviceTestActivity.java 43 private InputManager mInputManager;
106 mInputManager = (InputManager) context.getSystemService(Context.INPUT_SERVICE);
108 final int[] inputDeviceIds = mInputManager.getInputDeviceIds();
112 final InputDevice inputDevice = mInputManager.getInputDevice(inputDeviceId);
  /frameworks/base/services/core/java/com/android/server/wm/
InputConsumerImpl.java 59 mService.mInputManager.registerInputChannel(mServerChannel, null);
121 mService.mInputManager.unregisterInputChannel(mServerChannel);
TaskPositioningController.java 39 private final InputManagerService mInputManager;
59 mInputManager = inputManager;
142 if (!mInputManager.transferTouchFocus(
InputMonitor.java 525 mService.mInputManager.setFocusedApplication(null);
531 mService.mInputManager.setFocusedApplication(handle);
596 mService.mInputManager.setInputDispatchMode(mInputDispatchEnabled, mInputDispatchFrozen);
645 mService.mInputManager.setInputWindows(mInputWindowHandles, mFocusedInputWindowHandle);
  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
TaskPositioningControllerTests.java 57 when(sWm.mInputManager.transferTouchFocus(
DragDropControllerTests.java 117 when(sWm.mInputManager.transferTouchFocus(any(), any())).thenReturn(true);
172 assertTrue(sWm.mInputManager.transferTouchFocus(null, null));
  /packages/apps/TV/src/com/android/tv/dvr/recorder/
RecordingScheduler.java 80 private final TvInputManagerHelper mInputManager;
154 mInputManager = inputManager;
159 mInputManager.addCallback(this);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
TutorialJAJP.java 68 private DefaultSoftKeyboardJAJP mInputManager;
210 mInputManager = inputManager;
350 mInputManager.nextKeyMode();
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ComposeMessageView.java 134 private ConversationInputManager mInputManager;
184 mInputManager.onDetach();
220 boolean shown = mInputManager.toggleSimSelector(true /* animate */,
231 boolean shown = mInputManager.toggleSimSelector(true /* animate */,
272 boolean shown = mInputManager.toggleSimSelector(true /* animate */,
305 mInputManager.showHideMediaPicker(true /* show */, true /* animate */);
331 mInputManager = inputManager;
381 mInputManager.showHideSimSelector(false /* show */, true /* animate */);
569 mInputManager.showHideImeKeyboard(true, true);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameControllerInput.java 60 private InputManager mInputManager;
70 mInputManager = (InputManager)getSystemService(Context.INPUT_SERVICE);
95 mInputManager.registerInputDeviceListener(this, null);
99 int[] ids = mInputManager.getInputDeviceIds();
110 mInputManager.unregisterInputDeviceListener(this);
159 final InputDevice device = mInputManager.getInputDevice(deviceId);
  /packages/services/Car/service/src/com/android/car/
CarInputService.java 91 private final InputManager mInputManager;
155 mInputManager = context.getSystemService(InputManager.class);
345 mInputManager.injectInputEvent(event, INJECT_INPUT_EVENT_MODE_ASYNC);
  /development/samples/ControllerSample/src/com/example/controllersample/
GameView.java 70 private final InputManagerCompat mInputManager;
107 mInputManager = InputManagerCompat.Factory.getInputManager(this.getContext());
108 mInputManager.registerInputDeviceListener(this, null);
114 int[] deviceIds = mInputManager.getInputDeviceIds();
116 InputDevice dev = mInputManager.getInputDevice(deviceId);
157 mInputManager.onGenericMotionEvent(event);
185 mInputManager.onResume();
196 mInputManager.onPause();
    [all...]
  /packages/apps/TV/src/com/android/tv/onboarding/
OnboardingActivity.java 51 private TvInputManagerHelper mInputManager;
85 mInputManager = singletons.getTvInputManagerHelper();
182 TvInputInfo input = mInputManager.getTvInputInfo(inputId);
SetupSourcesFragment.java 109 private TvInputManagerHelper mInputManager;
192 mInputManager = singletons.getTvInputManagerHelper();
196 mInputManager.addCallback(mInputCallback);
209 mInputManager.removeCallback(mInputCallback);
233 mInputs = mInputManager.getTvInputInfos(true, true);
246 Collections.sort(mInputs, new TvInputNewComparator(mSetupUtils, mInputManager));
  /packages/apps/TV/src/com/android/tv/
ChannelTuner.java 59 private final TvInputManagerHelper mInputManager;
89 mInputManager = inputManager;
321 mCurrentChannelInputInfo = mInputManager.getTvInputInfo(mCurrentChannel.getInputId());
  /frameworks/base/services/core/java/com/android/server/
WiredAccessoryManager.java 85 private final InputManagerService mInputManager;
94 mInputManager = inputManager;
105 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) {
108 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) {
111 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_LINEOUT_INSERT) == 1) {
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
CustomizeChannelListFragment.java 56 private TvInputManagerHelper mInputManager;
65 mInputManager = getMainActivity().getTvInputManagerHelper();
67 mChannelComparator = new ChannelImpl.DefaultComparator(getActivity(), mInputManager);
198 Utils.loadLabel(getActivity(), mInputManager.getTvInputInfo(inputId));

Completed in 558 milliseconds

1 2