Home
last modified time | relevance | path

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

/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/Launcher3/src/com/android/launcher3/
DLauncher.java3363 final View revealView = toView.findViewById(R.id.fake_page); in showAppsCustomizeHelper() local
3367 revealView.setBackground(res.getDrawable(R.drawable.quantum_panel_dark)); in showAppsCustomizeHelper()
3369 revealView.setBackground(res.getDrawable(R.drawable.quantum_panel)); in showAppsCustomizeHelper()
3374 revealView.setVisibility(View.VISIBLE); in showAppsCustomizeHelper()
3376 revealView.setAlpha(0); in showAppsCustomizeHelper()
3378 int width = revealView.getMeasuredWidth(); in showAppsCustomizeHelper()
3379 int height = revealView.getMeasuredHeight(); in showAppsCustomizeHelper()
3382 revealView.setTranslationY(0); in showAppsCustomizeHelper()
3383 revealView.setTranslationX(0); in showAppsCustomizeHelper()
3386 int[] allAppsToPanelDelta = Utilities.getCenterDeltaInScreenSpace(revealView, in showAppsCustomizeHelper()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java428 final View revealView = new View(this); in getAlertAnimator() local
429 revealView.setRight(mContainerView.getWidth()); in getAlertAnimator()
430 revealView.setBottom(mContainerView.getHeight()); in getAlertAnimator()
431 revealView.setBackgroundColor(revealColor); in getAlertAnimator()
432 overlay.add(revealView); in getAlertAnimator()
457 revealView, centerX, centerY, startRadius, endRadius); in getAlertAnimator()
476 final ValueAnimator fadeAnimator = ObjectAnimator.ofFloat(revealView, View.ALPHA, 0.0f); in getAlertAnimator()
481 overlay.remove(revealView); in getAlertAnimator()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFullScreenFragment.java553 final View revealView = new View(activity); in revealAnimation() local
554 revealView.setRight(decorView.getWidth()); in revealAnimation()
555 revealView.setBottom(decorView.getHeight()); in revealAnimation()
556 revealView.setBackgroundColor(color); in revealAnimation()
557 overlay.add(revealView); in revealAnimation()
563 final int revealCenterX = clearLocation[0] - revealView.getLeft(); in revealAnimation()
564 final int revealCenterY = clearLocation[1] - revealView.getTop(); in revealAnimation()
571 revealView, revealCenterX, revealCenterY, 0.0f, revealRadius); in revealAnimation()
574 final ValueAnimator fadeAnimator = ObjectAnimator.ofFloat(revealView, View.ALPHA, 1.0f); in revealAnimation()
578 overlay.remove(revealView); in revealAnimation()