Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp42 static GRRotation rotation = GRRotation::NONE; variable
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()
168 switch (rotation) { in PixelAt()
180 printf("invalid rotation %d", static_cast<int>(rotation)); in PixelAt()
[all …]
/bootable/recovery/recovery_ui/
Dwear_ui.cpp49 auto rotation = gr_get_rotation(); in FlipOrientation() local
50 if (rotation == GRRotation::NONE) { in FlipOrientation()
52 } else if (rotation == GRRotation::DOWN) { in FlipOrientation()
55 LOG(WARNING) << "Unsupported rotation for wrist orientation" << static_cast<int>(rotation); in FlipOrientation()
/bootable/recovery/minui/include/minui/
Dminui.h154 void gr_rotate(GRRotation rotation);