Searched refs:currentDisplayOrientation (Results 1 – 2 of 2) sorted by relevance
90 public int getPreviewOrientation(int currentDisplayOrientation) { in getPreviewOrientation() argument92 return getRelativeImageOrientation(currentDisplayOrientation, true); in getPreviewOrientation()106 public int getJpegOrientation(int currentDisplayOrientation) { in getJpegOrientation() argument108 return getRelativeImageOrientation(currentDisplayOrientation, false); in getJpegOrientation()123 protected int getRelativeImageOrientation(int currentDisplayOrientation, in getRelativeImageOrientation() argument125 if (!orientationIsValid(currentDisplayOrientation)) { in getRelativeImageOrientation()131 result = (getSensorOrientation() + currentDisplayOrientation) % 360; in getRelativeImageOrientation()136 result = (getSensorOrientation() - currentDisplayOrientation + 360) % 360; in getRelativeImageOrientation()157 public Matrix getPreviewTransform(int currentDisplayOrientation, RectF surfaceDimensions) { in getPreviewTransform() argument158 return getPreviewTransform(currentDisplayOrientation, surfaceDimensions, in getPreviewTransform()[all …]
1375 public Matrix getPreviewTransform(int currentDisplayOrientation, in getPreviewTransform() argument1378 if (!orientationIsValid(currentDisplayOrientation)) { in getPreviewTransform()1387 2 * currentDisplayOrientation / 90); in getPreviewTransform()