Lines Matching refs:rotation
3250 int32_t rotation = params.getInt(KEY_ROTATION); in setRotation() local
3251 if (rotation != -1) { in setRotation()
3252 if (rotation == 0 || rotation == 90 || in setRotation()
3253 rotation == 180 || rotation == 270) { in setRotation()
3254 set(KEY_ROTATION, rotation); in setRotation()
3257 rotation); in setRotation()
3258 mRotation = rotation; in setRotation()
3260 LOGE("Invalid rotation value: %d", rotation); in setRotation()
9852 featureConfig.rotation = ROTATE_0; in getStreamRotation()
9859 featureConfig.rotation = ROTATE_90; in getStreamRotation()
9864 featureConfig.rotation = ROTATE_180; in getStreamRotation()
9868 featureConfig.rotation = ROTATE_270; in getStreamRotation()
9872 featureConfig.rotation = ROTATE_0; in getStreamRotation()
10622 int rotation = 0; in getRotation() local
10626 rotation = mRotation; in getRotation()
10627 if (rotation < 0) { in getRotation()
10628 rotation = 0; in getRotation()
10631 return (uint32_t)rotation; in getRotation()
10643 void QCameraParameters::setJpegRotation(int rotation) { in setJpegRotation() argument
10644 if (rotation == 0 || rotation == 90 || in setJpegRotation()
10645 rotation == 180 || rotation == 270) { in setJpegRotation()
10646 mJpegRotation = (uint32_t)rotation; in setJpegRotation()
10660 int rotation = 0; in getDeviceRotation() local
10662 rotation = mRotation; in getDeviceRotation()
10663 if (rotation < 0) { in getDeviceRotation()
10664 rotation = 0; in getDeviceRotation()
10667 return (uint32_t)rotation; in getDeviceRotation()
10680 int rotation = 0; in getJpegExifRotation() local
10683 rotation = mRotation; in getJpegExifRotation()
10684 if (rotation < 0) { in getJpegExifRotation()
10685 rotation = 0; in getJpegExifRotation()
10688 return (uint32_t)rotation; in getJpegExifRotation()
12904 int32_t QCameraParameters::addOnlineRotation(uint32_t rotation, uint32_t streamId, in addOnlineRotation() argument
12912 if (rotation == 0) { in addOnlineRotation()
12913 rotation_info.rotation = ROTATE_0; in addOnlineRotation()
12914 } else if (rotation == 90) { in addOnlineRotation()
12915 rotation_info.rotation = ROTATE_90; in addOnlineRotation()
12916 } else if (rotation == 180) { in addOnlineRotation()
12917 rotation_info.rotation = ROTATE_180; in addOnlineRotation()
12918 } else if (rotation == 270) { in addOnlineRotation()
12919 rotation_info.rotation = ROTATE_270; in addOnlineRotation()
12921 rotation_info.rotation = ROTATE_0; in addOnlineRotation()