Home
last modified time | relevance | path

Searched refs:revealView (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherStateTransitionAnimation.java108 AnimatorListenerAdapter getMaterialRevealViewAnimatorListener(View revealView, in getMaterialRevealViewAnimatorListener() argument
146 final View revealView, final View allAppsButtonView) { in startAnimationToAllApps()
263 final View revealView = toView.getRevealView(); in startAnimationToOverlay() local
265 int width = revealView.getMeasuredWidth(); in startAnimationToOverlay()
266 int height = revealView.getMeasuredHeight(); in startAnimationToOverlay()
268 revealView.setVisibility(View.VISIBLE); in startAnimationToOverlay()
269 revealView.setAlpha(0f); in startAnimationToOverlay()
270 revealView.setTranslationY(0f); in startAnimationToOverlay()
271 revealView.setTranslationX(0f); in startAnimationToOverlay()
275 Utilities.getCenterDeltaInScreenSpace(revealView, buttonView); in startAnimationToOverlay()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DRevealOutlineAnimation.java31 public ValueAnimator createRevealAnimator(final View revealView) { in createRevealAnimator() argument
32 return createRevealAnimator(revealView, false); in createRevealAnimator()
35 public ValueAnimator createRevealAnimator(final View revealView, boolean isReversed) { in createRevealAnimator() argument
38 final float elevation = revealView.getElevation(); in createRevealAnimator()
44 revealView.setOutlineProvider(RevealOutlineAnimation.this); in createRevealAnimator()
45 revealView.setClipToOutline(true); in createRevealAnimator()
47 revealView.setTranslationZ(-elevation); in createRevealAnimator()
58 revealView.setOutlineProvider(ViewOutlineProvider.BACKGROUND); in createRevealAnimator()
59 revealView.setClipToOutline(false); in createRevealAnimator()
61 revealView.setTranslationZ(0); in createRevealAnimator()
[all …]
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculator.java1036 final View revealView = new View(this); in reveal() local
1037 revealView.setBottom(displayRect.bottom); in reveal()
1038 revealView.setLeft(displayRect.left); in reveal()
1039 revealView.setRight(displayRect.right); in reveal()
1040 revealView.setBackgroundColor(ContextCompat.getColor(this, colorRes)); in reveal()
1041 groupOverlay.add(revealView); in reveal()
1048 final int revealCenterX = clearLocation[0] - revealView.getLeft(); in reveal()
1049 final int revealCenterY = clearLocation[1] - revealView.getTop(); in reveal()
1051 final double x1_2 = Math.pow(revealView.getLeft() - revealCenterX, 2); in reveal()
1052 final double x2_2 = Math.pow(revealView.getRight() - revealCenterX, 2); in reveal()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java608 final CircleView revealView = new CircleView(this) in getAlertAnimator() local
612 containerView.addView(revealView); in getAlertAnimator()
617 revealView, CircleView.RADIUS, startRadius, endRadius); in getAlertAnimator()
636 final ValueAnimator fadeAnimator = ObjectAnimator.ofFloat(revealView, View.ALPHA, 0.0f); in getAlertAnimator()
641 containerView.removeView(revealView); in getAlertAnimator()