/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardBacklightController.java | 598 int toValue = mUseAmbientController ? mAmbientBacklightValue in onBacklightStateChanged() local 600 setBacklightValue(mIsBacklightOn ? toValue : 0); in onBacklightStateChanged() 623 private void setBacklightValue(int toValue) { in setBacklightValue() argument 625 if (fromValue == toValue) { in setBacklightValue() 629 startAnimation(fromValue, toValue); in setBacklightValue() 631 mNative.setLightColor(mDeviceId, mLight.getId(), Color.argb(toValue, 0, 0, 0)); in setBacklightValue() 635 private void startAnimation(int fromValue, int toValue) { in startAnimation() argument 638 mAnimator = mAnimatorFactory.makeIntAnimator(fromValue, toValue); in startAnimation()
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 29 inline constexpr float lerp(float fromValue, float toValue, float fraction) { in lerp() argument 30 return float(fromValue * (1 - fraction) + toValue * fraction); in lerp()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | AnimateSharedAsState.kt | 377 val toValue = sharedValue[transition.toScene] in get() constant 378 return if (fromValue != null && toValue != null) { in get() 379 if (fromValue == toValue) { in get() 395 sharedValue.type.lerp(fromValue, toValue, progress) in get() 397 } else fromValue ?: toValue in get()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 71 String property, float toValue, boolean replace) { in addAnimTo() argument 75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue); in addAnimTo()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
D | Swipeable.kt | 622 fun Density.computeThreshold(fromValue: Float, toValue: Float): Float in computeThreshold() 632 override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float { in computeThreshold() 633 return fromValue + offset.toPx() * sign(toValue - fromValue) in computeThreshold() 647 override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float { in computeThreshold() 648 return lerp(fromValue, toValue, fraction) in computeThreshold()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BlendMode.java | 518 public static int toValue(BlendMode mode) { in toValue() method in BlendMode
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DimmerAnimationHelper.java | 253 AnimationExtremes(T fromValue, T toValue) { in AnimationExtremes() argument 255 mFinishValue = toValue; in AnimationExtremes()
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 913 private void animateProperty(int constantName, float toValue) { in animateProperty() argument 915 float deltaValue = toValue - fromValue; in animateProperty()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 1117 dest.writeInt(BlendMode.toValue(mBlendMode)); in writeToParcel()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 2406 out.writeInt(BlendMode.toValue((BlendMode) this.mValue)); in writeToParcel()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 6078 HSPLandroid/graphics/BlendMode;->toValue(Landroid/graphics/BlendMode;)I
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 6081 HSPLandroid/graphics/BlendMode;->toValue(Landroid/graphics/BlendMode;)I
|