Searched defs:epicenter (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentTransitionCompat21.java77 final Rect epicenter = new Rect();
78 getBoundsOnScreen(view, epicenter);
83 return epicenter;
301 public void setEpicenter(Object transitionObj, final Rect epicenter) { argument
307 if (epicenter == null || epicenter.isEmpty()) {
310 return epicenter;
H A DFragmentTransitionImpl.java65 * Sets a transition epicenter to the rectangle of a given View.
73 protected void getBoundsOnScreen(View view, Rect epicenter) { argument
76 epicenter.set(loc[0], loc[1], loc[0] + view.getWidth(), loc[1] + view.getHeight());
284 * Sets the epicenter of a transition to a rect object. The object can be modified until
287 public abstract void setEpicenter(Object transitionObj, Rect epicenter); argument
/frameworks/support/transition/src/android/support/transition/
H A DFragmentTransitionSupport.java84 final Rect epicenter = new Rect();
85 getBoundsOnScreen(view, epicenter);
90 return epicenter;
305 public void setEpicenter(Object transitionObj, final Rect epicenter) { argument
311 if (epicenter == null || epicenter.isEmpty()) {
314 return epicenter;
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DFragmentTransitionTest.java827 private void verifyAndClearTransition(TargetTracking transition, Rect epicenter, argument
829 if (epicenter == null) {
832 assertEquals(epicenter, transition.getCapturedEpicenter());
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java310 * 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
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java455 * 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
1916 final Rect epicenter = getTransitionEpicenter();
1921 decorView.startExitTransition(exitTransition, anchorRoot, epicenter,
1941 * Returns the window-relative epicenter bounds to be used by enter and
1947 * @return the window-relative epicenter bounds to be used by enter and
1966 // Use anchor-relative epicenter, i
2482 startExitTransition(@onNull Transition transition, @Nullable final View anchorRoot, @Nullable final Rect epicenter, @NonNull final TransitionListener listener) argument
[all...]

Completed in 243 milliseconds