Lines Matching refs:scale_x
68 int16_t scale_x = 256; in lv_indev_scroll_handler() local
75 scale_x = (scale_x * zoom_act_x) >> 8; in lv_indev_scroll_handler()
80 if(scale_x == 0) { in lv_indev_scroll_handler()
81 scale_x = 1; in lv_indev_scroll_handler()
88 if(angle != 0 || scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_indev_scroll_handler()
90 scale_x = (256 * 256) / scale_x; in lv_indev_scroll_handler()
93 lv_point_transform(&indev->pointer.vect, angle, scale_x, scale_y, &pivot, false); in lv_indev_scroll_handler()
291 int32_t scale_x = 256; in lv_indev_find_scroll_obj() local
299 scale_x = (scale_x * zoom_act_x) >> 8; in lv_indev_find_scroll_obj()
304 if(scale_x == 0) { in lv_indev_find_scroll_obj()
305 scale_x = 1; in lv_indev_find_scroll_obj()
313 if(angle != 0 || scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_indev_find_scroll_obj()
315 scale_x = (256 * 256) / scale_x; in lv_indev_find_scroll_obj()
317 lv_point_transform(&obj_scroll_sum, angle, scale_x, scale_y, &pivot, false); in lv_indev_find_scroll_obj()