Searched refs:backgroundAlpha (Results 1 – 8 of 8) sorted by relevance
117 val backgroundAlpha = constant136 backgroundAlpha348 backgroundAlpha.stretchBy( in setStretch()389 backgroundAlpha.snapTo(1f) in resetStretch()410 backgroundAlpha.updateRestingPosition(restingParams.backgroundDimens.alpha) in setRestingDimens()437 backgroundAlpha: SpringForce? = null, in animateVertically()446 backgroundAlpha?.let { this.backgroundAlpha.spring = it } in animateVertically()490 arrowBackgroundPaint.apply { alpha = (255 * backgroundAlpha.pos).toInt() } in hasOverlappingRendering()514 arrowPaint.apply { alpha = (255 * min(arrowAlpha.pos, backgroundAlpha.pos)).toInt() } in hasOverlappingRendering()
253 if (!mView.addAnimationEndListener(mView.backgroundAlpha, onEndSetGoneStateListener)) { in <lambda>()746 backgroundAlpha = params.entryIndicator.backgroundDimens.alphaSpring, in <lambda>()801 backgroundAlpha = params.committedIndicator.backgroundDimens.alphaSpring, in <lambda>()812 backgroundAlpha = params.cancelledIndicator.backgroundDimens.alphaSpring in <lambda>()
401 assertThat(underTest.backgroundAlpha.value).isEqualTo(0f) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay()404 assertThat(underTest.backgroundAlpha.value).isEqualTo(0f) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay()407 assertThat(underTest.backgroundAlpha.value).isEqualTo(0f) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay()410 assertThat(underTest.backgroundAlpha.value).isWithin(floatTolerance).of(0.1f) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay()413 assertThat(underTest.backgroundAlpha.value).isWithin(floatTolerance).of(0.5f) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay()416 assertThat(underTest.backgroundAlpha.value).isEqualTo(1f) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay()448 assertThat(underTest.backgroundAlpha.value).isEqualTo(1f) in backgroundAlpha_inSingleShade_always1()451 assertThat(underTest.backgroundAlpha.value).isEqualTo(1f) in backgroundAlpha_inSingleShade_always1()454 assertThat(underTest.backgroundAlpha.value).isEqualTo(1f) in backgroundAlpha_inSingleShade_always1()
75 int backgroundAlpha = (int) (ScrimController.BUSY_SCRIM_ALPHA * 255); in showShutdownUi()76 background.setAlpha(backgroundAlpha); in showShutdownUi()78 (int) mBlurUtils.blurRadiusOfRatio(1), backgroundAlpha == 255); in showShutdownUi()80 float backgroundAlpha = mContext.getResources().getFloat( in showShutdownUi()82 background.setAlpha((int) (backgroundAlpha * 255)); in showShutdownUi()
136 val backgroundAlpha = viewModel.backgroundAlpha.collectAsStateWithLifecycle() in FooterActions() constant171 backgroundAlpha, in FooterActions()176 backgroundAlpha::value, in FooterActions()
68 public static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument69 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()
87 val backgroundAlpha: StateFlow<Float> = _backgroundAlpha.asStateFlow() in <lambda>() constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModel
752 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument753 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()