• Home
  • Raw
  • Download

Lines Matching refs:animate

142     SkAnimateBase* animate = fAnimators[index];  in calcDurations()  local
143 SkMSec duration = animate->dur; in calcDurations()
171 SkAnimateBase* animate = fAnimators[index]; in create() local
173 int count = animate->components(); in create()
174 if (animate->formula.size() > 0) { in create()
177 … SkDEBUGCODE(bool success = ) animate->fFieldInfo->setValue(fMaker, &values, 0, 0, nullptr, in create()
178 animate->getValuesType(), animate->formula); in create()
180 fApply.applyValues(index, values.begin(), count, animate->getValuesType(), time); in create()
184 fApply.applyValues(index, values.get(), count, animate->getValuesType(), time); in create()
201 SkAnimateBase* animate = fAnimators[index]; in immediate() local
211 int count = animate->components(); in immediate()
212 if (animate->formula.size() > 0) { in immediate()
215 … SkDEBUGCODE(bool success = ) animate->fFieldInfo->setValue(fMaker, &values, 0, 0, nullptr, in immediate()
216 animate->getValuesType(), animate->formula); in immediate()
218 fApply.applyValues(index, values.begin(), count, animate->getValuesType(), time); in immediate()
222 fApply.applyValues(index, values.get(), count, animate->getValuesType(), time); in immediate()
237 SkAnimateBase* animate = fAnimators[index]; in fixInterpolator() local
239 animate->refresh(fMaker); in fixInterpolator()
240 SkOperand* values = animate->getValues(); in fixInterpolator()
273 SkAnimateBase* animate = fAnimators[index]; in initState() local
275 if (animate->fHasEndEvent) in initState()
276 SkDebugf("%8x %8x active initState:\n", this, animate); in initState()
278 SkOperand* from = animate->getValues(); in initState()
279 state.fStartTime = state.fBegin = apply->begin + animate->begin; in initState()
290 state.fUnpostedEndEvent = (SkBool8) animate->fHasEndEvent; in initState()
301 SkAnimateBase* animate = fAnimators[index]; in pickUp() local
302 SkASSERT(animate->getValuesType() == SkType_Float); in pickUp()
303 int components = animate->components(); in pickUp()
304 SkOperand* from = animate->getValues(); in pickUp()
305 SkOperand* to = &from[animate->components()]; in pickUp()
324 fInterpolators[index]->setKeyFrame(0, 0, existingValues.begin(), animate->blend[0]); in pickUp()
325 fInterpolators[index]->setKeyFrame(1, fState[index].fDuration, to, animate->blend[0]); in pickUp()
332 SkAnimateBase* animate = fAnimators[index]; in resetInterpolators() local
333 SkOperand* values = animate->getValues(); in resetInterpolators()
343 SkAnimateBase* animate = fAnimators[index]; in resetState() local
345 if (animate->fHasEndEvent) in resetState()
346 SkDebugf("%8x %8x active resetState: has end event\n", this, animate); in resetState()
348 state.fStartTime = state.fBegin = fApply.begin + animate->begin; in resetState()
373 SkAnimateBase* animate = fAnimators[index]; in setInterpolator() local
374 int entries = animate->entries(); in setInterpolator()
377 int components = animate->components(); in setInterpolator()
379 interpolator.reset(components, entries == 1 ? 2 : entries, animate->getValuesType()); in setInterpolator()
380 interpolator.setMirror(SkToBool(animate->fMirror)); in setInterpolator()
381 interpolator.setReset(SkToBool(animate->fReset)); in setInterpolator()
382 interpolator.setRepeatCount(animate->repeat); in setInterpolator()
384 interpolator.setKeyFrame(0, 0, from, animate->blend[0]); in setInterpolator()
385 interpolator.setKeyFrame(1, duration, from, animate->blend[0]); in setInterpolator()
389 int blendIndex = SkMin32(animate->blend.count() - 1, entry); in setInterpolator()
391 animate->blend[blendIndex]); in setInterpolator()