Lines Matching refs:scale_y
69 int16_t scale_y = 256; in lv_indev_scroll_handler() local
76 scale_y = (scale_y * zoom_act_y) >> 8; in lv_indev_scroll_handler()
84 if(scale_y == 0) { in lv_indev_scroll_handler()
85 scale_y = 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()
91 scale_y = (256 * 256) / scale_y; in lv_indev_scroll_handler()
93 lv_point_transform(&indev->pointer.vect, angle, scale_x, scale_y, &pivot, false); in lv_indev_scroll_handler()
292 int32_t scale_y = 256; in lv_indev_find_scroll_obj() local
300 scale_y = (scale_y * zoom_act_y) >> 8; in lv_indev_find_scroll_obj()
308 if(scale_y == 0) { in lv_indev_find_scroll_obj()
309 scale_y = 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()
316 scale_y = (256 * 256) / scale_y; 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()