Home | History | Annotate | Download | only in animator

Lines Matching refs:oldCount

58     int oldCount = fAnimators.count();
62 int total = oldCount + newCount;
66 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*));
67 for (index = oldCount; index < total; index++)
70 memcpy(&fAnimators[oldCount], animates.begin(), sizeof(fAnimators[0]) *
73 initState(apply, oldCount);
78 SkActive::SkState& testState = fState[oldCount + index];
79 for (int inner = 0; inner < oldCount; inner++) {
98 saveIndex -= oldCount;
105 oldCount--;
110 // total = oldCount + newCount;
111 // for (index = oldCount; index < total; index++)
116 void SkActive::appendSave(int oldCount) {
121 int records = saveIndex / oldCount;
125 saveIndex -= oldCount;
129 memmove(&fSaveRestore[newTotal], &fSaveRestore[saveIndex], oldCount);
130 memset(&fSaveRestore[newTotal + oldCount], 0,
131 sizeof(fSaveRestore[0]) * (newCount - oldCount));
133 &fSaveInterpolators[saveIndex], oldCount);
134 memset(&fSaveInterpolators[newTotal + oldCount], 0,
135 sizeof(fSaveRestore[0]) * (newCount - oldCount));
256 int oldCount = fSaveRestore.count();
257 if (oldCount < activeTotal) {
259 memset(&fSaveRestore[oldCount], 0, sizeof(fSaveRestore[0]) * (activeTotal - oldCount));
260 SkASSERT(fSaveInterpolators.count() == oldCount);
262 memset(&fSaveInterpolators[oldCount], 0,
263 sizeof(fSaveInterpolators[0]) * (activeTotal - oldCount));