Searched defs:sceneRoot (Results 1 - 25 of 63) sorted by relevance

123

/frameworks/base/core/java/android/transition/
H A DRecolor.java70 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, argument
H A DRotate.java45 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, argument
H A DTransitionPropagation.java36 * @param sceneRoot The root of the View hierarchy running the transition.
45 public abstract long getStartDelay(ViewGroup sceneRoot, Transition transition, argument
H A DChangeClipBounds.java79 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, argument
H A DChangeScroll.java67 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, argument
H A DCircularPropagation.java57 public long getStartDelay(ViewGroup sceneRoot, Transition transition, argument
82 sceneRoot.getLocationOnScreen(loc);
83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2)
84 + sceneRoot.getTranslationX());
85 epicenterY = Math.round(loc[1] + (sceneRoot.getHeight() / 2)
86 + sceneRoot.getTranslationY());
89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight());
H A DChangeImageTransform.java141 * @param sceneRoot The root of the transition hierarchy.
148 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, argument
H A DExplode.java80 public Animator onAppear(ViewGroup sceneRoot, View view, argument
88 calculateOut(sceneRoot, bounds, mTempLoc);
97 public Animator onDisappear(ViewGroup sceneRoot, View view, argument
117 calculateOut(sceneRoot, bounds, mTempLoc);
125 private void calculateOut(View sceneRoot, Rect bounds, int[] outVector) { argument
126 sceneRoot.getLocationOnScreen(mTempLoc);
134 focalX = sceneRootX + (sceneRoot.getWidth() / 2)
135 + Math.round(sceneRoot.getTranslationX());
136 focalY = sceneRootY + (sceneRoot.getHeight() / 2)
137 + Math.round(sceneRoot
164 calculateMaxDistance(View sceneRoot, int focalX, int focalY) argument
[all...]
H A DScene.java43 * the given <code>sceneRoot</code>, that same Scene will be returned.
48 * @param sceneRoot The root of the hierarchy in which scene changes
55 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { argument
56 SparseArray<Scene> scenes = (SparseArray<Scene>) sceneRoot.getTag(
60 sceneRoot.setTagInternal(com.android.internal.R.id.scene_layoutid_cache, scenes);
66 scene = new Scene(sceneRoot, layoutId, context);
79 * @param sceneRoot The root of the hierarchy in which scene changes
82 public Scene(ViewGroup sceneRoot) { argument
83 mSceneRoot = sceneRoot;
88 * children from the sceneRoot containe
101 Scene(ViewGroup sceneRoot, int layoutId, Context context) argument
117 Scene(ViewGroup sceneRoot, View layout) argument
126 Scene(ViewGroup sceneRoot, ViewGroup layout) argument
[all...]
H A DSidePropagation.java73 public long getStartDelay(ViewGroup sceneRoot, Transition transition, argument
92 sceneRoot.getLocationOnScreen(loc);
93 int left = loc[0] + Math.round(sceneRoot.getTranslationX());
94 int top = loc[1] + Math.round(sceneRoot.getTranslationY());
95 int right = left + sceneRoot.getWidth();
96 int bottom = top + sceneRoot.getHeight();
108 float distance = distance(sceneRoot, viewCenterX, viewCenterY, epicenterX, epicenterY,
110 float maxDistance = getMaxDistance(sceneRoot);
121 private int distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, argument
125 final boolean isRtl = sceneRoot
151 getMaxDistance(ViewGroup sceneRoot) argument
[all...]
H A DTransitionInflater.java104 ViewGroup sceneRoot) {
108 return createTransitionManagerFromXml(parser, Xml.asAttributeSet(parser), sceneRoot);
295 AttributeSet attrs, ViewGroup sceneRoot) throws XmlPullParserException, IOException {
313 loadTransition(attrs, sceneRoot, transitionManager);
321 private void loadTransition(AttributeSet attrs, ViewGroup sceneRoot, argument
327 Scene fromScene = (fromId < 0) ? null: Scene.getSceneForLayout(sceneRoot, fromId, mContext);
329 Scene toScene = (toId < 0) ? null : Scene.getSceneForLayout(sceneRoot, toId, mContext);
103 inflateTransitionManager(@ransitionRes int resource, ViewGroup sceneRoot) argument
294 createTransitionManagerFromXml(XmlPullParser parser, AttributeSet attrs, ViewGroup sceneRoot) argument
H A DTransitionUtils.java84 * @param sceneRoot The ViewGroup in which the view copy will be displayed.
88 public static View copyViewImage(ViewGroup sceneRoot, View view, View parent) { argument
92 sceneRoot.transformMatrixToLocal(matrix);
/frameworks/support/design/src/android/support/design/internal/
H A DTextScale.java56 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, argument
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DTrackingVisibility.java36 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, argument
49 public Animator onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, argument
H A DTrackingTransition.java60 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, argument
/frameworks/support/transition/src/android/support/transition/
H A DTransitionPropagation.java38 * @param sceneRoot The root of the View hierarchy running the transition.
47 public abstract long getStartDelay(ViewGroup sceneRoot, Transition transition, argument
H A DChangeClipBounds.java82 public Animator createAnimator(@NonNull final ViewGroup sceneRoot, TransitionValues startValues, argument
H A DChangeScroll.java72 public Animator createAnimator(@NonNull ViewGroup sceneRoot, argument
H A DCircularPropagation.java57 public long getStartDelay(ViewGroup sceneRoot, Transition transition, argument
82 sceneRoot.getLocationOnScreen(loc);
83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2)
84 + sceneRoot.getTranslationX());
85 epicenterY = Math.round(loc[1] + (sceneRoot.getHeight() / 2)
86 + sceneRoot.getTranslationY());
89 float maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight());
H A DScene.java46 * the given <code>sceneRoot</code>, that same Scene will be returned.
51 * @param sceneRoot The root of the hierarchy in which scene changes
59 public static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId, argument
63 (SparseArray<Scene>) sceneRoot.getTag(R.id.transition_scene_layoutid_cache);
66 sceneRoot.setTag(R.id.transition_scene_layoutid_cache, scenes);
72 scene = new Scene(sceneRoot, layoutId, context);
85 * @param sceneRoot The root of the hierarchy in which scene changes
88 public Scene(@NonNull ViewGroup sceneRoot) { argument
89 mSceneRoot = sceneRoot;
94 * children from the sceneRoot containe
107 Scene(ViewGroup sceneRoot, int layoutId, Context context) argument
123 Scene(@onNull ViewGroup sceneRoot, @NonNull View layout) argument
[all...]
H A DSidePropagation.java73 public long getStartDelay(ViewGroup sceneRoot, Transition transition, argument
92 sceneRoot.getLocationOnScreen(loc);
93 int left = loc[0] + Math.round(sceneRoot.getTranslationX());
94 int top = loc[1] + Math.round(sceneRoot.getTranslationY());
95 int right = left + sceneRoot.getWidth();
96 int bottom = top + sceneRoot.getHeight();
108 float distance = distance(sceneRoot, viewCenterX, viewCenterY, epicenterX, epicenterY,
110 float maxDistance = getMaxDistance(sceneRoot);
121 private int distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, argument
125 final boolean isRtl = ViewCompat.getLayoutDirection(sceneRoot)
153 getMaxDistance(ViewGroup sceneRoot) argument
[all...]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DScale.java49 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DParallaxTransition.java74 public Animator onAppear(ViewGroup sceneRoot, View view, argument
83 public Animator onDisappear(ViewGroup sceneRoot, View view, argument
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DChangeColor.java65 public Animator createAnimator(@NonNull ViewGroup sceneRoot, argument
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DChangeColor.java65 public Animator createAnimator(@NonNull ViewGroup sceneRoot, argument

Completed in 376 milliseconds

123