Searched refs:current_rotation (Results 1 – 1 of 1) sorted by relevance
134 int8_t current_rotation; member162 static bool isOrientationAngleAcceptable(int current_rotation, int rotation, in isOrientationAngleAcceptable() argument171 (int)current_rotation, (int)rotation, (int)orientation_angle); in isOrientationAngleAcceptable()173 if (current_rotation >= 0) { in isOrientationAngleAcceptable()179 if ((rotation == current_rotation) in isOrientationAngleAcceptable()180 || (rotation == (current_rotation + 1) % 4)) { in isOrientationAngleAcceptable()199 if ((rotation == current_rotation) in isOrientationAngleAcceptable()200 || (rotation == (current_rotation + 3) % 4)) { in isOrientationAngleAcceptable()516 && isOrientationAngleAcceptable(mTask.current_rotation, in add_samples()546 mTask.current_rotation = proposed_rotation; in add_samples()[all …]