Home
last modified time | relevance | path

Searched refs:oldAlpha (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java150 int oldAlpha = mBitmapPaint.getAlpha(); in onDrawCircularBitmap() local
151 mBitmapPaint.setAlpha((int) (oldAlpha * alpha)); in onDrawCircularBitmap()
154 mBitmapPaint.setAlpha(oldAlpha); in onDrawCircularBitmap()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java358 float oldAlpha = 1; in runItemAnimations() local
362 oldAlpha = oldInfo.menuItemLayoutInfo.view.getAlpha(); in runItemAnimations()
367 oldAlpha, 0); in runItemAnimations()
395 float oldAlpha = 0; in runItemAnimations() local
399 oldAlpha = oldInfo.menuItemLayoutInfo.view.getAlpha(); in runItemAnimations()
404 oldAlpha, 1); in runItemAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlViewHolder.kt368 val oldAlpha = layout.alpha in startBackgroundAnimation() constant
377 val updatedLayoutAlpha = MathUtils.lerp(oldAlpha, 1f, it.animatedFraction) in startBackgroundAnimation()
/frameworks/native/services/surfaceflinger/FrontEnd/
DRequestedLayerState.cpp147 const half oldAlpha = color.a; in merge() local
244 if (oldAlpha == 0 || color.a == 0) { in merge()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java661 final int oldAlpha = mBitmapState.mPaint.getAlpha(); in setAlpha() local
662 if (alpha != oldAlpha) { in setAlpha()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewControllerTest.java444 float oldAlpha = mKeyguardStatusBarView.getAlpha(); in updateViewState_notKeyguardState_nothingUpdated() local
448 assertThat(mKeyguardStatusBarView.getAlpha()).isEqualTo(oldAlpha); in updateViewState_notKeyguardState_nothingUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java2938 float oldAlpha = getContentView().getAlpha();
2952 if (oldAlpha != 1f) {
2953 setAlphaAndLayerType(mShowingPublic ? mPublicLayout : mPrivateLayout, oldAlpha);
/frameworks/base/core/java/android/view/
DView.java19407 float oldAlpha = mTransformationInfo.mAlpha; in setAlphaInternal() local
19410 if ((alpha == 0) ^ (oldAlpha == 0)) { in setAlphaInternal()