Searched refs:GRRotation (Results 1 – 5 of 5) sorted by relevance
42 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 …]
50 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()
1410 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()
238 if (gr_get_rotation() == GRRotation::DOWN) { in OnTouchDetected()
92 enum class GRRotation : int { enum154 void gr_rotate(GRRotation rotation);157 GRRotation gr_get_rotation();