/frameworks/base/core/java/android/transition/ |
D | TransitionManager.java | 160 ViewGroup sceneRoot = scene.getSceneRoot(); in getTransition() local 161 if (sceneRoot != null) { in getTransition() 163 Scene currScene = Scene.getCurrentScene(sceneRoot); in getTransition() 190 final ViewGroup sceneRoot = scene.getSceneRoot(); in changeScene() local 191 if (!sPendingTransitions.contains(sceneRoot)) { in changeScene() 192 Scene oldScene = Scene.getCurrentScene(sceneRoot); in changeScene() 201 sPendingTransitions.add(sceneRoot); in changeScene() 204 transitionClone.setSceneRoot(sceneRoot); in changeScene() 210 sceneChangeSetup(sceneRoot, transitionClone); in changeScene() 214 sceneChangeRunTransition(sceneRoot, transitionClone); in changeScene() [all …]
|
D | Slide.java | 61 float getGoneX(ViewGroup sceneRoot, View view, float fraction); in getGoneX() argument 64 float getGoneY(ViewGroup sceneRoot, View view, float fraction); in getGoneY() argument 70 public float getGoneY(ViewGroup sceneRoot, View view, float fraction) { in getGoneY() argument 78 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { in getGoneX() argument 85 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { 86 return view.getTranslationX() - sceneRoot.getWidth() * fraction; 92 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { 93 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 96 x = view.getTranslationX() + sceneRoot.getWidth() * fraction; 98 x = view.getTranslationX() - sceneRoot.getWidth() * fraction; [all …]
|
D | Scene.java | 62 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument 63 SparseArray<Scene> scenes = (SparseArray<Scene>) sceneRoot.getTag( in getSceneForLayout() 67 sceneRoot.setTagInternal(com.android.internal.R.id.scene_layoutid_cache, scenes); in getSceneForLayout() 73 scene = new Scene(sceneRoot, layoutId, context); in getSceneForLayout() 89 public Scene(ViewGroup sceneRoot) { in Scene() argument 90 mSceneRoot = sceneRoot; in Scene() 108 private Scene(ViewGroup sceneRoot, int layoutId, Context context) { in Scene() argument 110 mSceneRoot = sceneRoot; in Scene() 124 public Scene(ViewGroup sceneRoot, View layout) { in Scene() argument 125 mSceneRoot = sceneRoot; in Scene() [all …]
|
D | SidePropagation.java | 73 public long getStartDelay(ViewGroup sceneRoot, Transition transition, in getStartDelay() argument 92 sceneRoot.getLocationOnScreen(loc); in getStartDelay() 93 int left = loc[0] + Math.round(sceneRoot.getTranslationX()); in getStartDelay() 94 int top = loc[1] + Math.round(sceneRoot.getTranslationY()); in getStartDelay() 95 int right = left + sceneRoot.getWidth(); in getStartDelay() 96 int bottom = top + sceneRoot.getHeight(); in getStartDelay() 108 float distance = distance(sceneRoot, viewCenterX, viewCenterY, epicenterX, epicenterY, in getStartDelay() 110 float maxDistance = getMaxDistance(sceneRoot); in getStartDelay() 121 private int distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, in distance() argument 125 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in distance() [all …]
|
D | Explode.java | 80 public Animator onAppear(ViewGroup sceneRoot, View view, in onAppear() argument 88 calculateOut(sceneRoot, bounds, mTempLoc); in onAppear() 97 public Animator onDisappear(ViewGroup sceneRoot, View view, in onDisappear() argument 117 calculateOut(sceneRoot, bounds, mTempLoc); in onDisappear() 125 private void calculateOut(View sceneRoot, Rect bounds, int[] outVector) { in calculateOut() argument 126 sceneRoot.getLocationOnScreen(mTempLoc); in calculateOut() 134 focalX = sceneRootX + (sceneRoot.getWidth() / 2) in calculateOut() 135 + Math.round(sceneRoot.getTranslationX()); in calculateOut() 136 focalY = sceneRootY + (sceneRoot.getHeight() / 2) in calculateOut() 137 + Math.round(sceneRoot.getTranslationY()); in calculateOut() [all …]
|
D | CircularPropagation.java | 57 public long getStartDelay(ViewGroup sceneRoot, Transition transition, in getStartDelay() argument 82 sceneRoot.getLocationOnScreen(loc); in getStartDelay() 83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2) in getStartDelay() 84 + sceneRoot.getTranslationX()); in getStartDelay() 85 epicenterY = Math.round(loc[1] + (sceneRoot.getHeight() / 2) in getStartDelay() 86 + sceneRoot.getTranslationY()); in getStartDelay() 89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight()); in getStartDelay()
|
D | Visibility.java | 246 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument 252 return onAppear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator() 255 return onDisappear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator() 281 public Animator onAppear(ViewGroup sceneRoot, in onAppear() argument 299 return onAppear(sceneRoot, endValues.view, startValues, endValues); in onAppear() 317 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onAppear() argument 356 public Animator onDisappear(ViewGroup sceneRoot, in onDisappear() argument 420 overlayView = TransitionUtils.copyViewImage(sceneRoot, startView, in onDisappear() 425 && sceneRoot.findViewById(id) != null && mCanRemoveViews) { in onDisappear() 442 overlay = sceneRoot.getOverlay(); in onDisappear() [all …]
|
D | TransitionUtils.java | 89 public static View copyViewImage(ViewGroup sceneRoot, View view, View parent) { in copyViewImage() argument 93 sceneRoot.transformMatrixToLocal(matrix); in copyViewImage() 103 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot); in copyViewImage() 161 ViewGroup sceneRoot) { in createViewBitmap() argument 166 if (sceneRoot == null || !sceneRoot.isAttachedToWindow()) { in createViewBitmap() 171 sceneRoot.getOverlay().add(view); in createViewBitmap() 191 sceneRoot.getOverlay().remove(view); in createViewBitmap()
|
D | TransitionSet.java | 427 protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues, in createAnimators() argument 444 childTransition.createAnimators(sceneRoot, startValues, endValues, startValuesList, in createAnimators() 521 public void pause(View sceneRoot) { in pause() argument 522 super.pause(sceneRoot); in pause() 525 mTransitions.get(i).pause(sceneRoot); in pause() 531 public void resume(View sceneRoot) { in resume() argument 532 super.resume(sceneRoot); in resume() 535 mTransitions.get(i).resume(sceneRoot); in resume() 551 void forceToEnd(ViewGroup sceneRoot) { in forceToEnd() argument 552 super.forceToEnd(sceneRoot); in forceToEnd() [all …]
|
D | TransitionInflater.java | 104 ViewGroup sceneRoot) { in inflateTransitionManager() argument 108 return createTransitionManagerFromXml(parser, Xml.asAttributeSet(parser), sceneRoot); in inflateTransitionManager() 295 AttributeSet attrs, ViewGroup sceneRoot) throws XmlPullParserException, IOException { in createTransitionManagerFromXml() argument 313 loadTransition(attrs, sceneRoot, transitionManager); in createTransitionManagerFromXml() 321 private void loadTransition(AttributeSet attrs, ViewGroup sceneRoot, in loadTransition() argument 327 Scene fromScene = (fromId < 0) ? null: Scene.getSceneForLayout(sceneRoot, fromId, mContext); in loadTransition() 329 Scene toScene = (toId < 0) ? null : Scene.getSceneForLayout(sceneRoot, toId, mContext); in loadTransition()
|
D | Transition.java | 473 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument 690 protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues, in createAnimators() argument 734 Animator animator = createAnimator(sceneRoot, start, end); in createAnimators() 772 .getStartDelay(sceneRoot, this, start, end); in createAnimators() 777 sceneRoot.getWindowId(), infoValues); in createAnimators() 1425 void captureValues(ViewGroup sceneRoot, boolean start) { in captureValues() argument 1432 View view = sceneRoot.findViewById(id); in captureValues() 1466 captureHierarchy(sceneRoot, start); in captureValues() 1675 public void pause(View sceneRoot) { in pause() argument 1679 if (sceneRoot != null) { in pause() [all …]
|
D | TransitionPropagation.java | 45 public abstract long getStartDelay(ViewGroup sceneRoot, Transition transition, in getStartDelay() argument
|
D | Fade.java | 141 public Animator onAppear(ViewGroup sceneRoot, View view, in onAppear() argument 157 public Animator onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, in onDisappear() argument
|
D | ChangeTransform.java | 227 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument 260 createGhostView(sceneRoot, startValues, endValues); in createAnimator() 368 private void createGhostView(final ViewGroup sceneRoot, TransitionValues startValues, in createGhostView() argument 374 sceneRoot.transformMatrixToLocal(localEndMatrix); in createGhostView() 376 GhostView ghostView = GhostView.addGhost(view, sceneRoot, localEndMatrix); in createGhostView()
|
D | Rotate.java | 45 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
|
D | ChangeBounds.java | 278 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument 440 sceneRoot.getLocationInWindow(tempLocation); in createAnimator() 456 sceneRoot.getOverlay().add(drawable); in createAnimator() 464 sceneRoot.getOverlay().remove(drawable); in createAnimator()
|
D | ChangeScroll.java | 67 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
|
D | Recolor.java | 70 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
|
D | ChangeClipBounds.java | 79 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | InterruptionTest.java | 43 ViewGroup sceneRoot = findViewById(R.id.sceneRoot); in onCreate() local 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()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | SlideTransitionTest.java | 51 final View sceneRoot = mActivity.findViewById(R.id.container); in testShortSlide() local 56 final float finalOffsetOut = sceneRoot.getHeight() * slideFraction; in testShortSlide() 73 final float initialOffsetIn = sceneRoot.getHeight() * slideFraction; in testShortSlide() 92 final ViewGroup sceneRoot = (ViewGroup) mActivity.findViewById(R.id.container); in setVisibilityInTransition() local 93 final View view = sceneRoot.findViewById(viewId); in setVisibilityInTransition() 99 TransitionManager.beginDelayedTransition(sceneRoot, transition); in setVisibilityInTransition()
|
D | FadeTransitionTest.java | 142 public Animator onDisappear(ViewGroup sceneRoot, View view, in testSnapshotView() 154 return super.onDisappear(sceneRoot, view, startValues, endValues); in testSnapshotView() 174 final ViewGroup sceneRoot = (ViewGroup) mActivity.findViewById(R.id.container); in setVisibilityInTransition() local 175 final View view = sceneRoot.findViewById(viewId); in setVisibilityInTransition() 181 TransitionManager.beginDelayedTransition(sceneRoot, transition); in setVisibilityInTransition()
|
/frameworks/base/core/java/android/app/ |
D | FragmentTransition.java | 195 ViewGroup sceneRoot = null; in configureTransitionsReordered() local 197 sceneRoot = fragmentManager.mContainer.onFindViewById(containerId); in configureTransitionsReordered() 199 if (sceneRoot == null) { in configureTransitionsReordered() 212 TransitionSet sharedElementTransition = configureSharedElementsReordered(sceneRoot, in configureTransitionsReordered() 238 TransitionManager.beginDelayedTransition(sceneRoot, transition); in configureTransitionsReordered() 267 ViewGroup sceneRoot = null; in configureTransitionsOrdered() local 269 sceneRoot = fragmentManager.mContainer.onFindViewById(containerId); in configureTransitionsOrdered() 271 if (sceneRoot == null) { in configureTransitionsOrdered() 285 TransitionSet sharedElementTransition = configureSharedElementsOrdered(sceneRoot, in configureTransitionsOrdered() 316 scheduleTargetChange(sceneRoot, inFragment, nonExistentView, sharedElementsIn, in configureTransitionsOrdered() [all …]
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 123 public Animator onAppear(ViewGroup sceneRoot, View view, in onAppear() argument 160 public Animator onDisappear(ViewGroup sceneRoot, View view, in onDisappear() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsAnimations.kt | 179 sceneRoot: ViewGroup,
|