| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The panorama image returned from the panorama library is oriented based
on the natural orientation of the camera.
We set an orientation in its EXIF header, so that the image can be
displayed correctly. The orientation is calculated by compensating the
device orientation and the camera orientation respective to the natural
orientation of the device.
Bug: 5603313
Change-Id: Id6907cb08a7ff77e44736f3c3cd1503e7a68d783
|
|\
| |
| |
| |
| |
| |
| | |
video recording aspect ratio." into ics-mr0
* commit '93b9c8aca92b2a6a651c562c71b8c414458c1419':
5554028: Select video snapshot resolution based on the video recording aspect ratio.
|
| |
| |
| |
| |
| |
| | |
aspect ratio.
Change-Id: I7b01a21271068b9d201e38197e2a61b183f87902
|
|/
|
|
|
|
|
|
| |
+ Move tablet resource to sw600dp and sw800dp
bug:5446617
Change-Id: Iaf2a442e621ed071d7639972a529dd263e3ce628
|
|
|
|
|
|
|
|
|
|
| |
Front camera preview is mirrored. Change to use matrix to
calculate the focus area. So the focus area will be
correct in all orientations in front or back camera.
bug:5446617
bug:5461028
Change-Id: I2d39a22cd9f034c5028843ca3d4abe0f9962f18a
|
|
|
|
|
|
|
|
| |
This prevents fast flickering between two orientation states, which
can result in ugly UI issues, especially with the preview thumbnail.
Bug: 5477483
Change-Id: I9513547207ae1918066c1a19947c974eaad72e24
|
|
|
|
| |
Change-Id: I68ca915eee4e343fa1b90fef068fecb9c919aa53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first was that the code was trying to rotate the video thumbnail
retrieved from MetadataRetriever back by just reversing whatever
rotation we set as a playback hint when we started recording. But
this isn't actually correct -- the bitmap we get back from MetadataRetriever
is going to be oriented correctly for display if the device is oriented
in the locked UI orientation (landscape), and we need to rotate it
to compensate for what the actual device orientation is relative to
that.
Phrased another way, we were taking into account the camera and
device orientation, but not the UI orientation. This just happened
to work on some devices because of their camera orientations, but not all.
bug:5360349
Change-Id: I8b481907c211328726ecd91fa054b9e9a4798601
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adjust the screen brightness in the case of automatic brightness.
Make the screen brightness in the panorama mode consistent with that in
the Camera mode and VideoCamera mode.
Change-Id: I1600bcabcdf0d5f3840a347cce10c329d2db100b
|
|/
|
|
|
| |
bug:5244256
Change-Id: Idf02f40edb7e2e15edb4fc1ac86a4694d9147661
|
|
|
|
|
| |
bug:5158325
Change-Id: I7c14397d6b6d9fe72e92bf0ea260322d64c87b98
|
|
|
|
|
|
| |
bug:5187868
Change-Id: I1092e3d37dba78073b42aa9107e7cc326d67decc
|
|
|
|
|
| |
bug:5141555
Change-Id: I04e4ca0d0e1a40ccfe39e5276fda66ffd02ae1b5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Touch on the viewfinder will take a picture during recording.
Things not implemented:
- Add EXIF GPS.
- The last thumbnail can be a jpeg in camcorder mode.
- Call setRotation.
- Highlight preview border during video snapshot.
bug:5187868
Change-Id: I59a22aa00424355584611f095af752b83c0ee2f0
|
|
|
|
|
|
|
|
|
| |
1. Handle the situation of failing to generate the panorama.
2. The string id "details_ok" is changed to "dialog_ok" and used now in the "Ok" button of all the
dialogs.
bug:5238952
Change-Id: I847255a46667960e604892ad55a642358c4eab02
|
|
|
|
| |
Change-Id: Ia4d54034b0b2c039e874b1fa580b036962f4cd33
|
|
|
|
|
|
| |
bug:5141019
Change-Id: Id4bb82cee5fd788689fb18bb199504d963c5d3a2
|
|
|
|
|
|
| |
bug:5024054
Change-Id: I2def331433b0db66efc0d38f1e9537c0980441bb
|
|
|
|
|
| |
bug:4460717
Change-Id: Id09cc012efffcee0f5af3a070b5dcb775a7048a0
|
|
|
|
|
|
|
|
|
|
|
|
| |
bug:5039235
Originally we have the GLView-implemented indicators for Phone-based UI.
Based on the current UI design, we would like to merge the look on all
devices for the dialog of the camera setting. Therefore, a refactor of
how to handle the popup window is required here and this will simplify our
UI work for handling different layout/resolution.
Change-Id: I6f9e6ebed7600be460ddd906505cdc44f81098ad
|
|
|
|
|
|
| |
bug:2644213
Change-Id: I669966e4fd54c76d19660efa6f1700a86b4d6c07
|
|
|
|
|
|
|
|
| |
Show the corresponding message if that is the case.
bug:4185309
Change-Id: I0f4a5ac577f13331685f8e7343bab6317f96c3d8
|
|
|
|
| |
Change-Id: Ic435b7cd97ba775ec8f4b8342a1d4d25e2a5120c
|
|
|
|
| |
Change-Id: Icec126d3d83f3b158d284dd63dfed8452ffa2249
|
|
|
|
|
|
|
| |
Also use getLocationInWindow instead of getLocationOnScreen.
bug:3475893
Change-Id: I6e5917cf7340a7968fd07c13bf91e3c555d0cf87
|
|
|
|
|
|
|
|
| |
Now the length of focus rectangle is 1/4 of the height of
preview frame.
bug:3475893
Change-Id: Ib1f09d5dbb25bb20343b39116c12febe08d83051
|
|
|
|
|
|
|
|
|
|
|
| |
The problem is the rotation animation may still in progress during
onCreate. When we start the preview in onCreate, the display rotation
is still the value in portrait. So we check the display rotation
again in surfaceChanged. If it is different, restart the preview.
bug:3362860
Change-Id: Ib930c18d089114a3b5b9ca0f599e1ebdace73eb7
|
|
|
|
|
|
|
| |
Use setIconAttribute to tell the framework you want the icon that works
with the theme you have set on your alert dialog.
Change-Id: Ie6e39f5c311f419c18d833323696363fa494aae9
|
|
|
|
|
|
| |
Added the image caputre and video recording stress test for the front facing camera.
Change-Id: Ice3abf35791e1953f70ef25375409fd5efe870b3
|
|
|
|
| |
Change-Id: I1628bcae4daa4768186f08df0d328f7c5a5380df
|
|
|
|
| |
Change-Id: I449a10104615c402dbd36d615e845185063a9660
|
|
|
|
|
|
|
|
| |
Sometimes the camera driver has many preview sizes with close aspect
ratios. Now camera app only chooses the preview size if its aspect
ratio is an exact match of the picture size or video size.
Change-Id: I3be1189688de3ac499f7d69f4febf09c7763393a
|
|
|
|
|
| |
bug:3272846
Change-Id: Ic573e790d323e93c9976e9985308890031d26a0b
|
|
|
|
| |
Change-Id: Ie21b93ddb02647df512ee0088e77c522902028f3
|
|
|
|
|
|
| |
Manual merge from gingerbread.
bug:3208306
Change-Id: Ib7fb0a960c862527324adefd419e74224f59bc30
|
|\
| |
| |
| | |
Change-Id: I8ec4aa5210cb5104bedb7d5ed6f823f44517b203
|
| |
| |
| |
| |
| | |
bug:3105659
Change-Id: Ie2c1559cc03ece66705c1d766bea0e736f2684bc
|
| |
| |
| |
| | |
Change-Id: I21b3ef1494296671472acf3619688739861f2cff
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit 'c97d23826a28dd725951eccb62651244f9fb8228'
* commit 'c97d23826a28dd725951eccb62651244f9fb8228':
Update the code due to API change.
|
| |
| |
| |
| |
| |
| | |
bug:3001395
bug:3001399
Change-Id: Ie1347ed28aa72a3ec637867dc2226c60ef2dbd6c
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
into gingerbread
Merge commit '50ab7fd18e8a631237f7546cd25af974e3e30dcb'
* commit '50ab7fd18e8a631237f7546cd25af974e3e30dcb':
Fix the wrong rotation on naturally landscape devices.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The orientation of on-screen icons and thumbnails are
wrong on devices that are naturally landscape in their
orientation. Display.getRotation should be used to
compensate.
Parameters.setRotation should also be compensated by
camera's orientation.
Change-Id: Ia0684fcd606252c49fa2d701ab07c73f7e29b70b
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes in individual files:
VideoCamera.java:
- Added swith to time lapse option in Menu.
- initializeHeadUpDisplay(): sets up display according to the
current mode (timelapse/no timelapse).
- readTimeLapseVideoPreferences(): sets parameters according to
the chosen quality. Eventually this should move to CamcorderProfile
through media_profiles.xml files.
- switchTimeLapseMode(): handles switching between time lapse mode
normal mode.
- Since preview size may be different from video size for HD time lapse
capture, we save the desired preview size in mDesiredPreviewWidth,
mDesiredPreviewHeight and use it for comparison in
resetCameraParameters().
- Time lapse mode is enabled/disabled by calling
mMediaRecorder.setTimeLapseParameters().
CamcorderHeadUpDisplay.java: Constructor now takes in a boolean
(captureTimeLapse) telling whether to enable time lapse quality
options or the normal camcorder quality options.
Camera.java: Moved getOptimalPreviewSize() to Util.java to enable
use from VideoCamera.java. Also needed to pass activity, so that can
use getWindowManager(), getSystemService().
CameraSettings.java: added support for time lapse parameters. The
function getVideoTimeLapseQuality() returns the quality identifier
from the passed in string.
res/: added string, array values for time lapse.
res/xml/video_time_lapse_preferences.xml: contains all the preferences
for time lapse mode.
Change-Id: I194e7bc0b6218aa742d91c859a122de2b953a314
|
|
|
|
| |
Change-Id: Id444ebcd780c67f4990bd6f6b96c74379b6859ab
|
|
|
|
|
|
| |
Bug: 2533691
Change-Id: Ia8b7732a485bde5dec6b7cff0b80d4d6f08a8fee
|
|
|
|
|
|
| |
Related to bug #2464545
Change-Id: I08f5cce5b0df623fc62683bd9c9d4a1aa0694240
|
|
|
|
|
|
|
|
|
| |
Fix the bug that some MotionEvent of some actions should always pass to the
component who accept the DOWN event.
Also fix a bug that nine patch image will be drawn incorrectly after rotation.
Change-Id: I8ab36fb6f958c1967afa11eed5f167842b59cada
|
|
|
|
| |
Change-Id: I9b101ea486f06be553104bc4879f5ec66ae014bc
|
| |
|