Home
last modified time | relevance | path

Searched refs:newColor (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java304 int newColor = Notification.COLOR_INVALID; in getAutobundledSummaryAttributes() local
322 if (newColor == Notification.COLOR_INVALID) { in getAutobundledSummaryAttributes()
323 newColor = state.iconColor; in getAutobundledSummaryAttributes()
325 if (newColor != state.iconColor) { in getAutobundledSummaryAttributes()
338 newColor = COLOR_DEFAULT; in getAutobundledSummaryAttributes()
341 return new NotificationAttributes(0, newIcon, newColor, newVisibility); in getAutobundledSummaryAttributes()
350 int newColor = newAttr.iconColor; in updateAutobundledSummaryAttributes() local
355 newColor = oldAttr.iconColor; in updateAutobundledSummaryAttributes()
358 return new NotificationAttributes(oldAttr.flags, newIcon, newColor, newAttr.visibility); in updateAutobundledSummaryAttributes()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarHandleView.java93 int newColor = isRegionDark ? mHandleLightColor : mHandleDarkColor; in updateHandleColor() local
98 mColorChangeAnim = ObjectAnimator.ofArgb(this, "backgroundColor", newColor); in updateHandleColor()
108 setBackgroundColor(newColor); in updateHandleColor()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffect.kt182 fun updateColor(newColor: Int) { in <lambda>()
183 turbulenceNoiseShader.setColor(newColor) in <lambda>()
187 fun updateScreenColor(newColor: Int) { in <lambda>()
188 turbulenceNoiseShader.setScreenColor(newColor) in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DPlaceHolderIconDrawable.java66 int newColor = ColorUtils.setAlphaComponent(placeholderColor, newAlpha); in animateIconUpdate()
68 newIcon.setColorFilter(new PorterDuffColorFilter(newColor, PorterDuff.Mode.SRC_ATOP)); in animateIconUpdate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDropZoneView.java186 final int newColor = mShowingHighlight ? mHighlightColor : mSplashScreenColor; in animateSwitch() local
187 animateBackground(mColorDrawable.getColor(), newColor); in animateSwitch() local
195 final int newColor = mShowingHighlight ? mHighlightColor : mSplashScreenColor; in setShowingHighlight() local
196 animateBackground(Color.TRANSPARENT, newColor); in setShowingHighlight()
/frameworks/base/libs/hwui/
DCanvasTransform.cpp96 SkColor newColor = transformColor(transform, paint.getColor()); in applyColorTransform() local
97 paint.setColor(newColor); in applyColorTransform()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java279 int newColor = calculateBgColor(); in setOverrideTintColor() local
280 setBackgroundTintColor(newColor); in setOverrideTintColor()
301 int newColor = NotificationUtils.interpolateColors(mStartTint, mTargetTint, in updateBackgroundTint()
303 setBackgroundTintColor(newColor); in updateBackgroundTint()
DNotificationBackgroundView.java144 ColorStateList newColor = ContrastColorUtil.isColorDark(mTintColor) in setStatefulColors() local
146 ((GradientDrawable) getStatefulBackgroundLayer().mutate()).setColor(newColor); in setStatefulColors()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1136 final int newColor = solidColors.getColorForState(stateSet, 0);
1138 if (oldColor != newColor) {
1139 mFillPaint.setColor(newColor);
1148 final int newColor = strokeColors.getColorForState(stateSet, 0);
1150 if (oldColor != newColor) {
1151 strokePaint.setColor(newColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java178 int newColor = NotificationUtils.interpolateColors(mAnimationStartColor, mIconColor,
180 setColorInternal(newColor);
/frameworks/compile/slang/
DREADME.rst154 void addParticles(int rate, float x, float y, int index, bool newColor) {
161 int index, bool newColor) {