History log of /packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
788aad96ea4abcda2469867464139daa8087af65 27-Jul-2011 Wu-cheng Li <wuchengli@google.com> Fix potential activity leak.

CameraHolder.sHolder is a static variable. Camera.Parameters is
an inner class and references to the enclosing Camera. Camera have
references to the listeners. We need to clear mParameters, so
the listeners are not referenced.

Change-Id: I54c4062e3ddf2f8bdbf6f0fac6b617353d051f16
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
003dd5a52457c024a0f99a2bb222bfc6ad70bbe5 06-Dec-2010 Wu-cheng Li <wuchengli@google.com> Add restore default in other settings.

Also change the theme to Holo.
bug:3156672
Change-Id: Ied6f2d3543c3a3282c62b2cc31e5cf4cc30c3172
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
43b6525b4aedc5e177163cab7b6f26698a19097f 13-Nov-2010 Wu-cheng Li <wuchengli@google.com> Set video orientation hint according to device orientation.

Also rotate the on-screen icons according to device orientation.
Move prepare to startVideoRecording because we need to set
the latest orientation to MediaRecorder.setOrientationHint.
setOrientationHint has to be called before prepare.

Manual merge from gingerbread.

bug:3163671
Change-Id: Ieeb4ed9a2777308a70cdd1242e5abf7867ead8c9
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
7add00693c1ec910bc8700fe046ee18cbe4e1148 09-Sep-2010 Wu-cheng Li <wuchengli@google.com> Add switch camera on-screen button.

Change-Id: I1564fdf0f7f70f15278bdbdee6d9b5c8a6e683e0
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
ac9d0a1ce538eb4bd50cba3b257737a05b9ac4e5 15-Jun-2010 Chih-Chung Chang <chihchung@google.com> Support switching between multiple cameras.

Change-Id: Id444ebcd780c67f4990bd6f6b96c74379b6859ab
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
dd6600e7f0adf322e5a8fcb0ed5389b14655106e 06-Nov-2009 Owen Lin <owenlin@google.com> Add a check for the case that the camera is reopened again.

fix issue: http://b/issue?id=2241430

Change-Id: I85381f1eec3ff7a5a3cbe7d2b2bccfb6effc2b50
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
271b3095b9f763421c0547109da9de774795072d 02-Nov-2009 Chih-Chung Chang <chihchung@google.com> Clean up and add comments for classes.
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
4c9266ef8f43c6b057b6f560645475272c66ff8a 29-Sep-2009 Chih-Chung Chang <chihchung@google.com> Fix 2153860: VideoCamera app have to set scene mode to auto
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
f6ef7b960f610d557f0bab924b9f7928b46f6f0a 14-Sep-2009 Owen Lin <owenlin@google.com> Fix NPE in resizeForPreviewAspectRadio().

In user mode, if start preview fail, don't try to
set resizeForPreviewAspectRadio(). Also make changes in VideoCamera to prevent
similar problems.

In eng mode, reveal the exception so that test tools can detect and report the
error

Change-Id: Ice457d753dcf18e8e93cac90aa62ee1adcc332cd
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
d9e32402bbc5ebaac40ccd2c4b734f8e5743343e 09-Sep-2009 Owen Lin <owenlin@google.com> Fix bug 2106774.

It seems to be a problem that we recieved the camera hardware button while
camera application is running.

Change-Id: I67dd2233e38ef530e55c116c2c70f37d026b5530
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
3f3c857e3f34650c15d764810335024654b0fcc3 18-Aug-2009 Owen Lin <owenlin@google.com> Show error dialog when the camera hardware is busy (Eg: hijack by other
activity). We also change the behavior of the "Camera button", if the
camera is being used by others. We just ignore the request and won't start
the camera.

Change-Id: Icf3b00113aba61c9aa3f43ba07cf6944085d5d52
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
91acfc99279d5ece7ac9cb2d7a2980eb0d3b50da 06-Jul-2009 Chih-Chung Chang <chihchung@google.com> Style fix.
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
5075f53df86f3dcb0a46fd6353057260ad480f43 11-Jun-2009 Chih-Chung Chang <chihchung@google.com> Fix 1909891. Allow keep() to be called without open().
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java
cd65be31531717fb032b7423f8d5a77df465cfca 09-Jun-2009 Chih-Chung Chang <chihchung@google.com> Share Camera between Camera and VideoCamera.
/packages/apps/LegacyCamera/src/com/android/camera/CameraHolder.java