Home
last modified time | relevance | path

Searched refs:toValue (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DKeyboardBacklightController.java598 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/
DPropertyValuesHolder.cpp29 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/
DAnimateSharedAsState.kt377 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/
DDrawableHolder.java71 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/
DSwipeable.kt622 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/
DBlendMode.java518 public static int toValue(BlendMode mode) { in toValue() method in BlendMode
/frameworks/base/services/core/java/com/android/server/wm/
DDimmerAnimationHelper.java253 AnimationExtremes(T fromValue, T toValue) { in AnimationExtremes() argument
255 mFinishValue = toValue; in AnimationExtremes()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java913 private void animateProperty(int constantName, float toValue) { in animateProperty() argument
915 float deltaValue = toValue - fromValue; in animateProperty()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java1117 dest.writeInt(BlendMode.toValue(mBlendMode)); in writeToParcel()
/frameworks/base/core/java/android/widget/
DRemoteViews.java2406 out.writeInt(BlendMode.toValue((BlendMode) this.mValue)); in writeToParcel()
/frameworks/base/boot/
Dboot-image-profile.txt6078 HSPLandroid/graphics/BlendMode;->toValue(Landroid/graphics/BlendMode;)I
/frameworks/base/config/
Dboot-image-profile.txt6081 HSPLandroid/graphics/BlendMode;->toValue(Landroid/graphics/BlendMode;)I