Lines Matching refs:operand
57 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) {
61 SkDisplayArray* boxedValue = new SkDisplayArray(*operand->fArray);
67 boxedValue->value = operand->fS32;
72 boxedValue->value = operand->fScalar;
75 SkDisplayString* boxedValue = new SkDisplayString(*operand->fString);
85 operand->fObject = (void*) displayable;
306 virtual bool convert(SkOperand2::OpType type, SkOperand2* operand) {
308 SkDisplayable* displayable = (SkDisplayable*) operand->fObject;
312 operand->fArray = new SkOpArray(SkAnimatorScript2::ToOpType(boxedValue->values.getType()));
314 operand->fArray->setCount(count);
315 memcpy(operand->fArray->begin(), boxedValue->values.begin(), count * sizeof(SkOperand2));
316 fEngine->track(operand->fArray);
320 operand->fS32 = boxedValue->value;
324 operand->fS32 = boxedValue->value;
328 operand->fScalar = boxedValue->value;
332 operand->fString = SkNEW_ARGS(SkString, (boxedValue->value));
338 operand->fString = SkNEW_ARGS(SkString, (id));
344 virtual SkOperand2::OpType getReturnType(int /*index*/, SkOperand2* operand) {
345 SkDisplayable* displayable = (SkDisplayable*) operand->fObject;