OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:previewAspectRatio
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Camera2/src/com/android/camera/
CaptureLayoutHelper.java
239
* @param
previewAspectRatio
aspect ratio of the preview
245
float
previewAspectRatio
, int rotation) {
251
if (
previewAspectRatio
== TextureViewHelper.MATCH_SCREEN) {
260
if (
previewAspectRatio
< 1) {
261
previewAspectRatio
= 1 /
previewAspectRatio
;
269
float spaceNeededAlongLongerEdge = shorterEdge *
previewAspectRatio
;
277
previewShorterEdge = longerEdge /
previewAspectRatio
;
292
} else if (
previewAspectRatio
> 14f / 9f) {
298
previewLongerEdge = shorterEdge *
previewAspectRatio
;
[
all
...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyMetadataMapper.java
298
float
previewAspectRatio
= size.width * 1.0f / size.height;
300
if (Math.abs(jpegAspectRatio -
previewAspectRatio
) >=
308
size.width, size.height,
previewAspectRatio
));
[
all
...]
/device/asus/flo/camera/QCamera2/HAL/
QCameraParameters.cpp
[
all
...]
/device/lge/hammerhead/camera/QCamera2/HAL/
QCameraParameters.cpp
[
all
...]
/device/moto/shamu/camera/QCamera2/HAL/
QCameraParameters.cpp
[
all
...]
Completed in 588 milliseconds