Searched refs:fromValue (Results 1 – 16 of 16) sorted by relevance
163 LazyFieldLite field1 = LazyFieldLite.fromValue(message1); in testMergeOneNotParsed()170 field1 = LazyFieldLite.fromValue(message1); in testMergeOneNotParsed()180 LazyFieldLite valid = LazyFieldLite.fromValue(message); in testMergeInvalid()200 LazyFieldLite field = LazyFieldLite.fromValue(messageWithExtensions); in testMergeKeepsExtensionsWhenPossible()206 field.merge(LazyFieldLite.fromValue(messageWithExtensions)); in testMergeKeepsExtensionsWhenPossible()210 field = LazyFieldLite.fromValue(messageWithExtensions); in testMergeKeepsExtensionsWhenPossible()219 other = LazyFieldLite.fromValue(messageWithExtensions); in testMergeKeepsExtensionsWhenPossible()231 LazyFieldLite field = LazyFieldLite.fromValue(message1); in testMergeMightLoseExtensions()232 field.merge(LazyFieldLite.fromValue(message2)); in testMergeMightLoseExtensions()
235 NameValuesHolder(int nameConstant, float fromValue, float deltaValue) { in NameValuesHolder() argument237 mFromValue = fromValue; in NameValuesHolder()910 float fromValue = getValue(constantName); in animateProperty() local911 float deltaValue = toValue - fromValue; in animateProperty()912 animatePropertyBy(constantName, fromValue, deltaValue); in animateProperty()924 float fromValue = getValue(constantName); in animatePropertyBy() local925 animatePropertyBy(constantName, fromValue, byValue); in animatePropertyBy()
322 return BlendMode.fromValue(mode.nativeInt); in getIconTintBlendMode()
29 inline constexpr float lerp(float fromValue, float toValue, float fraction) { in lerp() argument30 return float(fromValue * (1 - fraction) + toValue * fraction); in lerp()
506 public static @Nullable BlendMode fromValue(int value) { in fromValue() method in BlendMode
1292 return BlendMode.fromValue(mXfermode.porterDuffMode); in getBlendMode()
132 public static LazyFieldLite fromValue(MessageLite value) { in fromValue() method in LazyFieldLite
701 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode()822 mBlendMode = BlendMode.fromValue(in.readInt()); in Icon()
700 BlendMode mode = tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null; in setTintMode()
804 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setIndeterminateTintMode()1113 setProgressTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressTintMode()1229 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressBackgroundTintMode()1340 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setSecondaryProgressTintMode()
287 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : in setThumbTintMode()473 setTickMarkTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTickMarkTintMode()
265 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCheckMarkTintMode()
341 setButtonTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setButtonTintMode()
593 setTrackTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTrackTintMode()747 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setThumbTintMode()
678 setImageTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null);
3309 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCompoundDrawableTintMode()