History log of /packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1d84d7107686aa428ee2eeb1a8caf0ea3e43b1df 12-Mar-2015 Paul Rohde <codelogic@google.com> Re-arrange camera initialization.

This change re-arranges several things to make it possible to know
the CameraId you are about to open before you actually open the
camera device. It also adds an explicit CameraId class for handling
both legacy and camera2 id comparisons, an active camera tracker,
and moves the camera id query mechanism into a hardware manager
class in prep for the subsequent camera release.

Bug: 19679820

Change-Id: I4c09b9a12a1ea5badcac3a6a073a56764f9a7eba
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
2a0e18e280dfe541d4740345511ad299099cda79 07-Oct-2014 Senpo Hu <senpo@google.com> Adopt the new error handling mechanism in portability.

Show camera fatal dialog to guide users exiting the app when
1) camera framework throws RTE or
2) DispatchThread job is timeout.

If users hit home button while error dialog is shown, just exit
the app.

Bug: 16189216
Change-Id: Ia0f1c64d452735ec62549f50ab62646d8d873c65
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
44ce4b26614f85518d548a6750c7a08908ae3596 05-Aug-2014 Sol Boucher <solb@google.com> Enable seamless switching to/from camera2-backed Photo module

This supports running individual modules against the camera2 API framework while
the rest of the modules use the legacy Camera class.

Bug: 16875535
Change-Id: Ic0ae313a3dd96ba22bacc36c7b1712b183b713ff
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.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/app/CameraProvider.java
6190c36db653e848f29d1caefc4fa1bb61e8a662 13-Jun-2014 Erin Dahlgren <edahlgren@google.com> New Settings API

Based on discussions from last week and comments on the design doc,
this api begins to implement the following:

1. Adds a "Scope" variable to api, which tells the SettingsManager
whether the setting can be stored globally (so that it is visible
to all parts of the app), or per-camera, or per-module, or per-
custom scope that the api user provides.
2. Separates keys and default values from SettingsManager,
to make it easy to add new settings/defaults from third party
modules.
3. Stores all settings as strings, to avoid upgrade errors, and
handles casting to type requested. Only String, Integer, and
boolean are supported.
4. Opens SharedPreferences files on demand, depending on scope
argument.
5. Creates a "DefaultsStore" to hold the defaults and possible
values of a setting. Then a user can request the default or
possible values of a setting at any time.

Change-Id: I03e0e1dd0955c519f54112e89716014aa963a425
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.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/app/CameraProvider.java
1045fefdf22bd58fa911b100e7db5750f7efa3e6 21-Apr-2014 Angus Kong <shkong@google.com> Create cameradevice package for camera management.

Change-Id: I73c69a70736b0b0eb0ef069a7876cf75fee91262
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
3413517f52239cebe3261cfce32b00899f8bd1e5 11-Mar-2014 Erin Dahlgren <edahlgren@google.com> Merge "Handle uncaught runtime exceptions from the framework." into gb-ub-photos-denali
630d55ba8111357730119899565026be503264c0 10-Mar-2014 Erin Dahlgren <edahlgren@google.com> Handle uncaught runtime exceptions from the framework.

Bug: 12529676
Change-Id: I0319b1fa7367076f33853200b8b09a6abe7b0bdf
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
97e282a3764215ac193726e0d259e55bf94369fe 05-Mar-2014 Angus Kong <shkong@google.com> No switch camera when switching camera

bug:13234553
Change-Id: I1f26c2c69e5a0aee0ea1962a9cb2837bde94e02e
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
39b460b805adaa54f310d8637868b3a5c792b2f5 07-Dec-2013 Angus Kong <shkong@google.com> Add CameraProvider methods to check camera facing.

Change-Id: Iba0f21a65a44bed1a26fa375a050e4879701bd72
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.java
18500a493634b593dc8ba1e74b46d1f10bb6d031 22-Nov-2013 Angus Kong <shkong@google.com> Refactor PhotoSphere and Refocus: new camera open

This is part of the Denali refactor work. Now PhotoSphere and Refocus both uses
the new camera start up process so the camera is not released between modules.

See http://ag/392043/

Change-Id: I6ae9b111ba1fda33912159e0967f3a12d02937ba
/packages/apps/Camera2/src/com/android/camera/app/CameraProvider.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/app/CameraProvider.java