Home
last modified time | relevance | path

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

/bootable/recovery/
Dwear_touch.cpp44 void WearSwipeDetector::detect(int dx, int dy) { in detect() argument
47 if (abs(dy) < mLowThreshold && abs(dx) > mHighThreshold) { in detect()
48 direction = dx < 0 ? LEFT : RIGHT; in detect()
49 } else if (abs(dx) < mLowThreshold && abs(dy) > mHighThreshold) { in detect()
52 LOGD("Ignore %d %d\n", dx, dy); in detect()
Dwear_touch.h34 void detect(int dx, int dy);
/bootable/recovery/minui/
Dgraphics.cpp229 void gr_blit(GRSurface* source, int sx, int sy, int w, int h, int dx, int dy) { in gr_blit() argument
237 dx += overscan_offset_x; in gr_blit()
240 if (outside(dx, dy) || outside(dx+w-1, dy+h-1)) return; in gr_blit()
243 unsigned char* dst_p = gr_draw->data + dy*gr_draw->row_bytes + dx*gr_draw->pixel_bytes; in gr_blit()
Dminui.h63 void gr_blit(GRSurface* source, int sx, int sy, int w, int h, int dx, int dy);