Lines Matching defs:view
21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
96 * @param layoutId The id of a resource file that defines the view
114 * @param layout The view hierarchy of this scene, added as a child
132 * Gets the root of the scene, which is the root of the view hierarchy
136 * @return The root of the view hierarchy affected by this scene.
160 * with a layout view group or layout resource file which will
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
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.
205 * @return The current Scene set on this view. A value of null indicates that
208 static Scene getCurrentScene(View view) {
209 return (Scene) view.getTag(com.android.internal.R.id.current_scene);
221 * the view hierarchy. After this method is called, Transitions will
243 * the view hierarchy. After this method is called, the next scene
259 * {@link #getSceneForLayout(android.view.ViewGroup, int, android.content.Context)}.