HomeSort by relevance Sort by last modified time
    Searched refs:scriptValue (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/animator/
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...]
SkDisplayTypes.cpp 123 SkScriptValue* scriptValue) {
124 if (scriptValue == NULL)
129 scriptValue->fType = SkType_String;
141 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start);
143 scriptValue->fOperand.fString = new SkString(value);
152 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const {
155 scriptValue->fType = SkType_Int;
156 scriptValue->fOperand.fS32 = (int32_t) value.size();
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...]
SkDrawTextBox.cpp 65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue)
67 return this->INHERITED::setProperty(index, scriptValue);
SkDrawMatrix.cpp 214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) {
215 SkScalar number = scriptValue.fOperand.fScalar;
219 SkASSERT(scriptValue.fType == SkType_Array);
220 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float);
221 SkASSERT(scriptValue.fOperand.fArray->count() == 2);
222 // SkParse::FindScalars(scriptValue.fOperand.fString->c_str(), xy, 2);
223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar);
224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
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);
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);
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...]
SkAnimateBase.cpp 213 SkScriptValue scriptValue;
214 bool success = engine.evaluateScript(&script, &scriptValue);
215 if (success && scriptValue.fType == SkType_Displayable)
216 fTarget = scriptValue.fOperand.fDrawable;
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...]
SkDisplayMath.cpp 133 SkScriptValue* scriptValue) {
134 if (scriptValue == NULL)
213 scriptValue->fOperand.fScalar = scalarResult;
214 scriptValue->fType = SkType_Float;
  /external/skia/src/animator/
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...]
SkDisplayTypes.cpp 123 SkScriptValue* scriptValue) {
124 if (scriptValue == NULL)
129 scriptValue->fType = SkType_String;
141 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start);
143 scriptValue->fOperand.fString = new SkString(value);
152 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const {
155 scriptValue->fType = SkType_Int;
156 scriptValue->fOperand.fS32 = (int32_t) value.size();
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...]
SkDrawTextBox.cpp 65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue)
67 return this->INHERITED::setProperty(index, scriptValue);
SkDrawMatrix.cpp 214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) {
215 SkScalar number = scriptValue.fOperand.fScalar;
219 SkASSERT(scriptValue.fType == SkType_Array);
220 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float);
221 SkASSERT(scriptValue.fOperand.fArray->count() == 2);
222 // SkParse::FindScalars(scriptValue.fOperand.fString->c_str(), xy, 2);
223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar);
224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
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);
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);
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...]
SkAnimateBase.cpp 213 SkScriptValue scriptValue;
214 bool success = engine.evaluateScript(&script, &scriptValue);
215 if (success && scriptValue.fType == SkType_Displayable)
216 fTarget = scriptValue.fOperand.fDrawable;
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...]
SkDisplayMath.cpp 133 SkScriptValue* scriptValue) {
134 if (scriptValue == NULL)
213 scriptValue->fOperand.fScalar = scalarResult;
214 scriptValue->fType = SkType_Float;
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
IDBBindingUtilitiesTest.cpp 39 IDBKey* checkKeyFromValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath)
47 void checkKeyPathNullValue(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath)
52 bool injectKey(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath)
56 ScriptValue keyValue = idbKeyToScriptValue(scriptState, key);
60 void checkInjection(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath)
68 void checkInjectionFails(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath)
73 void checkKeyPathStringValue(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, const String& expected)
81 void checkKeyPathNumberValue(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, int expected)
108 ScriptValue scriptValue(scriptState(), object)
    [all...]
IDBBindingUtilities.cpp 307 static IDBKey* createIDBKeyFromScriptValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, bool allowExperimentalTypes)
323 static IDBKey* createIDBKeyFromScriptValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath, bool allowExperimentalTypes = false)
343 IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath)
387 bool canInjectIDBKeyIntoScriptValue(v8::Isolate* isolate, const ScriptValue& scriptValue, const IDBKeyPath& keyPath)
399 v8::Handle<v8::Value> v8Value(scriptValue.v8Value());
403 ScriptValue idbAnyToScriptValue(ScriptState* scriptState, IDBAny* any)
408 return ScriptValue(scriptState, v8Value);
411 ScriptValue idbKeyToScriptValue(ScriptState* scriptState, IDBKey* key)
416 return ScriptValue(scriptState, v8Value)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
EffectInput.cpp 71 ScriptValue scriptValue;
72 if (keyframeDictionaryVector[i].get("offset", scriptValue) && scriptValue.isNull())

Completed in 281 milliseconds

1 2