OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mInputManager
(Results
1 - 25
of
36
) sorted by null
1
2
/packages/apps/TV/src/com/android/tv/data/
TvInputNewComparator.java
31
private final TvInputManagerHelper
mInputManager
;
35
mInputManager
= inputManager;
55
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);
/frameworks/base/services/core/java/com/android/server/wm/
InputConsumerImpl.java
44
mService.
mInputManager
.registerInputChannel(mServerChannel, null);
86
mService.
mInputManager
.unregisterInputChannel(mServerChannel);
InputMonitor.java
514
mService.
mInputManager
.setFocusedApplication(null);
520
mService.
mInputManager
.setFocusedApplication(handle);
585
mService.
mInputManager
.setInputDispatchMode(mInputDispatchEnabled, mInputDispatchFrozen);
632
mService.
mInputManager
.setInputWindows(mInputWindowHandles, mFocusedInputWindowHandle);
DragState.java
142
mService.
mInputManager
.registerInputChannel(mServerChannel, null);
187
mService.
mInputManager
.unregisterInputChannel(mServerChannel);
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
GameControllerPreferenceControllerTest.java
50
private InputManager
mInputManager
;
59
when(mContext.getSystemService(Context.INPUT_SERVICE)).thenReturn(
mInputManager
);
68
verify(
mInputManager
).registerInputDeviceListener(mController, null);
69
verify(
mInputManager
, never()).unregisterInputDeviceListener(mController);
73
verify(
mInputManager
).registerInputDeviceListener(mController, null);
74
verify(
mInputManager
).unregisterInputDeviceListener(mController);
79
when(
mInputManager
.getInputDeviceIds()).thenReturn(new int[]{1});
80
when(
mInputManager
.getInputDevice(1)).thenReturn(mInputDevice);
89
when(
mInputManager
.getInputDeviceIds()).thenReturn(new int[]{1});
90
when(
mInputManager
.getInputDevice(1)).thenReturn(mInputDevice)
[
all
...]
/packages/apps/TV/src/com/android/tv/setup/
SystemSetupActivity.java
51
private TvInputManagerHelper
mInputManager
;
62
mInputManager
= singletons.getTvInputManagerHelper();
90
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);
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
InputDeviceResultLoaderTest.java
81
private InputManager
mInputManager
;
94
.thenReturn(
mInputManager
);
/packages/apps/TV/src/com/android/tv/onboarding/
OnboardingActivity.java
53
private TvInputManagerHelper
mInputManager
;
85
mInputManager
= singletons.getTvInputManagerHelper();
173
TvInputInfo input =
mInputManager
.getTvInputInfo(inputId);
SetupSourcesFragment.java
120
private TvInputManagerHelper
mInputManager
;
200
mInputManager
= app.getTvInputManagerHelper();
204
mInputManager
.addCallback(mInputCallback);
215
mInputManager
.removeCallback(mInputCallback);
239
mInputs =
mInputManager
.getTvInputInfos(true, true);
252
Collections.sort(mInputs, new TvInputNewComparator(mSetupUtils,
mInputManager
));
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
SchedulerTest.java
70
@Mock TvInputManagerHelper
mInputManager
;
81
mChannelDataManager,
mInputManager
, getTargetContext(), mFakeClock,
/packages/apps/TV/src/com/android/tv/dvr/recorder/
RecordingScheduler.java
82
private final TvInputManagerHelper
mInputManager
;
144
mInputManager
= inputManager;
149
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
65
private final InputManager
mInputManager
;
133
mInputManager
= context.getSystemService(InputManager.class);
373
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/Settings/src/com/android/settings/search/
InputDeviceResultLoader.java
60
private final InputManager
mInputManager
;
73
mInputManager
= (InputManager) context.getSystemService(Context.INPUT_SERVICE);
101
final String keyboardLayoutDescriptor =
mInputManager
104
?
mInputManager
.getKeyboardLayout(keyboardLayoutDescriptor) : null;
/packages/apps/TV/src/com/android/tv/
ChannelTuner.java
62
private final TvInputManagerHelper
mInputManager
;
93
mInputManager
= inputManager;
359
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
57
private TvInputManagerHelper
mInputManager
;
66
mInputManager
= getMainActivity().getTvInputManagerHelper();
68
mChannelComparator = new Channel.DefaultComparator(getActivity(),
mInputManager
);
191
mInputManager
.getTvInputInfo(inputId));
Completed in 1214 milliseconds
1
2