Home
last modified time | relevance | path

Searched refs:epicenter (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/fragment/tests/java/android/support/v4/app/
DTrackingVisibility.java39 Rect epicenter = getEpicenter(); in onAppear() local
40 if (epicenter != null) { in onAppear()
41 mEpicenter[0] = new Rect(epicenter); in onAppear()
52 Rect epicenter = getEpicenter(); in onDisappear() local
53 if (epicenter != null) { in onDisappear()
54 mEpicenter[0] = new Rect(epicenter); in onDisappear()
DTrackingTransition.java68 Rect epicenter = getEpicenter(); in createAnimator() local
69 if (epicenter != null) { in createAnimator()
70 mEpicenter[0] = new Rect(epicenter); in createAnimator()
DFragmentTransitionTest.java827 private void verifyAndClearTransition(TargetTracking transition, Rect epicenter, in verifyAndClearTransition() argument
829 if (epicenter == null) { in verifyAndClearTransition()
832 assertEquals(epicenter, transition.getCapturedEpicenter()); in verifyAndClearTransition()
/frameworks/support/transition/src/android/support/transition/
DCircularPropagation.java74 Rect epicenter = transition.getEpicenter(); in getStartDelay() local
77 if (epicenter != null) { in getStartDelay()
78 epicenterX = epicenter.centerX(); in getStartDelay()
79 epicenterY = epicenter.centerY(); in getStartDelay()
DSidePropagation.java79 Rect epicenter = transition.getEpicenter(); in getStartDelay() local
100 if (epicenter != null) { in getStartDelay()
101 epicenterX = epicenter.centerX(); in getStartDelay()
102 epicenterY = epicenter.centerY(); in getStartDelay()
DFragmentTransitionSupport.java84 final Rect epicenter = new Rect(); in setEpicenter() local
85 getBoundsOnScreen(view, epicenter); in setEpicenter()
90 return epicenter; in setEpicenter()
305 public void setEpicenter(Object transitionObj, final Rect epicenter) { in setEpicenter() argument
311 if (epicenter == null || epicenter.isEmpty()) { in setEpicenter()
314 return epicenter; in setEpicenter()
DExplode.java133 Rect epicenter = getEpicenter(); in calculateOut() local
134 if (epicenter == null) { in calculateOut()
140 focalX = epicenter.centerX(); in calculateOut()
141 focalY = epicenter.centerY(); in calculateOut()
/frameworks/base/core/java/android/transition/
DCircularPropagation.java74 Rect epicenter = transition.getEpicenter(); in getStartDelay() local
77 if (epicenter != null) { in getStartDelay()
78 epicenterX = epicenter.centerX(); in getStartDelay()
79 epicenterY = epicenter.centerY(); in getStartDelay()
DSidePropagation.java79 Rect epicenter = transition.getEpicenter(); in getStartDelay() local
100 if (epicenter != null) { in getStartDelay()
101 epicenterX = epicenter.centerX(); in getStartDelay()
102 epicenterY = epicenter.centerY(); in getStartDelay()
DExplode.java132 Rect epicenter = getEpicenter(); in calculateOut() local
133 if (epicenter == null) { in calculateOut()
139 focalX = epicenter.centerX(); in calculateOut()
140 focalY = epicenter.centerY(); in calculateOut()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransitionCompat21.java77 final Rect epicenter = new Rect(); in setEpicenter() local
78 getBoundsOnScreen(view, epicenter); in setEpicenter()
83 return epicenter; in setEpicenter()
301 public void setEpicenter(Object transitionObj, final Rect epicenter) { in setEpicenter() argument
307 if (epicenter == null || epicenter.isEmpty()) { in setEpicenter()
310 return epicenter; in setEpicenter()
DFragmentTransitionImpl.java73 protected void getBoundsOnScreen(View view, Rect epicenter) { in getBoundsOnScreen() argument
76 epicenter.set(loc[0], loc[1], loc[0] + view.getWidth(), loc[1] + view.getHeight()); in getBoundsOnScreen()
287 public abstract void setEpicenter(Object transitionObj, Rect epicenter); in setEpicenter() argument
DFragmentTransition.java599 final Rect epicenter; in configureSharedElementsReordered() local
609 epicenter = new Rect(); in configureSharedElementsReordered()
613 impl.setEpicenter(enterTransition, epicenter); in configureSharedElementsReordered()
616 epicenter = null; in configureSharedElementsReordered()
626 impl.getBoundsOnScreen(epicenterView, epicenter); in configureSharedElementsReordered()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java313 View epicenter = null; in setEpicenter() local
317 epicenter = mSharedElements.get(index); in setEpicenter()
320 setEpicenter(epicenter); in setEpicenter()
327 Rect epicenter = new Rect(); in setEpicenter() local
328 view.getBoundsOnScreen(epicenter); in setEpicenter()
329 mEpicenterCallback.setEpicenter(epicenter); in setEpicenter()
1045 public void setEpicenter(Rect epicenter) { mEpicenter = epicenter; } in setEpicenter() argument
DFragmentTransition.java525 final Rect epicenter; in configureSharedElementsReordered() local
534 epicenter = new Rect(); in configureSharedElementsReordered()
541 return epicenter; in configureSharedElementsReordered()
546 epicenter = null; in configureSharedElementsReordered()
554 epicenterView.getBoundsOnScreen(epicenter); in configureSharedElementsReordered()
878 final Rect epicenter = new Rect(); in setEpicenter() local
879 view.getBoundsOnScreen(epicenter); in setEpicenter()
884 return epicenter; in setEpicenter()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java271 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() local
273 popup.setEpicenterBounds(epicenter); in showPopup()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuPopupHelper.java283 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() local
285 popup.setEpicenterBounds(epicenter); in showPopup()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java192 final Rect epicenter = getEpicenter(); in getEpicenterOrCenter() local
193 if (epicenter != null) { in getEpicenterOrCenter()
194 return epicenter; in getEpicenterOrCenter()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1916 final Rect epicenter = getTransitionEpicenter(); in dismiss() local
1921 decorView.startExitTransition(exitTransition, anchorRoot, epicenter, in dismiss()
2443 final Rect epicenter = getTransitionEpicenter();
2447 return epicenter;
2483 @Nullable final View anchorRoot, @Nullable final Rect epicenter,
2525 return epicenter;