Lines Matching defs:inputManager
89 final ConversationInputManager inputManager = new ConversationInputManager(getTestContext(),
92 return inputManager;
96 final ConversationInputManager inputManager = initNewInputManager(new Bundle());
98 inputManager.showHideMediaPicker(true /* show */, true /* animate */);
104 assertEquals(true, inputManager.isMediaPickerVisible());
105 assertEquals(false, inputManager.isSimSelectorVisible());
106 assertEquals(false, inputManager.isImeKeyboardVisible());
109 inputManager.showHideMediaPicker(false /* show */, true /* animate */);
112 assertEquals(false, inputManager.isMediaPickerVisible());
113 assertEquals(false, inputManager.isSimSelectorVisible());
114 assertEquals(false, inputManager.isImeKeyboardVisible());
119 final ConversationInputManager inputManager = initNewInputManager(new Bundle());
121 inputManager.showHideMediaPicker(true /* show */, true /* animate */);
123 assertEquals(true, inputManager.isMediaPickerVisible());
124 assertEquals(false, inputManager.isSimSelectorVisible());
125 assertEquals(false, inputManager.isImeKeyboardVisible());
128 inputManager.showHideImeKeyboard(true /* show */, true /* animate */);
130 assertEquals(false, inputManager.isMediaPickerVisible());
131 assertEquals(false, inputManager.isSimSelectorVisible());
132 assertEquals(true, inputManager.isImeKeyboardVisible());
136 final ConversationInputManager inputManager = initNewInputManager(new Bundle());
138 inputManager.showHideMediaPicker(true /* show */, true /* animate */);
140 assertEquals(true, inputManager.isMediaPickerVisible());
141 assertEquals(false, inputManager.isSimSelectorVisible());
142 assertEquals(false, inputManager.isImeKeyboardVisible());
145 inputManager.testNotifyImeStateChanged(true /* imeOpen */);
147 assertEquals(false, inputManager.isMediaPickerVisible());
148 assertEquals(false, inputManager.isSimSelectorVisible());
149 assertEquals(true, inputManager.isImeKeyboardVisible());
153 final ConversationInputManager inputManager = initNewInputManager(new Bundle());
155 inputManager.showHideMediaPicker(true /* show */, true /* animate */);
157 assertEquals(true, inputManager.isMediaPickerVisible());
158 assertEquals(false, inputManager.isSimSelectorVisible());
159 assertEquals(false, inputManager.isImeKeyboardVisible());
162 inputManager.onSaveInputState(savedInstanceState);
175 final ConversationInputManager inputManager = initNewInputManager(new Bundle());
177 inputManager.showHideMediaPicker(true /* show */, true /* animate */);
179 assertEquals(true, inputManager.isMediaPickerVisible());
180 assertEquals(false, inputManager.isSimSelectorVisible());
181 assertEquals(false, inputManager.isImeKeyboardVisible());
184 assertEquals(true, inputManager.onBackPressed());
186 assertEquals(false, inputManager.isMediaPickerVisible());
187 assertEquals(false, inputManager.isSimSelectorVisible());
188 assertEquals(false, inputManager.isImeKeyboardVisible());