/external/skia/src/animator/ |
SkScriptRuntime.cpp | 67 index = operand[1].fS32; 119 memcpy(&operand[registerLoad].fS32, opCode, sizeof(int32_t)); 160 if (operand[0].fS32 == 0) 171 if (operand[0].fS32 != 0) 185 strPtr->appendS32(operand[op - SkScriptEngine2::kIntToString].fS32); 192 operand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32); 195 if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == false) 205 operand[0].fS32 = SkScalarFloor(operand[0].fScalar); 209 operand[0].fS32 += operand[1].fS32; [all...] |
SkOperand2.h | 21 int32_t fS32; 41 int32_t getS32() { SkASSERT(fType == SkOperand2::kS32); return fOperand.fS32; }
|
SkDisplayable.cpp | 213 SkDebugf("%d", op->fS32); 311 switch (op.fS32) { 330 switch (op.fS32) { 345 switch (op.fS32) { 362 if (op.fS32 == 1) 366 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "cw" : "ccw"); 369 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "winding" : "evenOdd"); 373 if (op.fS32 != blankOp.fS32) 374 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "clamp" : op.fS32 == 1 ? "repeat" : "mirror") [all...] |
SkOperand.h | 35 int32_t fS32; 48 SkDisplayType::IsEnum(maker, fType)); return fOperand.fS32; }
|
SkDisplayInput.cpp | 52 value->fOperand.fS32 = fInt != (int) SK_NaN32 ||
|
SkDisplayTypes.cpp | 143 int start = parameters[0].fOperand.fS32; 149 end = parameters[1].fOperand.fS32; 168 scriptValue->fOperand.fS32 = (int32_t) value.size(); 219 value->fOperand.fS32 = values.count();
|
SkDrawPath.cpp | 155 value->fOperand.fS32 = (int) fPath.getFillType(); 178 SkASSERT(value.fOperand.fS32 >= SkPath::kWinding_FillType && 179 value.fOperand.fS32 <= SkPath::kEvenOdd_FillType); 180 fPath.setFillType((SkPath::FillType) value.fOperand.fS32);
|
SkDrawText.cpp | 61 value->fOperand.fS32 = (int32_t) text.size();
|
SkDrawBitmap.cpp | 112 fColor = value.fOperand.fS32; 172 value->fOperand.fS32 = fBitmap.height(); 175 value->fOperand.fS32 = fBitmap.width();
|
SkOperandIterpolator.cpp | 90 int32_t a = prevSrc[i].fS32; 91 int32_t b = nextSrc[i].fS32; 92 values[i].fS32 = a + SkScalarRound((b - a) * T);
|
SkDisplayRandom.cpp | 77 fRandom.setSeed(value.fOperand.fS32);
|
SkAnimatorScript2.cpp | 60 boxedValue->value = operand->fS32; 104 return SkAnimatorScript2::MapEnums(fTokens, name, len, &value->fS32); 260 return SkParse::FindNamedColor(name, len, (SkColor*) &value->fS32) != NULL; 285 result |= SkClampMax(params->begin()[index].fS32, 255) << shift; 288 answer->fS32 = result; 313 operand->fS32 = boxedValue->value; 317 operand->fS32 = boxedValue->value; 406 value->fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too 408 value->fScalar = SkScalarDiv((SkScalar) value->fS32, 1000); // dividing two ints is the same as dividing two scalars 599 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer) [all...] |
SkAnimatorScript.cpp | 111 boxedValue->value = !! scriptValue->fOperand.fS32; 116 boxedValue->value = scriptValue->fOperand.fS32; 162 if (MapEnums(tokens, token, len, (int*)&value->fOperand.fS32)) 205 if (SkParse::FindNamedColor(token, len, (SkColor*) &value->fOperand.fS32) != NULL) 221 result |= SkClampMax(valuePtr->fOperand.fS32, 255) << shift; 224 value->fOperand.fS32 = result; 244 value->fOperand.fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too 246 value->fOperand.fScalar = SkScalarDiv((SkScalar) value->fOperand.fS32, 1000); // dividing two ints is the same as dividing two scalars 333 *result = value.fOperand.fS32; 390 value->fOperand.fS32 = type == SkType_Float ? SkScalarIsNaN(scalar) == false && [all...] |
SkAnimateBase.cpp | 127 value->fOperand.fS32 = SkToBool(boolResult); 180 (*converted)[0].fS32 = color; 195 bool boolValue = SkToBool(value.fOperand.fS32);
|
SkDrawRectangle.cpp | 83 value->fOperand.fS32 = fBounds.isEmpty() == false;
|
SkDump.cpp | 81 SkDebugf("%d\" />\n", value.fOperand.fS32);
|
SkAnimator.cpp | 246 return result ? operand.fS32 : SK_NaN32; 324 return operand.fS32; 331 return scriptValue.fOperand.fS32; 542 op.fS32 = array[i]; 578 operand.fS32 = s32; 584 scriptValue.fOperand.fS32 = s32;
|
SkScriptTokenizer.cpp | 185 addTokenInt(value.fOperand.fS32); 533 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); 541 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); 648 operand.fS32 = 0; 775 int index = scriptValue.fOperand.fS32; [all...] |
SkMemberInfo.cpp | 197 scriptValue.fOperand.fS32 = 0; 445 (SkColor) array->begin()[index].fS32 : (SkColor) scriptValue.fOperand.fS32;
|
SkScript.cpp | 644 script = SkParse::FindHex(script, (uint32_t*)&operand.fS32); 658 dotCheck = SkParse::FindS32(script, &operand.fS32); 773 operand.fS32 = 0; 836 operand.fS32 = 0; [all...] |
SkDisplayApply.cpp | 496 value->fOperand.fS32 = fLastTime / SK_MSec1; 500 value->fOperand.fS32 = steps; 504 value->fOperand.fS32 = fLastTime; 794 steps = scriptValue.fOperand.fS32;
|
SkAnimateMaker.cpp | 371 value->fOperand.fS32 = *(int32_t*) stepPtr;
|
SkDrawExtraPathEffect.cpp | 300 value->fOperand.fS32 = (&shape2D->fU)[index - 6];
|