/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
SceneUsage.java | 21 import androidx.transition.Scene; 27 * This demonstrates basic usage of the Transition Scene. 32 Scene[] setUpScenes(ViewGroup root) { 33 return new Scene[]{ 34 Scene.getSceneForLayout(root, R.layout.scene0, this), 35 Scene.getSceneForLayout(root, R.layout.scene1, this), 40 void go(Scene scene) { 41 TransitionManager.go(scene);
|
CustomUsage.java | 22 import androidx.transition.Scene; 43 Scene[] setUpScenes(ViewGroup root) { 44 return new Scene[]{ 45 Scene.getSceneForLayout(root, R.layout.custom0, this), 46 Scene.getSceneForLayout(root, R.layout.custom1, this), 47 Scene.getSceneForLayout(root, R.layout.custom2, this), 52 void go(Scene scene) { 53 TransitionManager.go(scene, mTransition);
|
/external/skia/experimental/sksg/ |
SkSGScene.cpp | 34 std::unique_ptr<Scene> Scene::Make(sk_sp<RenderNode> root, AnimatorList&& anims) { 35 return root ? std::unique_ptr<Scene>(new Scene(std::move(root), std::move(anims))) : nullptr; 38 Scene::Scene(sk_sp<RenderNode> root, AnimatorList&& animators) 42 Scene::~Scene() = default; 44 void Scene::render(SkCanvas* canvas) const { 64 void Scene::animate(float t) [all...] |
SkSGScene.h | 57 * Holds a scene root and a list of animators. 62 class Scene final : SkNoncopyable { 64 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root, AnimatorList&& animators); 65 ~Scene(); 73 Scene(sk_sp<RenderNode> root, AnimatorList&& animators);
|
/external/skqp/experimental/sksg/ |
SkSGScene.cpp | 34 std::unique_ptr<Scene> Scene::Make(sk_sp<RenderNode> root, AnimatorList&& anims) { 35 return root ? std::unique_ptr<Scene>(new Scene(std::move(root), std::move(anims))) : nullptr; 38 Scene::Scene(sk_sp<RenderNode> root, AnimatorList&& animators) 42 Scene::~Scene() = default; 44 void Scene::render(SkCanvas* canvas) const { 64 void Scene::animate(float t) [all...] |
SkSGScene.h | 57 * Holds a scene root and a list of animators. 62 class Scene final : SkNoncopyable { 64 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root, AnimatorList&& animators); 65 ~Scene(); 73 Scene(sk_sp<RenderNode> root, AnimatorList&& animators);
|
/cts/tests/openglperf2/jni/reference/ |
ReferenceRenderer.h | 17 #include "scene/Scene.h" 35 Scene* mScenes[NUM_SCENES]; 36 Scene* mCurrentScene;
|
/frameworks/base/core/java/android/transition/ |
Scene.java | 26 * A scene represents the collection of values that various properties in the 27 * View hierarchy will have when the scene is applied. A Scene can be 30 * scene change. 32 public final class Scene { 41 * Returns a Scene described by the resource file associated with the given 42 * <code>layoutId</code> parameter. If such a Scene has already been created for 43 * the given <code>sceneRoot</code>, that same Scene will be returned. 48 * @param sceneRoot The root of the hierarchy in which scene changes 53 * @return The scene for the given root and layout i 62 Scene scene = scenes.get(layoutId); local [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
Demo5.java | 22 import android.transition.Scene; 28 static Scene mCurrentScene; 29 Scene mSearchScreen, mResultsScreen; 39 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 40 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this);
|
ScenesTestAutoTransition2.java | 23 import android.transition.Scene; 29 static Scene mCurrentScene; 31 Scene mResultsScreen, mSearchScreen; 41 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 42 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this);
|
InterruptionTest.java | 23 import android.transition.Scene; 31 private Scene mScene1; 32 private Scene mScene2; 33 private Scene mScene3; 34 private Scene mScene4; 45 mScene1 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_1, this); 46 mScene2 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_2, this); 47 mScene3 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_3, this); 48 mScene4 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_4, this);
|
LoginActivityFromResources.java | 22 import android.transition.Scene; 30 Scene mCurrentScene; 32 Scene mLoginScene, mPasswordScene, mIncorrectPasswordScene, mSuccessScene, mUsernameTakenScene, 44 public void applyScene(Scene scene) { 45 mTransitionManager.transitionTo(scene); 46 mCurrentScene = scene; 53 mLoginScene = Scene.getSceneForLayout(mSceneRoot, R.layout.activity_login, this); 54 mPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout.login_password, this); 55 mIncorrectPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layou [all...] |
ResourceLoadingTest.java | 22 import android.transition.Scene; 57 Scene loadedScene = new Scene(mSceneRoot); 62 System.out.println("Problem loading scene resource: " + e); 66 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); local 67 mTransitionManager.transitionTo(scene); 70 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this) local [all...] |
ChangingText.java | 22 import android.transition.Scene; 30 Scene mScene1, mScene2; 33 Scene mCurrentScene; 43 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.changing_text_1, this); 44 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.changing_text_2, this);
|
ClippingText.java | 23 import android.transition.Scene; 33 Scene mScene1, mScene2; 38 Scene mCurrentScene; 48 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.clipping_text_1, this); 49 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.clipping_text_2, this);
|
Demo3.java | 25 import android.transition.Scene; 32 static Scene mCurrentScene; 33 Scene mSearchScreen, mResultsScreen; 44 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 45 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this);
|
ScenesTestAutoTargets.java | 26 import android.transition.Scene; 33 static Scene mCurrentScene; 35 Scene mResultsScreen, mSearchScreen; 45 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 46 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this);
|
ScenesTestAutoTransition.java | 24 import android.transition.Scene; 31 static Scene mCurrentScene; 33 Scene mResultsScreen, mSearchScreen; 43 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 44 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this);
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Scene.cpp | 22 #include "Scene.h" 29 // Define single-letter shortcuts for scene definition, for directly indexing 31 #define G (Scene::GRASS * Scene::NUM_CHANNELS) 32 #define S (Scene::GRASS_SHADOW * Scene::NUM_CHANNELS) 33 #define H (Scene::HILL * Scene::NUM_CHANNELS) 34 #define W (Scene::WALL * Scene::NUM_CHANNELS [all...] |
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/ |
Scene.cpp | 19 #include "Scene.h" 29 // Define single-letter shortcuts for scene definition, for directly indexing 31 #define G (Scene::GRASS * Scene::NUM_CHANNELS) 32 #define S (Scene::GRASS_SHADOW * Scene::NUM_CHANNELS) 33 #define H (Scene::HILL * Scene::NUM_CHANNELS) 34 #define W (Scene::WALL * Scene::NUM_CHANNELS [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
Scene.java | 30 * A scene represents the collection of values that various properties in the 31 * View hierarchy will have when the scene is applied. A Scene can be 34 * scene change. 36 public class Scene { 45 * Returns a Scene described by the resource file associated with the given 46 * <code>layoutId</code> parameter. If such a Scene has already been created for 47 * the given <code>sceneRoot</code>, that same Scene will be returned. 52 * @param sceneRoot The root of the hierarchy in which scene changes 57 * @return The scene for the given root and layout i 69 Scene scene = scenes.get(layoutId); local [all...] |
/cts/tests/openglperf2/jni/reference/scene/ |
Scene.cpp | 14 #include "Scene.h" 21 Scene::Scene(int width, int height) : 25 bool Scene::setUpContext() { 45 bool Scene::tearDown() { 65 bool Scene::update(int frame) { 67 // Delete the old scene graphs. 75 void Scene::drawSceneGraph(int index) {
|
Scene.h | 24 class Scene { 26 Scene(int width, int height); 27 virtual ~Scene() {};
|
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
SceneTest.java | 40 Scene scene = new Scene(root); local 41 assertThat(scene.getSceneRoot(), is(sameInstance(root))); 50 Scene scene = new Scene(root, layout); local 53 scene.setEnterAction(enterAction); 54 scene.setExitAction(exitAction); 55 scene.enter() 70 Scene scene = new Scene(root, view); local 88 Scene scene = new Scene(root); local 99 Scene scene = new Scene(root); local 111 Scene scene = new Scene(root); local 122 Scene scene = Scene.getSceneForLayout(root, R.layout.support_scene0, activity); local [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
BaseTransitionTest.java | 30 import android.transition.Scene; 101 protected Scene loadScene(final View layout) throws Throwable { 102 final Scene[] scene = new Scene[1]; local 103 mActivityRule.runOnUiThread(() -> scene[0] = new Scene(mSceneRoot, layout)); 105 return scene[0]; 108 protected Scene loadScene(final int layoutId) throws Throwable { 109 final Scene scene[] = new Scene[1] local [all...] |