Searched refs:supplier (Results 1 – 4 of 4) sorted by relevance
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 660 @NonNull Supplier<T> supplier) { 661 return recordEventInternal(eventName, supplier, new Bundle()); 665 @NonNull Supplier<T> supplier, @NonNull Bundle arguments) { 678 result = supplier.get(); 704 public boolean onEvaluateFullscreenMode(@NonNull BooleanSupplier supplier) { 705 return recordEventInternal("onEvaluateFullscreenMode", supplier::getAsBoolean); 708 public boolean onEvaluateInputViewShown(@NonNull BooleanSupplier supplier) { 709 return recordEventInternal("onEvaluateInputViewShown", supplier::getAsBoolean); 712 public View onCreateInputView(@NonNull Supplier<View> supplier) { 713 return recordEventInternal("onCreateInputView", supplier); [all …]
|
D | ImeEventStream.java | 50 ImeEventStream(@NonNull Supplier<ImeEventArray> supplier) { in ImeEventStream() argument 51 this(supplier, 0 /* position */); in ImeEventStream() 54 private ImeEventStream(@NonNull Supplier<ImeEventArray> supplier, int position) { in ImeEventStream() argument 55 mEventSupplier = supplier; in ImeEventStream()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 53 public static <T> T getOnMainSync(@NonNull Supplier<T> supplier) { in getOnMainSync() argument 56 instrumentation.runOnMainSync(() -> result.set(supplier.get())); in getOnMainSync()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityAndWindowManagersState.java | 218 <T> T waitForValidProduct(Supplier<T> supplier, String productName, Predicate<T> tester) { in waitForValidProduct() argument 221 product = supplier.get(); in waitForValidProduct()
|