Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dvr_ui.cpp37 void VrRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx, in DrawSurface() argument
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.cpp181 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected() argument
187 if (abs(dy) < touch_low_threshold_ && abs(dx) > touch_high_threshold_) { in OnTouchDetected()
188 direction = dx < 0 ? SwipeDirection::LEFT : SwipeDirection::RIGHT; in OnTouchDetected()
189 } else if (abs(dx) < touch_low_threshold_ && abs(dy) > touch_high_threshold_) { in OnTouchDetected()
192 LOG(DEBUG) << "Ignored " << dx << " " << dy << " (low: " << touch_low_threshold_ in OnTouchDetected()
Dscreen_ui.cpp608 void ScreenRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx, in DrawSurface() argument
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
269 dx += overscan_offset_x; 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.h36 void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
Dui.h224 void OnTouchDetected(int dx, int dy);
Dscreen_ui.h63 virtual void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
327 void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
/bootable/recovery/minui/include/minui/
Dminui.h137 void gr_blit(const GRSurface* source, int sx, int sy, int w, int h, int dx, int dy);