Lines Matching defs:orientation

277          * <p>The orientation of the camera image. The value is the angle that the
279 * the display in its natural orientation. It should be 0, 90, 180, or 270.</p>
284 * right edge of the screen in natural orientation, the value should be
294 public int orientation;
1484 * <p>If you want to make the camera image show in the same orientation as
1504 * result = (info.orientation + degrees) % 360;
1507 * result = (info.orientation - degrees + 360) % 360;
1730 * <p>The direction is relative to the sensor orientation, that is, what
1733 * rectangle does not provide any information about face orientation.</p>
2611 * The sides of width and height are based on camera orientation. That
2613 * orientation. So applications need to consider the display orientation
2616 * preview ratio. If the display orientation is set to 0 or 180, preview
2617 * size should be set to 480x320. If the display orientation is set to
2619 * orientation should also be considered while setting picture size and
2701 * <p>Applications need to consider the display orientation. See {@link
2958 * <p>Applications need to consider the display orientation. See {@link
3079 * orientation of the camera. This affects the pictures returned from
3080 * JPEG {@link PictureCallback}. The camera driver may set orientation
3083 * rotated, the orientation in the EXIF header will be missing or 1 (row
3087 * If applications want to rotate the picture to match the orientation
3091 * OrientationEventListener is relative to the natural orientation of
3092 * the device. CameraInfo.orientation is the angle between camera
3093 * orientation and natural device orientation. The sum of the two is the
3100 * For example, suppose the natural orientation of the device is
3102 * orientation is 270. Suppose a back-facing camera sensor is mounted in
3104 * right edge of the display in natural orientation. So the camera
3105 * orientation is 90. The rotation should be set to 0 (270 + 90).
3110 * public void onOrientationChanged(int orientation) {
3111 * if (orientation == ORIENTATION_UNKNOWN) return;
3115 * orientation = (orientation + 45) / 90 * 90;
3118 * rotation = (info.orientation - orientation + 360) % 360;
3120 * rotation = (info.orientation + orientation) % 360;
3127 * orientation of the camera. Rotation can only be 0,
3822 * is relative to the sensor orientation, that is, what the sensor sees.
3891 * direction is relative to the sensor orientation, that is, what the