Home
last modified time | relevance | path

Searched refs:scene (Results 1 – 16 of 16) 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.cpp122 std::unique_ptr<TestScene> scene(info.createScene(opts)); in run() local
123 scene->renderTarget = surface; in run()
126 0, 0, width, height, [&scene, width, height](RenderProperties& props, Canvas& canvas) { in run()
128 scene->createContent(width, height, canvas); in run()
169 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.java150 /*package*/ BridgeRenderSession(@Nullable RenderSessionImpl scene, @NonNull Result lastResult) { in BridgeRenderSession() argument
151 mSession = scene; in BridgeRenderSession()
152 if (scene != null) { in BridgeRenderSession()
DBridge.java369 RenderSessionImpl scene = new RenderSessionImpl(params); in createSession() local
372 lastResult = scene.init(params.getTimeout()); in createSession()
374 lastResult = scene.inflate(); in createSession()
379 lastResult = scene.render(true /*freshRender*/); in createSession()
383 scene.release(); in createSession()
387 return new BridgeRenderSession(scene, lastResult); in createSession()
/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.java520 private void transitionTo(Scene scene) { in transitionTo() argument
522 scene.enter(); in transitionTo()
524 mTransitionManager.transitionTo(scene); in transitionTo()
526 mContentScene = scene; in transitionTo()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...