History log of /packages/apps/Camera2/src/com/android/camera/CaptureLayoutHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
02c129a598b6a165885fe950275675d62993d2ee 20-May-2014 Seth Raphael <magicseth@google.com> Preparatory commit for 16:9 hdr+

This exposes some necessary functions for hdr+
to go 16:9. It allows you to pass a preview matrix
that is pre scaled, so that hdr+ can calculate its
own matrix

Bug: 14470553
Change-Id: I56f2c033ff58a9ff6793c6ee4d2317cb9ce5065a
/packages/apps/Camera2/src/com/android/camera/CaptureLayoutHelper.java
1b0fb15dcb5388ec07a382536d188461bc2d74da 08-May-2014 Doris Liu <tianliu@google.com> Do not scale down preview when preview asp is close to screen asp.

The logic for transforming preview when preview aspect ratio
is greater than 14/9 is brought back to achieve the same behavior
for preview positioning as we did in Denali release.

Bug: 14626812
Change-Id: Ife38efc342cd218aca7d9473ede4db92daebcf54
/packages/apps/Camera2/src/com/android/camera/CaptureLayoutHelper.java
a558a24553ca5e36ff6230bcdbae474f6b9b1ee3 02-May-2014 Doris Liu <tianliu@google.com> Fix rounding error

Bug: 14446168
Change-Id: Ic3fc882eab96f4d6e94fdb25928c362e5b33153f
/packages/apps/Camera2/src/com/android/camera/CaptureLayoutHelper.java
4931664284b9473b705b2e278d5bf5d939d7887c 22-Apr-2014 Doris Liu <tianliu@google.com> DO NOT MERGE - Shutter button left handed support

Bug: 12823819
Change-Id: I77bdbf17557bdd9f545b98bab58acce68d01b51d
(cherry picked from commit 344320c90639f823451ddac42e8f39b74727787c)
/packages/apps/Camera2/src/com/android/camera/CaptureLayoutHelper.java
8afc8e2eaaa4fdeef3cf9060cc69613d37804f56 11-Apr-2014 Doris Liu <tianliu@google.com> DO NOT MERGE - Refactor preview position logic

Centralize the logic of laying out bottom bar and transforming
preview TextureView based on the total space to lay them out
and preview aspect ratio. The layout is updated when either condition
above has changed. Then the rect of the bottom bar and preview
rect can be queried anywhere. This way, bottom bar, mode options
layout, and any view that relies on the preview rect and bottom bar
rect can be laid out without extra layout passes.

Bug: 13795952
Change-Id: I13c38b566b5b5d8f37ec94f325554c089a86ca8e
(cherry picked from commit 28a2950939614a0c1c83787960ce1a218fb69a5e)
/packages/apps/Camera2/src/com/android/camera/CaptureLayoutHelper.java