Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java235 NameValuesHolder(int nameConstant, float fromValue, float deltaValue) { in NameValuesHolder() argument
237 mFromValue = fromValue; in NameValuesHolder()
910 float fromValue = getValue(constantName); in animateProperty() local
911 float deltaValue = toValue - fromValue; in animateProperty()
912 animatePropertyBy(constantName, fromValue, deltaValue); in animateProperty()
924 float fromValue = getValue(constantName); in animatePropertyBy() local
925 animatePropertyBy(constantName, fromValue, byValue); in animatePropertyBy()
DMenuItem.java322 return BlendMode.fromValue(mode.nativeInt); in getIconTintBlendMode()
DView.java23838 mode = BlendMode.fromValue(tintMode.nativeInt); in setBackgroundTintMode()
24101 mode = BlendMode.fromValue(tintMode.nativeInt); in setForegroundTintMode()
/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/graphics/java/android/graphics/
DBlendMode.java506 public static @Nullable BlendMode fromValue(int value) { in fromValue() method in BlendMode
DPaint.java1292 return BlendMode.fromValue(mXfermode.porterDuffMode); in getBlendMode()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java756 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode()
879 mBlendMode = BlendMode.fromValue(in.readInt()); in Icon()
DDrawable.java700 BlendMode mode = tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null; in setTintMode()
/frameworks/base/core/java/android/widget/
DProgressBar.java806 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setIndeterminateTintMode()
1115 setProgressTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressTintMode()
1231 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressBackgroundTintMode()
1342 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setSecondaryProgressTintMode()
DAbsSeekBar.java291 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : in setThumbTintMode()
477 setTickMarkTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTickMarkTintMode()
DCheckedTextView.java265 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCheckMarkTintMode()
DCompoundButton.java381 setButtonTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setButtonTintMode()
DSwitch.java595 setTrackTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTrackTintMode()
749 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setThumbTintMode()
DImageView.java680 setImageTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null);
DTextView.java3335 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCompoundDrawableTintMode()
/frameworks/base/config/
Dboot-image-profile.txt7344 HSPLandroid/graphics/BlendMode;->fromValue(I)Landroid/graphics/BlendMode;