/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawTextBox.cpp | 65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue) argument 67 return this->INHERITED::setProperty(index, scriptValue);
|
H A D | SkDisplayMath.cpp | 133 SkScriptValue* scriptValue) { 134 if (scriptValue == NULL) 213 scriptValue->fOperand.fScalar = scalarResult; 214 scriptValue->fType = SkType_Float; 131 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
|
H A D | SkAnimateBase.cpp | 213 SkScriptValue scriptValue; local 214 bool success = engine.evaluateScript(&script, &scriptValue); 215 if (success && scriptValue.fType == SkType_Displayable) 216 fTarget = scriptValue.fOperand.fDrawable;
|
H A D | 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(); 121 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
|
H A D | SkDrawMatrix.cpp | 214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) { argument 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);
|
H A D | SkDrawPaint.cpp | 150 SkScriptValue* scriptValue) { 151 if (scriptValue == NULL) 160 scriptValue->fType = SkType_Float; 162 scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), 165 // scriptValue->fOperand.fScalar / 65536.0f); 148 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
|
H A D | SkDisplayXMLParser.cpp | 152 SkScriptValue scriptValue; local 153 scriptValue.fOperand.fDisplayable = ref; 154 scriptValue.fType = ref->getType(); 155 displayable->setProperty(info->propertyIndex(), scriptValue);
|
H A D | SkMemberInfo.cpp | 188 SkScriptValue scriptValue; local 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 313 SkScriptValue scriptValue; local 316 displayable->setProperty(propertyIndex(), scriptValue); local 367 displayable->setProperty(propertyIndex(), scriptValue); local [all...] |
H A D | SkAnimatorScript.cpp | 91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { argument 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 141 SkScriptValue* scriptValue = params.begin(); local 441 Unbox(void* m, SkScriptValue* scriptValue) argument [all...] |
H A D | SkAnimator.cpp | 322 SkScriptValue scriptValue; local 323 bool success = element->getProperty(info->propertyIndex(), &scriptValue); 324 if (success && scriptValue.fType == SkType_Int) 325 return scriptValue.fOperand.fS32; 348 SkScriptValue scriptValue; local 349 bool success = element->getProperty(info->propertyIndex(), &scriptValue); 350 if (success && scriptValue.fType == SkType_Float) 351 return scriptValue.fOperand.fScalar; 576 SkScriptValue scriptValue; local 577 scriptValue 601 SkScriptValue scriptValue; local [all...] |
/external/skia/src/animator/ |
H A D | SkDrawTextBox.cpp | 65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue) argument 67 return this->INHERITED::setProperty(index, scriptValue);
|
H A D | SkDisplayMath.cpp | 133 SkScriptValue* scriptValue) { 134 if (scriptValue == NULL) 213 scriptValue->fOperand.fScalar = scalarResult; 214 scriptValue->fType = SkType_Float; 131 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
|
H A D | SkAnimateBase.cpp | 213 SkScriptValue scriptValue; local 214 bool success = engine.evaluateScript(&script, &scriptValue); 215 if (success && scriptValue.fType == SkType_Displayable) 216 fTarget = scriptValue.fOperand.fDrawable;
|
H A D | 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(); 121 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
|
H A D | SkDrawMatrix.cpp | 214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) { argument 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);
|
H A D | SkDrawPaint.cpp | 150 SkScriptValue* scriptValue) { 151 if (scriptValue == NULL) 160 scriptValue->fType = SkType_Float; 162 scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), 165 // scriptValue->fOperand.fScalar / 65536.0f); 148 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
|
H A D | SkDisplayXMLParser.cpp | 152 SkScriptValue scriptValue; local 153 scriptValue.fOperand.fDisplayable = ref; 154 scriptValue.fType = ref->getType(); 155 displayable->setProperty(info->propertyIndex(), scriptValue);
|
H A D | SkMemberInfo.cpp | 188 SkScriptValue scriptValue; local 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 313 SkScriptValue scriptValue; local 316 displayable->setProperty(propertyIndex(), scriptValue); local 367 displayable->setProperty(propertyIndex(), scriptValue); local [all...] |
H A D | SkAnimatorScript.cpp | 91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { argument 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 141 SkScriptValue* scriptValue = params.begin(); local 441 Unbox(void* m, SkScriptValue* scriptValue) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | EffectInput.cpp | 71 ScriptValue scriptValue; local 72 if (keyframeDictionaryVector[i].get("offset", scriptValue) && scriptValue.isNull())
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
H A D | IDBBindingUtilities.cpp | 387 bool canInjectIDBKeyIntoScriptValue(v8::Isolate* isolate, const ScriptValue& scriptValue, const IDBKeyPath& keyPath) argument 399 v8::Handle<v8::Value> v8Value(scriptValue.v8Value()); 419 IDBKey* scriptValueToIDBKey(v8::Isolate* isolate, const ScriptValue& scriptValue) argument 423 v8::Handle<v8::Value> v8Value(scriptValue.v8Value()); 427 IDBKeyRange* scriptValueToIDBKeyRange(v8::Isolate* isolate, const ScriptValue& scriptValue) argument 430 v8::Handle<v8::Value> value(scriptValue.v8Value()); 440 ScriptValue scriptValue(scriptState, deserializeIDBValueBuffer(isolate, buffer.get(), blobInfo)); 444 IDBKey* expectedKey = createIDBKeyFromScriptValueAndKeyPathInternal(isolate, scriptValue, keyPath, allowExperimentalTypes); 447 bool injected = injectV8KeyIntoV8Value(isolate, keyValue.v8Value(), scriptValue.v8Value(), keyPath);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | InspectorCanvasAgent.cpp | 236 InjectedScriptCanvasModule InspectorCanvasAgent::injectedScriptCanvasModule(ErrorString* errorString, const ScriptValue& scriptValue) argument 240 if (scriptValue.isEmpty()) { 245 return injectedScriptCanvasModule(errorString, scriptValue.scriptState());
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
H A D | IDBCursor.cpp | 341 ScriptValue scriptValue = idbAnyToScriptValue(scriptState, value); local 343 return scriptValue;
|
/external/chromium_org/third_party/skia/src/xml/ |
H A D | SkJSDisplayable.cpp | 240 SkScriptValue scriptValue; local 241 bool success = displayable->getProperty(info->propertyIndex(), &scriptValue); 242 SkASSERT(scriptValue.fType == SkType_Scalar); 243 scalar = scriptValue.fOperand.fScalar; 335 SkScriptValue scriptValue; local 336 scriptValue.fType = SkType_Scalar; 337 scriptValue.fOperand.fScalar = scalar; 338 displayable->setProperty(-1 - (int) info->fOffset, scriptValue);
|
/external/skia/src/xml/ |
H A D | SkJSDisplayable.cpp | 240 SkScriptValue scriptValue; local 241 bool success = displayable->getProperty(info->propertyIndex(), &scriptValue); 242 SkASSERT(scriptValue.fType == SkType_Scalar); 243 scalar = scriptValue.fOperand.fScalar; 335 SkScriptValue scriptValue; local 336 scriptValue.fType = SkType_Scalar; 337 scriptValue.fOperand.fScalar = scalar; 338 displayable->setProperty(-1 - (int) info->fOffset, scriptValue);
|