Home
last modified time | relevance | path

Searched refs:newAlpha (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/toolkit/test/
DIntrinsicLut.kt40 newAlpha: ByteArray, in intrinsicLut()
60 scriptLut.setAlpha(v, newAlpha[v].toUByte().toInt()) in intrinsicLut()
87 newAlpha: ByteArray, in intrinsicLut()
101 scriptLut.setAlpha(v, newAlpha[v].toUByte().toInt()) in intrinsicLut()
DAllTests.kt726 val newAlpha = randomByteArray(0x3A20001, 256, 1, 1) in <lambda>() constant
731 table.alpha = newAlpha in <lambda>()
735 renderscriptContext, inputArray, sizeX, sizeY, newRed, newGreen, newBlue, newAlpha, in <lambda>()
753 logArray("LUT alpha", newAlpha, 256) in <lambda>()
770 val newAlpha = randomByteArray(0x3A20001, 256, 1, 1) in <lambda>() constant
775 table.alpha = newAlpha in <lambda>()
779 renderscriptContext, bitmap, newRed, newGreen, newBlue, newAlpha, restriction in <lambda>()
803 logArray("LutBitmap alpha", newAlpha, 256) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DViewGroupFadeHelper.kt65 val newAlpha = animation.animatedValue as Float in <lambda>() constant
72 viewToFade.alpha = newAlpha in <lambda>()
74 root.setTag(R.id.view_group_fade_helper_previous_value_tag, newAlpha) in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DPlaceHolderIconDrawable.java65 int newAlpha = (int) valueAnimator.getAnimatedValue(); in animateIconUpdate()
66 int newColor = ColorUtils.setAlphaComponent(placeholderColor, newAlpha); in animateIconUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlViewHolder.kt324 val (newClipColor, newAlpha) = if (enabled) { in animateBackgroundChange() constant
347 startBackgroundAnimation(this, newAlpha, newClipColor, newBaseColor) in animateBackgroundChange()
350 this, newAlpha, newClipColor, newBaseColor, newLayoutAlpha = 1f in animateBackgroundChange()
358 newAlpha: Int, in startBackgroundAnimation()
370 stateAnimator = ValueAnimator.ofInt(clipLayer.alpha, newAlpha).apply { in startBackgroundAnimation()
405 newAlpha: Int, in applyBackgroundChange()
410 clipDrawable.alpha = newAlpha in applyBackgroundChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewController.java552 float newAlpha; in updateViewState() local
554 newAlpha = mExplicitAlpha; in updateViewState()
556 newAlpha = Math.min(getKeyguardContentsAlpha(), alphaQsExpansion) in updateViewState()
562 newAlpha = Math.min(newAlpha, mSystemEventAnimatorAlpha); in updateViewState()
571 newAlpha != 0f in updateViewState()
578 updateViewState(newAlpha, newVisibility); in updateViewState()
/frameworks/base/core/java/android/widget/
DTextViewTranslationCallback.java351 private static int colorWithAlpha(int color, int newAlpha) { in colorWithAlpha() argument
352 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in colorWithAlpha()
DEditor.java4401 final int newAlpha = (int) (Color.alpha(underlineColor) * BACKGROUND_TRANSPARENCY); in updateSuggestions() local
4403 (underlineColor & 0x00FFFFFF) + (newAlpha << 24)); in updateSuggestions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewControllerTest.java420 float newAlpha = 0.5f; in updateViewState_alphaAndVisibilityGiven_viewUpdated() local
422 mController.updateViewState(newAlpha, newVisibility); in updateViewState_alphaAndVisibilityGiven_viewUpdated()
424 assertThat(mKeyguardStatusBarView.getAlpha()).isEqualTo(newAlpha); in updateViewState_alphaAndVisibilityGiven_viewUpdated()