/external/skia/src/animator/ |
SkScriptRuntime.cpp | 133 memcpy(&operand[registerLoad].fScalar, opCode, sizeof(SkScalar)); 195 strPtr->appendScalar(operand[op - SkScriptEngine2::kScalarToString].fScalar); 200 operand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32); 209 &operand[op - SkScriptEngine2::kStringToScalar].fScalar) == nullptr) 213 operand[0].fS32 = SkScalarFloorToInt(operand[0].fScalar); 220 operand[0].fScalar += operand[1].fScalar; 248 if (operand[1].fScalar == 0) 249 operand[0].fScalar = operand[0].fScalar == 0 ? SK_ScalarNaN [all...] |
SkOperand2.h | 29 SkScalar fScalar; 49 SkScalar getScalar() { SkASSERT(fType == SkOperand2::kScalar); return fOperand.fScalar; }
|
SkOperandIterpolator.cpp | 77 values[i].fScalar = SkScalarInterp(prevSrc[i].fScalar, nextSrc[i].fScalar, T); 99 array[0].fScalar = SkIntToScalar(a); 100 array[1].fScalar = SkIntToScalar(b); 101 array[2].fScalar = SkIntToScalar(c);
|
SkOperand.h | 22 // SkOperand(SkScalar scalar) : fScalar(scalar) {} 29 SkScalar fScalar; 42 SkScalar getScalar() { SkASSERT(fType == SkType_Float); return fOperand.fScalar; }
|
SkDisplayMath.cpp | 139 SkScalar input = parameters[0].fOperand.fScalar; 155 scalarResult = SkScalarATan2(input, parameters[1].fOperand.fScalar); 175 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); 182 scalarResult = SkMinScalar(scalarResult, array->fOperand.fScalar); 189 scalarResult = SkScalarMul(parameters[1].fOperand.fScalar, scalarResult); 213 scriptValue->fOperand.fScalar = scalarResult; 223 value->fOperand.fScalar = gConstants[index];
|
SkDraw3D.cpp | 96 fPatch.rotateDegrees(parameters[0].fOperand.fScalar, 97 parameters[1].fOperand.fScalar, parameters[2].fOperand.fScalar);
|
SkDisplayNumber.cpp | 63 value->fOperand.fScalar = constant;
|
SkDisplayable.cpp | 208 SkDebugf("%g", SkScalarToFloat(op->fScalar)); 309 if (op.fScalar != blankOp.fScalar || op2.fScalar != blankOp.fScalar) { 310 SkDebugf("%s=\"[%g,%g]\" ", info->fName, SkScalarToFloat(op.fScalar), SkScalarToFloat(op2.fScalar)); 369 if (op.fScalar != blankOp.fScalar) { //or /65536? 370 SkDebugf("%s=\"%g\" ", info->fName, SkScalarToFloat(op.fScalar)); [all...] |
SkDrawRectangle.cpp | 85 value->fOperand.fScalar = result; 96 SkScalar scalar = value.fOperand.fScalar;
|
SkDisplayRandom.cpp | 50 value->fOperand.fScalar = min + SkScalarMul(max - min, relativeT);
|
SkDrawMatrix.cpp | 176 value->fOperand.fScalar = result; 215 SkScalar number = scriptValue.fOperand.fScalar; 223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar); 224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
|
SkMemberInfo.cpp | 143 SkASSERT(sizeof(value[0].fScalar) == sizeof(value[0])); // no support for 64 bit pointers, yet 155 SkASSERT(sizeof(values[0].fScalar) == sizeof(values[0])); // no support for 64 bit pointers, yet 306 scriptValue.fOperand.fMSec = SkScalarRoundToInt(scriptValue.fOperand.fScalar * 1000); 374 memcpy(&storage->fScalar, &scriptValue.fOperand.fScalar, sizeof(SkScalar)); 377 memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count() * sizeof(SkScalar)); 439 storage[0].fScalar = SkIntToScalar(SkColorGetA(color)); 440 storage[1].fScalar = SkIntToScalar(SkColorGetR(color)); 441 storage[2].fScalar = SkIntToScalar(SkColorGetG(color)); 442 storage[3].fScalar = SkIntToScalar(SkColorGetB(color)) [all...] |
SkDrawExtraPathEffect.cpp | 100 value.fOperand.fScalar = 0; 102 return value.fOperand.fScalar; 153 value->fOperand.fScalar = *(SkScalar*) clen; 162 value->fOperand.fScalar = *(SkScalar*) dist; 304 value->fOperand.fScalar = (&shape2D->fLoc.fX)[index];
|
SkDrawPaint.cpp | 162 scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), 165 // scriptValue->fOperand.fScalar / 65536.0f); 183 value->fOperand.fScalar = metrics.fAscent; 186 value->fOperand.fScalar = metrics.fDescent;
|
SkDump.cpp | 70 SkDebugf("%g\" />\n", SkScalarToFloat(value.fOperand.fScalar));
|
SkAnimatorScript.cpp | 113 boxedValue->value = scriptValue->fOperand.fScalar; 238 value->fOperand.fScalar = value->fOperand.fS32 * 0.001f; 334 *result = value.fOperand.fScalar; 368 value->fOperand.fScalar = SK_ScalarInfinity; 380 SkScalar scalar = scriptValue->fOperand.fScalar; 395 value->fOperand.fS32 = scriptValue->fType == SkType_Float ? SkScalarIsNaN(scriptValue->fOperand.fScalar) : 0; 423 value->fOperand.fScalar = SK_ScalarNaN; 461 scriptValue->fOperand.fScalar = boxedValue->value; 581 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer);
|
SkAnimateActive.cpp | 312 SkScalar delta = to[cIndex].fScalar - from[cIndex].fScalar; 314 delta = to[cIndex].fScalar - existingValues[cIndex].fScalar;
|
SkAnimatorScript2.cpp | 72 boxedValue->value = operand->fScalar; 328 operand->fScalar = boxedValue->value; 415 value->fScalar = value->fS32 * 0.001f; 609 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer);
|
SkDrawPath.cpp | 143 value->fOperand.fScalar = fLength;
|
SkDrawColor.cpp | 205 value->fOperand.fScalar = result; 225 SkScalar scalar = value.fOperand.fScalar;
|
SkAnimator.cpp | 255 return result ? operand.fScalar : SK_ScalarNaN; 342 return operand.fScalar; 349 return scriptValue.fOperand.fScalar; 595 operand.fScalar = scalar; 601 scriptValue.fOperand.fScalar = scalar;
|
SkScriptTokenizer.cpp | 201 addTokenScalar(value.fOperand.fScalar); 557 script = SkParse::FindScalar(script, &operand.fOperand.fScalar); [all...] |
SkScript.cpp | 659 script = SkParse::FindScalar(script, &operand.fScalar); [all...] |
SkDisplayApply.cpp | 138 animator->packARGB(&values->fScalar, count, &converted);
|
/external/skia/src/core/ |
SkPaint.cpp | [all...] |