Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationInputManagerTest.java89 final ConversationInputManager inputManager = new ConversationInputManager(getTestContext(), in initNewInputManager() local
92 return inputManager; in initNewInputManager()
96 final ConversationInputManager inputManager = initNewInputManager(new Bundle()); in testShowHideInputs() local
98 inputManager.showHideMediaPicker(true /* show */, true /* animate */); in testShowHideInputs()
104 assertEquals(true, inputManager.isMediaPickerVisible()); in testShowHideInputs()
105 assertEquals(false, inputManager.isSimSelectorVisible()); in testShowHideInputs()
106 assertEquals(false, inputManager.isImeKeyboardVisible()); in testShowHideInputs()
109 inputManager.showHideMediaPicker(false /* show */, true /* animate */); in testShowHideInputs()
112 assertEquals(false, inputManager.isMediaPickerVisible()); in testShowHideInputs()
113 assertEquals(false, inputManager.isSimSelectorVisible()); in testShowHideInputs()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothInputDeviceConnector.java84 InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in registerInputMethodMonitor() local
85 inputManager.registerInputDeviceListener(mInputListener, mHandler); in registerInputMethodMonitor()
92 int[] inputDevices = inputManager.getInputDeviceIds(); in registerInputMethodMonitor()
125 … InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in unregisterInputMethodMonitor() local
126 inputManager.unregisterInputDeviceListener(mInputListener); in unregisterInputMethodMonitor()
/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/TV/src/com/android/tv/util/
DSetupUtils.java220 public boolean hasNewInput(TvInputManagerHelper inputManager) { in hasNewInput() argument
221 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in hasNewInput()
238 public void markAllInputsRecognized(TvInputManagerHelper inputManager) { in markAllInputsRecognized() argument
239 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in markAllInputsRecognized()
249 public boolean hasUnrecognizedInput(TvInputManagerHelper inputManager) { in hasUnrecognizedInput() argument
250 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/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/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/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java120 final InputManager inputManager = mock(InputManager.class); in testNonIndexableKeys_existInXmlLayout() local
122 when(inputManager.getInputDeviceIds()).thenReturn(new int[0]); in testNonIndexableKeys_existInXmlLayout()
123 doReturn(inputManager).when(context).getSystemService(Context.INPUT_SERVICE); in testNonIndexableKeys_existInXmlLayout()
/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.java730 public DefaultComparator(Context context, TvInputManagerHelper inputManager) { in DefaultComparator() argument
732 mInputManager = inputManager; in DefaultComparator()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DKeyboardBot.java45 InputMethodManager inputManager = (InputMethodManager) mContext in isKeyboardPresent() local
47 return inputManager.isAcceptingText(); in isKeyboardPresent()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java477 TvInputManager inputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); in handleInputCountChanged() local
482 List<TvInputInfo> inputs = inputManager.getTvInputList(); in handleInputCountChanged()
546 mSetupUtils.onInputListUpdated(inputManager); in handleInputCountChanged()
DChannelTuner.java87 public ChannelTuner(ChannelDataManager channelDataManager, TvInputManagerHelper inputManager) { in ChannelTuner() argument
89 mInputManager = inputManager; in ChannelTuner()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplier.java169 InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in startTouchMonitoring() local
170 mInputMonitor = inputManager.monitorGestureInput( in startTouchMonitoring()
/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/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java2606 void setInputManager(@NonNull InputManager inputManager) { in setInputManager() argument
2607 mInputManager = inputManager; in setInputManager()