Home
last modified time | relevance | path

Searched refs:mSceneRoot (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/transition/src/android/transition/cts/
DSceneTest.java48 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 …]
DChangeTransformTest.java61 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()
DTransitionManagerTest.java53 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 …]
DBaseTransitionTest.java55 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()
DChangeClipBoundsTest.java60 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeClipBounds); in testChangeClipBounds()
75 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeClipBounds); in testChangeClipBounds()
DTransitionInflaterTest.java100 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()
DCaptureValuesTest.java70 TransitionManager.beginDelayedTransition(mSceneRoot, set); in testCaptureValues()
71 mSceneRoot.invalidate(); in testCaptureValues()
DChangeScrollTest.java62 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeScroll); in testChangeScroll()
DPropagationTest.java227 TransitionValues transitionValues = new TransitionValues(mSceneRoot.findViewById(viewId)); in capturePropagationValues()
235 getStartDelay(mSceneRoot, mTransition, transitionValues, null); in getDelay()
DExplodeTest.java74 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testExplode()
125 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testImplode()
DVisibilityTest.java153 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in testOnDisppear()
193 TransitionManager.beginDelayedTransition(mSceneRoot, set); in testApplyingTwoVisibility()
DFadeTest.java186 View view = mActivity.getLayoutInflater().inflate(R.layout.scene11, mSceneRoot, false); in endVisibilityIsCorrect()
187 scene11[0] = new Scene(mSceneRoot, view); in endVisibilityIsCorrect()
DTransitionTest.java96 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()
DChangeImageTransformTest.java286 TransitionManager.beginDelayedTransition(mSceneRoot, mChangeImageTransform); in transformImage()