Home
last modified time | relevance | path

Searched refs:executor (Results 1 – 2 of 2) sorted by relevance

/appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatTextViewTest.java662 final ManualExecutor executor = new ManualExecutor(); in testSetTextFuture() local
668 SAMPLE_TEXT_1, tv.getTextMetricsParamsCompat(), executor)); in testSetTextFuture()
671 executor.doExecution(0); in testSetTextFuture()
690 final ManualExecutor executor = new ManualExecutor(); in testSetTextAsync_getTextBlockingTest() local
695 SAMPLE_TEXT_1, tv.getTextMetricsParamsCompat(), executor)); in testSetTextAsync_getTextBlockingTest()
700 executor.doExecution(0); in testSetTextAsync_getTextBlockingTest()
705 final ManualExecutor executor = new ManualExecutor(); in testSetTextAsync_executionOrder() local
710 SAMPLE_TEXT_1, tv.getTextMetricsParamsCompat(), executor)); in testSetTextAsync_executionOrder()
712 SAMPLE_TEXT_2, tv.getTextMetricsParamsCompat(), executor)); in testSetTextAsync_executionOrder()
714 executor.doExecution(1); // Do execution of 2nd runnable. in testSetTextAsync_executionOrder()
[all …]
/appcompat/appcompat/src/main/java/androidx/appcompat/app/
DAppCompatDelegate.java135 SerialExecutor(Executor executor) { in SerialExecutor() argument
136 this.mExecutor = executor; in SerialExecutor()