Home
last modified time | relevance | path

Searched refs:darkAmount (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DCrossFadeDarkController.java44 void setDarkAmount(float darkAmount) { in setDarkAmount() argument
45 mFadeInView.setAlpha(Math.max(0f, 2f * darkAmount - 1f)); in setDarkAmount()
46 if (darkAmount == 0f) { in setDarkAmount()
53 mFadeOutView.setAlpha(Math.max(0f, 1f - 2f * darkAmount)); in setDarkAmount()
54 if (darkAmount == 1f) { in setDarkAmount()
DClockPalette.kt31 private var darkAmount: Float = 0f variable in com.android.keyguard.clock.ClockPalette
49 hsv[i] = MathUtils.lerp(darkHSV[i], lightHSV[i], darkAmount) in getSecondaryColor()
70 fun setDarkAmount(darkAmount: Float) { in setDarkAmount()
71 this.darkAmount = darkAmount in setDarkAmount()
DAnalogClockController.java195 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
196 mPalette.setDarkAmount(darkAmount); in setDarkAmount()
197 mClockPosition.setDarkAmount(darkAmount); in setDarkAmount()
198 mBigClockView.setDarkAmount(darkAmount); in setDarkAmount()
DBubbleClockController.java188 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
189 mPalette.setDarkAmount(darkAmount); in setDarkAmount()
190 mClockPosition.setDarkAmount(darkAmount); in setDarkAmount()
191 mView.setDarkAmount(darkAmount); in setDarkAmount()
DSmallClockPosition.java62 void setDarkAmount(float darkAmount) { in setDarkAmount() argument
63 mDarkAmount = darkAmount; in setDarkAmount()
DClockLayout.java87 void setDarkAmount(float darkAmount) { in setDarkAmount() argument
88 mDarkAmount = darkAmount; in setDarkAmount()
DDefaultClockController.java169 public void setDarkAmount(float darkAmount) {} in setDarkAmount() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationDozeHelper.java57 public void updateGrayscale(ImageView target, float darkAmount) { in updateGrayscale() argument
58 if (darkAmount > 0) { in updateGrayscale()
59 updateGrayscaleMatrix(darkAmount); in updateGrayscale()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java298 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
299 mDarkAmount = darkAmount; in setDarkAmount()
300 mRow.setDarkAmount(darkAmount); in setDarkAmount()
501 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
502 boolean isAwake = darkAmount != 0; in setDarkAmount()
507 mDarkAmount = darkAmount; in setDarkAmount()
DKeyguardStatusView.java390 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
391 if (mDarkAmount == darkAmount) { in setDarkAmount()
394 mDarkAmount = darkAmount; in setDarkAmount()
395 mClockView.setDarkAmount(darkAmount); in setDarkAmount()
DKeyguardClockSwitch.java335 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
336 mDarkAmount = darkAmount; in setDarkAmount()
338 mClockPlugin.setDarkAmount(darkAmount); in setDarkAmount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java230 float darkAmount = mBypassEnabled && !mHasCustomClock ? 1.0f : mDarkAmount; in getClockY() local
231 return (int) (MathUtils.lerp(clockY, clockYDark, darkAmount) + mEmptyDragAmount); in getClockY()
DKeyguardBottomAreaView.java523 public void setDarkAmount(float darkAmount) { in setDarkAmount() argument
524 if (darkAmount == mDarkAmount) { in setDarkAmount()
527 mDarkAmount = darkAmount; in setDarkAmount()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockPlugin.java113 default void setDarkAmount(float darkAmount) {} in setDarkAmount() argument