Lines Matching defs:orient
54 int tilt = 0, orient = 0;
65 orient = (int) atan2f(-x, y) * RADIANS_2_DEG;
67 if (orient < 0) {
68 orient += 360;
71 if (orient >= DEGREES_270_THRESH) {
72 orient = 270;
73 } else if (orient >= DEGREES_180_THRESH) {
74 orient = 180;
75 } else if (orient >= DEGREES_90_THRESH) {
76 orient = 90;
78 orient = 0;
80 listener->handleOrientation(orient, tilt);
81 CAMHAL_LOGVB(" tilt = %d orientation = %d", tilt, orient);