Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanel.kt117 val backgroundAlpha = constant
136 backgroundAlpha
348 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()
DBackPanelController.kt253 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>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt401 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DShutdownUi.java75 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()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt136 val backgroundAlpha = viewModel.backgroundAlpha.collectAsStateWithLifecycle() in FooterActions() constant
171 backgroundAlpha, in FooterActions()
176 backgroundAlpha::value, in FooterActions()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java68 public static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
69 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModel.kt87 val backgroundAlpha: StateFlow<Float> = _backgroundAlpha.asStateFlow() in <lambda>() constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModel
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java752 private static int compositeAlpha(int foregroundAlpha, int backgroundAlpha) { in compositeAlpha() argument
753 return 0xFF - (((0xFF - backgroundAlpha) * (0xFF - foregroundAlpha)) / 0xFF); in compositeAlpha()