Home
last modified time | relevance | path

Searched refs:resultReceiver (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowInputMethodManagerTest.java50 CapturingResultReceiver resultReceiver = in hideSoftInputFromWindow_shouldNotifiyResult_hidden() local
52 manager.hideSoftInputFromWindow(null, 0, resultReceiver); in hideSoftInputFromWindow_shouldNotifiyResult_hidden()
53 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_hidden()
58 CapturingResultReceiver resultReceiver = in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden() local
60 manager.hideSoftInputFromWindow(null, 0, resultReceiver); in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden()
61 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_UNCHANGED_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden()
DShadowContextWrapperTest.java147 final FooReceiver resultReceiver = new FooReceiver(); in sendOrderedBroadcast_shouldReturnValues() local
148 …contextWrapper.sendOrderedBroadcast(new Intent(action), null, resultReceiver, null, 1, "initial", … in sendOrderedBroadcast_shouldReturnValues()
150 assertThat(resultReceiver.resultCode).isEqualTo(1); in sendOrderedBroadcast_shouldReturnValues()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInputMethodManager.java48 protected boolean showSoftInput(View view, int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
60 IBinder windowToken, int flags, ResultReceiver resultReceiver) { in hideSoftInputFromWindow() argument
69 if (resultReceiver != null) { in hideSoftInputFromWindow()
70 resultReceiver.send(resultCode, null); in hideSoftInputFromWindow()
DShadowContextImpl.java165 BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
174 resultReceiver, in sendOrderedBroadcast()
DShadowInstrumentation.java205 BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
213 receivers.add(new Wrapper(resultReceiver, null, context, null, scheduler)); in sendOrderedBroadcast()
/external/droiddriver/src/io/appium/droiddriver/actions/view/
DCloseKeyboardAction.java63 ResultReceiver resultReceiver = new ResultReceiver(null) { in perform() local
71 if (!imm.hideSoftInputFromWindow(view.getWindowToken(), 0, resultReceiver)) { in perform()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...