Searched refs:repeat_rate (Results 1 - 4 of 4) sorted by relevance
/third_party/mesa3d/src/imgui/ |
H A D | imgui_internal.h | 1406 IMGUI_API int CalcTypematicPressedRepeatAmount(float t, float t_prev, float repeat_delay, float repeat_rate);
|
H A D | imgui.cpp | 4037 int ImGui::CalcTypematicPressedRepeatAmount(float t, float t_prev, float repeat_delay, float repeat_rate) in CalcTypematicPressedRepeatAmount() argument 4041 if (t <= repeat_delay || repeat_rate <= 0.0f) in CalcTypematicPressedRepeatAmount() 4043 const int count = (int)((t - repeat_delay) / repeat_rate) - (int)((t_prev - repeat_delay) / repeat_rate); in CalcTypematicPressedRepeatAmount() 4047 int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) in GetKeyPressedAmount() argument 4054 return CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, repeat_delay, repeat_rate); in GetKeyPressedAmount()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui.cpp | 4685 // t = 0.0f t = repeat_delay, t = repeat_delay + repeat_rate*N 4686 int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate) in CalcTypematicRepeatAmount() argument 4692 if (repeat_rate <= 0.0f) in CalcTypematicRepeatAmount() 4694 const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((t0 - repeat_delay) / repeat_rate); in CalcTypematicRepeatAmount() 4695 const int count_t1 = (t1 < repeat_delay) ? -1 : (int)((t1 - repeat_delay) / repeat_rate); in CalcTypematicRepeatAmount() 4700 int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) in GetKeyPressedAmount() argument 4707 return CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, repeat_delay, repeat_rate); in GetKeyPressedAmount()
|
H A D | imgui_internal.h | 2532 IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate);
|
Completed in 50 milliseconds