Home | History | Annotate | Download | only in animator

Lines Matching full:oldcount

66     int oldCount = fAnimators.count();
70 int total = oldCount + newCount;
74 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*));
75 for (index = oldCount; index < total; index++)
78 memcpy(&fAnimators[oldCount], animates.begin(), sizeof(fAnimators[0]) *
81 initState(apply, oldCount);
86 SkActive::SkState& testState = fState[oldCount + index];
87 for (int inner = 0; inner < oldCount; inner++) {
106 saveIndex -= oldCount;
113 oldCount--;
118 // total = oldCount + newCount;
119 // for (index = oldCount; index < total; index++)
124 void SkActive::appendSave(int oldCount) {
129 int records = saveIndex / oldCount;
133 saveIndex -= oldCount;
137 memmove(&fSaveRestore[newTotal], &fSaveRestore[saveIndex], oldCount);
138 memset(&fSaveRestore[newTotal + oldCount], 0,
139 sizeof(fSaveRestore[0]) * (newCount - oldCount));
141 &fSaveInterpolators[saveIndex], oldCount);
142 memset(&fSaveInterpolators[newTotal + oldCount], 0,
143 sizeof(fSaveRestore[0]) * (newCount - oldCount));
259 int oldCount = fSaveRestore.count();
260 if (oldCount < activeTotal) {
262 memset(&fSaveRestore[oldCount], 0, sizeof(fSaveRestore[0]) * (activeTotal - oldCount));
263 SkASSERT(fSaveInterpolators.count() == oldCount);
265 memset(&fSaveInterpolators[oldCount], 0,
266 sizeof(fSaveInterpolators[0]) * (activeTotal - oldCount));