Home
last modified time | relevance | path

Searched refs:inputManager (Results 1 – 17 of 17) 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/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/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.java610 TvInputManagerHelper inputManager = in loadLabel() local
612 CharSequence customLabel = inputManager.loadCustomLabel(input); in loadLabel()
615 label = inputManager.loadLabel(input).toString(); in loadLabel()
DTvInputManagerHelper.java707 public InputComparatorInternal(TvInputManagerHelper inputManager) { in InputComparatorInternal() argument
708 mInputManager = inputManager; in InputComparatorInternal()
/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.java146 public ChannelDataManager(Context context, TvInputManagerHelper inputManager) { in ChannelDataManager() argument
149 inputManager, in ChannelDataManager()
158 TvInputManagerHelper inputManager, in ChannelDataManager() argument
162 mInputManager = inputManager; in ChannelDataManager()
165 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/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java155 final InputManager inputManager = mock(InputManager.class); in testNonIndexableKeys_existInXmlLayout() local
157 when(inputManager.getInputDeviceIds()).thenReturn(new int[0]); in testNonIndexableKeys_existInXmlLayout()
158 doReturn(inputManager).when(context).getSystemService(Context.INPUT_SERVICE); in testNonIndexableKeys_existInXmlLayout()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java482 TvInputManager inputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); in handleInputCountChanged() local
487 List<TvInputInfo> inputs = inputManager.getTvInputList(); in handleInputCountChanged()
520 mSetupUtils.onInputListUpdated(inputManager); in handleInputCountChanged()
DSetupPassthroughActivity.java65 TvInputManagerHelper inputManager = tvSingletons.getTvInputManagerHelper(); in onCreate() local
68 mTvInputInfo = inputManager.getTvInputInfo(inputId); in onCreate()
DChannelTuner.java87 public ChannelTuner(ChannelDataManager channelDataManager, TvInputManagerHelper inputManager) { in ChannelTuner() argument
89 mInputManager = inputManager; in ChannelTuner()
/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.java330 public void setInputManager(final ConversationInputManager inputManager) { in setInputManager() argument
331 mInputManager = inputManager; in setInputManager()
DConversationFragment.java454 final ConversationInputManager inputManager = new ConversationInputManager( in onActivityCreated() local
457 mComposeMessageView.setInputManager(inputManager); in onActivityCreated()