Home
last modified time | relevance | path

Searched refs:attack_length (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/SDL2/include/
A DSDL_haptic.h495 Uint16 attack_length; /**< Duration of the attack. */ member
581 Uint16 attack_length; /**< Duration of the attack. */ member
667 Uint16 attack_length; /**< Duration of the attack. */ member
734 Uint16 attack_length; /**< Duration of the attack. */ member
/AliOS-Things-master/components/SDL2/test/
A Dtesthaptic.c126 efx[nefx].periodic.attack_length = 1000; in main()
142 efx[nefx].periodic.attack_length = 1000; in main()
160 efx[nefx].constant.attack_length = 1000; in main()
255 efx[nefx].ramp.attack_length = 1000; in main()
/AliOS-Things-master/components/SDL2/src/haptic/darwin/
A DSDL_syshaptic.c877 if ((hap_constant->attack_length == 0) in SDL_SYS_ToFFEFFECT()
883 envelope->dwAttackTime = hap_constant->attack_length * 1000; in SDL_SYS_ToFFEFFECT()
925 if ((hap_periodic->attack_length == 0) in SDL_SYS_ToFFEFFECT()
931 envelope->dwAttackTime = hap_periodic->attack_length * 1000; in SDL_SYS_ToFFEFFECT()
1012 if ((hap_ramp->attack_length == 0) && (hap_ramp->fade_length == 0)) { in SDL_SYS_ToFFEFFECT()
1017 envelope->dwAttackTime = hap_ramp->attack_length * 1000; in SDL_SYS_ToFFEFFECT()
1057 if ((hap_custom->attack_length == 0) in SDL_SYS_ToFFEFFECT()
1063 envelope->dwAttackTime = hap_custom->attack_length * 1000; in SDL_SYS_ToFFEFFECT()
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_dinputhaptic.c687 if ((hap_constant->attack_length == 0) in SDL_SYS_ToDIEFFECT()
693 envelope->dwAttackTime = hap_constant->attack_length * 1000; in SDL_SYS_ToDIEFFECT()
735 if ((hap_periodic->attack_length == 0) in SDL_SYS_ToDIEFFECT()
741 envelope->dwAttackTime = hap_periodic->attack_length * 1000; in SDL_SYS_ToDIEFFECT()
819 if ((hap_ramp->attack_length == 0) && (hap_ramp->fade_length == 0)) { in SDL_SYS_ToDIEFFECT()
824 envelope->dwAttackTime = hap_ramp->attack_length * 1000; in SDL_SYS_ToDIEFFECT()
863 if ((hap_custom->attack_length == 0) in SDL_SYS_ToDIEFFECT()
869 envelope->dwAttackTime = hap_custom->attack_length * 1000; in SDL_SYS_ToDIEFFECT()
/AliOS-Things-master/components/SDL2/src/haptic/linux/
A DSDL_syshaptic.c782 dest->u.constant.envelope.attack_length = in SDL_SYS_ToFFEffect()
783 CLAMP(constant->attack_length); in SDL_SYS_ToFFEffect()
832 dest->u.periodic.envelope.attack_length = in SDL_SYS_ToFFEffect()
833 CLAMP(periodic->attack_length); in SDL_SYS_ToFFEffect()
911 dest->u.ramp.envelope.attack_length = CLAMP(ramp->attack_length); in SDL_SYS_ToFFEffect()
/AliOS-Things-master/components/SDL2/src/haptic/
A DSDL_haptic.c778 efx->periodic.attack_length = 0; in SDL_HapticRumbleInit()

Completed in 30 milliseconds