Home
last modified time | relevance | path

Searched refs:Scene (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/transition/src/android/transition/cts/
DSceneTest.java29 import android.transition.Scene;
48 Scene scene = new Scene(mSceneRoot); in testDynamicConstructor()
78 constructorTest(new Scene(mSceneRoot, view)); in testViewConstructor()
87 constructorTest(new Scene(mSceneRoot, (ViewGroup) view)); in testDeprecatedConstructor()
95 Scene scene = loadScene(R.layout.scene1); in testFactory()
101 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testGetCurrentScene()
103 assertThat(Scene.getCurrentScene(mSceneRoot), is(scene)); in testGetCurrentScene()
109 private void constructorTest(Scene scene) throws Throwable { in constructorTest()
DBaseTransitionTest.java30 import android.transition.Scene;
107 protected Scene loadScene(final View layout) throws Throwable { in loadScene()
108 final Scene[] scene = new Scene[1]; in loadScene()
109 mActivityRule.runOnUiThread(() -> scene[0] = new Scene(mSceneRoot, layout)); in loadScene()
114 protected Scene loadScene(final int layoutId) throws Throwable { in loadScene()
115 final Scene scene[] = new Scene[1]; in loadScene()
117 () -> scene[0] = Scene.getSceneForLayout(mSceneRoot, layoutId, mActivity)); in loadScene()
125 protected void startTransition(final Scene scene) throws Throwable { in startTransition()
138 protected void enterScene(final Scene scene) throws Throwable { in enterScene()
142 protected void exitScene(final Scene scene) throws Throwable { in exitScene()
DTransitionManagerTest.java31 import android.transition.Scene;
79 final Scene scene6 = loadScene(R.layout.scene6); in testDefaultBeginDelayedTransition()
172 final Scene scene6 = loadScene(R.layout.scene6); 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()
226 final Scene[] scenes = new Scene[3]; in testSetTransition2()
229 scenes[0] = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testSetTransition2()
230 scenes[1] = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testSetTransition2()
231 scenes[2] = Scene.getSceneForLayout(mSceneRoot, R.layout.scene3, mActivity); in testSetTransition2()
274 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testEndTransitionsBeforeStarted()
[all …]
DFadeTest.java32 import android.transition.Scene;
184 final Scene[] scene11 = new Scene[1]; in endVisibilityIsCorrect()
187 scene11[0] = new Scene(mSceneRoot, view); in endVisibilityIsCorrect()
189 final Scene scene14 = loadScene(R.layout.scene14); in endVisibilityIsCorrect()
DTransitionInflaterTest.java38 import android.transition.Scene;
103 Scene scene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testInflateTransitionManager()
109 Scene scene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testInflateTransitionManager()
DTransitionTest.java47 import android.transition.Scene;
96 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testAddListener()
312 Scene scene1 = loadScene(layout1); in testExcludeChildrenView()
317 Scene scene2 = loadScene(layout2); in testExcludeChildrenView()
371 Scene scene1 = loadScene(layout1); in testExcludeTargetView()
562 Scene scene1 = loadScene(R.layout.scene1); in testForceToEndTransitionsDependedEachOther()
563 Scene scene2 = loadScene(R.layout.scene2); in testForceToEndTransitionsDependedEachOther()
706 final Scene scene1 = loadScene(layout1); in testGoWithNullParameter()
709 final Scene scene3 = loadScene(layout3); in testGoWithNullParameter()
DChangeBoundsTest.java33 import android.transition.Scene;
212 final Scene scene = loadScene(layoutId); in startTransitionAndWatch()
/cts/tests/openglperf2/jni/reference/scene/
DScene.cpp21 Scene::Scene(int width, int height) : in Scene() function in Scene
25 bool Scene::setUpContext() { in setUpContext()
45 bool Scene::tearDown() { in tearDown()
65 bool Scene::update(int frame) { in update()
75 void Scene::drawSceneGraph(int index) { in drawSceneGraph()
DScene.h24 class Scene {
26 Scene(int width, int height);
27 virtual ~Scene() {}; in ~Scene()
/cts/tests/openglperf2/jni/reference/
DReferenceRenderer.h35 Scene* mScenes[NUM_SCENES];
36 Scene* mCurrentScene;
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.cpp28 Scene(width, height), mFboId(0), mMainProgram(NULL), mBlurProgram(NULL) { in GlowingScene()
38 if (!Scene::setUpContext()) { in setUpContext()
150 return Scene::tearDown(); in tearDown()
195 Scene::drawSceneGraph(2); // Blur to Screen in draw()
DGlowingScene.h21 class GlowingScene: public Scene {
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.h22 class FlockingScene : public Scene {
DFlockingScene.cpp32 Scene(width, height), mMainProgram(NULL), mWaterProgram(NULL) { in FlockingScene()
135 return Scene::tearDown(); in tearDown()
/cts/apps/CameraITS/tests/inprog/scene2/
DREADME1 Scene 2 requires a camera lab with controlled illuminants, for example