Home
last modified time | relevance | path

Searched refs:scene (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/transition/
DTransitionManager.java120 public void setTransition(Scene scene, Transition transition) { in setTransition() argument
121 mSceneTransitions.put(scene, transition); in setTransition()
157 public Transition getTransition(Scene scene) { in getTransition() argument
159 ViewGroup sceneRoot = scene.getSceneRoot(); in getTransition()
164 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions.get(scene); in getTransition()
173 transition = mSceneTransitions.get(scene); in getTransition()
187 private static void changeScene(Scene scene, Transition transition) { in changeScene() argument
189 final ViewGroup sceneRoot = scene.getSceneRoot(); in changeScene()
198 scene.enter(); in changeScene()
211 scene.enter(); in changeScene()
[all …]
DScene.java69 Scene scene = scenes.get(layoutId); in getSceneForLayout() local
70 if (scene != null) { in getSceneForLayout()
71 return scene; in getSceneForLayout()
73 scene = new Scene(sceneRoot, layoutId, context); in getSceneForLayout()
74 scenes.put(layoutId, scene); in getSceneForLayout()
75 return scene; in getSceneForLayout()
205 static void setCurrentScene(@NonNull ViewGroup sceneRoot, @Nullable Scene scene) { in setCurrentScene() argument
206 sceneRoot.setTagInternal(com.android.internal.R.id.current_scene, scene); in setCurrentScene()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java131 for (String scene : supportedSceneModes) { in buildSceneModes()
132 if (Camera.Parameters.SCENE_MODE_AUTO.equals(scene)) { in buildSceneModes()
134 } else if (Camera.Parameters.SCENE_MODE_ACTION.equals(scene)) { in buildSceneModes()
136 } else if (Camera.Parameters.SCENE_MODE_BARCODE.equals(scene)) { in buildSceneModes()
138 } else if (Camera.Parameters.SCENE_MODE_BEACH.equals(scene)) { in buildSceneModes()
140 } else if (Camera.Parameters.SCENE_MODE_CANDLELIGHT.equals(scene)) { in buildSceneModes()
142 } else if (Camera.Parameters.SCENE_MODE_FIREWORKS.equals(scene)) { in buildSceneModes()
144 } else if (Camera.Parameters.SCENE_MODE_HDR.equals(scene)) { in buildSceneModes()
146 } else if (Camera.Parameters.SCENE_MODE_LANDSCAPE.equals(scene)) { in buildSceneModes()
148 } else if (Camera.Parameters.SCENE_MODE_NIGHT.equals(scene)) { in buildSceneModes()
[all …]
DCameraCapabilities.java407 public String stringify(SceneMode scene) { in stringify() argument
408 return toApiCase(scene.name()); in stringify()
568 public final boolean supports(SceneMode scene) { in supports() argument
569 return (scene != null && mSupportedSceneModes.contains(scene)); in supports()
DAndroidCamera2Capabilities.java110 for (int scene : scenes) { in buildSceneModes()
111 SceneMode equiv = sceneModeFromInt(scene); in buildSceneModes()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DResourceLoadingTest.java66 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in sendMessage() local
67 mTransitionManager.transitionTo(scene); in sendMessage()
70 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in sendMessage() local
71 mTransitionManager.transitionTo(scene); in sendMessage()
DUniqueIds.java47 ToggleScene scene = new ToggleScene(container, button); in onCreate() local
48 mSceneMap.put(button, scene); in onCreate()
51 scene = new ToggleScene(container, button); in onCreate()
52 mSceneMap.put(button, scene); in onCreate()
DLoginActivityFromResources.java44 public void applyScene(Scene scene) { in applyScene() argument
45 mTransitionManager.transitionTo(scene); in applyScene()
46 mCurrentScene = scene; in applyScene()
DLoginActivity.java75 public void applyScene(Scene scene) { in applyScene() argument
76 mTransitionManager.transitionTo(scene); in applyScene()
77 mCurrentScene = scene; in applyScene()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp124 std::unique_ptr<TestScene> scene(info.createScene(opts)); in run() local
125 scene->renderTarget = surface; in run()
128 0, 0, width, height, [&scene, width, height](RenderProperties& props, Canvas& canvas) { in run()
130 scene->createContent(width, height, canvas); in run()
171 scene->doFrame(i); in run()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DPlayAnimationThread.java30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, in PlayAnimationThread() argument
32 super(scene, animName, listener); in PlayAnimationThread()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java155 /*package*/ BridgeRenderSession(@Nullable RenderSessionImpl scene, @NonNull Result lastResult) { in BridgeRenderSession() argument
156 mSession = scene; in BridgeRenderSession()
157 if (scene != null) { in BridgeRenderSession()
DBridge.java388 RenderSessionImpl scene = new RenderSessionImpl(params); in createSession() local
391 lastResult = scene.init(params.getTimeout()); in createSession()
393 lastResult = scene.inflate(); in createSession()
398 lastResult = scene.render(true /*freshRender*/); in createSession()
402 scene.release(); in createSession()
406 return new BridgeRenderSession(scene, lastResult); in createSession()
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/
DRenderer.cpp133 Renderer::State::State(int nSpheres) : scene(nSpheres) { in State()
219 state->scene.nSpheres = std::max(1,std::min(MAX_N_SPHERES, num_spheres)); in setQuality()
245 state->scene.tick(deltaSeconds); in draw()
257 state->scene.draw(aspectRatio, mTesselation); in draw()
DRenderer.h77 Scene scene; variable
/frameworks/layoutlib/bridge/src/android/animation/
DAnimationThread.java72 public AnimationThread(RenderSessionImpl scene, String threadName, in AnimationThread() argument
75 mSession = scene; in AnimationThread()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java503 private void transitionTo(Scene scene) { in transitionTo() argument
505 scene.enter(); in transitionTo()
507 mTransitionManager.transitionTo(scene); in transitionTo()
509 mContentScene = scene; in transitionTo()