Home
last modified time | relevance | path

Searched refs:Scene (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/transition/
DScene.java36 public final class Scene { class
62 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout()
63 SparseArray<Scene> scenes = (SparseArray<Scene>) sceneRoot.getTag( in getSceneForLayout()
66 scenes = new SparseArray<Scene>(); in getSceneForLayout()
69 Scene scene = scenes.get(layoutId); in getSceneForLayout()
73 scene = new Scene(sceneRoot, layoutId, context); in getSceneForLayout()
89 public Scene(ViewGroup sceneRoot) { in Scene() method in Scene
108 private Scene(ViewGroup sceneRoot, int layoutId, Context context) { in Scene() method in Scene
124 public Scene(ViewGroup sceneRoot, View layout) { in Scene() method in Scene
133 public Scene(ViewGroup sceneRoot, ViewGroup layout) { in Scene() method in Scene
[all …]
DTransitionManager.java74 ArrayMap<Scene, Transition> mSceneTransitions = new ArrayMap<Scene, Transition>();
75 ArrayMap<Scene, ArrayMap<Scene, Transition>> mScenePairTransitions =
76 new ArrayMap<Scene, ArrayMap<Scene, Transition>>();
120 public void setTransition(Scene scene, Transition transition) { in setTransition()
136 public void setTransition(Scene fromScene, Scene toScene, Transition transition) { in setTransition()
137 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions.get(toScene); in setTransition()
139 sceneTransitionMap = new ArrayMap<Scene, Transition>(); in setTransition()
157 public Transition getTransition(Scene scene) { in getTransition()
162 Scene currScene = Scene.getCurrentScene(sceneRoot); in getTransition()
164 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions.get(scene); in getTransition()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DLoginActivityFromResources.java22 import android.transition.Scene;
30 Scene mCurrentScene;
32 Scene mLoginScene, mPasswordScene, mIncorrectPasswordScene, mSuccessScene, mUsernameTakenScene,
44 public void applyScene(Scene scene) { in applyScene()
53 mLoginScene = Scene.getSceneForLayout(mSceneRoot, R.layout.activity_login, this); in sendMessage()
54 mPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout.login_password, this); in sendMessage()
55 mIncorrectPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout in sendMessage()
57 … mUsernameTakenScene = Scene.getSceneForLayout(mSceneRoot, R.layout.username_taken, this); in sendMessage()
58 mSuccessScene = Scene.getSceneForLayout(mSceneRoot, R.layout.success, this); in sendMessage()
59 mNewUserScene = Scene.getSceneForLayout(mSceneRoot, R.layout.new_user, this); in sendMessage()
DInterruptionTest.java23 import android.transition.Scene;
31 private Scene mScene1;
32 private Scene mScene2;
33 private Scene mScene3;
34 private Scene mScene4;
45 mScene1 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_1, this); in onCreate()
46 mScene2 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_2, this); in onCreate()
47 mScene3 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_3, this); in onCreate()
48 mScene4 = Scene.getSceneForLayout(sceneRoot, R.layout.interruption_inner_4, this); in onCreate()
DLoginActivity.java22 import android.transition.Scene;
34 Scene mCurrentScene;
36 Scene mLoginScene, mPasswordScene, mIncorrectPasswordScene, mSuccessScene, mUsernameTakenScene,
46 mLoginScene = Scene.getSceneForLayout(mSceneRoot, R.layout.activity_login, this); in onCreate()
47 mPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout.login_password, this); in onCreate()
48 … mIncorrectPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout.incorrect_password, this); in onCreate()
49 mUsernameTakenScene = Scene.getSceneForLayout(mSceneRoot, R.layout.username_taken, this); in onCreate()
50 mSuccessScene = Scene.getSceneForLayout(mSceneRoot, R.layout.success, this); in onCreate()
51 mNewUserScene = Scene.getSceneForLayout(mSceneRoot, R.layout.new_user, this); in onCreate()
75 public void applyScene(Scene scene) { in applyScene()
DResourceLoadingTest.java22 import android.transition.Scene;
57 Scene loadedScene = new Scene(mSceneRoot); in sendMessage()
66 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in sendMessage()
70 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in sendMessage()
DDemo5.java22 import android.transition.Scene;
28 static Scene mCurrentScene;
29 Scene mSearchScreen, mResultsScreen;
39 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
40 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DScenesTestAutoTransition2.java23 import android.transition.Scene;
29 static Scene mCurrentScene;
31 Scene mResultsScreen, mSearchScreen;
41 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
42 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DScenesTestAutoTransition.java24 import android.transition.Scene;
31 static Scene mCurrentScene;
33 Scene mResultsScreen, mSearchScreen;
43 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
44 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DChangingText.java22 import android.transition.Scene;
30 Scene mScene1, mScene2;
33 Scene mCurrentScene;
43 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.changing_text_1, this); in onCreate()
44 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.changing_text_2, this); in onCreate()
DScenesTestAutoTargets.java26 import android.transition.Scene;
33 static Scene mCurrentScene;
35 Scene mResultsScreen, mSearchScreen;
45 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
46 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DDemo3.java25 import android.transition.Scene;
32 static Scene mCurrentScene;
33 Scene mSearchScreen, mResultsScreen;
44 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
45 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DClippingText.java23 import android.transition.Scene;
33 Scene mScene1, mScene2;
38 Scene mCurrentScene;
48 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.clipping_text_1, this); in onCreate()
49 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.clipping_text_2, this); in onCreate()
DFadingTest.java22 import android.transition.Scene;
31 Scene mScene1, mScene2;
34 Scene mCurrentScene;
61 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test, this); in onCreate()
62 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test_scene_2, this); in onCreate()
DDemo2.java25 import android.transition.Scene;
31 static Scene mCurrentScene;
33 Scene mSearchScreen, mResultsScreen;
53 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in sendMessage()
54 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in sendMessage()
DSequenceTestSimple.java23 import android.transition.Scene;
34 Scene mScene1, mScene2;
38 Scene mCurrentScene;
50 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test_simple, this); in onCreate()
51 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test_simple2, this); in onCreate()
DDemo4.java25 import android.transition.Scene;
32 static Scene mCurrentScene;
33 Scene mSearchScreen, mResultsScreen;
44 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
45 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DDemo1.java26 import android.transition.Scene;
33 static Scene mCurrentScene;
35 Scene mSearchScreen, mResultsScreen;
48 mResultsScreen = new Scene(mSceneRoot); in onCreate()
57 mSearchScreen = new Scene(mSceneRoot); in onCreate()
DScenesTestv21.java26 import android.transition.Scene;
33 static Scene mCurrentScene;
35 Scene mResultsScreen, mSearchScreen;
45 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); in onCreate()
46 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this); in onCreate()
DSequenceTest.java22 import android.transition.Scene;
34 Scene mScene1, mScene2;
37 Scene mCurrentScene;
51 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test, this); in onCreate()
52 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test_scene_2, this); in onCreate()
DCrossFadeDemo.java24 import android.transition.Scene;
33 Scene mScene1, mScene2;
44 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.crossfade, this); in onCreate()
45 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.crossfade_1, this); in onCreate()
DUniqueIds.java23 import android.transition.Scene;
34 static Scene mCurrentScene;
60 Scene mScene;
65 mScene = new Scene(rootView); in ToggleScene()
DReparenting.java23 import android.transition.Scene;
60 Scene newScene = new Scene(mSceneRoot);
DCrossfadeImage.java24 import android.transition.Scene;
33 Scene mScene1, mScene2;
DContactsExpansion.java26 import android.transition.Scene;
95 Scene mScene;
99 mScene = new Scene(rootView); in ToggleScene()

12