Searched refs:scene (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/core/java/android/transition/
H A DScene.java26 * 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 DTransitionManager.java34 * transitions for scene changes is not required; by default, a Scene change
36 * situations. Specifying other transitions for particular scene changes is
44 * that transition to the from/to scene information in that tag.
45 * For example, here is a resource file that declares several scene
52 * creating a scene from a layout in code by calling
82 * Sets the transition to be used for any scene change for which no
86 * @param transition The default transition to be used for scene changes.
108 * Sets a specific transition to occur when the given scene is entered.
110 * @param scene The scene whic
116 setTransition(Scene scene, Transition transition) argument
151 getTransition(Scene scene) argument
181 changeScene(Scene scene, Transition transition) argument
342 transitionTo(Scene scene) argument
354 go(Scene scene) argument
372 go(Scene scene, Transition transition) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraCapabilities.java131 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 DCameraCapabilities.java151 * 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...]
H A DAndroidCamera2Capabilities.java110 for (int scene : scenes) {
111 SceneMode equiv = sceneModeFromInt(scene);
186 * Converts the API-related integer representation of the scene mode to the
231 Log.w(TAG, "Unable to convert from API 2 scene mode: " + sm);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPlayAnimationThread.java30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, argument
32 super(scene, animName, listener);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DResourceLoadingTest.java62 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 DUniqueIds.java47 ToggleScene scene = new ToggleScene(container, button);
48 mSceneMap.put(button, scene);
51 scene = new ToggleScene(container, button);
52 mSceneMap.put(button, scene);
H A DLoginActivityFromResources.java44 public void applyScene(Scene scene) { argument
45 mTransitionManager.transitionTo(scene);
46 mCurrentScene = scene;
84 } else { // username taken scene
H A DLoginActivity.java75 public void applyScene(Scene scene) { argument
76 mTransitionManager.transitionTo(scene);
77 mCurrentScene = scene;
98 } else { // username taken scene
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTouchHandler.java43 public void init(Scene scene) { argument
51 mCameraRig = scene.appendNewCompoundTransform();
59 mCamera = scene.appendNewCamera();
H A DFullscreenBlur.java83 static RenderPass addPass(Scene scene, Camera cam, TextureRenderTarget color, TextureRenderTarget depth) { argument
90 scene.appendRenderPass(pass);
94 static void addBlurPasses(Scene scene, RenderScriptGL rs, Camera cam) { argument
96 ArrayList<RenderableBase> allDraw = scene.getRenderables();
108 // Renders the scene off screen
109 RenderPass blurSourcePass = addPass(scene, cam,
121 RenderPass selectColorPass = addPass(scene, cam,
129 RenderPass horizontalBlurPass = addPass(scene, cam,
138 RenderPass verticalBlurPass = addPass(scene, cam,
147 // Additively renders the blurred colors on top of the scene
148 addCompositePass(Scene scene, RenderScriptGL rs, Camera cam) argument
[all...]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DTransitionHelperKitkat.java42 Scene scene = new Scene(sceneRoot);
43 scene.setEnterAction(enterAction);
44 return scene;
216 static void runTransition(Object scene, Object transition) { argument
217 TransitionManager.go((Scene) scene, (Transition) transition);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java197 /*package*/ BridgeRenderSession(RenderSessionImpl scene, Result lastResult) { argument
198 mSession = scene;
199 if (scene != null) {
H A DBridge.java413 * the scene.
421 RenderSessionImpl scene = new RenderSessionImpl(params);
424 lastResult = scene.init(params.getTimeout());
426 lastResult = scene.inflate();
428 lastResult = scene.render(true /*freshRender*/);
432 scene.release();
436 return new BridgeRenderSession(scene, lastResult);
532 * will do the clean-up, and make the thread unable to do further scene actions.
543 * Cleans up thread-specific data. After this, the thread cannot be used for scene actions.
546 * call to this will prevent the thread from doing further scene action
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java73 public AnimationThread(RenderSessionImpl scene, String threadName, argument
76 mSession = scene;
140 // ready to do the work, acquire the scene.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DTransitionHelper.java108 public void runTransition(Object scene, Object transition); argument
278 public void runTransition(Object scene, Object transition) { argument
283 Runnable r = ((Runnable) scene);
463 public void runTransition(Object scene, Object transition) { argument
464 TransitionHelperKitkat.runTransition(scene, transition);
675 public void runTransition(Object scene, Object transition) { argument
676 mImpl.runTransition(scene, transition);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java486 private void getScene(Element scene) { argument
487 String name = scene.getAttribute("name");
488 String id = scene.getAttribute("id");
490 Node childNode = scene.getFirstChild();
H A DSceneManager.java424 ColladaScene scene = new ColladaScene(name, cb);
425 scene.init(mRS, mRes);
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java449 private void transitionTo(Scene scene) { argument
451 scene.enter();
453 mTransitionManager.transitionTo(scene);
455 mContentScene = scene;

Completed in 570 milliseconds