Searched refs:dx (Results 1 – 8 of 8) sorted by relevance
/bootable/recovery/recovery_ui/ |
D | vr_ui.cpp | 37 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()
|
D | ui.cpp | 181 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()
|
D | screen_ui.cpp | 608 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/ |
D | graphics.cpp | 261 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/ |
D | vr_ui.h | 36 void DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
|
D | ui.h | 224 void OnTouchDetected(int dx, int dy);
|
D | screen_ui.h | 63 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/ |
D | minui.h | 137 void gr_blit(const GRSurface* source, int sx, int sy, int w, int h, int dx, int dy);
|