History log of /packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2eb8298b5fa99af132f6be6da920ed8867974488 30-May-2015 Sascha Haeberling <haeberling@google.com> Use Google Feedback CrashBuilder API to make reports easier to consume.

Manual Cherry-Pick Part 1 of http://ag/699672

Currently, Feedback reports don't include a stacktrace. You have to
download
a system log file to find it. This tweak allows us to see the stacktrace
on the Report page itself.

Example old report:
https://feedback.corp.google.com/product/102042/crash?lView=rd&lCategory=8590053278&lRSort=1&lROrder=2&lRFilter=1&lReport=5517267704
Example new report:
https://feedback.corp.google.com/product/102042/crash?lView=rd&lCategory=8590053278&lRSort=1&lROrder=2&lRFilter=1&lReport=5517601160

Change-Id: If5f0ed6c69e96fe5f3661af913ae1525f8594b75
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
c534c71cee79c91310ad5c43824165cc06e7cbae 11-May-2015 Alan Newberger <alann@google.com> Fall back to bounds if provided width/height is 0

Monkey results show async dimensions can lag behind
automated filmstrip. Protect against this case, should
reduce monkey issues.

Bug: 21023148
Change-Id: I8fef5e8d00f96c4b4c249b3a9daebfcf9991e193
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
c44b7c47dbb8f53a6401285c4ca9218326d21a7e 10-Mar-2015 Puneet Lall <puneetl@google.com> Reset existing AF scan upon tap-to-focus

* Interrupts existing, in-progress AF scans upon tap-to-focus
(triggerFocusAndMeterAtPoint).
* Removes pending delayed-af-resets upon subsequent tap-to-focus
to fix the case in which a user triggers AF twice within <3 seconds
which previously resulted in the AF mode returning to
continuous_picture shortly after the second AF scan.
* Removes dependencies on CameraUtil and static Settings3A
methods, and refactors FrameServerImpl to enable unit-testing.

Bug: 18935538
Change-Id: I0c2d5d92d2b07efdc11de8388e42b931d3ea89d0
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
66b942a3d20aac65454961ef2bc219ca560b9fba 03-Mar-2015 Puneet Lall <puneetl@google.com> Add error handling for repeating preview workaround

Adds error handling to show a dialog if the workaround for the repeating
preview (bug: 19061883) fails.

Bug: 19565931
Change-Id: Iabc3b4fdbc6977b0e1828243e80138385a3ef522
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
734122e8fe6c621a8510043839f05a0adff4c3a4 06-Feb-2015 zafir <zafir@google.com> Adding reporting functionality using Feedback API for PhotoModule and CaptureModule when captured pictures don't save to the device.

Bug: 19231841
Change-Id: I7d66db1e4c273dc7ec082f40a80b349bd91a7e8b
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
00a764a3b6d9072413d18b441c759d4a604223b4 20-Feb-2015 Senpo Hu <senpo@google.com> Add captureintent.PictureDecoder.

Extract the logic from PhotoModule so it be reused by the new capture
intent module.

Bug: 18726217
Change-Id: I7c3b2f6f556dd40bbc02d0624117bf4675e85a02
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
6ba8eeea4758e29318c615e978c63599c30438b4 18-Feb-2015 Paul Rohde <codelogic@google.com> Add a PreviewSizeSelector interface.

This removes the required context object for the utility objects
in both CameraUtil and CaptureModuleUtil. Adding an interface
for PreviewSizeSelection clears the way for future work to move
the preview size selection code into a dedicated class and to have
api specific versions of preview selection code for startup
speed improvements.

Change-Id: I92e58dad23b08057eb10984c31d04947a376ac6d
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
69c897f767f327722efd3314bf679c5a5dd64bb8 30-Jan-2015 zafir <zafir@google.com> Implemented Report functionality using GMS Core Feedback API. Implemented stubs for Camera2.

Bug: 18188247
Change-Id: Ic47bf432dca326bb454d0e4408b6b58f645a3fa4
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
5c1db74d807c64e7917d927b532cd109c697ce35 20-Jan-2015 Paul Rohde <codelogic@google.com> Make most app services lazy.

Change-Id: I476914b1ed399f8ad727ac33782229cdf39d378f
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
8be316c7a8caf962cf3fcf5e49d332fb2718319f 20-Jan-2015 Paul Rohde <codelogic@google.com> Make it possible for singletons that rely on application context to be
initalized lazily.

* Add AndroidContext
* Add AndroidServices
* Make LogHelper ues thread safe lazy initialization
* Convert several unused fields into local variables in CameraApp.

Change-Id: I9c73e9b91efb49a01d848a8cca1e8e65f059b5d0
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
8ee16b8a323ffa20e6fb1270d498ec445f64defc 18-Dec-2014 Paul Rohde <codelogic@google.com> Refactor the filmstrip backing data.

- Remove unused fields and code.
- Rename classes and methods to be consistent with usage
- Make data more immutable
- Add Location and Metadata classes for typed data access.
- Use Date instead of long for DateTime representations.
- Filmstrip prefix for filmstrip specific code.
- Cleaner Glide implementations.
- Initialize Glide bitmap pool.
- Eagerly load large image sizes when scroll stops.

Change-Id: I3b51d42416ca076c80bf7db441d257659174b47d
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
522d87380bdc8f4b8cdfe4b6f8337911d2cbc07f 06-Jan-2015 Alan Newberger <alann@google.com> Adjust aspect ratio matching threshold for all devices

Broadening a fix from Glacier now that we have time to test across
devices.

Bug: 18241645
Change-Id: Ic3a65a659009d0301255b608d4540bd15e9bd0fb
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
2272f8a6bfc8adca8ada7a215bef038d45256085 16-Dec-2014 Senpo Hu <senpo@google.com> CaptureModule first run dialog.

* Introduce FirstRunDialog.
* Add OneCameraCharacteristics so we can query camera properties without
opening the camera.
* Refactor AspectRatioDialogLayout and LocationDialogLayout to clean up.
* Refactor to move away from portability/Size class in Camera2.

Bug: 18623223
Change-Id: I05f4eefe3ee2feeaa47b6296f8926f6be8e83051
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
987ee64612e2510004fdf08536746c87234d01c1 05-Dec-2014 Paul Rohde <codelogic@google.com> Drop new focus indicator into Camera2.

* Create a new custom focus view that interacts with physical lens diopter changes.
* Replace all occurances of the old focus indicator with the new one.

Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
bc3b9f1bf63dd70ef11e54ea6d4687a5174f5ddf 02-Dec-2014 Senpo Hu <senpo@google.com> Fix the orientation issue for front camera.

This bug is introduced by the refactoring done in ag/589395.

Bug: 18520267
Change-Id: If0df6a7d6fe3ca630839ef92dccaa78f0136bb7d
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
0bdc4b54a18c18d7094b2e4cea1e238005c5c4a2 18-Nov-2014 Senpo Hu <senpo@google.com> Unify orientation calculation logic.

Camera API takes clockwise degrees for JPEG rotation and
OrientationEventListener reports clockwise device orientation.
The easiest formula of calculating output image rotation degree is:
"camera sensor orientation" + "device orientation"

Since front cameras face in opposite direction. The result needs to be mirrored
for front camera.

Detailed changes:
* Refactor OrientationManager to remove unnecessary complexity.
* Add OrientationManager.DeviceOrientation enum and
OrientationManager.getDeviceOrientation
* Remove CameraUtil.roundOrientation.
* Fix the weird calculation which is hard to understand in
CameraUtil.getJpegRotation and add CameraUtil.getImageRotation
* Clean up image rotation logic in all modules:
* Always look up the current device orientation via OrientationManager.getDeviceOrientation
* Fix the doc for copyImagePlaneToBitmap() which actually rotates image
counterclockwise.
* Clean up CameraActivity:
* Remove CameraActivity.onOrientationChanged and
ModuleController.onOrientationChanged. Any individual module which
wants to listen orientation change should register itself to
OrientationManager. Now only VideoModule needs to do that.

Bug: 17443789
Change-Id: I6d54cac5bde950acae0c3226448c27a816266df0
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
c6da1a12fe8b78e2fbebe1af5efee514bc8e25ee 06-Nov-2014 Sascha Haeberling <haeberling@google.com> Add experimental RAW(DNG) support.

Bug: 18272977

This adds RAW writing behind a new debug property:
adb shell setprop persist.camera.capture_dng 1

This will switch to the non-ZSL implementation of one Camera.

The resulting files are stored in a "DNG" folder under DCIM/Camera.

Caveats:
- Preview aspect ratio will not match.
- No item in filmstrip

Change-Id: I9d990de119f22a12d37b22d36d84dc15aeee9340
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
2ebdbd55522df5ceb93c2a0c423e3515c030bd05 04-Nov-2014 Alan Newberger <alann@google.com> Relax aspect ratio matching tolerance for devices with 1.347 ratios

Our .01 tolerance omits valid 4:3 previews when the image capture is
more than 0.01 over true 4:3. Relax matching in Glacier just for
affected builds.

Bug: 18241645
Change-Id: I5868bc9535e4c9bb886f0de0daf0e83cd2f4dc78
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
1332fc023ea9941ff4afac0a43d13930d5b59771 28-Oct-2014 Sascha Haeberling <haeberling@google.com> Remove additional dependencies on FloatMath

See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e
for details.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I70a3ad8a9264c320b5e2d6a9097a05d473e4fcfa
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
4ed861a70de7db31a7d4b9227b523bef684d7eed 11-Oct-2014 I-Jong Lin <ijonglin@google.com> Preview vs Video Camera Resolution Mismatch

Bug: 17458889

This bug is programmatic and reproduces on all devices. Basically,
the current app defaults to the highest resolution preview that
matches the aspect ratio of the recording, even if the recording
video resolution is lower. Since it is more important to be WYSIWYG,
in the cases where the preview show at the same resolution of
the recording video resolution, we should preview at same resolution
for truest (but not necessarily best) quality that most faithfully
represents the content that is to be recorded under the constraint
of the UI resolution.

Change-Id: I0ec5a76834cbffa59f0e144f1fe271de25e92523
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
131591967bb4f27b8b55347e367a144047320c30 13-Oct-2014 Senpo Hu <senpo@google.com> Refine camera fatal error handling in CameraActivity.

Use Log.e() to clearly indicate what action has been taken to handle
the error.

Bug: 17964147
Change-Id: I073e06d99a89e6e1e697766736791ef419339944
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
437a186929173ad576e0eac04bd5b79939816158 02-Oct-2014 Alan Newberger <alann@google.com> Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

To ensure items are placed in separate affinity in document mode.

Bug: 17758840
Change-Id: I7ea1c9c841f3e60271307ed67e760be494835855
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
0971376b0ddf12c8aa886ad9109f6a8929095154 17-Sep-2014 Jiawen Chen <jiawen@google.com> Changed tap-to-meter rectangle and weights.

Bug: 17417649

- Clarified widths in Settings3A.
- For Gcam only, reduced AE box to 12.25% of the shorter edge of the crop
rectangle. This matches the setting on Nexus 5.
- For Gcam only, changed AE weight to 22 after consultations with Ryan.
- Tested with Gcam and it final shots look great in HDR scenes.
- Does not fully address b/17417649: ISP AE ignores the weight completely and
overcompensates for the tap region.
- Changed AutoFocusHelper to take touch points in normalized portrait
coordinates along with a sensor orientation. The output is a MeteringRectangle
in sensor pixels.
- Fixed a bug where a digital-zoomed tap doesn't work when the rect intersects
edges. It should have been clamp, not check for intersection and return the
full crop rectangle if it doesn't intersect.

- Submit simultaneously with ag/549706.

Change-Id: If084e64ecbfc4a08ece96a7cebfcaf835d92b9d1
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
be70731da3f2b9ef1ed1bda09d458c779459c772 10-Sep-2014 Senpo Hu <senpo@google.com> Return to filmstrip when video playback finishes.

Bug: 17091348
Change-Id: I9703d014029bf29431b099b129b1ed8bce0ffa03
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
f2627903d11faf47c5052884bc2b23e27b8d5f94 02-Sep-2014 Sascha Haeberling <haeberling@google.com> A few Size clean-ups to support live metering changes.

Bug: 16948752

Change-Id: I262a6b3caa42ecd7a4da40d1eaca6a7eaa96be98
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
9f2b20a389fa79f35e1e12878e3cbd8db3e1ff95 30-Aug-2014 Senpo Hu <senpo@google.com> Starting share/edit/play activities in its own task.

Bug: 17091348
Change-Id: Ib90173e164fab2a1aba753ab4d4f05d305d3d522
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
cf2a8186cb72ea3df6f784cfdf259db5f5e67eb6 25-Aug-2014 Igor Murashkin <iam@google.com> util: Optimal preview size picks smaller-than-display size in case of tie

This fixes the case when 1600x1200 was selected over 1280x960 on a
Nexus 5 (display size 1920x1080); both preview sizes were equally close,
but the larger one was arbitrarily winning out.

Bug: 17216523
Change-Id: I163c29d5f46ad1b8b44825424c5202eb87855048
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
4f93e19ddb504560752fd5da9fecc4b95a4f1733 20-Aug-2014 Spike Sprague <spikuru@google.com> filmstrip actionbar tweaks

bug: 17114274
Change-Id: I0e9b3dd37325d39f5a16d81cbfaf71b98baf7510
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
a2dd9ea5ba031128b9f0aa3852ff59991dd3008c 16-Aug-2014 Sascha Haeberling <haeberling@google.com> Fix orientation and move it to the util class so we can use it elsewhere.

Bug: 16948752

Change-Id: Ic7bf2f01176d8f6f1e1a70940c35531e1a5a1cbc
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
59c784bf588b9e0994e9769001f624200e9b1027 05-Aug-2014 Sascha Haeberling <haeberling@google.com> [OC] Gcam OneCamera implementation.

Bug: 16948752

Change-Id: I0160de117c4ff7024e0d546f594b5777847d1833
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
73ec9851f8e92968ac50193916526afd8f1343fc 25-Jul-2014 Sol Boucher <solb@google.com> Move display orientation calculations out of app code

Because they're needed by every app, these are being relocated into the
portability layer. As such, the CameraUtil#getDisplayOrientation() and
CameraUtil#getJpegRotation() methods are being replaced by the API-agnostic
CameraDeviceInfo.Characteristics#getPreviewOrientation() and
CameraDeviceInfo.Characteristics#getJpegOrientation() calls, respectively.

Change-Id: I5048e6f1a5ff655e4ea260b109e7c104bbe790b0
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
7bc335f4c69b8630f1619b2235991173fd8540a5 23-Jul-2014 Alan Newberger <alann@google.com> Upgrade mode index settings after mode indices were cleaned

Because we removed a mode index from the camera_mode_* sequence in res/values/arrays.xml,
upgrades were found to crash when settings referred to the old, now nonexistent mode value.
This CL preserves the arrays cleanup and adds a settings upgrade to convert modes to the
new value. Tested and works properly with mode preservation.

Bug: 16467318
Change-Id: I1352a940285687af38290250d7a06b5b7c421338
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
43e1813a5d4a59ef107768eb523d76ae2781cb02 20-Jun-2014 Sol Boucher <solb@google.com> Replace uses of CameraDevice#getCameraInfos() and CameraInfo

This API 1--specific portability library method has been removed. All
non-debugging direct uses of the Camera.CameraInfo class are also addressed by
this commit.

Change-Id: I551bb1476a26f79c101892336d0bf99e4fa823cc
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
831347d9cb5c0e3f03db7aadfc89e91b231104e7 17-Jun-2014 Angus Kong <shkong@google.com> Migrate to use new CameraSettings.

Totally get rid of Camera.Parameters.

Change-Id: I147b88f77ecab52600088a10417c3eac3d7fd340
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
5a344964cb003525727c31d295ca3a592c245606 17-Jun-2014 Sol Boucher <solb@google.com> Remove cameradevice subpackage and point references at ex library

This code is being relocated into frameworks/ex for availability to other apps.

Change-Id: Icada261ac7a795b08dd8b187dfd17077077b37c3
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
6607dae6c4d1ee5bbf572695c2042d4d9129a730 11-Jun-2014 Angus Kong <shkong@google.com> Refactor out Camera.Parameters.

Change-Id: Ibc1ddac509381530e887b7491069e6367e9a6088
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
b19aba9c16bc68da92fae302c69c0200af0d6d13 16-May-2014 Alan Newberger <alann@google.com> Avoid creating dialog on an activity that is finishing

We have some stack traces in the wild indicating we are trying to
create a dialog on the CameraActivity while it is not in a valid
state to attach views. Adding an isFinishing check, see more info
in the following issue:

Bug: 13967353
Change-Id: Ic3c45fa362408f2641527497b15f67686d3aed79
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
88289047ba6928e317d17f2e1d4b013693545c67 23-Apr-2014 Angus Kong <shkong@google.com> First Step: CameraCapabilities intead of Parameter

To get rid of Camera.Parameters, we need to provide our own interfaces.
Camera.Parameters actually consists of 2 parts: capabilities and settings. We'll
provide two interfaces and will just use Camera.Parameters inside of
CameraManager implementations.

Change-Id: I53922b6d740835412d74365374a6a0382129564e
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
8dc878f5537fbd27dbf82bc322aced410e5148f4 05-May-2014 Doris Liu <tianliu@google.com> Support for rotation lock in video recording hints

Bug: 13545160
Change-Id: I73c20e5a6701cc9b89ce6871b6541320fe7317e1
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
00b7b10987b38c362cc88600aad58890d531bf35 25-Apr-2014 Angus Kong <shkong@google.com> Use Point to back up util.Size.

Change-Id: I125d290ee94c9acadf77c50c6c9c0b9b24df4a88
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
634246650a5ae72bb80ab4fe4be5da1afa23b684 23-Apr-2014 Angus Kong <shkong@google.com> Use util.Size to replace Camera.Size.

Change-Id: I77784d339a09f24afbf96dc5ef4ce2ac2702b356
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
2bca210e5fc8a77685775ffb403096167b017dce 12-Mar-2014 Angus Kong <shkong@google.com> Use debug.Log instead of android.util.Log.

see http://ag/438423, merge conflicts solved.

1. Change to use com.android.camera.debug.Log instead of android.util.Log.
2. Add DebugCameraProxy to support more detailed debug info.
3. Add CameraErrorCallback in CameraManager.
4. Support posting to a specific handler for CameraErrorCallback.
5. Trim down some TAGs to match the framework tag length limit.
6. Remove some unused codes in CameraSettings.

bug:13324870

Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb

Conflicts:
src/com/android/camera/data/LocalMediaData.java
src/com/android/camera/data/RotationTask.java
src/com/android/camera/widget/FilmstripView.java
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
5f8c30e3f6c921befc00bf1e0e6d93e181335e78 07-Mar-2014 Angus Kong <shkong@google.com> Checks the on view size for video preview size.

bug:12016054
Change-Id: I602a814ba4616d842117242240447096da6530d4
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
a7cbfc04d888624858271facdbf68797c54df8b6 14-Feb-2014 Sascha Haeberling <haeberling@google.com> To support Refocus orientation refactoring.

Bug: 13007150
Bug: 12996493

Change-Id: I360d0d0fcf8090d96277cd708bd8d0eb4e188b00
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
c195e7a9208c90d7a55e184d4b2b9c747e9c90f1 21-Feb-2014 Angus Kong <shkong@google.com> Tweak the peek animation image size.

bug:12451161
Change-Id: Ie5a8a2911ed4b5ce831331ca7e7600d6d13659b7
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
b520b97b89b0cf0389ea00d7e080971628cf6290 14-Feb-2014 Doris Liu <tianliu@google.com> Update mode cover icon assets and size

Also increase the fade out duration.
Bug: 12967901
Change-Id: I9573b234ad0c9123f5edc6cd40c115897ba14177
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
213a4a086b54904cee543adf60b16fc1a61efe38 05-Feb-2014 Doris Liu <tianliu@google.com> New mode drawer.

-Changed the entire look of the mode drawer by using a live preview
as background, and use circle icons rather than block shaped icons
-Fade in the blurred preview frame during mode switch
-Add highlighted and selected states to mode icons
-Center the mode drawer in preview rather than whole screen
-Swapped mode order in the drawer

TODO:
-Add settings access point
-Refine swipe in/out behavior of the drawer

Change-Id: Ibab0fe960bcfbb9635ca7f45d50178cb1ef2941f
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
846d3abfe3da2fa2a5593c7d40a196005408bed1 04-Feb-2014 Sascha Haeberling <haeberling@google.com> Avoid activity leaks.

Bug: 12805279

Change-Id: Ib91ff2d286f6a0e0d67dad673e7af24600e15759
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
14466ba8f9ee23c003067f2c7b5569a6417cc60a 03-Feb-2014 Erin Dahlgren <edahlgren@google.com> Set bottom bar to a consistent color across app.

Change-Id: Ieda492a9dbc122a828d8b5d8df831fbe99e6295f
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
30099ea6efee35f4665d500143d5a3e5a2a4d3b5 31-Jan-2014 Spike Sprague <spikuru@google.com> Merge "adding accessibilty strings to ui items" into gb-ub-photos-denali
79718f6c6fb60aedd09edeedb2c16d1e2f9fe02d 29-Jan-2014 Spike Sprague <spikuru@google.com> adding accessibilty strings to ui items

Change-Id: I3f2356c765bd2799dfa1009ff6707fc3af87383e
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
5e09d01d80b64c81f21c57f1b99dd9dc1afed18d 18-Dec-2013 Seth Raphael <magicseth@google.com> Clearcut Logs

Change-Id: I564a2452cb7f02f899760ac086e56eaa76b174eb
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
fecd723c1cfd90332cd2805be79a24f26643ebb9 16-Jan-2014 Erin Dahlgren <edahlgren@google.com> Set the shutter button icon across all modes.

Bug: 12552362
Change-Id: I55d4238b0ddbc4bb3ea206dc577381b6de2f68a7
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
b92910e04c4da91fc4ea5a9484b83f9ecba1c896 14-Jan-2014 Spike Sprague <spikuru@google.com> capture button pressed colors

Change-Id: Ia568be11e6f9b6160f3f8332b504866cbe6ac94f
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
bd1b8f910d6f2c94daac304f4bd1a098939474c3 04-Jan-2014 Doris Liu <tianliu@google.com> Centralize camera mode resources

Moved camera mode related resources such as mode theme color, mode
icon, text, mode id, etc to resources xml. And created utility
functions to query for them.

Part II at ag/404854

Change-Id: I828502c76851cc2ed0b632b1ed4bb7f702fee231
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
d74e6a1014278e1a05c802e3ed594381288c6381 07-Jan-2014 Angus Kong <shkong@google.com> Remove the dependency on CameraHolder.

Change-Id: I39882f1bf2a4cd730d00ceabc7705692bcee6bc0
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
20fad249cbb587b8cf03e8e53bc64ff8e0bec7fd 12-Nov-2013 Angus Kong <shkong@google.com> Major refactor: Make resources access through app.

1. Make the camera device avaiability a callback event so the process can be
event-driven.
2. Add ModuleManager interface and implementation.
3. Make AndroidCameraManagerImpl implementation package private.

This CL is the refactoring work on Gallery2 side. The other part is
http://ag/389297/

Known issue: only work for normal photo mode and video mode for now.

Change-Id: Ib0a89ca56c00f6a7294192e9737a70dec5143ee3
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
628481532e1e58a0a26330d238e850aec5657bce 09-Nov-2013 Angus Kong <shkong@google.com> Further refactor

1. Create filmstrip package.
2. Move ImageTaskManager to under package app/.
3. Adde app UI abstract layer AppUi.

Change-Id: I9d640de65c59196c5d3e5c3a8901bb3220b29f62
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
cbd8267ee99e457f72822e8d8187b5e6823104f8 05-Nov-2013 Seth Raphael <magicseth@google.com> Add logging to various actions

Bug: 11514148

Change-Id: Ib31a74a6badc4dcdeaa316e032f4aef17edd06b2
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
6ff701f5c8744583a73588f301374ff7e683ff15 31-Oct-2013 Ruben Brunk <rubenbrunk@google.com> Merge "gcam: Add generic preview fps range selection." into gb-ub-photos-carlsbad
761306fadfa94b538f43e8cf3463bf6d22814947 30-Oct-2013 Alan Newberger <alann@google.com> Remove CameraUtil.launchGallery, ensure SecureCamera uses Gallery up icon

CameraUtil.launchGallery incorrectly describes a mechanism to call an APP_GALLERY
category intent. Since we're using Gallery icon we should go direct to Gallery,
which IntentHelper already does. Simply removed the util class and call the
helper direct from the activity. Also noticed during testing that the SecureCamera
was not correctly showing the Gallery icon, though its behavior would take user
to Gallery. Finally, removing restriction that the video player intent should
go to Gallery, instead it should route to system preferred intent.

Bug: 11065256
Change-Id: I941f9469de169919c4bac6c91dde7e577921f737
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
2a74dfd414217d9a774e0bf95c5991daa5f53e4c 30-Oct-2013 Ruben Brunk <rubenbrunk@google.com> gcam: Add generic preview fps range selection.

Bug: 11433097
Change-Id: Ice0f7ad3cd0684183298ce03bab3038a41316cf6
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
36ebcb11b15fb00d3a641499c0f8a16745a2fbb0 28-Oct-2013 Doris Liu <tianliu@google.com> Fix the mapping between preview UI and camera sensor

Bug: 11409659
Change-Id: I46ae3d7797590d59befbdc394d5304f14a212a80
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
0ba8eaaa5d26f0a806e7bc987676bbc29ad1085c 16-Oct-2013 Doris Liu <tianliu@google.com> Fix shutter covering pie menu

Bug: 11247988
Change-Id: I2018075a0b8adf7cacb302774ed64df92fc2fa7c
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
d3e75bd748ce2be8fdcb30575bbde9bd07536bd3 15-Oct-2013 Igor Murashkin <iam@google.com> Merge "CameraUtil: add float clamp function" into gb-ub-photos-carlsbad
2d939fe70e52ba4805c6783b01530c8c1c67fb33 15-Oct-2013 Mangesh Ghiware <mghiware@google.com> Use Gallery intents by default.

Bug: 11226016
Change-Id: I4f6a5856dd8141930fb0fef19b9ded0b37ea1ce5
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
160b036386b1b60ff3fce9742ce66bfcd54d6430 14-Oct-2013 Igor Murashkin <iam@google.com> CameraUtil: add float clamp function

Bug: 10936156
Change-Id: I5fbaf399ed8ca0206d23aa7d0af11c9b8a1debe5
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
98b2a282a212b74d756c169a445e8d3f6089fb66 12-Oct-2013 ztenghui <ztenghui@google.com> Finish the secure camera activity when user try to play a video.

bug:11190995

Change-Id: I8aa1a538496c291d34ca25d489a7eb03f0c90b53
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
714d4d0f6cf3b04b70efd7f9bfc0a29ae03b7964 10-Oct-2013 Ruben Brunk <rubenbrunk@google.com> gcam: Fix preview FOV.

Bug: 11150965
Change-Id: Iacdcc7ad37193f5343d2c5d5de3fabecee1f05df
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
c74825b1666857cbfd0ad3750f0d509de8e86953 24-Sep-2013 Angus Kong <shkong@google.com> Merge "Allow user to tap on lock icon from secure camera." into gb-ub-photos-carlsbad
690dc4722d068a1838b16dc0eabe9c7d518d524c 21-Sep-2013 Angus Kong <shkong@google.com> Allow user to tap on lock icon from secure camera.

bug:10857973

Change-Id: Id3c03f4d83c676986748ed083e85e85cea8eb507
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
4c478ffe556bff91f9c7574384ab6d482c947627 23-Sep-2013 ztenghui <ztenghui@google.com> Merge "Sort and select the preview fps range for still image." into gb-ub-photos-carlsbad
16a35206473b5a49821edccea93bbde54c52be49 23-Sep-2013 ztenghui <ztenghui@google.com> Sort and select the preview fps range for still image.

bug:10842868

Change-Id: Ic7d64aead7fd877e2c404d22ce42fd2d3566e57b
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
b21215a1a59812592380f31891becedbdec7468b 21-Sep-2013 Angus Kong <shkong@google.com> Improve the animation to filmstrip.

1. Remove the snap-in-center check at the end of scale animation.
2. Don't go back to full-screen when animating from camera preview
to filmstrip.

bug:10806298
bug:10864100

Change-Id: I751040a22e2758709c22e7230a5418a871ef85f9
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
7d2388d96522975307cf5c40f7ac911ad963c44d 19-Sep-2013 Angus Kong <shkong@google.com> Refine Filmstrip gesture/position handling.

bug:10749052
bug:10802996
bug:10711578

Change-Id: I9080a930209118a5c1bdc11b1ef7b316c55a741e
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
638e6f06c877d90b907f66ea9c22b3c6b73c7384 18-Sep-2013 Sascha Haeberling <haeberling@google.com> Clean up ApiHelper and remove unused code paths.

Bug: 10821545

As we're targeting ICS there are a lot of checks and code paths
that are no longer in use. This CL cleans them up.

Change-Id: Ic3dd26628a94e134e25e2c496ccec1f1f957216d
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
4f795b878843e59810ec1dca05b7cdb37b5614c5 16-Sep-2013 Angus Kong <shkong@google.com> Show dialog when camera device is not connected.

bug:10726516

Change-Id: I3d3433d0b2eced54027b19910473fd55135d0e1c
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
b7639c641f2ed5d0c60546349c3aa9e90c026878 09-Sep-2013 Sascha Haeberling <haeberling@google.com> Make sure we switch to preview view when resuming.

Bug: 10640328

But we need to make sure to not always switch in onResume, as
some activities stared from us (like playing a video or editing)
require the UI flow to stay in filmstrip.

Change-Id: Id2911be4949de9fd9fc4cb3451dd34e3fae8becf
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
fae11a165e344a38811770c7d348eda214683edc 15-Aug-2013 Sascha Haeberling <haeberling@google.com> Implent show-on-map functionality.
Also make sure the show-on-map item is only shown for items with coordinates. and add the coordinate to the details view.

Bug: 10346208
Bug: 10330505

Change-Id: Idaeec207bcc0e7311fa3b651868515ccea81d083
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
fca1c5ece5450914ed49115443e1d45737f2ee40 15-Aug-2013 Dan Aminzade <monzy@google.com> Defining broadcast intent strings as constants in CameraUtil.java.
For now I'm leaving the definition within the Camera application. If
we decide we want to publicize and document these intents as part of
the Android API, we could move the definitions to Camera.java.

Change-Id: Ia198b843245b70d7378e1ea81ecb8b7983486446
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java
b50b5cbfbc0a67db6fc43373363b10381c9c61a3 09-Aug-2013 Angus Kong <shkong@google.com> Clean up Gallery codes.

bug:10263696

Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
/packages/apps/Camera2/src/com/android/camera/util/CameraUtil.java