Searched refs:current_rotation (Results 1 – 1 of 1) sorted by relevance
130 int8_t current_rotation; member158 static bool isOrientationAngleAcceptable(int current_rotation, int rotation, in isOrientationAngleAcceptable() argument167 (int)current_rotation, (int)rotation, (int)orientation_angle); in isOrientationAngleAcceptable()169 if (current_rotation >= 0) { in isOrientationAngleAcceptable()175 if ((rotation == current_rotation) in isOrientationAngleAcceptable()176 || (rotation == (current_rotation + 1) % 4)) { in isOrientationAngleAcceptable()195 if ((rotation == current_rotation) in isOrientationAngleAcceptable()196 || (rotation == (current_rotation + 3) % 4)) { in isOrientationAngleAcceptable()512 && isOrientationAngleAcceptable(mTask.current_rotation, in add_samples()542 mTask.current_rotation = proposed_rotation; in add_samples()[all …]