Searched refs:executor (Results 1 – 2 of 2) sorted by relevance
662 final ManualExecutor executor = new ManualExecutor(); in testSetTextFuture() local668 SAMPLE_TEXT_1, tv.getTextMetricsParamsCompat(), executor)); in testSetTextFuture()671 executor.doExecution(0); in testSetTextFuture()690 final ManualExecutor executor = new ManualExecutor(); in testSetTextAsync_getTextBlockingTest() local695 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() local710 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 …]
135 SerialExecutor(Executor executor) { in SerialExecutor() argument136 this.mExecutor = executor; in SerialExecutor()