Searched refs:configCaptor (Results 1 – 1 of 1) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 746 final ArgumentCaptor<MagnificationConfig> configCaptor = ArgumentCaptor.forClass( in testListener_changeConfigByLegacyApi_notifyConfigChanged() local 749 eq(controller), any(Region.class), configCaptor.capture()); in testListener_changeConfigByLegacyApi_notifyConfigChanged() 750 assertTrue(configCaptor.getValue().isActivated()); in testListener_changeConfigByLegacyApi_notifyConfigChanged() 751 assertEquals(scale, configCaptor.getValue().getScale(), 0); in testListener_changeConfigByLegacyApi_notifyConfigChanged() 758 eq(controller), any(Region.class), configCaptor.capture()); in testListener_changeConfigByLegacyApi_notifyConfigChanged() 759 assertFalse(configCaptor.getValue().isActivated()); in testListener_changeConfigByLegacyApi_notifyConfigChanged() 760 assertEquals(1.0f, configCaptor.getValue().getScale(), 0); in testListener_changeConfigByLegacyApi_notifyConfigChanged() 789 final ArgumentCaptor<MagnificationConfig> configCaptor = ArgumentCaptor.forClass( in testListener_magnificationConfigChangedWithoutAnimation_notifyConfigChanged() local 792 eq(controller), any(Region.class), configCaptor.capture()); in testListener_magnificationConfigChangedWithoutAnimation_notifyConfigChanged() 793 assertConfigEquals(config, configCaptor.getValue()); in testListener_magnificationConfigChangedWithoutAnimation_notifyConfigChanged() [all …]
|