/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | TrackingVisibility.java | 39 Rect epicenter = getEpicenter(); 40 if (epicenter != null) { 41 mEpicenter[0] = new Rect(epicenter); 52 Rect epicenter = getEpicenter(); 53 if (epicenter != null) { 54 mEpicenter[0] = new Rect(epicenter);
|
H A D | TrackingTransition.java | 68 Rect epicenter = getEpicenter(); 69 if (epicenter != null) { 70 mEpicenter[0] = new Rect(epicenter);
|
H A D | FragmentTransitionTest.java | 874 private void verifyAndClearTransition(TargetTracking transition, Rect epicenter, argument 876 if (epicenter == null) { 879 assertEquals(epicenter, transition.getCapturedEpicenter());
|
/frameworks/base/core/java/android/transition/ |
H A D | CircularPropagation.java | 23 * A propagation that varies with the distance to the epicenter of the Transition 24 * or center of the scene if no epicenter exists. When a View is visible in the 25 * start of the transition, Views farther from the epicenter will transition 26 * sooner than Views closer to the epicenter. When a View is not in the start 28 * transition sooner when closer to the epicenter and later when farther from 29 * the epicenter. This is the default TransitionPropagation used with 40 * the epicenter and View centered at the epicenter will have a difference 74 Rect epicenter = transition.getEpicenter(); 77 if (epicenter ! [all...] |
H A D | SidePropagation.java | 26 * and, orthogonally, the distance to epicenter. If the transitioning View is visible in 79 Rect epicenter = transition.getEpicenter(); 100 if (epicenter != null) { 101 epicenterX = epicenter.centerX(); 102 epicenterY = epicenter.centerY();
|
H A D | Explode.java | 38 * no epicenter was provided.</p> 132 Rect epicenter = getEpicenter(); 133 if (epicenter == null) { 139 focalX = epicenter.centerX(); 140 focalY = epicenter.centerY();
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | CircularPropagation.java | 24 * A propagation that varies with the distance to the epicenter of the Transition 25 * or center of the scene if no epicenter exists. When a View is visible in the 26 * start of the transition, Views farther from the epicenter will transition 27 * sooner than Views closer to the epicenter. When a View is not in the start 29 * transition sooner when closer to the epicenter and later when farther from 30 * the epicenter. This is the default TransitionPropagation used with 40 * the epicenter and View centered at the epicenter will have a difference 74 Rect epicenter = transition.getEpicenter(); 77 if (epicenter ! [all...] |
H A D | SidePropagation.java | 28 * and, orthogonally, the distance to epicenter. If the transitioning View is visible in 80 Rect epicenter = transition.getEpicenter(); 101 if (epicenter != null) { 102 epicenterX = epicenter.centerX(); 103 epicenterY = epicenter.centerY();
|
H A D | FragmentTransitionSupport.java | 85 final Rect epicenter = new Rect(); 86 getBoundsOnScreen(view, epicenter); 91 return epicenter; 306 public void setEpicenter(Object transitionObj, final Rect epicenter) { argument 312 if (epicenter == null || epicenter.isEmpty()) { 315 return epicenter;
|
H A D | Explode.java | 40 * no epicenter was provided.</p> 134 Rect epicenter = getEpicenter(); 135 if (epicenter == null) { 141 focalX = epicenter.centerX(); 142 focalY = epicenter.centerY();
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentTransitionCompat21.java | 78 final Rect epicenter = new Rect(); 79 getBoundsOnScreen(view, epicenter); 84 return epicenter; 302 public void setEpicenter(Object transitionObj, final Rect epicenter) { argument 308 if (epicenter == null || epicenter.isEmpty()) { 311 return epicenter;
|
H A D | FragmentTransitionImpl.java | 66 * Sets a transition epicenter to the rectangle of a given View. 74 protected void getBoundsOnScreen(View view, Rect epicenter) { argument 77 epicenter.set(loc[0], loc[1], loc[0] + view.getWidth(), loc[1] + view.getHeight()); 285 * Sets the epicenter of a transition to a rect object. The object can be modified until 288 public abstract void setEpicenter(Object transitionObj, Rect epicenter); argument
|
H A D | FragmentTransition.java | 529 * views, and sets up the epicenter on the transitions. 531 * The epicenter of exit and shared element transitions is the first shared element 532 * in the outgoing fragment. The epicenter of the entering transition is the first shared 548 * epicenter 550 * epicenter 601 final Rect epicenter; 611 epicenter = new Rect(); 615 impl.setEpicenter(enterTransition, epicenter); 618 epicenter = null; 628 impl.getBoundsOnScreen(epicenterView, epicenter); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityTransitionCoordinator.java | 310 * Sets the transition epicenter to the position of the first shared element. 313 View epicenter = null; 317 epicenter = mSharedElements.get(index); 320 setEpicenter(epicenter); 327 Rect epicenter = new Rect(); 328 view.getBoundsOnScreen(epicenter); 329 mEpicenterCallback.setEpicenter(epicenter); 1045 public void setEpicenter(Rect epicenter) { mEpicenter = epicenter; } argument
|
H A D | FragmentTransition.java | 454 * views, and sets up the epicenter on the transitions. 456 * The epicenter of exit and shared element transitions is the first shared element 457 * in the outgoing fragment. The epicenter of the entering transition is the first shared 473 * epicenter 475 * epicenter 525 final Rect epicenter; 534 epicenter = new Rect(); 541 return epicenter; 546 epicenter = null; 554 epicenterView.getBoundsOnScreen(epicenter); [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 176 * Additionally, the popup's transition epicenter (see 265 // Set the transition epicenter to be roughly finger (or mouse 271 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, 273 popup.setEpicenterBounds(epicenter);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | MenuPopupHelper.java | 185 * Additionally, the popup's transition epicenter (see 279 // Set the transition epicenter to be roughly finger (or mouse 285 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, 287 popup.setEpicenterBounds(epicenter);
|
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 40 * epicenter bounds during a visibility transition. 135 // Translate the view to be centered on the epicenter. 192 final Rect epicenter = getEpicenter(); 193 if (epicenter != null) { 194 return epicenter;
|
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 455 * Sets the bounds used as the epicenter of the enter and exit transitions. 457 * Transitions use a point or Rect, referred to as the epicenter, to orient 459 * used as the default epicenter. 464 * @param bounds the epicenter bounds relative to the anchor view, or 465 * {@code null} to use the default epicenter 1917 final Rect epicenter = getTransitionEpicenter(); 1922 decorView.startExitTransition(exitTransition, anchorRoot, epicenter, 1942 * Returns the window-relative epicenter bounds to be used by enter and 1948 * @return the window-relative epicenter bounds to be used by enter and 1967 // Use anchor-relative epicenter, i 2483 startExitTransition(@onNull Transition transition, @Nullable final View anchorRoot, @Nullable final Rect epicenter, @NonNull final TransitionListener listener) argument [all...] |