/external/skia/src/animator/ |
H A D | SkScriptRuntime.cpp | 75 index = operand[1].fS32; 127 memcpy(&operand[registerLoad].fS32, opCode, sizeof(int32_t)); 168 if (operand[0].fS32 == 0) 179 if (operand[0].fS32 != 0) 193 strPtr->appendS32(operand[op - SkScriptEngine2::kIntToString].fS32); 200 operand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32); 203 if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == nullptr) 213 operand[0].fS32 = SkScalarFloorToInt(operand[0].fScalar); 217 operand[0].fS32 += operand[1].fS32; [all...] |
H A D | SkDisplayable.cpp | 205 SkDebugf("%d", op->fS32); 299 switch (op.fS32) { 314 switch (op.fS32) { 329 switch (op.fS32) { 346 if (op.fS32 == 1) 350 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "cw" : "ccw"); 353 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "winding" : "evenOdd"); 357 if (op.fS32 != blankOp.fS32) 358 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 [all...] |
H A D | SkOperand.h | 27 int32_t fS32; member in union:SkOperand 40 SkDisplayType::IsEnum(maker, fType)); return fOperand.fS32; }
|
H A D | SkOperand2.h | 28 int32_t fS32; member in union:SkOperand2 48 int32_t getS32() { SkASSERT(fType == SkOperand2::kS32); return fOperand.fS32; }
|
H A D | SkDisplayInput.cpp | 44 value->fOperand.fS32 = fInt != (int) SK_NaN32 ||
|
H A D | SkDisplayTypes.cpp | 131 int start = parameters[0].fOperand.fS32; 137 end = parameters[1].fOperand.fS32; 156 scriptValue->fOperand.fS32 = (int32_t) value.size(); 207 value->fOperand.fS32 = values.count();
|
H A D | SkDrawPath.cpp | 147 value->fOperand.fS32 = (int) fPath.getFillType(); 170 SkASSERT(value.fOperand.fS32 >= SkPath::kWinding_FillType && 171 value.fOperand.fS32 <= SkPath::kEvenOdd_FillType); 172 fPath.setFillType((SkPath::FillType) value.fOperand.fS32);
|
H A D | SkDrawText.cpp | 53 value->fOperand.fS32 = (int32_t) text.size();
|
H A D | SkDrawBitmap.cpp | 103 fColor = value.fOperand.fS32; 163 value->fOperand.fS32 = fBitmap.height(); 166 value->fOperand.fS32 = fBitmap.width();
|
H A D | SkOperandIterpolator.cpp | 80 int32_t a = prevSrc[i].fS32; 81 int32_t b = nextSrc[i].fS32; 82 values[i].fS32 = a + SkScalarRoundToInt((b - a) * T);
|
H A D | SkDisplayRandom.cpp | 63 fRandom.setSeed(value.fOperand.fS32);
|
H A D | SkAnimatorScript2.cpp | 67 boxedValue->value = operand->fS32; 111 return SkAnimatorScript2::MapEnums(fTokens, name, len, &value->fS32); 267 return SkParse::FindNamedColor(name, len, (SkColor*) &value->fS32) != nullptr; 292 result |= SkClampMax(params->begin()[index].fS32, 255) << shift; 295 answer->fS32 = result; 320 operand->fS32 = boxedValue->value; 324 operand->fS32 = boxedValue->value; 413 value->fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too 415 value->fScalar = value->fS32 * 0.001f; 606 SkASSERT(value.fOperand.fS32 [all...] |
H A D | SkAnimatorScript.cpp | 103 boxedValue->value = !! scriptValue->fOperand.fS32; 108 boxedValue->value = scriptValue->fOperand.fS32; 154 if (MapEnums(tokens, token, len, (int*)&value->fOperand.fS32)) 197 if (SkParse::FindNamedColor(token, len, (SkColor*) &value->fOperand.fS32) != nullptr) 213 result |= SkClampMax(valuePtr->fOperand.fS32, 255) << shift; 216 value->fOperand.fS32 = result; 236 value->fOperand.fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too 238 value->fOperand.fScalar = value->fOperand.fS32 * 0.001f; 325 *result = value.fOperand.fS32; 382 value->fOperand.fS32 [all...] |
H A D | SkAnimateBase.cpp | 115 value->fOperand.fS32 = SkToBool(boolResult); 170 (*converted)[0].fS32 = color; 185 bool boolValue = SkToBool(value.fOperand.fS32);
|
H A D | SkDrawRectangle.cpp | 75 value->fOperand.fS32 = fBounds.isEmpty() == false;
|
H A D | SkDump.cpp | 73 SkDebugf("%d\" />\n", value.fOperand.fS32);
|
H A D | SkAnimator.cpp | 238 return result ? operand.fS32 : SK_NaN32; 316 return operand.fS32; 323 return scriptValue.fOperand.fS32; 534 op.fS32 = array[i]; 570 operand.fS32 = s32; 576 scriptValue.fOperand.fS32 = s32;
|
H A D | SkScriptTokenizer.cpp | 193 addTokenInt(value.fOperand.fS32); 542 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); 550 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); 655 operand.fS32 = 0; 783 int index = scriptValue.fOperand.fS32; 988 value.fOperand.fS32; 1203 operand.fS32 = SkScalarFloorToInt(operand.fScalar); 1206 success = SkParse::FindS32(operand.fString->c_str(), &operand.fS32) != nullptr; 1211 operand.fScalar = IntToScalar(operand.fS32); 1222 strPtr->appendS32(operand.fS32); [all...] |
H A D | SkMemberInfo.cpp | 190 scriptValue.fOperand.fS32 = 0; 438 (SkColor) array->begin()[index].fS32 : (SkColor) scriptValue.fOperand.fS32;
|
H A D | SkScript.cpp | 637 script = SkParse::FindHex(script, (uint32_t*)&operand.fS32); 651 dotCheck = SkParse::FindS32(script, &operand.fS32); 766 operand.fS32 = 0; 829 operand.fS32 = 0; 890 int index = scriptValue.fOperand.fS32; 1161 indexOperand.fS32; 1193 suppress.fSuppress = ifValue.fOperand.fS32 == 0; 1215 int32_t topInt = fOperandStack.top().fS32; 1308 operand1.fScalar = IntToScalar(operand1.fS32); 1312 operand2.fScalar = IntToScalar(operand2.fS32); [all...] |
H A D | SkDisplayApply.cpp | 489 value->fOperand.fS32 = fLastTime / SK_MSec1; 493 value->fOperand.fS32 = steps; 497 value->fOperand.fS32 = fLastTime; 787 steps = scriptValue.fOperand.fS32;
|
H A D | SkAnimateMaker.cpp | 367 value->fOperand.fS32 = *(int32_t*) stepPtr;
|
H A D | SkDrawExtraPathEffect.cpp | 307 value->fOperand.fS32 = (&shape2D->fU)[index - 6];
|