Home
last modified time | relevance | path

Searched refs:SkOperand (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/animator/
DSkOperandIterpolator.cpp38 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); in reset()
40 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
43 fValuesArray = (SkOperand(*)[10]) fValues; in reset()
47 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar … in setKeyFrame()
61 SkOperand* dst = &fValues[fElemCount * index]; in setKeyFrame()
62 memcpy(dst, values, fElemCount * sizeof(SkOperand)); in setKeyFrame()
67 SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOperand values[]) con… in timeToValues()
75 const SkOperand* nextSrc = &fValues[index * fElemCount]; in timeToValues()
83 const SkOperand* prevSrc = nextSrc - fElemCount; in timeToValues()
95 memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount); in timeToValues()
[all …]
DSkOperandInterpolator.h29 SkOperand* getValues() { return fValues; } in getValues()
43 …bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
44 Result timeToValues(SkMSec time, SkOperand values[]) const;
48 SkOperand* fValues; // pointer into fStorage
50 SkOperand(* fValuesArray)[10];
DSkMemberInfo.cpp91 bool SkMemberInfo::getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) con… in getArrayValue()
93 char* valuePtr = (char*) *(SkOperand**) memberData(displayable); in getArrayValue()
145 void SkMemberInfo::getValue(const SkDisplayable* displayable, SkOperand value[], int count) const { in getValue()
160 void SkMemberInfo::setValue(SkDisplayable* displayable, const SkOperand values[], in setValue()
169 memcpy(dst, values, count * sizeof(SkOperand)); in setValue()
367 SkOperand* storage = untypedStorage ? (SkOperand*) untypedStorage : arrayStorage ? in writeValue()
406 …(&(*arrayStorage)[storageOffset], scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand)); in writeValue()
427 …stArray->begin() + storageOffset, scriptValue.fOperand.fArray->begin(), sizeof(SkOperand) * count); in writeValue()
455 SkASSERT(sizeof(SkScalar) == sizeof(SkOperand)); // !!! no 64 bit pointer support yet in writeValue()
459 memcpy(storage, scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand)); in writeValue()
[all …]
DSkIntArray.h39 union SkOperand;
60 typedef SkLongArray(SkOperand) SkTDOperandArray;
61 typedef SkLongArray(SkOperand*) SkTDOperandPtrArray;
DSkDisplayable.h115 void dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp,
116 SkOperand op2, SkOperand blankOp2);
DSkAnimateActive.cpp185 SkAutoSTMalloc<16, SkOperand> values(count); in create()
223 SkAutoSTMalloc<16, SkOperand> values(count); in immediate()
243 SkOperand* values = animate->getValues(); in fixInterpolator()
281 SkOperand* from = animate->getValues(); in initState()
307 SkOperand* from = animate->getValues(); in pickUp()
308 SkOperand* to = &from[animate->components()]; in pickUp()
336 SkOperand* values = animate->getValues(); in resetInterpolators()
361 memcpy(interpolator.getValues(), fSaveInterpolators[index], count * sizeof(SkOperand)); in restoreInterpolatorValues()
368SkOperand* cache = new SkOperand[count]; // this should use sk_malloc/sk_free since SkOperand d… in saveInterpolatorValues()
370 memcpy(cache, interpolator.getValues(), count * sizeof(SkOperand)); in saveInterpolatorValues()
[all …]
DSkDisplayable.cpp167 SkOperand values[2]; in dumpAttrs()
168 SkOperand blankValues[2]; in dumpAttrs()
206 for (SkOperand* op = array->begin(); op < array->end(); op++) { in dumpAttrs()
307 …layable::dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp, in dumpValues()
308 SkOperand op2, SkOperand blankOp2) { in dumpValues()
428 for (SkOperand* op = values->begin(); op < values->end(); op++) { in executeFunction()
DSkOperand.h28 union SkOperand { union
42 SkOperand fOperand;
DSkAnimator.cpp235 int index, SkOperand* operand, SkDisplayTypes type) { in getArrayCommon()
244 SkOperand operand; in getArrayInt()
261 SkOperand operand; in getArrayScalar()
278 SkOperand operand; in getArrayString()
321 SkOperand operand; in getInt()
347 SkOperand operand; in getScalar()
530 SkOperand op; in setArrayString()
541 SkOperand op; in setArrayInt()
577 SkOperand operand; in setInt()
602 SkOperand operand; in setScalar()
DSkDisplayApply.cpp115 void SkApply::applyValues(int animatorIndex, SkOperand* values, int count, in applyValues()
472 SkOperand* last = new SkOperand[count]; in endSave()
473 SkAutoTDelete<SkOperand> autoLast(last); in endSave()
476 SkOperand* saveOperand = fActive->fSaveRestore[activeIndex]; in endSave()
487 SkOperand* save = fActive->fSaveRestore[activeIndex]; in endSave()
489 memcpy(save, last, count * sizeof(SkOperand)); in endSave()
623 SkAutoSTMalloc<16, SkOperand> values(count); in interpolate()
759 fActive->fSaveRestore[activeIndex] = new SkOperand[count]; in save()
763 memcpy(last.begin(), fActive->fSaveRestore[activeIndex], count * sizeof(SkOperand)); in save()
DSkMemberInfo.h61 bool getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) const;
73 void getValue(const SkDisplayable* , SkOperand values[], int count) const;
93 void setValue(SkDisplayable* , const SkOperand values[], int count) const;
DSkTypedArray.h28 bool getIndex(int index, SkOperand* operand);
DSkScript.h202 void convertToString(SkOperand& operand, SkDisplayTypes type) { in convertToString()
242 SkTDStack<SkOperand> fOperandStack;
DSkAnimateActive.h41 void setInterpolator(int index, SkOperand* from);
DSkAnimateBase.h46 SkOperand* getValues() { return fValues.begin(); } in getValues()
DSkDisplayApply.h47 void applyValues(int animatorIndex, SkOperand* values, int count,
DSkScript.cpp539 SkOperand operand; in innerScript()
835 SkOperand operand; in innerScript()
1165 SkOperand indexOperand; in logicalOp()
1175 SkOperand arrayOperand; in logicalOp()
1178 SkOperand operand; in logicalOp()
1267 SkOperand operand2; in processOp()
1269 SkOperand operand1 = operand2; // !!! not really needed, suppresses warning in processOp()
1505 SkOperand& operand = value->fOperand; in ConvertTo()
DSkTypedArray.cpp26 bool SkTypedArray::getIndex(int index, SkOperand* operand) { in getIndex()
DSkAnimatorScript.cpp270 memcpy(array->begin(), displayableArray->begin(), count * sizeof(SkOperand)); in EvalMemberCommon()
/external/skia/src/xml/
DSkJSDisplayable.cpp268 SkOperand operand; in GetProperty()
371 SkOperand operand; in SetProperty()