Home
last modified time | relevance | path

Searched refs:FloatProperty (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DParallaxFloatTest.java35 Parallax<Parallax.FloatProperty> mSource;
44 mSource = new Parallax<Parallax.FloatProperty>() { in setUp()
52 public FloatProperty createProperty(String name, int index) { in setUp()
53 return new FloatProperty(name, index); in setUp()
61 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testVariable()
72 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testFixedKeyValue()
83 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testFractionOfKeyValue()
94 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testFixedKeyValueWithFraction()
109 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testVerifyFloatPropertys_wrongOrder()
110 Parallax.FloatProperty var2 = mSource.addProperty("var2"); in testVerifyFloatPropertys_wrongOrder()
[all …]
DParallaxFloatEffectTest.java40 Parallax<Parallax.FloatProperty> mSource;
52 mSource = new Parallax<Parallax.FloatProperty>() { in setUp()
60 public FloatProperty createProperty(String name, int index) { in setUp()
61 return new FloatProperty(name, index); in setUp()
70 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testOneVariable()
118 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_BEFORE); in testOneVariable()
124 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_AFTER); in testOneVariable()
133 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testVerifyKeyValueOfSameVariableInDesendantOrder()
144 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testTwoVariable()
145 Parallax.FloatProperty var2 = mSource.addProperty("var2"); in testTwoVariable()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DParallax.java257 public static class FloatProperty extends Property<Parallax, Float> { class in Parallax
279 public FloatProperty(String name, int index) { in FloatProperty() method in Parallax.FloatProperty
381 static class FloatPropertyMarkerValue extends PropertyMarkerValue<FloatProperty> {
385 FloatPropertyMarkerValue(FloatProperty property, float value) { in FloatPropertyMarkerValue()
389 FloatPropertyMarkerValue(FloatProperty property, float value, float fractionOfMax) { in FloatPropertyMarkerValue()
467 } else if (property instanceof FloatProperty) { in addProperty()
476 mFloatValues[newPropertyIndex] = FloatProperty.UNKNOWN_AFTER; in addProperty()
523 } else if (last == FloatProperty.UNKNOWN_BEFORE && v in verifyFloatProperties()
524 == FloatProperty.UNKNOWN_AFTER) { in verifyFloatProperties()
DParallaxEffect.java23 import androidx.leanback.widget.Parallax.FloatProperty;
399 Number currentValue = ((FloatProperty) mMarkerValues.get(0).getProperty()).get(source); in calculateDirectValue()
430 if (currentValue == FloatProperty.UNKNOWN_AFTER) { in calculateFraction()
444 } else if (lastValue != FloatProperty.UNKNOWN_BEFORE) { in calculateFraction()
/frameworks/base/core/java/android/util/
DFloatProperty.java27 public abstract class FloatProperty<T> extends Property<T, Float> { class
29 public FloatProperty(String name) { in FloatProperty() method in FloatProperty
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DFloatPropertyCompat.java19 import android.util.FloatProperty;
57 final FloatProperty<T> property) { in createFloatPropertyCompat()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java27 import android.util.FloatProperty;
421 private static final FloatProperty<RippleForeground> TWEEN_RADIUS =
422 new FloatProperty<RippleForeground>("tweenRadius") {
438 private static final FloatProperty<RippleForeground> TWEEN_ORIGIN =
439 new FloatProperty<RippleForeground>("tweenOrigin") {
456 private static final FloatProperty<RippleForeground> OPACITY =
457 new FloatProperty<RippleForeground>("opacity") {
DRippleBackground.java24 import android.util.FloatProperty;
102 private static abstract class BackgroundProperty extends FloatProperty<RippleBackground> {
DVectorDrawable.java38 import android.util.FloatProperty;
939 new FloatProperty<VectorDrawableState>("alpha") {
1176 new FloatProperty<VGroup> ("translateX") {
1189 new FloatProperty<VGroup> ("translateY") {
1202 new FloatProperty<VGroup> ("scaleX") {
1215 new FloatProperty<VGroup> ("scaleY") {
1228 new FloatProperty<VGroup> ("pivotX") {
1241 new FloatProperty<VGroup> ("pivotY") {
1254 new FloatProperty<VGroup> ("rotation") {
1754 new FloatProperty<VFullPath> ("strokeWidth") {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickStepController.java41 import android.util.FloatProperty;
99 private final FloatProperty<QuickStepController> mTrackAlphaProperty =
100 new FloatProperty<QuickStepController>("TrackAlpha") {
113 private final FloatProperty<QuickStepController> mTrackScaleProperty =
114 new FloatProperty<QuickStepController>("TrackScale") {
127 private final FloatProperty<QuickStepController> mNavBarAlphaProperty =
128 new FloatProperty<QuickStepController>("NavBarAlpha") {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAnimatableProperty.java19 import android.util.FloatProperty;
48 Property<T, Float> property = new FloatProperty<T>(name) { in from()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java36 import android.util.FloatProperty;
108 private final FloatProperty mSlashLengthProp = new FloatProperty<SlashDrawable>("slashLength") {
DTouchAnimator.java17 import android.util.FloatProperty;
78 private static final FloatProperty<TouchAnimator> POSITION =
79 new FloatProperty<TouchAnimator>("position") {
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerState.java24 import android.util.FloatProperty;
96 public static final FloatProperty<DisplayPowerState> COLOR_FADE_LEVEL =
97 new FloatProperty<DisplayPowerState>("electronBeamLevel") {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java30 import android.util.FloatProperty;
53 private FloatProperty<View> mEffectiveProperty = new FloatProperty<View>("TEST") {
/frameworks/base/core/java/android/animation/
DPropertyValuesHolder.java21 import android.util.FloatProperty;
1302 private FloatProperty mFloatProperty;
1319 if (property instanceof FloatProperty) { in FloatPropertyValuesHolder()
1320 mFloatProperty = (FloatProperty) mProperty; in FloatPropertyValuesHolder()
1332 if (property instanceof FloatProperty) { in FloatPropertyValuesHolder()
1333 mFloatProperty = (FloatProperty) mProperty; in FloatPropertyValuesHolder()
1339 if (property instanceof FloatProperty) { in setProperty()
1340 mFloatProperty = (FloatProperty) property; in setProperty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskView.java29 import android.util.FloatProperty;
83 new FloatProperty<TaskView>("dimAlphaWithoutHeader") {
100 new FloatProperty<TaskView>("dimAlpha") {
117 new FloatProperty<TaskView>("viewOutlineAlpha") {
DTaskStackViewScroller.java25 import android.util.FloatProperty;
58 new FloatProperty<TaskStackViewScroller>("stackScroll") {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java44 import android.util.FloatProperty;
84 = new FloatProperty<StatusBarIconView>("iconAppearAmount") {
97 = new FloatProperty<StatusBarIconView>("dot_appear_amount") {
/frameworks/base/core/java/android/widget/
DSwitch.java44 import android.util.FloatProperty;
1458 private static final FloatProperty<Switch> THUMB_POS = new FloatProperty<Switch>("thumbPos") {
/frameworks/support/dynamic-animation/api_legacy/
D26.0.0.txt60 ….support.animation.FloatPropertyCompat<T> createFloatPropertyCompat(android.util.FloatProperty<T>);
Dcurrent.txt60 ….support.animation.FloatPropertyCompat<T> createFloatPropertyCompat(android.util.FloatProperty<T>);
D28.0.0-alpha1.txt60 ….support.animation.FloatPropertyCompat<T> createFloatPropertyCompat(android.util.FloatProperty<T>);
D27.1.0.txt60 ….support.animation.FloatPropertyCompat<T> createFloatPropertyCompat(android.util.FloatProperty<T>);
D26.1.0.txt60 ….support.animation.FloatPropertyCompat<T> createFloatPropertyCompat(android.util.FloatProperty<T>);

12