Home
last modified time | relevance | path

Searched refs:inputManager (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationInputManagerTest.java90 final ConversationInputManager inputManager = new ConversationInputManager(getTestContext(), in initNewInputManager() local
93 return inputManager; in initNewInputManager()
97 final ConversationInputManager inputManager = initNewInputManager(new Bundle()); in testShowHideInputs() local
99 inputManager.showHideMediaPicker(true /* show */, true /* animate */); in testShowHideInputs()
105 assertEquals(true, inputManager.isMediaPickerVisible()); in testShowHideInputs()
106 assertEquals(false, inputManager.isSimSelectorVisible()); in testShowHideInputs()
107 assertEquals(false, inputManager.isImeKeyboardVisible()); in testShowHideInputs()
110 inputManager.showHideMediaPicker(false /* show */, true /* animate */); in testShowHideInputs()
113 assertEquals(false, inputManager.isMediaPickerVisible()); in testShowHideInputs()
114 assertEquals(false, inputManager.isSimSelectorVisible()); in testShowHideInputs()
[all …]
/packages/services/Car/car-builtin-lib/src/android/car/builtin/input/
DInputManagerHelper.java44 public static boolean injectInputEvent(@NonNull InputManager inputManager, in injectInputEvent() argument
46 return inputManager.injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectInputEvent()
52 public static void pilferPointers(@NonNull InputManager inputManager, @NonNull View v) { in pilferPointers() argument
53 inputManager.pilferPointers(v.getViewRootImpl().getInputToken()); in pilferPointers()
59 public static void addUniqueIdAssociationByDescriptor(@NonNull InputManager inputManager, in addUniqueIdAssociationByDescriptor() argument
64 inputManager.addUniqueIdAssociationByDescriptor(inputDeviceDescriptor, displayUniqueId); in addUniqueIdAssociationByDescriptor()
70 public static void removeUniqueIdAssociationByDescriptor(@NonNull InputManager inputManager, in removeUniqueIdAssociationByDescriptor() argument
74 inputManager.removeUniqueIdAssociationByDescriptor(inputDeviceDescriptor); in removeUniqueIdAssociationByDescriptor()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DFactory.cpp62 std::unique_ptr<InputManager> inputManager = nullptr; in createInputManager() local
65 inputManager = EvsInputManager::createEvsInputManager(config, overrideConfig, in createInputManager()
69 inputManager = VideoInputManager::createVideoInputManager(config, overrideConfig, in createInputManager()
75 return inputManager; in createInputManager()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothInputDeviceConnector.java87 InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in registerInputMethodMonitor() local
88 inputManager.registerInputDeviceListener(mInputListener, mHandler); in registerInputMethodMonitor()
95 int[] inputDevices = inputManager.getInputDeviceIds(); in registerInputMethodMonitor()
128 … InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in unregisterInputMethodMonitor() local
129 inputManager.unregisterInputDeviceListener(mInputListener); in unregisterInputMethodMonitor()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DModifierKeysPickerDialogFragment.java100 InputManager inputManager = mActivity.getSystemService(InputManager.class); in onCreateDialog() local
156 inputManager.remapModifierKey(keys[i], keys[i]); in onCreateDialog()
167 inputManager.remapModifierKey(fromKeys[0], toKeys[0]); in onCreateDialog()
172 inputManager.remapModifierKey(fromKeys[0], toKeys[0]); in onCreateDialog()
173 inputManager.remapModifierKey(fromKeys[1], toKeys[0]); in onCreateDialog()
178 inputManager.remapModifierKey(fromKeys[0], toKeys[0]); in onCreateDialog()
179 inputManager.remapModifierKey(fromKeys[1], toKeys[1]); in onCreateDialog()
DNewKeyboardSettingsUtils.java151 static KeyboardLayout[] getKeyboardLayouts(InputManager inputManager, int userId, in getKeyboardLayouts() argument
153 return inputManager.getKeyboardLayoutListForInputDevice(identifier, userId, info, subtype); in getKeyboardLayouts()
157 static KeyboardLayoutSelectionResult getKeyboardLayout(InputManager inputManager, int userId, in getKeyboardLayout() argument
159 return inputManager.getKeyboardLayoutForInputDevice(identifier, userId, info, subtype); in getKeyboardLayout()
DModifierKeysResetDialogFragment.java61 InputManager inputManager = activity.getSystemService(InputManager.class); in onCreateDialog() local
71 inputManager.clearAllModifierKeyRemappings(); in onCreateDialog()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java246 TvInputManagerHelper inputManager = singletons.getTvInputManagerHelper();
247 return singletons.getSetupUtils().hasNewInput(inputManager);
251 TvInputManagerHelper inputManager =
254 for (TvInputInfo info : inputManager.getTvInputInfos(true, true)) {
264 TvInputManagerHelper inputManager =
270 && inputManager.getTvInputAppInfo(currentChannel.getInputId()) != null;
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DInputManagerCompat.java24 public InputManagerCompat(InputManager inputManager) { in InputManagerCompat() argument
25 mInputManager = inputManager; in InputManagerCompat()
/packages/apps/TV/src/com/android/tv/util/
DSetupUtils.java232 public boolean hasNewInput(TvInputManagerHelper inputManager) { in hasNewInput() argument
233 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in hasNewInput()
250 public void markAllInputsRecognized(TvInputManagerHelper inputManager) { in markAllInputsRecognized() argument
251 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in markAllInputsRecognized()
261 public boolean hasUnrecognizedInput(TvInputManagerHelper inputManager) { in hasUnrecognizedInput() argument
262 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in hasUnrecognizedInput()
DUtils.java613 TvInputManagerHelper inputManager = in loadLabel() local
615 CharSequence customLabel = inputManager.loadCustomLabel(input); in loadLabel()
618 label = inputManager.loadLabel(input); in loadLabel()
DTvInputManagerHelper.java719 public InputComparatorInternal(TvInputManagerHelper inputManager) { in InputComparatorInternal() argument
720 mInputManager = inputManager; in InputComparatorInternal()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DTvInputNewComparatorTest.java74 TvInputManagerHelper inputManager = Mockito.mock(TvInputManagerHelper.class); in testComparator() local
75 Mockito.when(inputManager.getDefaultTvInputInfoComparator()) in testComparator()
83 TvInputNewComparator comparator = new TvInputNewComparator(setupUtils, inputManager); in testComparator()
/packages/apps/TV/src/com/android/tv/data/
DTvInputNewComparator.java29 public TvInputNewComparator(SetupUtils setupUtils, TvInputManagerHelper inputManager) { in TvInputNewComparator() argument
31 mInputManager = inputManager; in TvInputNewComparator()
DChannelDataManager.java154 @Provided TvInputManagerHelper inputManager, in ChannelDataManager() argument
158 mInputManager = inputManager; in ChannelDataManager()
161 mChannelComparator = new ChannelImpl.DefaultComparator(context, inputManager); in ChannelDataManager()
DChannelImpl.java742 public DefaultComparator(Context context, TvInputManagerHelper inputManager) { in DefaultComparator() argument
744 mInputManager = inputManager; in DefaultComparator()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DKeyboardBot.java46 InputMethodManager inputManager = (InputMethodManager) mContext in isKeyboardPresent() local
48 return inputManager.isAcceptingText(); in isKeyboardPresent()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplier.java168 InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in startTouchMonitoring() local
169 mInputMonitor = inputManager.monitorGestureInput( in startTouchMonitoring()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java487 TvInputManager inputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); in handleInputCountChanged() local
492 List<TvInputInfo> inputs = inputManager.getTvInputList(); in handleInputCountChanged()
556 mSetupUtils.onInputListUpdated(inputManager); in handleInputCountChanged()
DChannelTuner.java87 public ChannelTuner(ChannelDataManager channelDataManager, TvInputManagerHelper inputManager) { in ChannelTuner() argument
89 mInputManager = inputManager; in ChannelTuner()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/inputverification/
DClickVerifier.java102 @NonNull InputManager inputManager, in ClickVerifier()
105 mInputManager = inputManager; in ClickVerifier()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingScheduler.java145 TvInputManagerHelper inputManager, in RecordingScheduler() argument
154 mInputManager = inputManager; in RecordingScheduler()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java334 public void setInputManager(final ConversationInputManager inputManager) { in setInputManager() argument
335 mInputManager = inputManager; in setInputManager()
DConversationFragment.java456 final ConversationInputManager inputManager = new ConversationInputManager( in onActivityCreated() local
459 mComposeMessageView.setInputManager(inputManager); in onActivityCreated()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1604 InputManager inputManager = mContext.getSystemService(InputManager.class);
1605 int[] inputDeviceIds = inputManager.getInputDeviceIds();
1608 InputDevice device = inputManager.getInputDevice(inputDeviceId);
1625 InputManager inputManager = mContext.getSystemService(InputManager.class);
1627 InputManagerHelper.addUniqueIdAssociationByDescriptor(inputManager, args[1], args[2]);
1636 InputManager inputManager = mContext.getSystemService(InputManager.class);
1638 InputManagerHelper.removeUniqueIdAssociationByDescriptor(inputManager, args[1]);

12