Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyFieldLiteTest.java163 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()
/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()
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java132 public static LazyFieldLite fromValue(MessageLite value) { in fromValue() method in LazyFieldLite
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java701 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode()
822 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.java804 ? 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()
DAbsSeekBar.java287 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : in setThumbTintMode()
473 setTickMarkTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTickMarkTintMode()
DCheckedTextView.java265 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCheckMarkTintMode()
DCompoundButton.java341 setButtonTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setButtonTintMode()
DSwitch.java593 setTrackTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTrackTintMode()
747 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setThumbTintMode()
DImageView.java678 setImageTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null);
DTextView.java3309 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCompoundDrawableTintMode()