Lines Matching refs:scene

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);
68 return scene;
74 * when this scene is applied. This constructor might be used when
79 * @param sceneRoot The root of the hierarchy in which scene changes
94 * @param sceneRoot The root of the hierarchy in which scene changes
97 * hierarchy of this scene.
112 * @param sceneRoot The root of the hierarchy in which scene changes
114 * @param layout The view hierarchy of this scene, added as a child
115 * of sceneRoot when this scene is entered.
132 * Gets the root of the scene, which is the root of the view hierarchy
133 * affected by changes due to this scene, and which will be animated
134 * when this scene is entered.
136 * @return The root of the view hierarchy affected by this scene.
143 * Exits this scene, if it is the current scene
144 * on the scene's {@link #getSceneRoot() scene root}. The current scene is
145 * set when {@link #enter() entering} a scene.
146 * Exiting a scene runs the {@link #setExitAction(Runnable) exit action}
158 * Enters this scene, which entails changing all values that
159 * are specified by this scene. These may be values associated
161 * now be added to the scene root, or it may be values changed by
164 * scene is entered. To get transition behavior in scene changes,
181 // Notify next scene that it is entering. Subclasses may override to configure scene.
190 * Set the scene that the given view is in. The current scene is set only
191 * on the root view of a scene, not for every view in that hierarchy. This
193 * scene which should be exited before the new scene is entered.
195 * @param view The view on which the current scene is being set
197 static void setCurrentScene(View view, Scene scene) {
198 view.setTagInternal(com.android.internal.R.id.current_scene, scene);
202 * Gets the current {@link Scene} set on the given view. A scene is set on a view
203 * only if that view is the scene root.
219 * captured pre-change values and after any other scene changes
225 * be called when this scene is entered
241 * captured pre-change values, but before any other scene changes
243 * the view hierarchy. After this method is called, the next scene
261 * this scene to be removed from their parents when the scene is exited, which is