Searched refs:drag_angle (Results 1 – 5 of 5) sorted by relevance
160 float drag_angle = atan2f(oDragDelta.y, oDragDelta.x); in EndPiePopup() local184 while ((drag_angle - item_inner_ang_min) < 0.f) in EndPiePopup()185 drag_angle += 2.f * IM_PI; in EndPiePopup()186 while ((drag_angle - item_inner_ang_min) > 2.f * IM_PI) in EndPiePopup()187 drag_angle -= 2.f * IM_PI; in EndPiePopup()189 if (drag_angle >= item_inner_ang_min in EndPiePopup()190 && drag_angle < item_inner_ang_max) { in EndPiePopup()
159 gfloat drag_angle; in G_DEFINE_TYPE_WITH_PRIVATE() local164 drag_angle = atanf (delta_y / delta_x); in G_DEFINE_TYPE_WITH_PRIVATE()166 drag_angle = G_PI_2; in G_DEFINE_TYPE_WITH_PRIVATE()168 if ((drag_angle > -scroll_threshold) && (drag_angle < scroll_threshold)) in G_DEFINE_TYPE_WITH_PRIVATE()170 else if ((drag_angle > (G_PI_2 - scroll_threshold)) || in G_DEFINE_TYPE_WITH_PRIVATE()171 (drag_angle < -(G_PI_2 - scroll_threshold))) in G_DEFINE_TYPE_WITH_PRIVATE()
159 gfloat drag_angle; in G_DEFINE_TYPE_WITH_PRIVATE() local167 drag_angle = atanf (delta_y / delta_x); in G_DEFINE_TYPE_WITH_PRIVATE()169 drag_angle = G_PI_2; in G_DEFINE_TYPE_WITH_PRIVATE()171 if ((drag_angle > -scroll_threshold) && in G_DEFINE_TYPE_WITH_PRIVATE()172 (drag_angle < scroll_threshold)) in G_DEFINE_TYPE_WITH_PRIVATE()174 else if ((drag_angle > (G_PI_2 - scroll_threshold)) || in G_DEFINE_TYPE_WITH_PRIVATE()175 (drag_angle < -(G_PI_2 - scroll_threshold))) in G_DEFINE_TYPE_WITH_PRIVATE()
44 float drag_angle = atan2f(drag_delta.y, drag_delta.x); in RadialPopupSelectMenu() local45 if (drag_angle < -0.5f * item_arc_span) in RadialPopupSelectMenu()46 drag_angle += 2.0f * IM_PI; in RadialPopupSelectMenu()60 if (drag_angle >= item_inner_ang_min && drag_angle < item_inner_ang_max) in RadialPopupSelectMenu()