Home
last modified time | relevance | path

Searched refs:GRRotation (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp42 static GRRotation rotation = GRRotation::NONE;
49 auto swapped = (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT); in outside()
142 if (rotation == GRRotation::LEFT) { in incr_x()
144 } else if (rotation == GRRotation::RIGHT) { in incr_x()
146 } else if (rotation == GRRotation::DOWN) { in incr_x()
155 if (rotation == GRRotation::LEFT) { in incr_y()
157 } else if (rotation == GRRotation::RIGHT) { in incr_y()
159 } else if (rotation == GRRotation::DOWN) { in incr_y()
169 case GRRotation::NONE: in PixelAt()
171 case GRRotation::RIGHT: in PixelAt()
[all …]
/bootable/recovery/recovery_ui/
Dwear_ui.cpp50 if (rotation == GRRotation::NONE) { in FlipOrientation()
51 gr_rotate(GRRotation::DOWN); in FlipOrientation()
52 } else if (rotation == GRRotation::DOWN) { in FlipOrientation()
53 gr_rotate(GRRotation::NONE); in FlipOrientation()
Dscreen_ui.cpp1410 gr_rotate(GRRotation::RIGHT); in SetSwCallback()
1412 gr_rotate(GRRotation::DOWN); in SetSwCallback()
1414 gr_rotate(GRRotation::LEFT); in SetSwCallback()
1416 gr_rotate(GRRotation::NONE); in SetSwCallback()
Dui.cpp238 if (gr_get_rotation() == GRRotation::DOWN) { in OnTouchDetected()
/bootable/recovery/minui/include/minui/
Dminui.h92 enum class GRRotation : int { enum
154 void gr_rotate(GRRotation rotation);
157 GRRotation gr_get_rotation();