| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Change-Id: Iaa64372e5d196fd0117a32a386686bdb1fd51e45
|
|
|
|
|
|
| |
LGE HDR needs ZSL enabled
Change-Id: I563b7f7cd49fcf8aad35ca4b93f839dc0a591f01
|
|
|
|
|
|
| |
* Check if a preferred photo preview size is valid before using it.
Change-Id: Ia9580b68b60df9784f657df16b317748ff40a696
|
|
|
|
|
|
| |
Camera HAL not always return proper values
Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
|
|
|
|
|
|
|
|
|
|
| |
- Swap top menu items order in RTL
- Swipe in menu from the right in RTL
- Make it possible to select scene/filter items in RTL
- Remove/clean up some nonsense code
Change-Id: I884a06f5cc6e72a1d2ee19dbdf32ce511c8466ec
JIRA:NIGHTLIES-2849
|
|
|
|
|
|
| |
* Hook up available metadata to the new focus manager.
Change-Id: I793df67a2682d8bb2dee994193111227dd8c8d5a
|
|
|
|
|
|
| |
This reverts commit 57799db3c1757618e00d331fe659ac4058624352.
Change-Id: I6027d853c9791a1b14c0dffcce038b450019735a
|
|
|
|
|
|
| |
Don't fall-through here.
Change-Id: I38324b3182a01ab6269998971802f69e3c2cd286
|
|
|
|
|
|
|
| |
* Don't needlessly break touch-to-focus during various modes
* Set focus parameters immediately for better UX
Change-Id: I39b287562c3d2b62a1d5c8953577e366b11b8e15
|
|
|
|
|
|
|
|
| |
Move the UI setting change to the UI thread instead of in
Camera thread.
CRs-Fixed: 931802
Change-Id: Ia38d0adf426c4ef7b3424df9649392ead9b0e604
|
|
|
|
|
|
|
| |
As we have a header and a footer view now, the assumption 'pref list
size == child count' doesn't hold anymore.
Change-Id: I1b4ab16907eea758921ccce64af01d2a73e82459
|
|
|
|
|
|
|
|
| |
For top level menus, add padding so all menu items can be scrolled to
not be covered by the navigation bar. For sub menus, place them to not
be covered by the navigation bar.
Change-Id: I22961c19b7bf80a26eec03b5feabfda10e910669
|
|
|
|
|
|
|
|
| |
* menu icon should go to the left since it opens a menu that slides in from the left
* arrange other icons to not give odd empty spaces when switching modes or hdr is not supported
Change-Id: Ia5099f2eac47e0aad4ab1419e6d490347976162d
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
| |
Change-Id: I55aef506f2cc5c142964c7e90714a2c56aa3de89
|
|
|
|
|
|
|
| |
Make it semi-transparent, draw a predictable number of grid lines and
drop the unneeded drawing to a bitmap.
Change-Id: I07e3cb8507f5bebbd06730ccc28acb8053bc1d1a
|
|
|
|
|
|
|
|
|
|
| |
Some devices send multiple shutter callbacks for one captured frame in
longshot mode. As this causes mismatch between the calculated number of
captured frames and the calculated number of JPEGs received for those,
which in turn leads to longshot mode never being ended properly,
protect against that scenario by discarding all but the first callback.
Change-Id: I0c3a270f664a0cd16354fb0a13c5941a52001650
|
|
|
|
|
|
|
| |
The pressed state change detection provided by it is required for
properly ending longshot mode.
Change-Id: Ie8fd76f0bd76f47dfa7cda28fe6401ac2d2e0607
|
|
|
|
| |
Change-Id: Ie8f1dac602957cb871d0f8c7043ac0f434f4bfac
|
|
|
|
|
|
|
| |
* Some cameras simply don't set this parameter.
* Also set cur-focus-diopter to 0 if it's null.
Change-Id: Ib1049012de9a58279560c14ed77f83f52c07fe30
|
|
|
|
|
|
| |
If height is smaller than width it means that orientation sets to horizontal
and we should decrease width instead height to get normal preview size.
Change-Id: Ifa211ad2604fb730fb85b01ae1d7c93c9b7aa2ce
|
|
|
|
|
|
|
| |
Removes the face detection option from preference list if
the "face-detection" camera parameter is blank/doesn't exist.
Change-Id: I2ec82ae38505b6674f1a34e98d1b1fb2dbc2a714
|
|
|
|
| |
Change-Id: I23e53333a0bbe2a12e64e87ec8594aeaa503e9fc
|
|
|
|
| |
Change-Id: I3f4dd8b76044389ee4d0d257e47b4ac90262ccc1
|
|
|
|
| |
Change-Id: Iaff1bee5ad6d48df2efe189955ba91bca8ec5c32
|
|
|
|
|
|
|
|
| |
* If ZSL is enabled, we should not resetTouchFocus between shots.
* Instead, re-kick the timer for each shot. If I set a focus point,
I want that point to stick while I take a succession of shots.
Change-Id: I407bb1e248cc902355d0294f47b071cc8a32fac3
|
|
|
|
| |
Change-Id: I7721613f10a24cbd36eb0a3c5b0a46a98e828679
|
|
|
|
|
|
| |
Needed after recent framework changes upstream.
Change-Id: Iedee3cf32216eb4cea663a5518d5dfa62725203f
|
|
|
|
|
|
| |
This is done in the framework now.
Change-Id: I3d35de5099db4f1e4b9a29d4a6c8c9e6ccdf5af7
|
|
|
|
|
|
|
|
|
| |
Audio should not be encoded when the timelapse feature is used.
This fixes the force close when attempting to record a timelapse video.
Change-Id: I376372b316a7a75b0883e6c93eb1d827e4007a04
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Unlike HFR (slow-mo), HSR (high-speed) supports audio encoding at the
normal rate (as HSR videos are full speed, and are thus not slowed to
30 FPS).
Change-Id: I7b699ebb12fd1d84fc79979669a42c608e1aa7dd
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Currently, bitrate is only scaled up for HFR (slow-mo) recordings, not
HSR (full high-speed) recordings.
Scale up the bitrate for HSR to prevent video-quality degradation.
Change-Id: Icc009ad4b22d990cc6df6773d965579a7d9cb091
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
| |
If the user sets some preference value that is later removed, Snap will
crash because of on an ArrayIndexOutOfBoundsException. Make sure this
doesn't happen.
Change-Id: I629acebaf762f49f05dc1bfa0542f11979ae269d
|
|
|
|
|
|
|
| |
Introducing SelfieFlash feature.
Change-Id: I7b73d9db585038640b715092b01e037538ef68aa
CRs-Fixed: 937232
|
|
|
|
|
|
|
|
| |
Subtract top and bottom margin from the max height of the preview
Let it be aligned correctly to the top and center horizontally.
Change-Id: I6c5b3fde57c1a514725a6316dbe8e0c799a928d0
CRs-Fixed: 965033
|
|
|
|
|
|
|
| |
Fix highlight disappear after rotating device in settings
Change-Id: Ic51d95cd07dfb33d846c24cbc265177330542b7a
CRs-Fixed: 956111
|
|
|
|
|
|
|
|
|
|
|
| |
For square size picture, the function that calculates the closest
aspect ratio, forced it to use 4:3 ratio and caused the preview
stretched from 1:1 to 4:3.
Fix the issue by skipping the logic that forces it to
4:3 aspect ratio when the picture size is square.
Change-Id: Ia7d8250152ce37f4444f7db7c752eeb8489d9a2f
CRs-Fixed: 955824
|
|
|
|
|
|
|
| |
Adjust top and bottom margin on every ratio.
Change-Id: I755c15039e355d13bcc08e6463f38deba668a234
CRs-Fixed: 951525
|
|
|
|
|
|
|
|
| |
On layout change, need to call preview size change again
as it's not guaranteed it's called first always.
Change-Id: I8a687fbf162924f36f2ff7be2a3ba1c6304b27f6
CRs-Fixed: 893423
|
|
|
|
|
|
|
|
|
|
| |
Camera params is initialized twice when power on screen which
cause this bug happen.
Add judgement to make Camera params only be initialized once.
CRs-Fixed: 914993
Change-Id: I825afe1e8fa9cda0d971c6f9bb4fe5677e06d809
|
|
|
|
|
|
| |
This reverts commit 4b6ac957f76dc33e77b05fe265a73737050ba50f.
Change-Id: I7585ee977789eb9f90fe165870dcd1c230afc441
|
|
|
|
| |
Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
|
|
|
|
|
|
|
|
|
| |
There is a corner case that onShutterButtonClick() is called before
camera device is configured. The change will make sure the camera
device exists before continuing the operation.
Change-Id: I2212572ea5c6073c3f62bdd38e83716b2427c87d
CRs-Fixed: 962579
|
|
|
|
| |
Change-Id: Iad9b60d135b4f682c08c3bfc9698cdd10e1086ab
|
|
|
|
|
|
| |
Original commit by cyanogen 7daaa72d35c1f8820117768e4b129acd030bcefb
Change-Id: I51853913f6459b599176910f7f486f59972eaf36
|
|
|
|
|
|
|
| |
* java.lang.Integer.valueOf(string) method can't parse
hexadecimal values
Change-Id: I42706db72fc9c1093a7aa16440af449f731e5176
|
|
|
|
| |
Change-Id: I6bf76a0a607e4c275a63c60b042ae239d893095f
|
|
|
|
|
|
|
|
|
| |
Ensure that all of the updated camera parameters are propagated to the camera
HAL prior to restarting the preview. This fixes the split-exposure observed when
turning ZSL off and on without exiting the app.
Change-Id: I392549ae7cc75b150e01cf8b635d2e3f1ad6ffb9
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the camera, the user expects a default tap-to-focus duration of 3 seconds
with exposure locking. For the camcorder, however, the user expects a tap-to-focus
duration of 0 seconds with no exposure locking, as the rapid change in exposure
while recording would negatively impact the video.
Separate the tap-to-focus option to reflect the recommended defaults.
[mikeioannina]: Adapted to Snap
Change-Id: I75bc0610f5d301c9728b4bc104b86e0fab5493fb
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Setting a tap-to-focus duration of 0 seconds allows for a quick, manual
refocus of the subject without interfering with the exposure. This is
particularly useful when recording videos.
[mikeioannina]: Adapted to Snap
Change-Id: Ie3d92e50f755c938e9725438ba5baad0d0985485
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
| |
Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
|