Lines Matching refs:d
154 static VOID _gx_utility_bounce_ease_out(INT t, INT d, INT *return_tt, INT *return_dd) in _gx_utility_bounce_ease_out() argument
160 if (tt < 4 * d) in _gx_utility_bounce_ease_out()
163 dd = 16 * d * d; in _gx_utility_bounce_ease_out()
165 else if (tt < 8 * d) in _gx_utility_bounce_ease_out()
167 dd = d * d; in _gx_utility_bounce_ease_out()
168 tt = (tt - 6 * d); in _gx_utility_bounce_ease_out()
172 else if (tt < 10 * d) in _gx_utility_bounce_ease_out()
174 dd = d * d; in _gx_utility_bounce_ease_out()
175 tt = tt - 9 * d; in _gx_utility_bounce_ease_out()
181 dd = d * d; in _gx_utility_bounce_ease_out()
182 tt = 2 * tt - 21 * d; in _gx_utility_bounce_ease_out()
237 …_calculate(USHORT easing_function_type, INT start_val, INT end_val, INT t, INT d, INT *current_val) in _gx_utility_easing_function_calculate() argument
246 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
247 y = y * t / d; in _gx_utility_easing_function_calculate()
248 y = y * (27 * t - 17 * d) / 10 / d; in _gx_utility_easing_function_calculate()
253 y = (end_val - start_val) * (t - d) / d; in _gx_utility_easing_function_calculate()
254 y = y * (t - d) / d; in _gx_utility_easing_function_calculate()
255 y = y * (27 * (t - d) + 17 * d) / 10 / d; in _gx_utility_easing_function_calculate()
260 if ((t << 1) < d) in _gx_utility_easing_function_calculate()
262 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
263 y = y * t / d; in _gx_utility_easing_function_calculate()
264 y = y * (144 * t - 52 * d) / 10 / d; in _gx_utility_easing_function_calculate()
269 y = (end_val - start_val) * (t - d) / d; in _gx_utility_easing_function_calculate()
270 y = y * (t - d) / d; in _gx_utility_easing_function_calculate()
271 y = y * (144 * (t - d) + 52 * d) / 10 / d; in _gx_utility_easing_function_calculate()
277 t = d - t; in _gx_utility_easing_function_calculate()
278 _gx_utility_bounce_ease_out(t, d, &tt, &dd); in _gx_utility_easing_function_calculate()
283 _gx_utility_bounce_ease_out(t, d, &tt, &dd); in _gx_utility_easing_function_calculate()
288 if (t < d) in _gx_utility_easing_function_calculate()
290 t = d - t; in _gx_utility_easing_function_calculate()
291 _gx_utility_bounce_ease_out(t, d, &tt, &dd); in _gx_utility_easing_function_calculate()
298 t = t - d; in _gx_utility_easing_function_calculate()
299 _gx_utility_bounce_ease_out(t, d, &tt, &dd); in _gx_utility_easing_function_calculate()
306 dd = dd * t / d; in _gx_utility_easing_function_calculate()
307 dd = dd * t / d; in _gx_utility_easing_function_calculate()
317 dd = dd * (t - d) / d; in _gx_utility_easing_function_calculate()
318 dd = dd * (t - d) / d; in _gx_utility_easing_function_calculate()
326 if ((t << 1) < d) in _gx_utility_easing_function_calculate()
329 dd = dd * t / d; in _gx_utility_easing_function_calculate()
330 dd = dd * t / d; in _gx_utility_easing_function_calculate()
339 dd = dd * (t - d) / d; in _gx_utility_easing_function_calculate()
340 dd = dd * (t - d) / d; in _gx_utility_easing_function_calculate()
350 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
351 y = y * t / d; in _gx_utility_easing_function_calculate()
352 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
355 t = t - d; in _gx_utility_easing_function_calculate()
357 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
358 y = y * t / d; in _gx_utility_easing_function_calculate()
359 y = y * t / d + end_val; in _gx_utility_easing_function_calculate()
362 if ((t << 1) < d) in _gx_utility_easing_function_calculate()
364 y = (end_val - start_val) * (t << 2) / d; in _gx_utility_easing_function_calculate()
365 y = y * t / d; in _gx_utility_easing_function_calculate()
366 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
370 t = t - d; in _gx_utility_easing_function_calculate()
371 y = (end_val - start_val) * (t << 2) / d; in _gx_utility_easing_function_calculate()
372 y = y * t / d; in _gx_utility_easing_function_calculate()
373 y = y * t / d + end_val; in _gx_utility_easing_function_calculate()
378 tt = 1000 * (d - t) / d; in _gx_utility_easing_function_calculate()
380 tt = 900 * t / d - 967; in _gx_utility_easing_function_calculate()
386 tt = 1000 * t / d; in _gx_utility_easing_function_calculate()
388 tt = 900 * t / d - 67; in _gx_utility_easing_function_calculate()
395 if (t < d) in _gx_utility_easing_function_calculate()
397 tt = 1000 * (d - t) / d; in _gx_utility_easing_function_calculate()
399 tt = 400 * t / d - 445; in _gx_utility_easing_function_calculate()
408 tt = 1000 * (t - d) / d; in _gx_utility_easing_function_calculate()
410 tt = 400 * t / d - 445; in _gx_utility_easing_function_calculate()
419 t = 1000 * (d - t) / d; in _gx_utility_easing_function_calculate()
420 d = _gx_utility_pow_0_10(t); in _gx_utility_easing_function_calculate()
422 y = ((end_val - start_val) << 8) / d + start_val; in _gx_utility_easing_function_calculate()
425 t = 1000 * t / d; in _gx_utility_easing_function_calculate()
426 d = _gx_utility_pow_0_10(t); in _gx_utility_easing_function_calculate()
428 y = ((start_val - end_val) << 8) / d + end_val; in _gx_utility_easing_function_calculate()
432 if (t < d) in _gx_utility_easing_function_calculate()
434 t = 1000 * (d - t) / d; in _gx_utility_easing_function_calculate()
435 d = _gx_utility_pow_0_10(t); in _gx_utility_easing_function_calculate()
437 y = ((end_val - start_val) << 7) / d + start_val; in _gx_utility_easing_function_calculate()
441 t = 1000 * (t - d) / d; in _gx_utility_easing_function_calculate()
442 d = _gx_utility_pow_0_10(t); in _gx_utility_easing_function_calculate()
444 y = ((start_val - end_val) << 7) / d + end_val; in _gx_utility_easing_function_calculate()
449 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
450 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
453 t = t * ((d << 1) - t); in _gx_utility_easing_function_calculate()
454 d = d * d; in _gx_utility_easing_function_calculate()
456 y = ((end_val - start_val) * t / d) + start_val; in _gx_utility_easing_function_calculate()
460 dd = d * d; in _gx_utility_easing_function_calculate()
461 if ((t << 1) < d) in _gx_utility_easing_function_calculate()
467 tt = -(2 * tt - 4 * t * d + dd); in _gx_utility_easing_function_calculate()
473 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
474 y = y * t / d; in _gx_utility_easing_function_calculate()
475 y = y * t / d; in _gx_utility_easing_function_calculate()
476 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
479 t = t - d; in _gx_utility_easing_function_calculate()
480 y = (start_val - end_val) * t / d; in _gx_utility_easing_function_calculate()
481 y = y * t / d; in _gx_utility_easing_function_calculate()
482 y = y * t / d; in _gx_utility_easing_function_calculate()
483 y = y * t / d + end_val; in _gx_utility_easing_function_calculate()
486 if ((t << 1) < d) in _gx_utility_easing_function_calculate()
488 y = (end_val - start_val) * (t << 3) / d; in _gx_utility_easing_function_calculate()
489 y = y * t / d; in _gx_utility_easing_function_calculate()
490 y = y * t / d; in _gx_utility_easing_function_calculate()
491 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
495 t = t - d; in _gx_utility_easing_function_calculate()
496 y = (start_val - end_val) * (t << 3) / d; in _gx_utility_easing_function_calculate()
497 y = y * t / d; in _gx_utility_easing_function_calculate()
498 y = y * t / d; in _gx_utility_easing_function_calculate()
499 y = y * t / d + end_val; in _gx_utility_easing_function_calculate()
503 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
504 y = y * t / d; in _gx_utility_easing_function_calculate()
505 y = y * t / d; in _gx_utility_easing_function_calculate()
506 y = y * t / d; in _gx_utility_easing_function_calculate()
507 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
510 t = t - d; in _gx_utility_easing_function_calculate()
511 y = (end_val - start_val) * t / d; in _gx_utility_easing_function_calculate()
512 y = y * t / d; in _gx_utility_easing_function_calculate()
513 y = y * t / d; in _gx_utility_easing_function_calculate()
514 y = y * t / d; in _gx_utility_easing_function_calculate()
515 y = y * t / d + end_val; in _gx_utility_easing_function_calculate()
518 if ((t << 1) < d) in _gx_utility_easing_function_calculate()
520 y = (end_val - start_val) * (t << 4) / d; in _gx_utility_easing_function_calculate()
521 y = y * t / d; in _gx_utility_easing_function_calculate()
522 y = y * t / d; in _gx_utility_easing_function_calculate()
523 y = y * t / d; in _gx_utility_easing_function_calculate()
524 y = y * t / d + start_val; in _gx_utility_easing_function_calculate()
528 t = t - d; in _gx_utility_easing_function_calculate()
529 y = (end_val - start_val) * (t << 4) / d; in _gx_utility_easing_function_calculate()
530 y = y * t / d; in _gx_utility_easing_function_calculate()
531 y = y * t / d; in _gx_utility_easing_function_calculate()
532 y = y * t / d; in _gx_utility_easing_function_calculate()
533 y = y * t / d + end_val; in _gx_utility_easing_function_calculate()
538 t = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(90) * t / d); in _gx_utility_easing_function_calculate()
546 t = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(90) * t / d); in _gx_utility_easing_function_calculate()
553 t = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(180) * t / d); in _gx_utility_easing_function_calculate()
560 y = (end_val - start_val) * t / d + start_val; in _gx_utility_easing_function_calculate()