Home | History | Annotate | Download | only in camera

Lines Matching refs:orient

52                 int tilt = 0, orient = 0;
63 orient = (int) atan2f(-x, y) * RADIANS_2_DEG;
65 if (orient < 0) {
66 orient += 360;
69 if (orient >= DEGREES_270_THRESH) {
70 orient = 270;
71 } else if (orient >= DEGREES_180_THRESH) {
72 orient = 180;
73 } else if (orient >= DEGREES_90_THRESH) {
74 orient = 90;
76 orient = 0;
78 listener->handleOrientation(orient, tilt);
79 CAMHAL_LOGVB(" tilt = %d orientation = %d", tilt, orient);