[go: nahoru, domu]

Searched refs:epicenter (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/transition/
H A DCircularPropagation.java23 * 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 DSidePropagation.java26 * 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 DExplode.java38 * no epicenter was provided.</p>
132 Rect epicenter = getEpicenter();
133 if (epicenter == null) {
139 focalX = epicenter.centerX();
140 focalY = epicenter.centerY();
/frameworks/support/v4/api21/android/support/v4/app/
H A DFragmentTransitionCompat21.java72 final Rect epicenter = getBoundsOnScreen(view);
77 return epicenter;
127 * and setting it epicenter callback. By adding a non-existent view to the target list,
326 if (mEpicenter == null && epicenterView.epicenter != null) {
327 mEpicenter = getBoundsOnScreen(epicenterView.epicenter);
336 Rect epicenter = new Rect();
340 epicenter.set(loc[0], loc[1], loc[0] + view.getWidth(), loc[1] + view.getHeight());
341 return epicenter;
496 public View epicenter; field in class:FragmentTransitionCompat21.EpicenterView
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java304 * Sets the transition epicenter to the position of the first shared element.
307 View epicenter = null;
311 epicenter = mSharedElements.get(index);
314 setEpicenter(epicenter);
321 Rect epicenter = new Rect();
322 view.getBoundsOnScreen(epicenter);
323 mEpicenterCallback.setEpicenter(epicenter);
970 public void setEpicenter(Rect epicenter) { mEpicenter = epicenter; } argument
H A DBackStackRecord.java1113 * and setting it epicenter callback. By adding a non-existent view to the target list,
1203 // now we know the epicenter of the entering transition.
1204 View epicenter = namedViews
1206 if (epicenter != null) {
1207 state.enteringEpicenterView = epicenter;
1342 // Set the epicenter of the exit transition
1628 final Rect epicenter = new Rect();
1629 view.getBoundsOnScreen(epicenter);
1634 return epicenter;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopupHelper.java176 * 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/android/support/v7/view/menu/
H A DMenuPopupHelper.java179 * Additionally, the popup's transition epicenter (see
275 // Set the transition epicenter to be roughly finger (or mouse
281 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize,
283 popup.setEpicenterBounds(epicenter);
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java40 * 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 DPopupWindow.java435 * Sets the bounds used as the epicenter of the enter and exit transitions.
437 * Transitions use a point or Rect, referred to as the epicenter, to orient
439 * used as the default epicenter.
444 * @param bounds the epicenter bounds relative to the anchor view, or
445 * {@code null} to use the default epicenter
1840 final Rect epicenter = getTransitionEpicenter();
1844 return epicenter;
1867 * Returns the window-relative epicenter bounds to be used by enter and
1873 * @return the window-relative epicenter bounds to be used by enter and
1890 // Use anchor-relative epicenter, i
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DBackStackRecord.java1211 // Set the epicenter of the exit transition
1321 // now we know the epicenter of the entering transition.
1322 View epicenter = namedViews
1324 if (epicenter != null) {
1325 state.enteringEpicenterView.epicenter = epicenter;

Completed in 186 milliseconds