Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_btn.c435 lv_coord_t half_side = LV_MATH_MAX(w, h) / 2; in lv_btn_design() local
436 … cir_area.x1 = p_act.x - ((half_side * coord_state) >> (LV_BTN_INK_VALUE_MAX_SHIFT - 1)); in lv_btn_design()
437 … cir_area.y1 = p_act.y - ((half_side * coord_state) >> (LV_BTN_INK_VALUE_MAX_SHIFT - 1)); in lv_btn_design()
438 … cir_area.x2 = p_act.x + ((half_side * coord_state) >> (LV_BTN_INK_VALUE_MAX_SHIFT - 1)); in lv_btn_design()
439 … cir_area.y2 = p_act.y + ((half_side * coord_state) >> (LV_BTN_INK_VALUE_MAX_SHIFT - 1)); in lv_btn_design()

Completed in 7 milliseconds