/frameworks/base/tests/TransitionTests/res/transition/ |
my_scene.xml | 0 <scene > 3 </scene
|
username_taken_scene.xml | 0 <scene xmlns:android="http://schemas.android.com/apk/res/android"
|
/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...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_scene.c | 50 * Create a new scene object. 56 struct lp_scene *scene = CALLOC_STRUCT(lp_scene); local 57 if (!scene) 60 scene->pipe = pipe; 62 scene->data.head = 65 pipe_mutex_init(scene->mutex); 68 /* Do some scene limit sanity checks here */ 74 * less than the max allowed scene size. 82 return scene; 87 * Free all data associated with the given scene, and the scene itself [all...] |
lp_scene.h | 61 /* Scene temporary storage is clamped to this size: 65 /* The maximum amount of texture storage referenced by a scene is 105 * within a scene. 111 * initiate a scene without relying on malloc succeeding. 132 /* The queries still active at end of scene */ 151 /** the framebuffer to render the scene into */ 154 /** list of resources referenced by the scene commands */ 157 /** Total memory used by the scene (in bytes). This sums all the 159 * other random allocations within the scene. 163 /** Sum of sizes of all resources referenced by the scene. Sum [all...] |
/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...] |
TransitionManager.java | 32 * change of {@link Scene}. To use the manager, add scenes along with 33 * transition objects with calls to {@link #setTransition(Scene, Transition)} 34 * or {@link #setTransition(Scene, Scene, Transition)}. Setting specific 35 * transitions for scene changes is not required; by default, a Scene change 37 * situations. Specifying other transitions for particular scene changes is 45 * that transition to the from/to scene information in that tag. 46 * For example, here is a resource file that declares several scene 53 * creating a scene from a layout in code by callin [all...] |
package.html | 6 <p>A <b>Scene</b> is an encapsulation of the state of a view hierarchy, 8 and otherwise) that those views have. A scene can be defined by a layout hierarchy 9 directly or by code which sets up the scene dynamically as it is entered.</p> 12 when a new scene is entered. Some transition capabilities are automatic. That 13 is, entering a scene may cause animations to run which fade out views that 17 to take place during particular scene changes. Finally, developers can 22 scene changes, and to cause scene changes with specific transitions to
|
/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...] |
TransitionManager.java | 35 * change of {@link Scene}. To use the manager, add scenes along with 36 * transition objects with calls to {@link #setTransition(Scene, Transition)} 37 * or {@link #setTransition(Scene, Scene, Transition)}. Setting specific 38 * transitions for scene changes is not required; by default, a Scene change 40 * situations. Specifying other transitions for particular scene changes is 48 * that transition to the from/to scene information in that tag. 49 * For example, here is a resource file that declares several scene 73 * creating a scene from a layout in code by callin [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
SceneTest.java | 29 import android.transition.Scene; 41 * Test Scene(ViewGroup) with enterAction and exitAction 45 Scene scene = new Scene(mSceneRoot); local 46 assertEquals(mSceneRoot, scene.getSceneRoot()); 50 scene.setEnterAction(enterCheck); 52 scene.setExitAction(exitCheck); 53 enterScene(scene); 61 exitScene(scene); 92 Scene scene = loadScene(R.layout.scene1); local [all...] |
/external/annotation-tools/scene-lib/test/ |
README | 1 # To create a new scene-lib test case, do something like the following with a properly-functioning version of AFU: 3 cd $t/annotation-tools/scene-lib/test/annotations/tests/classfile/cases 5 \mv -pf TestLocalVariableA.class $t/annotation-tools/scene-lib/test/annotations-expected/tests/classfile/cases 6 (CLASSPATH=$t/scene-lib/test insert-annotations-to-source TestLocalVariableA.jaif TestLocalVariableA.java) 8 $ch/bin/javac -g -cp $t/annotation-tools/scene-lib/bin annotations/tests/classfile/cases/TestLocalVariableA.java 9 \cp -p annotations/tests/classfile/cases/TestLocalVariableA.class $t/annotation-tools/scene-lib/test/annotations-expected/tests/classfile/cases/TestLocalVariableA_Expected.class
|
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
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);
|
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);
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue5125.dir/ |
bug.go | 8 Eval(s *Scene) 15 type Scene struct {
|
/prebuilts/go/linux-x86/test/fixedbugs/issue5125.dir/ |
bug.go | 8 Eval(s *Scene) 15 type Scene struct {
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
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...] |
/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...] |
/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...] |
/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...] |
/external/annotation-tools/scene-lib/test/annotations/tests/executable/ |
JavapDemo.java | 16 /*@NonNull*/ AScene scene = new AScene(); local 21 JavapParser.parse(new FileReader(filename), scene); 26 IndexFileWriter.write(scene, new OutputStreamWriter(System.out));
|
RegurgitateDemo.java | 16 /*@NonNull*/ AScene scene = new AScene(); local 19 IndexFileParser.parse(in, scene); 22 IndexFileWriter.write(scene, new FileWriter("test2-3.jaif")); 31 // set a breakpoint here to inspect the scene
|
/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) {
|