Searched refs:repeat_rate (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui.cpp | 4037 …Gui::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… 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()
|
D | imgui_internal.h | 1406 … CalcTypematicPressedRepeatAmount(float t, float t_prev, float repeat_delay, float repeat_rate);
|