Home
last modified time | relevance | path

Searched refs:fS32 (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/animator/
DSkScriptRuntime.cpp75 index = operand[1].fS32; in executeTokens()
127 memcpy(&operand[registerLoad].fS32, opCode, sizeof(int32_t)); in executeTokens()
168 if (operand[0].fS32 == 0) in executeTokens()
179 if (operand[0].fS32 != 0) in executeTokens()
193 strPtr->appendS32(operand[op - SkScriptEngine2::kIntToString].fS32); in executeTokens()
200 …perand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32); in executeTokens()
203 if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == nullptr) in executeTokens()
213 operand[0].fS32 = SkScalarFloorToInt(operand[0].fScalar); in executeTokens()
217 operand[0].fS32 += operand[1].fS32; in executeTokens()
230 operand[0].fS32 &= operand[1].fS32; in executeTokens()
[all …]
DSkScript.cpp637 script = SkParse::FindHex(script, (uint32_t*)&operand.fS32); in innerScript()
651 dotCheck = SkParse::FindS32(script, &operand.fS32); in innerScript()
766 operand.fS32 = 0; in innerScript()
829 operand.fS32 = 0; in innerScript()
890 int index = scriptValue.fOperand.fS32; in handleArrayIndexer()
1161 indexOperand.fS32; in logicalOp()
1193 suppress.fSuppress = ifValue.fOperand.fS32 == 0; in logicalOp()
1215 int32_t topInt = fOperandStack.top().fS32; in logicalOp()
1308 operand1.fScalar = IntToScalar(operand1.fS32); in processOp()
1312 operand2.fScalar = IntToScalar(operand2.fS32); in processOp()
[all …]
DSkDisplayable.cpp205 SkDebugf("%d", op->fS32); in dumpAttrs()
299 switch (op.fS32) { in dumpValues()
314 switch (op.fS32) { in dumpValues()
329 switch (op.fS32) { in dumpValues()
346 if (op.fS32 == 1) in dumpValues()
350 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "cw" : "ccw"); in dumpValues()
353 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "winding" : "evenOdd"); in dumpValues()
357 if (op.fS32 != blankOp.fS32) in dumpValues()
358 … SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "clamp" : op.fS32 == 1 ? "repeat" : "mirror"); in dumpValues()
361 if (op.fS32 != blankOp.fS32) in dumpValues()
[all …]
DSkAnimatorScript.cpp103 boxedValue->value = !! scriptValue->fOperand.fS32; in Box()
108 boxedValue->value = scriptValue->fOperand.fS32; in Box()
154 if (MapEnums(tokens, token, len, (int*)&value->fOperand.fS32)) in EvalEnum()
197 if (SkParse::FindNamedColor(token, len, (SkColor*) &value->fOperand.fS32) != nullptr) in EvalNamedColor()
213 result |= SkClampMax(valuePtr->fOperand.fS32, 255) << shift; in EvalRGB()
216 value->fOperand.fS32 = result; in EvalRGB()
236 … value->fOperand.fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too in EvalMemberCommon()
238 value->fOperand.fScalar = value->fOperand.fS32 * 0.001f; in EvalMemberCommon()
325 *result = value.fOperand.fS32; in EvaluateInt()
382 value->fOperand.fS32 = type == SkType_Float ? SkScalarIsNaN(scalar) == false && in IsFinite()
[all …]
DSkDisplayTypes.cpp131 int start = parameters[0].fOperand.fS32; in executeFunction()
137 end = parameters[1].fOperand.fS32; in executeFunction()
156 scriptValue->fOperand.fS32 = (int32_t) value.size(); in getProperty()
207 value->fOperand.fS32 = values.count(); in getProperty()
DSkAnimatorScript2.cpp67 boxedValue->value = operand->fS32; in convert()
111 return SkAnimatorScript2::MapEnums(fTokens, name, len, &value->fS32); in getConstValue()
267 return SkParse::FindNamedColor(name, len, (SkColor*) &value->fS32) != nullptr; in getConstValue()
292 result |= SkClampMax(params->begin()[index].fS32, 255) << shift; in invoke()
295 answer->fS32 = result; in invoke()
320 operand->fS32 = boxedValue->value; in convert()
324 operand->fS32 = boxedValue->value; in convert()
413 value->fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too in evalMemberCommon()
415 value->fScalar = value->fS32 * 0.001f; in evalMemberCommon()
606 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); in UnitTest()
DSkDrawPath.cpp147 value->fOperand.fS32 = (int) fPath.getFillType(); in getProperty()
170 SkASSERT(value.fOperand.fS32 >= SkPath::kWinding_FillType && in setProperty()
171 value.fOperand.fS32 <= SkPath::kEvenOdd_FillType); in setProperty()
172 fPath.setFillType((SkPath::FillType) value.fOperand.fS32); in setProperty()
DSkOperand2.h28 int32_t fS32; member
48 int32_t getS32() { SkASSERT(fType == SkOperand2::kS32); return fOperand.fS32; } in getS32()
DSkOperand.h27 int32_t fS32; member
40 SkDisplayType::IsEnum(maker, fType)); return fOperand.fS32; } in getS32()
DSkDrawBitmap.cpp103 fColor = value.fOperand.fS32; in setProperty()
163 value->fOperand.fS32 = fBitmap.height(); in getProperty()
166 value->fOperand.fS32 = fBitmap.width(); in getProperty()
DSkOperandIterpolator.cpp80 int32_t a = prevSrc[i].fS32; in timeToValues()
81 int32_t b = nextSrc[i].fS32; in timeToValues()
82 values[i].fS32 = a + SkScalarRoundToInt((b - a) * T); in timeToValues()
DSkAnimateBase.cpp115 value->fOperand.fS32 = SkToBool(boolResult); in getProperty()
170 (*converted)[0].fS32 = color; in packARGB()
185 bool boolValue = SkToBool(value.fOperand.fS32); in setProperty()
DSkScriptTokenizer.cpp193 addTokenInt(value.fOperand.fS32); in addTokenValue()
542 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); in innerScript()
550 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); in innerScript()
655 operand.fS32 = 0; in innerScript()
783 int index = scriptValue.fOperand.fS32; in handleArrayIndexer()
988 value.fOperand.fS32; in processLogicalOp()
1203 operand.fS32 = SkScalarFloorToInt(operand.fScalar); in ConvertTo()
1206 success = SkParse::FindS32(operand.fString->c_str(), &operand.fS32) != nullptr; in ConvertTo()
1211 operand.fScalar = IntToScalar(operand.fS32); in ConvertTo()
1222 strPtr->appendS32(operand.fS32); in ConvertTo()
[all …]
DSkAnimator.cpp238 return result ? operand.fS32 : SK_NaN32; in getArrayInt()
316 return operand.fS32; in getInt()
323 return scriptValue.fOperand.fS32; in getInt()
534 op.fS32 = array[i]; in setArrayInt()
570 operand.fS32 = s32; in setInt()
576 scriptValue.fOperand.fS32 = s32; in setInt()
DSkDisplayInput.cpp44 value->fOperand.fS32 = fInt != (int) SK_NaN32 || in getProperty()
DSkDrawText.cpp53 value->fOperand.fS32 = (int32_t) text.size(); in getProperty()
DSkDisplayRandom.cpp63 fRandom.setSeed(value.fOperand.fS32); in setProperty()
DSkMemberInfo.cpp190 scriptValue.fOperand.fS32 = 0; in setValue()
438 (SkColor) array->begin()[index].fS32 : (SkColor) scriptValue.fOperand.fS32; in writeValue()
DSkDisplayApply.cpp489 value->fOperand.fS32 = fLastTime / SK_MSec1; in getProperty()
493 value->fOperand.fS32 = steps; in getProperty()
497 value->fOperand.fS32 = fLastTime; in getProperty()
787 steps = scriptValue.fOperand.fS32; in setProperty()
DSkDump.cpp73 SkDebugf("%d\" />\n", value.fOperand.fS32); in evaluate()
DSkDrawRectangle.cpp75 value->fOperand.fS32 = fBounds.isEmpty() == false; in getProperty()
DSkAnimateMaker.cpp367 value->fOperand.fS32 = *(int32_t*) stepPtr; in GetStep()
DSkDrawExtraPathEffect.cpp307 value->fOperand.fS32 = (&shape2D->fU)[index - 6]; in Get2D()