Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherStateTransitionAnimation.java98 AnimatorListenerAdapter getMaterialRevealViewAnimatorListener(View revealView, in getMaterialRevealViewAnimatorListener() argument
137 final View revealView, final View allAppsButtonView) { in startAnimationToAllApps()
232 final View revealView = toView.getRevealView(); in startAnimationToOverlay() local
234 int width = revealView.getMeasuredWidth(); in startAnimationToOverlay()
235 int height = revealView.getMeasuredHeight(); in startAnimationToOverlay()
237 revealView.setVisibility(View.VISIBLE); in startAnimationToOverlay()
238 revealView.setAlpha(0f); in startAnimationToOverlay()
239 revealView.setTranslationY(0f); in startAnimationToOverlay()
240 revealView.setTranslationX(0f); in startAnimationToOverlay()
248 revealView, buttonView, null); in startAnimationToOverlay()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DUiThreadCircularReveal.java25 final View revealView = v; in createCircularReveal() local
31 revealView.setOutlineProvider(outlineProvider); in createCircularReveal()
32 revealView.setClipToOutline(true); in createCircularReveal()
33 revealView.setTranslationZ(-elevation); in createCircularReveal()
37 revealView.setOutlineProvider(originalProvider); in createCircularReveal()
38 revealView.setClipToOutline(false); in createCircularReveal()
39 revealView.setTranslationZ(0); in createCircularReveal()
49 revealView.invalidateOutline(); in createCircularReveal()
51 revealView.invalidate(); in createCircularReveal()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java321 final View revealView = new View(this); in reveal() local
322 revealView.setBottom(displayRect.bottom); in reveal()
323 revealView.setLeft(displayRect.left); in reveal()
324 revealView.setRight(displayRect.right); in reveal()
325 revealView.setBackgroundColor(getResources().getColor(colorRes)); in reveal()
326 groupOverlay.add(revealView); in reveal()
333 final int revealCenterX = clearLocation[0] - revealView.getLeft(); in reveal()
334 final int revealCenterY = clearLocation[1] - revealView.getTop(); in reveal()
336 final double x1_2 = Math.pow(revealView.getLeft() - revealCenterX, 2); in reveal()
337 final double x2_2 = Math.pow(revealView.getRight() - revealCenterX, 2); in reveal()
[all …]
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculator.java684 final View revealView = new View(this); in reveal() local
685 revealView.setBottom(displayRect.bottom); in reveal()
686 revealView.setLeft(displayRect.left); in reveal()
687 revealView.setRight(displayRect.right); in reveal()
688 revealView.setBackgroundColor(getResources().getColor(colorRes)); in reveal()
689 groupOverlay.add(revealView); in reveal()
696 final int revealCenterX = clearLocation[0] - revealView.getLeft(); in reveal()
697 final int revealCenterY = clearLocation[1] - revealView.getTop(); in reveal()
699 final double x1_2 = Math.pow(revealView.getLeft() - revealCenterX, 2); in reveal()
700 final double x2_2 = Math.pow(revealView.getRight() - revealCenterX, 2); in reveal()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java571 final CircleView revealView = new CircleView(this) in getAlertAnimator() local
575 containerView.addView(revealView); in getAlertAnimator()
580 revealView, CircleView.RADIUS, startRadius, endRadius); in getAlertAnimator()
599 final ValueAnimator fadeAnimator = ObjectAnimator.ofFloat(revealView, View.ALPHA, 0.0f); in getAlertAnimator()
604 containerView.removeView(revealView); in getAlertAnimator()