/cts/tests/tests/transition/src/android/transition/cts/ |
D | SceneTest.java | 48 Scene scene = new Scene(mSceneRoot); in testDynamicConstructor() 49 assertEquals(mSceneRoot, scene.getSceneRoot()); in testDynamicConstructor() 52 R.layout.scene1, mSceneRoot, true)).when(enterCheck).run(); in testDynamicConstructor() 65 assertNotNull(mSceneRoot.findViewById(R.id.redSquare)); in testDynamicConstructor() 69 assertNull(mSceneRoot.findViewById(R.id.redSquare)); in testDynamicConstructor() 78 constructorTest(new Scene(mSceneRoot, view)); in testViewConstructor() 87 constructorTest(new Scene(mSceneRoot, (ViewGroup) view)); in testDeprecatedConstructor() 101 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testGetCurrentScene() 103 assertThat(Scene.getCurrentScene(mSceneRoot), is(scene)); in testGetCurrentScene() 110 assertEquals(mSceneRoot, scene.getSceneRoot()); in constructorTest() [all …]
|
D | ChangeTransformTest.java | 61 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeTransform); in testTranslation() 82 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeTransform); in testRotation() 101 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeTransform); in testScale() 140 mSceneRoot.getOverlay().add(view); in testReparentWithOverlay() 143 mSceneRoot.getOverlay().remove(view); in testReparentWithOverlay() 157 mSceneRoot.getOverlay().add(view); in testReparentWithOverlay() 160 mSceneRoot.getOverlay().remove(view); in testReparentWithOverlay()
|
D | TransitionManagerTest.java | 53 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testBeginDelayedTransition() 54 View view = mActivity.getLayoutInflater().inflate(R.layout.scene1, mSceneRoot, in testBeginDelayedTransition() 56 mSceneRoot.addView(view); in testBeginDelayedTransition() 83 mSceneRoot.getViewTreeObserver().addOnPreDrawListener( in testDefaultBeginDelayedTransition() 87 mSceneRoot.getViewTreeObserver().removeOnPreDrawListener(this); in testDefaultBeginDelayedTransition() 92 TransitionManager.beginDelayedTransition(mSceneRoot); in testDefaultBeginDelayedTransition() 175 mSceneRoot.getViewTreeObserver().addOnPreDrawListener( in testDefaultGo() 179 mSceneRoot.getViewTreeObserver().removeOnPreDrawListener(this); in testDefaultGo() 196 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testSetTransition1() 215 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testSetTransition1() [all …]
|
D | BaseTransitionTest.java | 55 protected FrameLayout mSceneRoot; field in BaseTransitionTest 70 mSceneRoot = (FrameLayout) mActivity.findViewById(R.id.container); in setup() 102 () -> root[0] = mActivity.getLayoutInflater().inflate(layout, mSceneRoot, false)); in loadLayout() 109 mActivityRule.runOnUiThread(() -> scene[0] = new Scene(mSceneRoot, layout)); in loadScene() 117 () -> scene[0] = Scene.getSceneForLayout(mSceneRoot, layoutId, mActivity)); in loadScene() 131 mActivityRule.runOnUiThread(() -> TransitionManager.endTransitions(mSceneRoot)); in endTransition()
|
D | ChangeClipBoundsTest.java | 60 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeClipBounds); in testChangeClipBounds() 75 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeClipBounds); in testChangeClipBounds()
|
D | TransitionInflaterTest.java | 100 inflater.inflateTransitionManager(R.transition.transition_manager, mSceneRoot); in testInflateTransitionManager() 103 Scene scene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testInflateTransitionManager() 109 Scene scene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testInflateTransitionManager()
|
D | CaptureValuesTest.java | 70 TransitionManager.beginDelayedTransition(mSceneRoot, set); in testCaptureValues() 71 mSceneRoot.invalidate(); in testCaptureValues()
|
D | ChangeScrollTest.java | 62 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeScroll); in testChangeScroll()
|
D | PropagationTest.java | 227 TransitionValues transitionValues = new TransitionValues(mSceneRoot.findViewById(viewId)); in capturePropagationValues() 235 getStartDelay(mSceneRoot, mTransition, transitionValues, null); in getDelay()
|
D | ExplodeTest.java | 74 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testExplode() 125 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testImplode()
|
D | VisibilityTest.java | 153 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testOnDisppear() 193 TransitionManager.beginDelayedTransition(mSceneRoot, set); in testApplyingTwoVisibility()
|
D | FadeTest.java | 186 View view = mActivity.getLayoutInflater().inflate(R.layout.scene11, mSceneRoot, false); in endVisibilityIsCorrect() 187 scene11[0] = new Scene(mSceneRoot, view); in endVisibilityIsCorrect()
|
D | TransitionTest.java | 96 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testAddListener() 197 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testAddTargetView() 224 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testRemoveTargetView() 272 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testIsTransitionRequired()
|
D | ChangeImageTransformTest.java | 286 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeImageTransform); in transformImage()
|