/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 65 final MagnificationController controller = mService.getMagnificationController(); in testSetScale() local 69 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testSetScale() 72 assertEquals("Failed to apply scale", scale, controller.getScale()); in testSetScale() 74 mService.runOnServiceSync(() -> result.set(controller.reset(false))); in testSetScale() 77 assertEquals("Failed to apply reset", 1.0f, controller.getScale()); in testSetScale() 81 final MagnificationController controller = mService.getMagnificationController(); in testSetScaleAndCenter() local 92 setScale.set(controller.setScale(scale, false)); in testSetScaleAndCenter() 93 setCenter.set(controller.setCenter(x, y, false)); in testSetScaleAndCenter() 97 assertEquals("Failed to apply scale", scale, controller.getScale()); in testSetScaleAndCenter() 100 assertEquals("Failed to apply center X", x, controller.getCenterX(), 5.0f); in testSetScaleAndCenter() [all …]
|
D | AccessibilitySoftKeyboardModesTest.java | 103 public void onShowModeChanged(SoftKeyboardController controller, int showMode) { in testApiReturnValues_shouldChangeValueOnRequestAndSendCallback()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSessionTest.java | 84 MediaController controller = mSession.getController(); in testCreateSession() local 85 assertNotNull(controller); in testCreateSession() 86 verifyNewSession(controller, TEST_SESSION_TAG); in testCreateSession() 112 MediaController controller = mSession.getController(); in testConfigureSession() local 113 controller.registerCallback(mCallback, mHandler); in testConfigureSession() 128 extrasOut = controller.getExtras(); in testConfigureSession() 134 assertEquals(5, controller.getFlags()); in testConfigureSession() 148 metadataOut = controller.getMetadata(); in testConfigureSession() 163 stateOut = controller.getPlaybackState(); in testConfigureSession() 186 assertEquals(TEST_VALUE, controller.getQueueTitle()); in testConfigureSession() [all …]
|
D | JetPlayerTest.java | 202 byte controller, byte value) { in onJetEvent() argument
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 80 GridLayoutAnimationController controller = in testConstructor() local 83 assertEquals(DEFAULT_DELAY, controller.getRowDelay()); in testConstructor() 84 assertEquals(DEFAULT_DELAY, controller.getColumnDelay()); in testConstructor() 272 MyGridLayoutAnimationController controller = new MyGridLayoutAnimationController(animation); 316 AnimationTestUtils.assertRunController(getInstrumentation(), mGridView, controller, 319 assertEquals(0, controller.getDelayForView(child1)); 320 assertEquals(1000, controller.getDelayForView(child2)); 321 assertEquals(2000, controller.getDelayForView(child3)); 322 assertEquals(1000, controller.getDelayForView(child4)); 323 assertEquals(2000, controller.getDelayForView(child5)); [all …]
|
D | LayoutAnimationControllerTest.java | 338 LayoutAnimationController controller = new LayoutAnimationController(mDefaultAnimation); 339 assertEquals(DEFAULT_DELAY, controller.getDelay()); 345 MyLayoutAnimationController controller = new MyLayoutAnimationController(animation); 365 AnimationTestUtils.assertRunController(getInstrumentation(), mListView, controller, 368 assertEquals(0, controller.getDelayForView(child1)); 369 assertEquals(1000, controller.getDelayForView(child2)); 370 assertEquals(2000, controller.getDelayForView(child3)); 386 MyLayoutAnimationController controller = new MyLayoutAnimationController(animation); 393 assertEquals(0, controller.getTransformedIndex(animationParams)); 395 assertEquals(1, controller.getTransformedIndex(animationParams)); [all …]
|
D | AnimationUtilsTest.java | 70 LayoutAnimationController controller = AnimationUtils.loadLayoutAnimation(mActivity, in testLoad() local 72 assertTrue(controller instanceof GridLayoutAnimationController); in testLoad() 73 assertEquals(duration, controller.getAnimation().getDuration()); in testLoad() 74 assertEquals(0.1f, controller.getDelay(), 0.001f); in testLoad()
|
D | AnimationTestUtils.java | 97 final ViewGroup view, final LayoutAnimationController controller, in assertRunController() argument 102 view.setLayoutAnimation(controller); in assertRunController()
|
/cts/tools/utils/ |
D | DescriptionGenerator.java | 556 String controller = ""; in getTestMethods() local 564 controller = getAnnotationDescription(cAnnot); in getTestMethods() 583 name, method.commentText(), controller, supportedAbis, in getTestMethods() 653 TestMethod(String name, String description, String controller, Set<String> abis, in TestMethod() argument 660 mController = controller; in TestMethod()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListViewTest.java | 482 LayoutAnimationController controller = new LayoutAnimationController( in testCanAnimate() local 484 listView.setLayoutAnimation(controller); in testCanAnimate()
|