/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
H A D | AnimateSharedAsState.kt | 150 val fromValue = sceneValue(state.fromScene) regex 152 return if (fromValue != null && toValue != null) { 154 lerp(fromValue.value, toValue.value, progress) 155 } else if (fromValue != null) { 156 fromValue.value
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ViewPropertyAnimator.java | 238 NameValuesHolder(int nameConstant, float fromValue, float deltaValue) { in NameValuesHolder() argument 240 mFromValue = fromValue; in NameValuesHolder() 914 float fromValue = getValue(constantName); in animateProperty() local 915 float deltaValue = toValue - fromValue; in animateProperty() 916 animatePropertyBy(constantName, fromValue, deltaValue); in animateProperty() 928 float fromValue = getValue(constantName); in animatePropertyBy() local 929 animatePropertyBy(constantName, fromValue, byValue); in animatePropertyBy()
|
H A D | MenuItem.java | 319 return BlendMode.fromValue(mode.nativeInt); in getIconTintBlendMode()
|
H A D | View.java | 25437 mode = BlendMode.fromValue(tintMode.nativeInt); in setBackgroundTintMode() 25702 mode = BlendMode.fromValue(tintMode.nativeInt); in setForegroundTintMode()
|
/aosp14/frameworks/base/libs/hwui/ |
H A 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()
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
H A D | Swipeable.kt | 622 fun Density.computeThreshold(fromValue: Float, toValue: Float): Float 632 override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float { 633 return fromValue + offset.toPx() * sign(toValue - fromValue) 647 override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float { 648 return lerp(fromValue, toValue, fraction)
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | KeyboardBacklightController.java | 624 int fromValue = Color.alpha(mNative.getLightColor(mDeviceId, mLight.getId())); in setBacklightValue() local 625 if (fromValue == toValue) { in setBacklightValue() 629 startAnimation(fromValue, toValue); in setBacklightValue() 635 private void startAnimation(int fromValue, int toValue) { in startAnimation() argument 638 mAnimator = mAnimatorFactory.makeIntAnimator(fromValue, toValue); in startAnimation()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | BlendMode.java | 506 public static @Nullable BlendMode fromValue(int value) { in fromValue() method in BlendMode
|
H A D | Paint.java | 1346 return BlendMode.fromValue(mXfermode.porterDuffMode); in getBlendMode()
|
/aosp14/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 146 displayIdOpt = DisplayId::fromValue(atoll(optarg)); in main()
|
/aosp14/frameworks/base/services/core/jni/ |
H A D | com_android_server_display_DisplayControl.cpp | 171 const auto id = DisplayId::fromValue<PhysicalDisplayId>(physicalDisplayId); in nativeGetPhysicalDisplayToken()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 813 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setIndeterminateTintMode() 1123 setProgressTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressTintMode() 1240 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressBackgroundTintMode() 1353 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setSecondaryProgressTintMode()
|
H A D | AbsSeekBar.java | 293 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : in setThumbTintMode() 479 setTickMarkTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTickMarkTintMode()
|
H A D | CheckedTextView.java | 265 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCheckMarkTintMode()
|
H A D | CompoundButton.java | 410 setButtonTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setButtonTintMode()
|
H A D | Switch.java | 638 setTrackTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setTrackTintMode() 819 setThumbTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setThumbTintMode()
|
H A D | ImageView.java | 686 setImageTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null);
|
H A D | RemoteViews.java | 2151 this.value = BlendMode.fromValue(in.readInt()); in ReflectionAction()
|
H A D | TextView.java | 3575 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setCompoundDrawableTintMode()
|
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Icon.java | 835 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode() 963 mBlendMode = BlendMode.fromValue(in.readInt()); in Icon()
|
H A D | Drawable.java | 695 BlendMode mode = tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null; in setTintMode()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 923 transaction->setLayerStack(ctrl, ui::LayerStack::fromValue(layerStack)); in nativeSetLayerStack() 1097 transaction->setDisplayLayerStack(token, ui::LayerStack::fromValue(layerStack)); in nativeSetDisplayLayerStack()
|
/aosp14/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 6141 HSPLandroid/graphics/BlendMode;->fromValue(I)Landroid/graphics/BlendMode;
|
/aosp14/frameworks/base/config/ |
H A D | boot-image-profile.txt | 6144 HSPLandroid/graphics/BlendMode;->fromValue(I)Landroid/graphics/BlendMode;
|