Searched refs:current_rotation (Results 1 – 1 of 1) sorted by relevance
101 int8_t current_rotation; member129 static bool isOrientationAngleAcceptable(int current_rotation, int rotation, in isOrientationAngleAcceptable() argument137 if (current_rotation >= 0) { in isOrientationAngleAcceptable()143 if ((rotation == current_rotation) in isOrientationAngleAcceptable()144 || (rotation == (current_rotation + 1) % 4)) { in isOrientationAngleAcceptable()163 if ((rotation == current_rotation) in isOrientationAngleAcceptable()164 || (rotation == (current_rotation + 3) % 4)) { in isOrientationAngleAcceptable()453 && isOrientationAngleAcceptable(mTask.current_rotation, in add_samples()479 mTask.current_rotation = proposed_rotation; in add_samples()515 mTask.current_rotation = -1; in windowOrientationSetRate()[all …]