Home
last modified time | relevance | path

Searched refs:dark (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationIconDozeHelper.java47 public void setImageDark(ImageView target, boolean dark, boolean fade, long delay, in setImageDark() argument
51 fadeImageColorFilter(target, dark, delay); in setImageDark()
52 fadeImageAlpha(target, dark, delay); in setImageDark()
54 fadeGrayscale(target, dark, delay); in setImageDark()
58 updateImageColorFilter(target, dark); in setImageDark()
59 updateImageAlpha(target, dark); in setImageDark()
61 updateGrayscale(target, dark); in setImageDark()
66 private void fadeImageColorFilter(final ImageView target, boolean dark, long delay) { in fadeImageColorFilter() argument
69 }, dark, delay, null /* listener */); in fadeImageColorFilter()
72 private void fadeImageAlpha(final ImageView target, boolean dark, long delay) { in fadeImageAlpha() argument
[all …]
DNotificationDozeHelper.java37 public void fadeGrayscale(final ImageView target, final boolean dark, long delay) { in fadeGrayscale() argument
43 }, dark, delay, new AnimatorListenerAdapter() { in fadeGrayscale()
46 if (!dark) { in fadeGrayscale()
53 public void updateGrayscale(ImageView target, boolean dark) { in updateGrayscale() argument
54 updateGrayscale(target, dark ? 1 : 0); in updateGrayscale()
68 boolean dark, long delay, Animator.AnimatorListener listener) { in startIntensityAnimation() argument
69 float startIntensity = dark ? 0f : 1f; in startIntensityAnimation()
70 float endIntensity = dark ? 1f : 0f; in startIntensityAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarTransitionsController.java148 public void setIconsDark(boolean dark, boolean animate) { in setIconsDark() argument
150 setIconTintInternal(dark ? 1.0f : 0.0f); in setIconsDark()
151 mNextDarkIntensity = dark ? 1.0f : 0.0f; in setIconsDark()
153 deferIconTintChange(dark ? 1.0f : 0.0f); in setIconsDark()
155 animateIconTint(dark ? 1.0f : 0.0f, in setIconsDark()
159 animateIconTint(dark ? 1.0f : 0.0f, 0 /* delay */, mApplier.getTintAnimationDuration()); in setIconsDark()
DKeyguardClockPositionAlgorithm.java146 boolean hasCustomClock, boolean hasVisibleNotifs, float dark, float emptyDragAmount, in setup() argument
157 mDarkAmount = dark; in setup()
DStatusBarWindowController.java205 private void setKeyguardDark(boolean dark) { in setKeyguardDark() argument
207 if (dark) { in setKeyguardDark()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java75 GradientColors dark = new GradientColors(); in extractInto_fromBitmap() local
81 tonal.extractInto(wallColors, normal, dark, extraDark); in extractInto_fromBitmap()
90 GradientColors dark = new GradientColors(); in extractInto_supportsDarkText() local
96 tonal.extractInto(wallColors, normal, dark, extraDark); in extractInto_supportsDarkText()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DImageClock.java85 public void setClockColors(int dark, int light) { in setClockColors() argument
86 mHourHand.setColorFilter(dark); in setClockColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java301 int dark = ColorUtils.setAlphaComponent(Color.BLACK, DARK_ICON_ALPHA); in checkTint() local
302 iconDrawable.setTint(dark); in checkTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java834 final boolean dark = !ContrastColorUtil.isColorLight(backgroundColor); in setBackgroundTintColor()
837 dark ? mDefaultTextColorDarkBg : mDefaultTextColor, in setBackgroundTintColor()
838 backgroundColor | 0xff000000, dark); in setBackgroundTintColor()
840 mDefaultStrokeColor, backgroundColor | 0xff000000, dark, mMinStrokeContrast); in setBackgroundTintColor()
841 int rippleColor = dark ? mRippleColorDarkBg : mRippleColor; in setBackgroundTintColor()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java400 boolean dark = mDarkAmount == 1; in updateDark()
402 mLogoutView.setAlpha(dark ? 0 : 1); in updateDark()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java254 boolean dark = inWallpaperColors != null in applyFallback()
263 } else if (dark || inNightMode) { in applyFallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java431 final boolean dark = mTimeOfDay == NIGHT || mTimeOfDay == TWILIGHT; in reset()
433 if ((dark && ff < 0.75f) || ff < 0.5f) { in reset()
436 moon.getBackground().setAlpha(dark ? 255 : 128); in reset()
/frameworks/base/core/java/android/content/res/
DResources.java176 int dark, int deviceDefault) { in selectSystemTheme() argument
187 return dark; in selectSystemTheme()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto1863 // Tuner: Change night mode adjust dark theme.
7198 // OPEN: QS dark theme tile shown
7199 // ACTION: QS dark theme tile tapped
/frameworks/base/cmds/statsd/src/
Datoms.proto4620 // This clock stops when the system enters deep sleep (CPU off, display dark, device waiting
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3 # This is an autogenerated file containing the dark greylist as present in P.