Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dvr_ui.cpp38 int dy) const { in DrawSurface()
39 gr_blit(surface, sx, sy, w, h, dx + stereo_offset_, dy); in DrawSurface()
40 gr_blit(surface, sx, sy, w, h, dx - stereo_offset_ + ScreenWidth(), dy); in DrawSurface()
Dui.cpp182 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected() argument
188 if (abs(dy) < touch_low_threshold_ && abs(dx) > touch_high_threshold_) { in OnTouchDetected()
190 } else if (abs(dx) < touch_low_threshold_ && abs(dy) > touch_high_threshold_) { in OnTouchDetected()
191 direction = dy < 0 ? SwipeDirection::UP : SwipeDirection::DOWN; in OnTouchDetected()
193 LOG(DEBUG) << "Ignored " << dx << " " << dy << " (low: " << touch_low_threshold_ in OnTouchDetected()
Dscreen_ui.cpp609 int dy) const { in DrawSurface()
610 gr_blit(surface, sx, sy, w, h, dx, dy); in DrawSurface()
/bootable/recovery/minui/
Dgraphics.cpp261 void gr_blit(const GRSurface* source, int sx, int sy, int w, int h, int dx, int dy) { in gr_blit() argument
270 dy += overscan_offset_y; in gr_blit()
272 if (outside(dx, dy) || outside(dx + w - 1, dy + h - 1)) return; in gr_blit()
279 uint32_t* dst_py = PixelAt(gr_draw, dx, dy, row_pixels); in gr_blit()
293 uint8_t* dst_p = gr_draw->data() + dy * gr_draw->row_bytes + dx * gr_draw->pixel_bytes; in gr_blit()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dvr_ui.h37 int dy) const override;
Dui.h222 void OnTouchDetected(int dx, int dy);
Dscreen_ui.h64 int dy) const = 0;
325 int dy) const override;
/bootable/recovery/minui/include/minui/
Dminui.h136 void gr_blit(const GRSurface* source, int sx, int sy, int w, int h, int dx, int dy);