| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
As per new open camera optimization, setContentView is called after init.
But VideoModule has a dependency in initialization on setContentView as
if setContentView is not called before using mFilmStripView then its value
is null. To avoid this changed the location of using mFilmStripView from
initialization to onResume.
Change-Id: I6f0116fa82554b11b06d733b3952e6596daa50d3
|
|
|
|
|
|
|
|
|
|
|
| |
The preview cover was shown when onPause, but didn't hide after
resume. That caused the video preview turned to black screen.
After the camera preview starts, hide the preview cover if it is
still showing.
Change-Id: I79fdcd45d46d7c083a132e864bbf42649b100ae4
CRs-Fixed: 865933
|
|
|
|
|
|
|
|
|
| |
* Available when video snapshots are not supported.
* Original from CodeAurora Forum.
Sultanxda: Adapted to Snapdragon Camera
Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
|
|
|
|
| |
* Check if mMenuLayout is null, like in 23901e48 for PhotoUI
|
|
|
|
|
|
|
|
|
| |
- cleanup unused code
- cleanup codestyle
- add more zoom steps for smother zooming
- show zoom circle indicator during zoom
Change-Id: I5214fc2620a0c5167bfdc8e85f7115966c3b8bcf
|
|
|
|
| |
Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de
|
|
|
|
| |
Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
|
|
|
|
|
|
|
|
|
|
| |
Landscape devices have broken preview because PORTRAIT mode is
being abused to check for screen rotation. Use proper rotation
check to fix.
Ported from cm-10.2
Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
|
|
|
|
|
|
|
|
| |
* initializeControlByIntent() expects mVideoMenu to not be null
and initializeOverlay() initializes mVideoMenu when it isn't null
* Change the order the functions are called to prevent possible NPE
Change-Id: I6d240892f3bd318031983243760d87ab46b25edb
|
|\
| |
| |
| | |
Change-Id: Ib0ecc314a7bd0b76c8e955402d9adfe0a4989223
|
| |
| |
| |
| |
| |
| |
| | |
Remove the navigation bar in order to take advantage of full screen.
Change-Id: I25f42af825c4f3b7ad6521c2ee6d62fa4219044a
CRs-Fixed: 865254
|
|/
|
|
|
|
| |
Fix Zoom UI's orientation
Change-Id: I9c14b08729e099c263d612289ccb8b7ed757168b
|
|
|
|
|
|
|
|
|
| |
Coordinate direction is opposite in RTL mode.
Modify Coordinate direction in RTL mode.
Change-Id: I3fcd42fc27d430b486f9cccdde5ecec0d0468d30
CRs-Fixed: 819310
|
|
|
|
|
|
|
|
|
| |
right to left in RTL mode.
Use gravity of RIGHT instead of LEFT in RTL mode.
Change-Id: I879fd0351c447b35a5dac7fe14e1698b08883583
CRs-Fixed: 801704
|
|
|
|
|
|
|
|
| |
Photo and video preview and the captured results are different for
some resolutions. Fix them to match the result.
Change-Id: Ie5fb1954448fa54ffb968f2882e74bfd98c97548
CRs-Fixed: 791082
|
|
|
|
|
|
|
|
|
|
| |
1. change thumbnail icon to circular and its background to transparent
2. speed up loading with optimal sample size and region decoder
3. fix orientation bug regarding panorama photos
4. don't fire load task on fake onDataLoaded() call
Change-Id: I7f4eb8dad4c54a01a7ccd98907e06952e470840b
(cherry picked from commit ac714ea974b4bd0ef99403def5aa7d8a3deecc5d)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changed the Panoramic preview to full screen
Resized the warped preview image to smaller Size
and render on top of the full screen preview image
Warped preview image can be turned on/off
Change-Id: I859839542ce94c5f70d7fe7983e93b5e9534b415
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Disable shutter button before starting/stopping
recording on a shutter button click and enable it after
without any delay. Add logs to know when shutter button
is disabled/enabled.
Change-Id: Ibca1e964d2e2fc1c1bd47c104f87289eb2a507bf
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix camera activity to portrait, so there is no delay when rotation
occurs. Main changes are:
1. RotateLayout now supports padding and dynamically added child.
2. Camera controls and gesture detetion are now orientation-aware.
3. Toasts are replaced with RotateTextToast.
4. Obselete layout files are removed.
Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
|
| |
| |
| |
| |
| |
| |
| |
| | |
When preview is set to 4:3 on a 16:9 screen, resize SurfaceView to 4:3
and cover other parts of the screen. Otherwise camera controls have
a semi-transparent background.
Change-Id: Icfbe6318b6a9de9a988468078b474e842f6ddd8c
|
|/
|
|
|
|
|
|
|
|
| |
Camera app crash when switch to camcorder during continuously shooting.
Prohibition click event when continuously shooting.
CRs-Fixed: 744811
Change-Id: Ia51ca53d46e060c2a4f4e877c37f795526532be7
|
|
|
|
|
|
| |
Adding back missing setting menus
Change-Id: I803d3f694b1953aa6a8932cbba6bb55c0d0e6352
|
|
|
|
|
|
| |
Add preview thumbnail button and touch it to go to gallery
Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
|
|
|
|
|
|
| |
Use MDP composition instead of GPU
Change-Id: I4f47d26365bd611242a21e66b232d7521b502b04
|
|
|
|
|
|
| |
Modified SnapdragonCamera setting menus with new icons
Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
|
|
|
|
|
|
|
|
|
|
| |
Under certain combination of preview/screen resolution, sawtooth is
seen on preview image. In setTransformMatrix(),
scaledTextureWidth/Height is unnecessarily rounded to integers,
losing precision. Removing the rounding fixes the problem.
CRs-Fixed: 705322
Change-Id: Ia78b012cf530528b3677a8684279862a81b145ed
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for CDS and TNR settings
- CDS and TNR can be controlled in
photo mode and video mode.
- CDS is set to off and cannot be
set to other value when TNR is enabled
- CDS value is restored when TNR is disabled again
CRs-Fixed: 715042
Change-Id: Idf08403e38d0e3e634b047a955f2328b4237e691
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When internal storage is full, switch to SD card for storage.
Change the save path from internal storage to SD card when
updateStorageSpace is called if:
1. Internal storage is the current save path and does not have
enough space
2. SD card has enough space
Display a toast message and update display of the save path menu
item when the storage path is switched.
CRs-Fixed: 687210
Change-Id: I6a9804e4f64e6d55c6aebd889ac2ce5e887cfa5a
|
|
|
|
|
|
|
|
| |
Rename package from com.android.camera2 to org.codeaurora.snapcam,
module name from Camera2 to SnapdragonCamera and app name from
"Camera" to "Snapdragon Camera"
Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Camcorder will crash when pause and continu in timelapse mode.remove
this feature for timelapse mode.
Change-Id: Ia81a11c7879286aafec0f38cb2a485e0f7f6fb68
CRs-fixed: 630780
|
|/
|
|
|
|
|
|
|
| |
When we start camcorder from other activity, we touch home key, then
back to the activity, this button will cover with the save button.The
patch will fix this issue
Change-Id: I74dc5f556d2a30af651d53b39c2bb4397a59884e
CRs-fixed: 633613
|
|
|
|
|
|
|
|
|
| |
- Added pause button in camcorder app.so that user pause
recording and resume later which results in a single
recorded clip.
CRs-Fixed: 587051
Change-Id: I2a7d8af7fcea74fe8af62c44119c3c1fa0c13e85
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Import translations. DO NOT MERGE
gcam: Clean up placeholders, and add deletion robustness.
Fix issue of focus indicator staying on without being hidden
Ensure view size gets updated after phone decors change.
Show the 100% state of the progress at least one frame.
Add parameters and deduplicate parameter changes
Revert parallel opening camera in photo mode.
Differentiate the InProgressData from the normal PhotoData.
Close mode menus if another control is touched
Start gcam module directly when handling capture intent.
Import translations. DO NOT MERGE
Add a null check to fix NPE
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add GCam progress indicator.
hide preview cover on arrival of new preview data if hidden
Fix photo mode is getting stuck in a single CameraState.
...
Conflicts:
res/layout/photo_module.xml
res/values/arrays.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/Storage.java
src/com/android/camera/WideAnglePanoramaModule.java
src/com/android/camera/ui/FilmStripView.java
Change-Id: Ic41b4e7e07b2b0ed7936b78a6c5f05270d05985f
|
| |
| |
| |
| |
| |
| | |
Bug: 11598901
Bug: 11635865
Change-Id: I9c6237bacef9a28de1fa238e1e7378a57abfc573
|
| |
| |
| |
| |
| | |
Bug: 11433257
Change-Id: I7225ebf1d84bbefd2f952cfa524720a7e76e7181
|
| |
| |
| |
| |
| | |
Bug: 11211650
Change-Id: Ic4b26ef0f03eac0682e7be0d4bcb1c4632d85f39
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When user initiates zoom UI during recording, hide call was made on
pie menu. Pie menu hide enables swipe. Hence if user does zoom
while recording swiping was getting enabled.
During recording pie menu will be hidden so do not call pie menu
hide during recording.
Change-Id: Ic92759090f36dab55d0f80fa5cf52446cee15cc9
CRs-Fixed: 564670
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Stretched preview is observed in front camera due to sensor's
mount angle. So resizing the preview by considering aspect ratio
of the preview.
(cherry picked from commit Ie8a9e062782aa6caaa80ddab705c937da6b0761e)
Change-Id: I0bca9076a6dffa4c4972e6d5d0939c57569615bd
Conflicts:
src/com/android/camera/PhotoMenu.java
src/com/android/camera/PhotoModule.java
Conflicts:
src/com/android/camera/PhotoMenu.java
src/com/android/camera/PhotoModule.java
(cherry picked from commit 2960ef94825458dc07a497d4414155b57ae620d7)
(cherry picked from commit d2fbed622a486151a656261d0dd56c896f0cc700)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
When user presses the menuoptions the popup is displayed and UI will
have the controll over it, again when zoom is triggered the zoom
renderer was not hiding the menu popup. This change will synchronise
both listeners mentioned above.
(cherrypicked from commit 713847197c35409f0f198903f6b3dd3c39296848 )
Change-Id: Ic4509fe4473070c73dba377c5fdc3f224af71ee0
(cherry picked from commit 6c464f1402110b1f0f9790d5a9479dc3031d04eb)
(cherry picked from commit 4fe74b8ad31a6d43c179e0181813ba3bf4c58feb)
(cherry picked from commit e525f04730668369f76afb41870199eaad0b9375)
|
|
|
|
|
| |
Bug: 10861015
Change-Id: Ib0c4945e35cee16b73a4bba913e11d0f79a26176
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| | |
Bug: 10928549
Change-Id: I333e1a47e7f5c5cadca9b0b6cfd368f455fc3670
|
|\ \
| |/
|/|
| | |
dimissed." into gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| |
| | |
Bug: 11119286
Change-Id: I912103f36d27b07cd6fcebc2dae7c2964e883cc8
|
|/
|
|
|
|
|
|
|
|
| |
The flash light should show up at the same time as the control show up.
Also, when we change the flash mode, we should update the flash on screen
indicator.
bug:11064667
Change-Id: I888d3ce76ac618a4c7b40a288ecce13555c89ab0
|
|
|
|
|
| |
Bug: 11064867
Change-Id: I168136a193008578b3ad2642cba764650bcc2487
|