Home
last modified time | relevance | path

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

12

/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()
82 public void setIntensityDark(Consumer<Float> listener, boolean dark, in setIntensityDark() argument
85 startIntensityAnimation(a -> listener.accept((Float) a.getAnimatedValue()), dark, delay, in setIntensityDark()
[all …]
/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.java135 boolean hasCustomClock, boolean hasVisibleNotifs, float dark, float emptyDragAmount) { in setup() argument
145 mDarkAmount = dark; in setup()
DNotificationIconAreaController.java440 public void setDark(boolean dark) { in setDark() argument
441 mNotificationIcons.setDark(dark, false, 0); in setDark()
442 mShelfIcons.setDark(dark, false, 0); in setDark()
443 mCenteredIcon.setDark(dark, false, 0); in setDark()
DNotificationIconContainer.java561 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
562 mDark = dark; in setDark()
567 ((StatusBarIconView) view).setDark(dark, fade, delay); in setDark()
DStatusBarWindowController.java173 private void setKeyguardDark(boolean dark) { in setKeyguardDark() argument
175 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/systemui/statusbar/notification/stack/
DExpandableViewState.java88 public boolean dark; field in ExpandableViewState
124 dark = svs.dark; in copyFrom()
162 expandableView.setDark(this.dark, false /* animate */, 0 /* delay */); in applyToView()
213 expandableView.setDark(this.dark, animationFilter.animateDark, properties.delay); in animateTo()
DAmbientState.java184 public void setDark(boolean dark) { in setDark() argument
185 mDark = dark; in setDark()
DStackScrollAlgorithm.java216 boolean dark = ambientState.isFullyDark(); in updateDimmedActivatedHideSensitive()
224 childViewState.dark = dark; in updateDimmedActivatedHideSensitive()
/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/opt/datetimepicker/src/com/android/datetimepicker/time/
DCircleView.java79 /* package */ void setTheme(Context context, boolean dark) { in setTheme() argument
81 if (dark) { in setTheme()
DTimePickerDialog.java160 public void setThemeDark(boolean dark) { in setThemeDark() argument
161 mThemeDark = dark; in setThemeDark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java256 int dark = ColorUtils.setAlphaComponent(Color.BLACK, DARK_ICON_ALPHA); in checkTint() local
257 iconDrawable.setTint(dark); in checkTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java443 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
444 super.setDark(dark, fade, delay); in setDark()
445 if (mDark == dark) { in setDark()
448 mDark = dark; in setDark()
DExpandableView.java222 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
223 mDark = dark; in setDark()
DNotificationContentView.java1133 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
1137 mDark = dark; in setDark()
1138 selectLayout(!dark && fade /* animate */, false /* force */); in setDark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java829 final boolean dark = !ContrastColorUtil.isColorLight(backgroundColor); in setBackgroundTintColor()
832 dark ? mDefaultTextColorDarkBg : mDefaultTextColor, in setBackgroundTintColor()
833 backgroundColor | 0xff000000, dark); in setBackgroundTintColor()
835 mDefaultStrokeColor, backgroundColor | 0xff000000, dark, mMinStrokeContrast); in setBackgroundTintColor()
836 int rippleColor = dark ? mRippleColorDarkBg : mRippleColor; in setBackgroundTintColor()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java388 boolean dark = mDarkAmount == 1; in updateDark()
390 mLogoutView.setAlpha(dark ? 0 : 1); in updateDark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java170 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
171 if (mDark == dark) return; in setDark()
172 super.setDark(dark, fade, delay); in setDark()
173 mShelfIcons.setDark(dark, fade, delay); in setDark()
DStatusBarIconView.java858 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
865 }, dark, fade, delay, this); in setDark()
/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()

12