Searched refs:ps (Results 1 – 3 of 3) sorted by relevance
207 const uint8_t ps = 8; in get_cap_area() local216 cir_x = ((radius - thick_half) * lv_trigo_sin((int16_t)(90 - angle))) >> (LV_TRIGO_SHIFT - ps); in get_cap_area()217 cir_y = ((radius - thick_half) * lv_trigo_sin(angle)) >> (LV_TRIGO_SHIFT - ps); in get_cap_area()221 cir_x = (cir_x - pa) >> ps; in get_cap_area()226 cir_x = (cir_x + pa) >> ps; in get_cap_area()232 cir_y = (cir_y - pa) >> ps; in get_cap_area()237 cir_y = (cir_y + pa) >> ps; in get_cap_area()
501 const uint8_t ps = 8; in get_rounded_area() local510 cir_x = ((radius - thick_half) * lv_trigo_sin(90 - angle)) >> (LV_TRIGO_SHIFT - ps); in get_rounded_area()511 cir_y = ((radius - thick_half) * lv_trigo_sin(angle)) >> (LV_TRIGO_SHIFT - ps); in get_rounded_area()515 cir_x = (cir_x - pa) >> ps; in get_rounded_area()520 cir_x = (cir_x + pa) >> ps; in get_rounded_area()526 cir_y = (cir_y - pa) >> ps; in get_rounded_area()531 cir_y = (cir_y + pa) >> ps; in get_rounded_area()
30 …coord_t column_dsc[] = {100, 400, LV_GRID_TEMPLATE_LAST}; /*2 columns with 100 and 400 ps width*/