HomeSort by relevance Sort by last modified time
    Searched defs:scriptValue (Results 1 - 11 of 11) sorted by null

  /external/skia/src/animator/
SkAnimateBase.cpp 213 SkScriptValue scriptValue;
214 bool success = engine.evaluateScript(&script, &scriptValue);
215 if (success && scriptValue.fType == SkType_Displayable)
216 fTarget = scriptValue.fOperand.fDrawable;
SkDisplayXMLParser.cpp 152 SkScriptValue scriptValue;
153 scriptValue.fOperand.fDisplayable = ref;
154 scriptValue.fType = ref->getType();
155 displayable->setProperty(info->propertyIndex(), scriptValue);
SkMemberInfo.cpp 188 SkScriptValue scriptValue;
189 scriptValue.fType = SkType_Unknown;
190 scriptValue.fOperand.fS32 = 0;
252 success = engine.evaluateScript(&script, &scriptValue);
259 if (scriptValue.fType == SkType_Displayable) {
262 maker.findKey(scriptValue.fOperand.fDisplayable, &charPtr);
263 scriptValue.fOperand.fString = new SkString(charPtr);
264 scriptValue.fType = SkType_String;
265 engine.SkScriptEngine::track(scriptValue.fOperand.fString);
270 displayable->setReference(this, scriptValue.fOperand.fDisplayable)
    [all...]
SkAnimatorScript.cpp 91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) {
93 SkDisplayTypes type = scriptValue->fType;
97 SkDisplayArray* boxedValue = new SkDisplayArray(*scriptValue->fOperand.fArray);
103 boxedValue->value = !! scriptValue->fOperand.fS32;
108 boxedValue->value = scriptValue->fOperand.fS32;
113 boxedValue->value = scriptValue->fOperand.fScalar;
116 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString);
120 scriptValue->fOperand.fObject = scriptValue->fOperand.fDisplayable;
121 scriptValue->fType = SkType_Displayable
    [all...]
SkDisplayable.cpp 512 SkScriptValue scriptValue;
513 scriptValue.fOperand.fDisplayable = displayable;
514 scriptValue.fType = displayable->getType();
515 setProperty(info->propertyIndex(), scriptValue);
SkAnimator.cpp 322 SkScriptValue scriptValue;
323 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
324 if (success && scriptValue.fType == SkType_Int)
325 return scriptValue.fOperand.fS32;
348 SkScriptValue scriptValue;
349 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
350 if (success && scriptValue.fType == SkType_Float)
351 return scriptValue.fOperand.fScalar;
576 SkScriptValue scriptValue;
577 scriptValue.fType = SkType_Int
    [all...]
SkDisplayApply.cpp 128 SkScriptValue scriptValue;
129 scriptValue.fOperand = values[0];
130 scriptValue.fType = info->getType();
131 target->setProperty(info->propertyIndex(), scriptValue);
473 SkScriptValue scriptValue;
474 SkDEBUGCODE(bool success = ) target->getProperty(info->propertyIndex(), &scriptValue);
476 last[0] = scriptValue.fOperand;
477 scriptValue.fOperand = fActive->fSaveRestore[activeIndex][0];
478 target->setProperty(info->propertyIndex(), scriptValue);
763 SkScriptValue scriptValue;
    [all...]
SkScript.cpp 25 merge type and operand arrays into scriptvalue array
713 SkScriptValue scriptValue;
714 SkDEBUGCODE(scriptValue.fOperand.fObject = NULL);
725 fOperandStack.pop(&scriptValue.fOperand);
726 scriptValue.fType = ToDisplayType(topType);
727 handleBox(&scriptValue);
877 SkScriptValue scriptValue;
883 bool success = innerScript(scriptPtr, suppressed == false ? &scriptValue : NULL);
888 if (convertTo(SkType_Int, &scriptValue) == false)
890 int index = scriptValue.fOperand.fS32
    [all...]
SkScript.h 195 SkScriptValue scriptValue;
196 scriptValue.fOperand = operand;
197 scriptValue.fType = type;
198 convertTo(SkType_String, &scriptValue);
199 operand = scriptValue.fOperand;
211 bool handleUnbox(SkScriptValue* scriptValue);
SkScriptTokenizer.cpp 463 SkOperand2::OpType SkScriptEngine2::getUnboxType(SkOperand2 scriptValue) {
467 return (*callBack)->getReturnType(0, &scriptValue);
772 SkScriptValue2 scriptValue;
778 bool success = innerScript(scriptPtr, &scriptValue);
781 success = convertTo(SkOperand2::kS32, &scriptValue);
783 int index = scriptValue.fOperand.fS32;
784 fValueStack.pop(&scriptValue);
785 if (scriptValue.fType == SkOperand2::kObject) {
786 success = handleUnbox(&scriptValue);
788 SkASSERT(scriptValue.fType == SkOperand2::kArray)
    [all...]
SkScript2.h 228 SkScriptValue2 scriptValue;
229 scriptValue.fOperand = *operand;
230 scriptValue.fType = type;
231 convertTo(SkOperand2::kString, &scriptValue);
232 *operand = scriptValue.fOperand;
238 SkOperand2::OpType getUnboxType(SkOperand2 scriptValue);
245 bool handleUnbox(SkScriptValue2* scriptValue);

Completed in 428 milliseconds