/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | SceneTest.java | 39 Scene scene = new Scene(root); 40 assertThat(scene.getSceneRoot(), is(sameInstance(root))); 49 Scene scene = new Scene(root, layout); 52 scene.setEnterAction(enterAction); 53 scene.setExitAction(exitAction); 54 scene.enter(); 59 scene.exit(); 69 Scene scene = new Scene(root, view); 72 scene.setEnterAction(enterAction); 73 scene [all...] |
H A D | BaseTransitionTest.java | 67 final Scene[] scene = new Scene[1]; 71 scene[0] = Scene.getSceneForLayout(mRoot, layoutId, rule.getActivity()); 75 return scene[0]; 82 private void startTransition(final Scene scene) throws Throwable { argument 86 TransitionManager.go(scene, mTransition); 96 void enterScene(final Scene scene) throws Throwable { argument 100 scene.enter();
|
/frameworks/base/core/java/android/transition/ |
H A D | 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. 48 * @param sceneRoot The root of the hierarchy in which scene changes 53 * @return The scene for the given root and layout id 62 Scene scene = scenes.get(layoutId); 63 if (scene != null) { 64 return scene; 66 scene = new Scene(sceneRoot, layoutId, context); 67 scenes.put(layoutId, scene); 197 setCurrentScene(View view, Scene scene) argument [all...] |
H A D | TransitionManager.java | 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 calling 83 * Sets the transition to be used for any scene change for which no 87 * @param transition The default transition to be used for scene changes. 109 * Sets a specific transition to occur when the given scene is entered. 111 * @param scene The scene whic 117 setTransition(Scene scene, Transition transition) argument 154 getTransition(Scene scene) argument 184 changeScene(Scene scene, Transition transition) argument 351 transitionTo(Scene scene) argument 363 go(Scene scene) argument 381 go(Scene scene, Transition transition) argument [all...] |
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
H A D | SceneUsage.java | 39 void go(Scene scene) { argument 40 TransitionManager.go(scene);
|
H A D | CustomUsage.java | 51 void go(Scene scene) { argument 52 TransitionManager.go(scene, mTransition);
|
H A D | SceneUsageBase.java | 36 abstract void go(Scene scene); argument
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
H A D | SceneUsage.java | 39 void go(Scene scene) { argument 40 TransitionManager.go(scene);
|
H A D | CustomUsage.java | 51 void go(Scene scene) { argument 52 TransitionManager.go(scene, mTransition);
|
H A D | SceneUsageBase.java | 36 abstract void go(Scene scene); argument
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | Scene.java | 29 * A scene represents the collection of values that various properties in the 30 * View hierarchy will have when the scene is applied. A Scene can be 33 * scene change. 51 * @param sceneRoot The root of the hierarchy in which scene changes 56 * @return The scene for the given root and layout id 68 Scene scene = scenes.get(layoutId); 69 if (scene != null) { 70 return scene; 72 scene = new Scene(sceneRoot, layoutId, context); 73 scenes.put(layoutId, scene); 194 setCurrentScene(View view, Scene scene) argument [all...] |
H A D | TransitionManager.java | 37 * transitions for scene changes is not required; by default, a Scene change 39 * situations. Specifying other transitions for particular scene changes is 47 * that transition to the from/to scene information in that tag. 48 * For example, here is a resource file that declares several scene 72 * creating a scene from a layout in code by calling 91 * Sets a specific transition to occur when the given scene is entered. 93 * @param scene The scene which, when applied, will cause the given 95 * @param transition The transition that will play when the given scene is 99 public void setTransition(@NonNull Scene scene, argument 135 getTransition(Scene scene) argument 166 changeScene(Scene scene, Transition transition) argument 324 transitionTo(@onNull Scene scene) argument 336 go(@onNull Scene scene) argument 354 go(@onNull Scene scene, @Nullable Transition transition) argument [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCameraCapabilities.java | 131 for (String scene : supportedSceneModes) { 132 if (Camera.Parameters.SCENE_MODE_AUTO.equals(scene)) { 134 } else if (Camera.Parameters.SCENE_MODE_ACTION.equals(scene)) { 136 } else if (Camera.Parameters.SCENE_MODE_BARCODE.equals(scene)) { 138 } else if (Camera.Parameters.SCENE_MODE_BEACH.equals(scene)) { 140 } else if (Camera.Parameters.SCENE_MODE_CANDLELIGHT.equals(scene)) { 142 } else if (Camera.Parameters.SCENE_MODE_FIREWORKS.equals(scene)) { 144 } else if (Camera.Parameters.SCENE_MODE_HDR.equals(scene)) { 146 } else if (Camera.Parameters.SCENE_MODE_LANDSCAPE.equals(scene)) { 148 } else if (Camera.Parameters.SCENE_MODE_NIGHT.equals(scene)) { [all...] |
H A D | CameraCapabilities.java | 151 * No supported scene mode. 185 * Capture a scene using high dynamic range imaging techniques. 401 * Converts the scene mode to API-related string representation. 403 * @param scene The focus mode to convert. 405 * scene mode. 407 public String stringify(SceneMode scene) { argument 408 return toApiCase(scene.name()); 412 * Converts the API-related string representation of the scene mode to the 416 * @return The scene mode represented by the input string, or the scene 568 supports(SceneMode scene) argument [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | PlayAnimationThread.java | 30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, argument 32 super(scene, animName, listener);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | ResourceLoadingTest.java | 62 System.out.println("Problem loading scene resource: " + e); 66 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 67 mTransitionManager.transitionTo(scene); 70 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); 71 mTransitionManager.transitionTo(scene);
|
H A D | UniqueIds.java | 47 ToggleScene scene = new ToggleScene(container, button); 48 mSceneMap.put(button, scene); 51 scene = new ToggleScene(container, button); 52 mSceneMap.put(button, scene);
|
H A D | LoginActivityFromResources.java | 44 public void applyScene(Scene scene) { argument 45 mTransitionManager.transitionTo(scene); 46 mCurrentScene = scene; 84 } else { // username taken scene
|
H A D | LoginActivity.java | 75 public void applyScene(Scene scene) { argument 76 mTransitionManager.transitionTo(scene); 77 mCurrentScene = scene; 98 } else { // username taken scene
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSession.java | 143 /*package*/ BridgeRenderSession(@Nullable RenderSessionImpl scene, @NonNull Result lastResult) { argument 144 mSession = scene; 145 if (scene != null) {
|
H A D | Bridge.java | 369 * the scene. 377 RenderSessionImpl scene = new RenderSessionImpl(params); 380 lastResult = scene.init(params.getTimeout()); 382 lastResult = scene.inflate(); 387 lastResult = scene.render(true /*freshRender*/); 391 scene.release(); 395 return new BridgeRenderSession(scene, lastResult); 491 * will do the clean-up, and make the thread unable to do further scene actions. 502 * Cleans up thread-specific data. After this, the thread cannot be used for scene actions. 505 * call to this will prevent the thread from doing further scene action [all...] |
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
H A D | TransitionHelperKitkat.java | 42 Scene scene = new Scene(sceneRoot); 43 scene.setEnterAction(enterAction); 44 return scene; 232 static void runTransition(Object scene, Object transition) { argument 233 TransitionManager.go((Scene) scene, (Transition) transition);
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | FrameBuilderBench.cpp | 99 std::unique_ptr<TestScene> scene(TestScene::testMap()[sceneName].createScene(opts)); 102 [&scene](RenderProperties& props, RecordingCanvas& canvas) { 103 scene->createContent(gDisplay.w, gDisplay.h, canvas);
|
/frameworks/layoutlib/bridge/src/android/animation/ |
H A D | AnimationThread.java | 72 public AnimationThread(RenderSessionImpl scene, String threadName, argument 75 mSession = scene; 139 // ready to do the work, acquire the scene.
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 118 std::unique_ptr<TestScene> scene(info.createScene(opts)); 130 [&scene, width, height](RenderProperties& props, Canvas& canvas) { 132 scene->createContent(width, height, canvas); 169 scene->doFrame(i);
|