Searched refs:rotation (Results 1 – 3 of 3) sorted by relevance
42 static GRRotation rotation = GRRotation::NONE; variable49 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 …]
49 auto rotation = gr_get_rotation(); in FlipOrientation() local50 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()
154 void gr_rotate(GRRotation rotation);