Home
last modified time | relevance | path

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

12

/frameworks/support/v17/leanback/tests/java/android/support/v17/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.java42 Parallax<Parallax.FloatProperty> mSource;
54 mSource = new Parallax<Parallax.FloatProperty>() { in setUp()
62 public FloatProperty createProperty(String name, int index) { in setUp()
63 return new FloatProperty(name, index); in setUp()
72 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testOneVariable()
120 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_BEFORE); in testOneVariable()
126 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_AFTER); in testOneVariable()
135 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testVerifyKeyValueOfSameVariableInDesendantOrder()
146 Parallax.FloatProperty var1 = mSource.addProperty("var1"); in testTwoVariable()
147 Parallax.FloatProperty var2 = mSource.addProperty("var2"); in testTwoVariable()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DParallax.java256 public static class FloatProperty extends Property<Parallax, Float> { class in Parallax
278 public FloatProperty(String name, int index) { in FloatProperty() method in Parallax.FloatProperty
380 static class FloatPropertyMarkerValue extends PropertyMarkerValue<FloatProperty> {
384 FloatPropertyMarkerValue(FloatProperty property, float value) { in FloatPropertyMarkerValue()
388 FloatPropertyMarkerValue(FloatProperty property, float value, float fractionOfMax) { in FloatPropertyMarkerValue()
466 } else if (property instanceof FloatProperty) { in addProperty()
475 mFloatValues[newPropertyIndex] = FloatProperty.UNKNOWN_AFTER; in addProperty()
522 } else if (last == FloatProperty.UNKNOWN_BEFORE && v in verifyFloatProperties()
523 == FloatProperty.UNKNOWN_AFTER) { in verifyFloatProperties()
DParallaxEffect.java20 import android.support.v17.leanback.widget.Parallax.FloatProperty;
394 Number currentValue = ((FloatProperty) mMarkerValues.get(0).getProperty()).get(source); in calculateDirectValue()
425 if (currentValue == FloatProperty.UNKNOWN_AFTER) { in calculateFraction()
439 } 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/base/graphics/java/android/graphics/drawable/
DRippleForeground.java28 import android.util.FloatProperty;
386 private static final FloatProperty<RippleForeground> TWEEN_RADIUS =
387 new FloatProperty<RippleForeground>("tweenRadius") {
403 private static final FloatProperty<RippleForeground> TWEEN_ORIGIN =
404 new FloatProperty<RippleForeground>("tweenOrigin") {
421 private static final FloatProperty<RippleForeground> OPACITY =
422 new FloatProperty<RippleForeground>("opacity") {
DRippleBackground.java27 import android.util.FloatProperty;
173 private static abstract class BackgroundProperty extends FloatProperty<RippleBackground> {
DVectorDrawable.java37 import android.util.FloatProperty;
847 new FloatProperty<VectorDrawableState>("alpha") {
1084 new FloatProperty<VGroup> ("translateX") {
1097 new FloatProperty<VGroup> ("translateY") {
1110 new FloatProperty<VGroup> ("scaleX") {
1123 new FloatProperty<VGroup> ("scaleY") {
1136 new FloatProperty<VGroup> ("pivotX") {
1149 new FloatProperty<VGroup> ("pivotY") {
1162 new FloatProperty<VGroup> ("rotation") {
1662 new FloatProperty<VFullPath> ("strokeWidth") {
[all …]
/frameworks/support/dynamic-animation/src/android/support/animation/
DFloatPropertyCompat.java20 import android.util.FloatProperty;
56 final FloatProperty<T> property) { in createFloatPropertyCompat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
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.java23 import android.util.FloatProperty;
94 public static final FloatProperty<DisplayPowerState> COLOR_FADE_LEVEL =
95 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/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java23 import android.util.FloatProperty;
52 new FloatProperty<TaskStackViewScroller>("stackScroll") {
DTaskView.java31 import android.util.FloatProperty;
84 new FloatProperty<TaskView>("dimAlphaWithoutHeader") {
101 new FloatProperty<TaskView>("dimAlpha") {
118 new FloatProperty<TaskView>("viewOutlineAlpha") {
/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/statusbar/
DStatusBarIconView.java41 import android.util.FloatProperty;
68 = new FloatProperty<StatusBarIconView>("iconAppearAmount") {
81 = new FloatProperty<StatusBarIconView>("dot_appear_amount") {
DExpandableNotificationRow.java37 import android.util.FloatProperty;
210 new FloatProperty<ExpandableNotificationRow>("translate") {
/frameworks/base/core/java/android/widget/
DSwitch.java43 import android.util.FloatProperty;
1453 private static final FloatProperty<Switch> THUMB_POS = new FloatProperty<Switch>("thumbPos") {
DRadialTimePickerView.java34 import android.util.FloatProperty;
115 private final FloatProperty<RadialTimePickerView> HOURS_TO_MINUTES =
116 new FloatProperty<RadialTimePickerView>("hoursToMinutes") {
DProgressBar.java42 import android.util.FloatProperty;
2073 private final FloatProperty<ProgressBar> VISUAL_PROGRESS =
2074 new FloatProperty<ProgressBar>("visual_progress") {
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java58 import android.util.FloatProperty;
1186 public static final FloatProperty<RowScale> PROPERTY =
1187 new FloatProperty<RowScale>("scale") {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java34 import android.util.FloatProperty;
95 private static final FloatProperty<NotificationPanelView> SET_DARK_AMOUNT_PROPERTY =
96 new FloatProperty<NotificationPanelView>("mDarkAmount") {
/frameworks/base/core/java/android/view/
DView.java78 import android.util.FloatProperty;
24299 public static final Property<View, Float> ALPHA = new FloatProperty<View>("alpha") {
24315 …public static final Property<View, Float> TRANSLATION_X = new FloatProperty<View>("translationX") {
24331 …public static final Property<View, Float> TRANSLATION_Y = new FloatProperty<View>("translationY") {
24347 …public static final Property<View, Float> TRANSLATION_Z = new FloatProperty<View>("translationZ") {
24363 public static final Property<View, Float> X = new FloatProperty<View>("x") {
24379 public static final Property<View, Float> Y = new FloatProperty<View>("y") {
24395 public static final Property<View, Float> Z = new FloatProperty<View>("z") {
24411 public static final Property<View, Float> ROTATION = new FloatProperty<View>("rotation") {
24427 public static final Property<View, Float> ROTATION_X = new FloatProperty<View>("rotationX") {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java42 import android.util.FloatProperty;
347 new FloatProperty<NotificationStackScrollLayout>("backgroundFade") {
/frameworks/support/api/
D26.0.0-alpha1.txt4029 …x<FloatPropertyT extends android.support.v17.leanback.widget.Parallax.FloatProperty> extends andro…
4038 public static class Parallax.FloatProperty extends android.util.Property {
4039 ctor public Parallax.FloatProperty(java.lang.String, int);
4051 …rallax.FloatPropertyMarkerValue(android.support.v17.leanback.widget.Parallax.FloatProperty, float);
4052 …FloatPropertyMarkerValue(android.support.v17.leanback.widget.Parallax.FloatProperty, float, float);

12