Home
last modified time | relevance | path

Searched refs:startAlpha (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/transition/
DFade.java119 private Animator createAnimation(final View view, float startAlpha, final float endAlpha) { in createAnimation() argument
120 if (startAlpha == endAlpha) { in createAnimation()
123 view.setTransitionAlpha(startAlpha); in createAnimation()
149 float startAlpha = getStartAlpha(startValues, 0); in onAppear() local
150 if (startAlpha == 1) { in onAppear()
151 startAlpha = 0; in onAppear()
153 return createAnimation(view, startAlpha, 1); in onAppear()
159 float startAlpha = getStartAlpha(startValues, 1); in onDisappear() local
160 return createAnimation(view, startAlpha, 0); in onDisappear()
164 float startAlpha = fallbackValue; in getStartAlpha() local
[all …]
/frameworks/base/core/java/android/widget/
DZoomControls.java97 private void fade(int visibility, float startAlpha, float endAlpha) { in fade() argument
98 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); in fade()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java464 public void startCellStateAnimation(CellState cellState, float startAlpha, float endAlpha, in startCellStateAnimation() argument
469 startCellStateAnimationHw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation()
473 startCellStateAnimationSw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation()
480 final float startAlpha, final float endAlpha, in startCellStateAnimationSw() argument
484 cellState.alpha = startAlpha; in startCellStateAnimationSw()
495 cellState.alpha = (1 - t) * startAlpha + t * endAlpha; in startCellStateAnimationSw()
513 float startAlpha, float endAlpha, in startCellStateAnimationHw() argument
526 mPaint.setAlpha((int) (startAlpha * 255)); in startCellStateAnimationHw()
/frameworks/base/services/core/java/com/android/server/wm/
DDimmer.java342 SurfaceControl.Transaction t, float startAlpha, float endAlpha) { in startAnim() argument
344 new AlphaAnimationSpec(startAlpha, endAlpha, getDimDuration(container)), in startAnim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java608 float startAlpha = mDimmed ? 1f : 0; in fadeDimmedBackground() local
613 startAlpha = (Float) mBackgroundAnimator.getAnimatedValue(); in fadeDimmedBackground()
622 mBackgroundNormal.setAlpha(startAlpha); in fadeDimmedBackground()
624 ObjectAnimator.ofFloat(mBackgroundNormal, View.ALPHA, startAlpha, endAlpha); in fadeDimmedBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java669 final float startAlpha = (Float) scrim.getTag(TAG_START_ALPHA); in startScrimAnimation()
673 float alpha = MathUtils.lerp(startAlpha, finalScrimAlpha, animAmount); in startScrimAnimation()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java342 int startAlpha = Color.alpha(color); in findAlphaToMeetContrast() local
347 int low = startAlpha, high = 255; in findAlphaToMeetContrast()