Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarHandleView.java153 int newColor = isRegionDark ? mHandleLightColor : mHandleDarkColor; in updateHandleColor() local
154 if (newColor == mRegionSamplerColor) { in updateHandleColor()
158 mRegionSamplerColor = newColor; in updateHandleColor()
163 mColorChangeAnim = ObjectAnimator.ofArgb(this, HANDLE_COLOR, newColor); in updateHandleColor()
173 setHandleColor(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.java78 int newColor = ColorUtils.setAlphaComponent(placeholderColor, newAlpha); in animateIconUpdate()
80 newIcon.setColorFilter(new PorterDuffColorFilter(newColor, PorterDuff.Mode.SRC_ATOP)); in animateIconUpdate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDropZoneView.java223 final int newColor = mShowingHighlight ? mHighlightColor : mSplashScreenColor; in animateSwitch() local
224 animateBackground(mColorDrawable.getColor(), newColor); in animateSwitch() local
236 final int newColor = mShowingHighlight ? mHighlightColor : mSplashScreenColor; in setShowingHighlight() local
237 animateBackground(Color.TRANSPARENT, newColor); in setShowingHighlight()
/frameworks/base/libs/hwui/
DCanvasTransform.cpp91 SkColor newColor = transformColor(transform, paint.getColor()); in applyColorTransform() local
92 paint.setColor(newColor); in applyColorTransform()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java281 int newColor = calculateBgColor(); in setOverrideTintColor() local
282 setBackgroundTintColor(newColor); in setOverrideTintColor()
303 int newColor = NotificationUtils.interpolateColors(mStartTint, mTargetTint, in updateBackgroundTint()
305 setBackgroundTintColor(newColor); in updateBackgroundTint()
DNotificationBackgroundView.java256 ColorStateList newColor = ContrastColorUtil.isColorDark(mTintColor) in setStatefulColors() local
258 ((GradientDrawable) getStatefulBackgroundLayer().mutate()).setColor(newColor); in setStatefulColors()
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java458 int newColor = Notification.COLOR_INVALID; in getAutobundledSummaryAttributes() local
476 if (newColor == Notification.COLOR_INVALID) { in getAutobundledSummaryAttributes()
477 newColor = state.iconColor; in getAutobundledSummaryAttributes()
479 if (newColor != state.iconColor) { in getAutobundledSummaryAttributes()
492 newColor = COLOR_DEFAULT; in getAutobundledSummaryAttributes()
507 return new NotificationAttributes(0, newIcon, newColor, newVisibility, in getAutobundledSummaryAttributes()
517 int newColor = newAttr.iconColor; in updateAutobundledSummaryAttributes() local
523 newColor = oldAttr.iconColor; in updateAutobundledSummaryAttributes()
529 return new NotificationAttributes(oldAttr.flags, newIcon, newColor, newAttr.visibility, in updateAutobundledSummaryAttributes()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1247 final int newColor = solidColors.getColorForState(stateSet, 0);
1249 if (oldColor != newColor) {
1250 mFillPaint.setColor(newColor);
1259 final int newColor = strokeColors.getColorForState(stateSet, 0);
1261 if (oldColor != newColor) {
1262 strokePaint.setColor(newColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java171 int newColor = NotificationUtils.interpolateColors(mAnimationStartColor, mIconColor,
173 setColorInternal(newColor);
/frameworks/compile/slang/
DREADME.rst154 void addParticles(int rate, float x, float y, int index, bool newColor) {
161 int index, bool newColor) {