OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toValue
(Results
1 - 25
of
33
) sorted by null
1
2
/external/proguard/src/proguard/gui/splash/
LinearDouble.java
31
private final double
toValue
;
38
* @param
toValue
the value that corresponds to a timing of 1.
41
public LinearDouble(double fromValue, double
toValue
, Timing timing)
44
this.
toValue
=
toValue
;
53
return fromValue + timing.getTiming(time) * (
toValue
- fromValue);
LinearInt.java
31
private final int
toValue
;
38
* @param
toValue
the value that corresponds to a timing of 1.
41
public LinearInt(int fromValue, int
toValue
, Timing timing)
44
this.
toValue
=
toValue
;
53
return (int) (fromValue + timing.getTiming(time) * (
toValue
- fromValue));
LinearColor.java
33
private final Color
toValue
;
43
* @param
toValue
the value that corresponds to a timing of 1.
46
public LinearColor(Color fromValue, Color
toValue
, Timing timing)
49
this.
toValue
=
toValue
;
64
t == 1.0 ?
toValue
:
65
new Color((int)(fromValue.getRed() + t * (
toValue
.getRed() - fromValue.getRed())),
66
(int)(fromValue.getGreen() + t * (
toValue
.getGreen() - fromValue.getGreen())),
67
(int)(fromValue.getBlue() + t * (
toValue
.getBlue() - fromValue.getBlue())));
/packages/apps/Launcher2/src/com/android/launcher2/
InterruptibleInOutAnimator.java
48
public InterruptibleInOutAnimator(View view, long duration, float fromValue, float
toValue
) {
49
mAnimator = LauncherAnimUtils.ofFloat(view, fromValue,
toValue
).setDuration(duration);
52
mOriginalToValue =
toValue
;
64
final float
toValue
= (direction == IN) ? mOriginalToValue : mOriginalFromValue;
71
// TODO: We don't really need to do the animation if startValue ==
toValue
, but
79
mAnimator.setFloatValues(startValue,
toValue
);
/packages/apps/Launcher3/src/com/android/launcher3/
InterruptibleInOutAnimator.java
48
public InterruptibleInOutAnimator(View view, long duration, float fromValue, float
toValue
) {
49
mAnimator = LauncherAnimUtils.ofFloat(view, fromValue,
toValue
).setDuration(duration);
52
mOriginalToValue =
toValue
;
64
final float
toValue
= (direction == IN) ? mOriginalToValue : mOriginalFromValue;
71
// TODO: We don't really need to do the animation if startValue ==
toValue
, but
79
mAnimator.setFloatValues(startValue,
toValue
);
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSCrossfadeValue.h
45
static PassRefPtrWillBeRawPtr<CSSCrossfadeValue> create(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWillBeRawPtr<CSSValue>
toValue
)
47
return adoptRefWillBeNoop(new CSSCrossfadeValue(fromValue,
toValue
));
72
CSSCrossfadeValue(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWillBeRawPtr<CSSValue>
toValue
)
75
, m_toValue(
toValue
)
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
AnimatableImage.cpp
56
CSSValue*
toValue
= toAnimatableImage(value)->toCSSValue();
58
RefPtrWillBeRawPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(fromValue,
toValue
);
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGAnimatedColor.cpp
61
void SVGColorProperty::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
64
StyleColor toStyleColor = toSVGColorProperty(
toValue
)->m_styleColor;
91
float SVGColorProperty::calculateDistance(PassRefPtr<SVGPropertyBase>
toValue
, SVGElement* contextElement)
97
Color toColor = toSVGColorProperty(
toValue
)->m_styleColor.resolve(fallbackColor);
SVGNumberList.h
59
virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) OVERRIDE;
SVGPointList.h
59
virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) OVERRIDE;
SVGLength.cpp
414
float
toValue
= valueInSpecifiedUnits();
416
length->newValueSpecifiedUnits(fromType, blink::blend(fromValue,
toValue
, progress));
418
length->newValueSpecifiedUnits(toType, blink::blend(fromValue,
toValue
, progress));
435
float
toValue
= valueInSpecifiedUnits();
436
length->newValueSpecifiedUnits(toType, blink::blend(fromValue,
toValue
, progress));
447
void SVGLength::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
450
RefPtr<SVGLength> toLength = toSVGLength(
toValue
);
462
float SVGLength::calculateDistance(PassRefPtr<SVGPropertyBase>
toValue
, SVGElement* contextElement)
465
RefPtr<SVGLength> toLength = toSVGLength(
toValue
);
SVGAnimatedTypeAnimator.cpp
235
RefPtr<SVGPropertyBase>
toValue
= to;
242
m_animationElement->adjustForInheritance<RefPtr<SVGPropertyBase>, ParsePropertyFromString>(parsePropertyFromString, m_animationElement->toPropertyValueType(),
toValue
, m_contextElement);
244
animatedValue->calculateAnimatedValue(m_animationElement, percentage, repeatCount, fromValue,
toValue
, toAtEndOfDurationValue, m_contextElement);
252
RefPtr<SVGPropertyBase>
toValue
= createPropertyForAnimation(toString);
253
return fromValue->calculateDistance(
toValue
, m_contextElement);
SVGLengthList.h
61
virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) OVERRIDE;
SVGStringList.h
81
virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) OVERRIDE;
SVGTransformList.h
67
virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) OVERRIDE;
SVGNumberList.cpp
116
void SVGNumberList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
119
RefPtr<SVGNumberList> toList = toSVGNumberList(
toValue
);
SVGPointList.cpp
132
void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
135
RefPtr<SVGPointList> toList = toSVGPointList(
toValue
);
SVGRect.cpp
128
void SVGRect::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
132
RefPtr<SVGRect> toRect = toSVGRect(
toValue
);
SVGTransformList.cpp
296
void SVGTransformList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
306
RefPtr<SVGTransformList> toList = toSVGTransformList(
toValue
);
335
float SVGTransformList::calculateDistance(PassRefPtr<SVGPropertyBase>
toValue
, SVGElement*)
340
RefPtr<SVGTransformList> toList = toSVGTransformList(
toValue
);
SVGPreserveAspectRatio.cpp
400
void SVGPreserveAspectRatio::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase>, SVGElement*)
407
RefPtr<SVGPreserveAspectRatio> preserveAspectRatioToUse = useToValue ? toSVGPreserveAspectRatio(
toValue
) : toSVGPreserveAspectRatio(fromValue);
413
float SVGPreserveAspectRatio::calculateDistance(PassRefPtr<SVGPropertyBase>
toValue
, SVGElement* contextElement)
SVGPathBlender.cpp
57
float
toValue
= blendMode == BlendHorizontal ? m_toCurrentPoint.x() : m_toCurrentPoint.y();
60
float animValue = blend(from, m_fromMode == AbsoluteCoordinates ? to +
toValue
: to -
toValue
, m_progress);
66
float currentValue = blend(fromValue,
toValue
, m_progress);
SVGPoint.cpp
125
void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
SVGLengthList.cpp
137
void SVGLengthList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
140
RefPtr<SVGLengthList> toList = toSVGLengthList(
toValue
);
SVGPathSegList.cpp
170
void SVGPathSegList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase>
toValue
, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
178
const RefPtr<SVGPathSegList> to = toSVGPathSegList(
toValue
);
/frameworks/base/core/java/com/android/internal/widget/
DrawableHolder.java
67
* @param
toValue
the target value
71
String property, float
toValue
, boolean replace) {
75
ObjectAnimator anim = ObjectAnimator.ofFloat(this, property,
toValue
);
Completed in 419 milliseconds
1
2