Home
last modified time | relevance | path

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

/external/proguard/src/proguard/gui/splash/
DLinearColor.java32 private final Color fromValue; field in LinearColor
46 public LinearColor(Color fromValue, Color toValue, Timing timing) in LinearColor() argument
48 this.fromValue = fromValue; in LinearColor()
63 t == 0.0 ? fromValue : in getColor()
65 … new Color((int)(fromValue.getRed() + t * (toValue.getRed() - fromValue.getRed())), in getColor()
66 … (int)(fromValue.getGreen() + t * (toValue.getGreen() - fromValue.getGreen())), in getColor()
67 … (int)(fromValue.getBlue() + t * (toValue.getBlue() - fromValue.getBlue()))); in getColor()
DLinearDouble.java30 private final double fromValue; field in LinearDouble
41 public LinearDouble(double fromValue, double toValue, Timing timing) in LinearDouble() argument
43 this.fromValue = fromValue; in LinearDouble()
53 return fromValue + timing.getTiming(time) * (toValue - fromValue); in getDouble()
DLinearInt.java30 private final int fromValue; field in LinearInt
41 public LinearInt(int fromValue, int toValue, Timing timing) in LinearInt() argument
43 this.fromValue = fromValue; in LinearInt()
53 return (int) (fromValue + timing.getTiming(time) * (toValue - fromValue)); in getInt()
/external/webkit/Source/WebCore/platform/graphics/android/
DAndroidAnimation.cpp265 FloatAnimationValue* fromValue = (FloatAnimationValue*) m_operations->at(from); in applyForProgress() local
270 fromValue, fromValue->keyTime(), in applyForProgress()
276 const TimingFunction* timingFunction = fromValue->timingFunction(); in applyForProgress()
277 progress = applyTimingFunction(fromValue->keyTime(), toValue->keyTime(), in applyForProgress()
281 float value = fromValue->value() + ((toValue->value() - fromValue->value()) * progress); in applyForProgress()
317 TransformAnimationValue* fromValue = (TransformAnimationValue*) m_operations->at(from); in applyForProgress() local
322 fromValue, fromValue->keyTime(), in applyForProgress()
328 const TimingFunction* timingFunction = fromValue->timingFunction(); in applyForProgress()
329 float p = applyTimingFunction(fromValue->keyTime(), toValue->keyTime(), in applyForProgress()
331 XLOG("progress %.2f => %.2f from: %.2f to: %.2f", progress, p, fromValue->keyTime(), in applyForProgress()
[all …]
/external/webkit/Source/WebCore/bridge/qt/
Dqt_pixmapruntime.cpp277 data = QVariant::fromValue<QPixmap>(pixmap); in toPixmap()
291 data = QVariant::fromValue<QImage>(image); in toImage()
323 ? QVariant::fromValue<QPixmap>(*pixmap) in variantFromObject()
324 : QVariant::fromValue<QImage>(pixmap->toImage()); in variantFromObject()
334 return QVariant::fromValue<QPixmap>(instance->toPixmap()); in variantFromObject()
337 return QVariant::fromValue<QImage>(instance->toImage()); in variantFromObject()
342 return QVariant::fromValue<QPixmap>(QPixmap()); in variantFromObject()
344 return QVariant::fromValue<QImage>(QImage()); in variantFromObject()
Dqt_runtime.cpp590 ret = QVariant::fromValue(realRe); in convertValueToQVariant()
601 ret = QVariant::fromValue(re); in convertValueToQVariant()
613 ret = QVariant::fromValue(qtinst->getObject()); in convertValueToQVariant()
624 ret = QVariant::fromValue(nullobj); in convertValueToQVariant()
637 ret = QVariant::fromValue((void *)qtinst->getObject()); in convertValueToQVariant()
647 ret = QVariant::fromValue((void*)0); in convertValueToQVariant()
679 ret = QVariant::fromValue(result); in convertValueToQVariant()
698 ret = QVariant::fromValue(result); in convertValueToQVariant()
708 ret = QVariant::fromValue(result); in convertValueToQVariant()
730 ret = QVariant::fromValue(result); in convertValueToQVariant()
[all …]
Dqt_instance.cpp354 val = QVariant::fromValue((QObject*) m_childObject); in valueFromInstance()
/external/webkit/Tools/QtTestBrowser/
Dwebview.cpp250 setProperty("mouseButtons", QVariant::fromValue(int(event->buttons()))); in mousePressEvent()
251 setProperty("keyboardModifiers", QVariant::fromValue(int(event->modifiers()))); in mousePressEvent()
258 setProperty("mouseButtons", QVariant::fromValue(int(event->buttons()))); in mousePressEvent()
259 setProperty("keyboardModifiers", QVariant::fromValue(int(event->modifiers()))); in mousePressEvent()
/external/webkit/Source/WebCore/platform/
DLength.h196 float fromValue = from.isZero() ? 0 : from.value(); in blend() local
198 return Length(fromValue + (toValue - fromValue) * progress, resultType); in blend()
/external/webkit/Source/WebKit/qt/tests/qdeclarativewebview/
Dtst_qdeclarativewebview.cpp299 wv->setProperty("newWindowComponent", QVariant::fromValue(&substituteComponent)); in newWindowComponent()
300 QCOMPARE(wv->property("newWindowComponent"), QVariant::fromValue(&substituteComponent)); in newWindowComponent()
303 wv->setProperty("newWindowComponent", QVariant::fromValue(&substituteComponent)); in newWindowComponent()
306 wv->setProperty("newWindowComponent", QVariant::fromValue((QDeclarativeComponent*)0)); in newWindowComponent()
326 wv->setProperty("newWindowParent", QVariant::fromValue(newWindowParent)); in newWindowParent()
330 QCOMPARE(wv->property("newWindowParent"), QVariant::fromValue(newWindowParent)); in newWindowParent()
333 wv->setProperty("newWindowParent", QVariant::fromValue(newWindowParent)); in newWindowParent()
336 wv->setProperty("newWindowParent", QVariant::fromValue((QDeclarativeItem*)0)); in newWindowParent()
/external/webkit/Source/WebCore/svg/
DSVGAnimationElement.cpp228 return fromValue().isEmpty() ? ToAnimation : FromToAnimation; in animationMode()
230 return fromValue().isEmpty() ? ByAnimation : FromByAnimation; in animationMode()
274 String SVGAnimationElement::fromValue() const in fromValue() function in WebCore::SVGAnimationElement
507 String from = fromValue(); in startedActiveInterval()
DSVGAnimationElement.h74 String fromValue() const;
DSVGPathBlender.cpp53 … float fromValue = blendMode == BlendHorizontal ? m_fromCurrentPoint.x() : m_fromCurrentPoint.y(); in blendAnimatedDimensonalFloat() local
63 float currentValue = blendAnimatedFloat(fromValue, toValue, m_progress); in blendAnimatedDimensonalFloat()
/external/webkit/Source/WebKit/qt/tests/qwebframe/
Dtst_qwebframe.cpp116 m_variantMapValue.insert("c", QVariant::fromValue<QObject*>(this)); in Q_DECLARE_FLAGS()
311 m_actuals << QVariant::fromValue(lst); in myInvokableWithQObjectListArg()
326 m_actuals << QVariant::fromValue(lst); in myInvokableWithListOfIntArg()
331 m_actuals << QVariant::fromValue(obj); in myInvokableWithQObjectStarArg()
336 m_actuals << QVariant::fromValue(brush); in myInvokableWithQBrushArg()
341 m_actuals << QVariant::fromValue(style); in myInvokableWithBrushStyleArg()
345 m_actuals << QVariant::fromValue(arg); in myInvokableWithVoidStarArg()
349 m_actuals << QVariant::fromValue(arg); in myInvokableWithAmbiguousArg()
353 m_actuals << QVariant::fromValue(arg); in myInvokableWithAmbiguousArg()
357 m_actuals << QVariant::fromValue(arg1) << qVariantFromValue(arg2); in myInvokableWithDefaultArgs()
[all …]
/external/webkit/Source/WebCore/platform/graphics/ca/
DGraphicsLayerCA.cpp1783 float fromValue; in setTransformAnimationEndpoints() local
1784 …ransformFunctionValue(startValue->value()->at(functionIndex), transformOpType, boxSize, fromValue); in setTransformAnimationEndpoints()
1785 basicAnim->setFromValue(fromValue); in setTransformAnimationEndpoints()
1791 FloatPoint3D fromValue; in setTransformAnimationEndpoints() local
1792 …ransformFunctionValue(startValue->value()->at(functionIndex), transformOpType, boxSize, fromValue); in setTransformAnimationEndpoints()
1793 basicAnim->setFromValue(fromValue); in setTransformAnimationEndpoints()
1799 TransformationMatrix fromValue; in setTransformAnimationEndpoints() local
1800 …ransformFunctionValue(startValue->value()->at(functionIndex), transformOpType, boxSize, fromValue); in setTransformAnimationEndpoints()
1801 basicAnim->setFromValue(fromValue); in setTransformAnimationEndpoints()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsLayerQt.cpp1446 virtual void applyFrame(const T& fromValue, const T& toValue, qreal progress) = 0;
1495 const T& fromValue = fromKeyframe.value; in updateCurrentTime() local
1502 applyFrame(fromValue, toValue, progress); in updateCurrentTime()
1601 virtual void applyFrame(const qreal& fromValue, const qreal& toValue, qreal progress) in applyFrame() argument
1603 qreal opacity = qBound(qreal(0), fromValue + (toValue - fromValue) * progress, qreal(1)); in applyFrame()
DMediaPlayerPrivateQt.cpp228 request.setHeader(QNetworkRequest::CookieHeader, QVariant::fromValue(cookies)); in commitLoad()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDumpRenderTreeSupportQt.cpp958 res << QVariant::fromValue(QWebElement(nodes->item(i))); in nodesFromRect()
960 res << QVariant::fromValue(QDRTNode(nodes->item(i))); in nodesFromRect()
1077 return QVariant::fromValue(QDRTNode(webShadowRoot)); in shadowRoot()
/external/webkit/Source/JavaScriptCore/runtime/
DArrayPrototype.cpp1114 JSValue fromValue = exec->argument(1); in arrayProtoFuncLastIndexOf() local
1115 if (!fromValue.isUndefined()) { in arrayProtoFuncLastIndexOf()
1116 double fromDouble = fromValue.toInteger(exec); in arrayProtoFuncLastIndexOf()
/external/webkit/Source/WebKit/qt/Api/
Dqwebview.cpp314 setProperty("kineticScroller", QVariant::fromValue(scroller)); in QWebView()
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window.mm885 animation.fromValue = [NSValue valueWithRect:from];
910 animation.fromValue = [NSValue valueWithPoint:opoint];
935 animation.fromValue = [NSNumber numberWithFloat:from];
1118 scaleAnimation.fromValue = [NSNumber numberWithDouble:scale];
/external/webkit/Source/WebCore/platform/graphics/ca/mac/
DPlatformCAAnimationMac.mm405 [static_cast<CABasicAnimation*>(m_animation.get()) setFromValue:[otherAnimation fromValue]];
/external/webkit/Source/WebKit/qt/
DChangeLog-2011-02-16189 … git grep -O"sed -i 's/qVariantFromValue\( *[(<]\)/QVariant::fromValue\\1/'" qVariantFromValue
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1029579 (WebCore::SVGAnimationElement::fromValue):
32713 (WebCore::SVGAnimationElement::fromValue):
DChangeLog-2011-02-163941 … git grep -O"sed -i 's/qVariantFromValue\( *[(<]\)/QVariant::fromValue\\1/'" qVariantFromValue