/external/skia/src/animator/ |
SkOperandInterpolator.h | 15 #include "SkOperand.h" 21 SkOperand* getValues() { return fValues; } 35 bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1); 36 Result timeToValues(SkMSec time, SkOperand values[]) const; 40 SkOperand* fValues; // pointer into fStorage 42 SkOperand(* fValuesArray)[10];
|
SkOperandIterpolator.cpp | 30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); 32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); 35 fValuesArray = (SkOperand(*)[10]) fValues; 39 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend) 53 SkOperand* dst = &fValues[fElemCount * index]; 54 memcpy(dst, values, fElemCount * sizeof(SkOperand)); 59 SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOperand values[]) const 67 const SkOperand* nextSrc = &fValues[index * fElemCount]; 75 const SkOperand* prevSrc = nextSrc - fElemCount; 87 memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount) [all...] |
SkIntArray.h | 31 union SkOperand; 52 typedef SkLongArray(SkOperand) SkTDOperandArray; 53 typedef SkLongArray(SkOperand*) SkTDOperandPtrArray;
|
SkTypedArray.h | 20 bool getIndex(int index, SkOperand* operand);
|
SkDisplayable.h | 13 #include "SkOperand.h" 107 void dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp, 108 SkOperand op2, SkOperand blankOp2);
|
SkOperand.h | 20 union SkOperand { 21 // SkOperand() {} 22 // SkOperand(SkScalar scalar) : fScalar(scalar) {} 34 SkOperand fOperand;
|
SkMemberInfo.cpp | 83 bool SkMemberInfo::getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) const { 85 char* valuePtr = (char*) *(SkOperand**) memberData(displayable); 138 void SkMemberInfo::getValue(const SkDisplayable* displayable, SkOperand value[], int count) const { 153 void SkMemberInfo::setValue(SkDisplayable* displayable, const SkOperand values[], 162 memcpy(dst, values, count * sizeof(SkOperand)); 360 SkOperand* storage = untypedStorage ? (SkOperand*) untypedStorage : arrayStorage ? 399 memcpy(&(*arrayStorage)[storageOffset], scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand)); 420 memcpy(destArray->begin() + storageOffset, scriptValue.fOperand.fArray->begin(), sizeof(SkOperand) * count); 448 SkASSERT(sizeof(SkScalar) == sizeof(SkOperand)); // !!! no 64 bit pointer support ye [all...] |
SkAnimateActive.cpp | 182 SkAutoSTMalloc<16, SkOperand> values(count); 220 SkAutoSTMalloc<16, SkOperand> values(count); 240 SkOperand* values = animate->getValues(); 278 SkOperand* from = animate->getValues(); 304 SkOperand* from = animate->getValues(); 305 SkOperand* to = &from[animate->components()]; 333 SkOperand* values = animate->getValues(); 358 memcpy(interpolator.getValues(), fSaveInterpolators[index], count * sizeof(SkOperand)); 365 SkOperand* cache = new SkOperand[count]; // this should use sk_malloc/sk_free since SkOperand does not have a constructor/destru (…) [all...] |
SkDisplayable.cpp | 159 SkOperand values[2]; 160 SkOperand blankValues[2]; 198 for (SkOperand* op = array->begin(); op < array->end(); op++) { 299 void SkDisplayable::dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp, 300 SkOperand op2, SkOperand blankOp2) { 420 for (SkOperand* op = values->begin(); op < values->end(); op++) {
|
SkAnimateActive.h | 33 void setInterpolator(int index, SkOperand* from);
|
SkAnimateBase.h | 38 SkOperand* getValues() { return fValues.begin(); }
|
SkDisplayApply.h | 39 void applyValues(int animatorIndex, SkOperand* values, int count,
|
SkAnimator.cpp | 227 int index, SkOperand* operand, SkDisplayTypes type) { 236 SkOperand operand; 253 SkOperand operand; 270 SkOperand operand; 313 SkOperand operand; 339 SkOperand operand; 522 SkOperand op; 533 SkOperand op; 569 SkOperand operand; 594 SkOperand operand [all...] |
SkDisplayApply.cpp | 107 void SkApply::applyValues(int animatorIndex, SkOperand* values, int count, 465 SkOperand* last = new SkOperand[count]; 466 SkAutoTDelete<SkOperand> autoLast(last); 469 SkOperand* saveOperand = fActive->fSaveRestore[activeIndex]; 480 SkOperand* save = fActive->fSaveRestore[activeIndex]; 482 memcpy(save, last, count * sizeof(SkOperand)); 578 // memcpy(values.begin(), animate->fValues.begin(), sizeof(SkOperand) * count); 580 // if (memcmp(values.begin(), animate->fValues.begin(), sizeof(SkOperand) * count) != 0) { 616 SkAutoSTMalloc<16, SkOperand> values(count) [all...] |
SkMemberInfo.h | 53 bool getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) const; 65 void getValue(const SkDisplayable* , SkOperand values[], int count) const; 85 void setValue(SkDisplayable* , const SkOperand values[], int count) const;
|
SkScript.h | 13 #include "SkOperand.h" 194 void convertToString(SkOperand& operand, SkDisplayTypes type) { 234 SkTDStack<SkOperand> fOperandStack;
|
SkTypedArray.cpp | 18 bool SkTypedArray::getIndex(int index, SkOperand* operand) {
|
SkScript.cpp | 24 remove SkDisplayType.h // from SkOperand.h 532 SkOperand operand; 828 SkOperand operand; [all...] |
SkAnimatorScript.cpp | 262 memcpy(array->begin(), displayableArray->begin(), count * sizeof(SkOperand));
|
/external/skia/src/xml/ |
SkJSDisplayable.cpp | 260 SkOperand operand; 363 SkOperand operand;
|