/external/skia/src/animator/ |
D | SkScriptRuntime.cpp | 133 memcpy(&operand[registerLoad].fScalar, opCode, sizeof(SkScalar)); in executeTokens() 195 strPtr->appendScalar(operand[op - SkScriptEngine2::kScalarToString].fScalar); in executeTokens() 200 …operand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32… in executeTokens() 209 &operand[op - SkScriptEngine2::kStringToScalar].fScalar) == false) in executeTokens() 213 operand[0].fS32 = SkScalarFloor(operand[0].fScalar); in executeTokens() 220 operand[0].fScalar += operand[1].fScalar; in executeTokens() 248 if (operand[1].fScalar == 0) in executeTokens() 249 operand[0].fScalar = operand[0].fScalar == 0 ? SK_ScalarNaN : in executeTokens() 250 operand[0].fScalar > 0 ? SK_ScalarMax : -SK_ScalarMax; in executeTokens() 252 operand[0].fScalar = SkScalarDiv(operand[0].fScalar, operand[1].fScalar); in executeTokens() [all …]
|
D | SkDisplayable.cpp | 209 SkDebugf("%g", SkScalarToFloat(op->fScalar)); in dumpAttrs() 211 SkDebugf("%x", op->fScalar); in dumpAttrs() 313 if (op.fScalar != blankOp.fScalar || op2.fScalar != blankOp.fScalar) { in dumpValues() 315 …kDebugf("%s=\"[%g,%g]\" ", info->fName, SkScalarToFloat(op.fScalar), SkScalarToFloat(op2.fScalar)); in dumpValues() 317 SkDebugf("%s=\"[%x,%x]\" ", info->fName, op.fScalar, op2.fScalar); in dumpValues() 377 if (op.fScalar != blankOp.fScalar) { //or /65536? in dumpValues() 379 SkDebugf("%s=\"%g\" ", info->fName, SkScalarToFloat(op.fScalar)); in dumpValues() 381 SkDebugf("%s=\"%x\" ", info->fName, op.fScalar); in dumpValues()
|
D | SkScript.cpp | 659 script = SkParse::FindScalar(script, &operand.fScalar); in innerScript() 1160 int index = indexType == kScalar ? SkScalarFloor(indexOperand.fScalar) : in logicalOp() 1308 operand1.fScalar = IntToScalar(operand1.fS32); in processOp() 1312 operand2.fScalar = IntToScalar(operand2.fS32); in processOp() 1319 … const char* result = SkParse::FindScalar(operand1.fString->c_str(), &operand1.fScalar); in processOp() 1327 operand1.fS32 = SkScalarFloor(operand1.fScalar); in processOp() 1334 const char* result = SkParse::FindScalar(operand2.fString->c_str(), &operand2.fScalar); in processOp() 1342 operand2.fS32 = SkScalarFloor(operand2.fScalar); in processOp() 1355 operand2.fScalar += operand1.fScalar; in processOp() 1387 if (operand2.fScalar == 0) in processOp() [all …]
|
D | SkDisplayMath.cpp | 150 SkScalar input = parameters[0].fOperand.fScalar; in executeFunction() 166 scalarResult = SkScalarATan2(input, parameters[1].fOperand.fScalar); in executeFunction() 186 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); in executeFunction() 193 scalarResult = SkMinScalar(scalarResult, array->fOperand.fScalar); in executeFunction() 200 scalarResult = SkScalarMul(parameters[1].fOperand.fScalar, scalarResult); in executeFunction() 224 scriptValue->fOperand.fScalar = scalarResult; in executeFunction() 234 value->fOperand.fScalar = gConstants[index]; in getProperty()
|
D | SkOperandIterpolator.cpp | 79 values[i].fScalar = SkScalarInterp(prevSrc[i].fScalar, nextSrc[i].fScalar, T); in timeToValues() 101 array[0].fScalar = SkIntToScalar(a); in iset() 102 array[1].fScalar = SkIntToScalar(b); in iset() 103 array[2].fScalar = SkIntToScalar(c); in iset()
|
D | SkMemberInfo.cpp | 143 SkASSERT(sizeof(value[0].fScalar) == sizeof(value[0])); // no support for 64 bit pointers, yet in getValue() 155 … SkASSERT(sizeof(values[0].fScalar) == sizeof(values[0])); // no support for 64 bit pointers, yet in setValue() 306 scriptValue.fOperand.fMSec = SkScalarMulRound(scriptValue.fOperand.fScalar, 1000); in setValue() 374 memcpy(&storage->fScalar, &scriptValue.fOperand.fScalar, sizeof(SkScalar)); in writeValue() 377 …memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count… in writeValue() 439 storage[0].fScalar = SkIntToScalar(SkColorGetA(color)); in writeValue() 440 storage[1].fScalar = SkIntToScalar(SkColorGetR(color)); in writeValue() 441 storage[2].fScalar = SkIntToScalar(SkColorGetG(color)); in writeValue() 442 storage[3].fScalar = SkIntToScalar(SkColorGetB(color)); in writeValue()
|
D | SkDraw3D.cpp | 96 fPatch.rotateDegrees(parameters[0].fOperand.fScalar, in executeFunction() 97 parameters[1].fOperand.fScalar, parameters[2].fOperand.fScalar); in executeFunction()
|
D | SkOperand2.h | 29 SkScalar fScalar; member 49 SkScalar getScalar() { SkASSERT(fType == SkOperand2::kScalar); return fOperand.fScalar; } in getScalar()
|
D | SkOperand.h | 29 SkScalar fScalar; member 42 SkScalar getScalar() { SkASSERT(fType == SkType_Float); return fOperand.fScalar; } in getScalar()
|
D | SkDrawMatrix.cpp | 176 value->fOperand.fScalar = result; in getProperty() 215 SkScalar number = scriptValue.fOperand.fScalar; in setProperty() 223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar); in setProperty() 224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar); in setProperty()
|
D | SkAnimatorScript.cpp | 113 boxedValue->value = scriptValue->fOperand.fScalar; in Box() 238 …value->fOperand.fScalar = SkScalarDiv((SkScalar) value->fOperand.fS32, 1000); // dividing two ints… in EvalMemberCommon() 334 *result = value.fOperand.fScalar; in EvaluateFloat() 368 value->fOperand.fScalar = SK_ScalarInfinity; in Infinity() 380 SkScalar scalar = scriptValue->fOperand.fScalar; in IsFinite() 395 …erand.fS32 = scriptValue->fType == SkType_Float ? SkScalarIsNaN(scriptValue->fOperand.fScalar) : 0; in IsNaN() 423 value->fOperand.fScalar = SK_ScalarNaN; in NaN() 461 scriptValue->fOperand.fScalar = boxedValue->value; in Unbox() 581 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); in UnitTest()
|
D | SkDrawExtraPathEffect.cpp | 100 value.fOperand.fScalar = 0; in begin() 102 return value.fOperand.fScalar; in begin() 146 value->fOperand.fScalar = *(SkScalar*) clen; in GetContourLength() 155 value->fOperand.fScalar = *(SkScalar*) dist; in GetDistance() 289 value->fOperand.fScalar = (&shape2D->fLoc.fX)[index]; in Get2D()
|
D | SkDrawRectangle.cpp | 85 value->fOperand.fScalar = result; in getProperty() 96 SkScalar scalar = value.fOperand.fScalar; in setProperty()
|
D | SkDrawPaint.cpp | 164 … scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), in executeFunction() 185 value->fOperand.fScalar = metrics.fAscent; in getProperty() 188 value->fOperand.fScalar = metrics.fDescent; in getProperty()
|
D | SkDrawGradient.cpp | 48 x = SkScalarToUnit(value.fOperand.fScalar); in mapUnit16() 54 value->fOperand.fScalar = *(SkScalar*) unitPtr; in GetUnitValue()
|
D | SkDisplayNumber.cpp | 56 value->fOperand.fScalar = constant; in getProperty()
|
D | SkScriptTokenizer.cpp | 201 addTokenScalar(value.fOperand.fScalar); in addTokenValue() 557 script = SkParse::FindScalar(script, &operand.fOperand.fScalar); in innerScript() 989 … int index = value.fType == SkOperand2::kScalar ? SkScalarFloor(value.fOperand.fScalar) : in processLogicalOp() 1205 operand.fS32 = SkScalarFloor(operand.fScalar); in ConvertTo() 1213 operand.fScalar = IntToScalar(operand.fS32); in ConvertTo() 1216 success = SkParse::FindScalar(operand.fString->c_str(), &operand.fScalar) != NULL; in ConvertTo() 1227 strPtr->appendScalar(operand.fScalar); in ConvertTo() 1263 string->appendScalar(value.fOperand.fScalar); in ValueToString() 1509 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); in UnitTest() 1512 …script '%s' == value %g != expected answer %g\n", script, value.fOperand.fScalar / (1.0f * SK_Scal… in UnitTest()
|
D | SkAnimatorScript2.cpp | 72 boxedValue->value = operand->fScalar; in convert() 328 operand->fScalar = boxedValue->value; in convert() 415 …value->fScalar = SkScalarDiv((SkScalar) value->fS32, 1000); // dividing two ints is the same as di… in evalMemberCommon() 609 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); in UnitTest()
|
D | SkDisplayRandom.cpp | 56 value->fOperand.fScalar = min + SkScalarMul(max - min, relativeT); in getProperty()
|
D | SkAnimator.cpp | 255 return result ? operand.fScalar : SK_ScalarNaN; in getArrayScalar() 342 return operand.fScalar; in getScalar() 349 return scriptValue.fOperand.fScalar; in getScalar() 595 operand.fScalar = scalar; in setScalar() 601 scriptValue.fOperand.fScalar = scalar; in setScalar()
|
D | SkAnimateActive.cpp | 312 SkScalar delta = to[cIndex].fScalar - from[cIndex].fScalar; in pickUp() 314 delta = to[cIndex].fScalar - existingValues[cIndex].fScalar; in pickUp()
|
D | SkDrawColor.cpp | 205 value->fOperand.fScalar = result; in getProperty() 225 SkScalar scalar = value.fOperand.fScalar; in setProperty()
|
D | SkDump.cpp | 70 SkDebugf("%g\" />\n", SkScalarToFloat(value.fOperand.fScalar)); in evaluate()
|
D | SkDrawPath.cpp | 143 value->fOperand.fScalar = fLength; in getProperty()
|
/external/skia/src/xml/ |
D | SkJSDisplayable.cpp | 243 scalar = scriptValue.fOperand.fScalar; in GetProperty() 262 scalar = operand.fScalar; in GetProperty() 345 scriptValue.fOperand.fScalar = scalar; in SetProperty() 364 operand.fScalar = scalar; in SetProperty()
|