summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importstable/cm-13.0-ZNH2KBAbhisek Devkota2016-06-282-2/+2
| | | | | Change-Id: I66befe03fa2993a4188ebbb3db26ad0f25b8f565 Ticket: RM-231
* Automatic translation importinky@build012016-06-171-0/+28
| | | | | Change-Id: If2935d0385ec5d7a500c0e5cec9428f146d92221 Ticket: RM-231
* Automatic translation importblinky@build012016-06-013-0/+18
| | | | | Change-Id: I07ff31c67505bcf0ae6c6f4774bca457d370862b Ticket: RM-214
* Snap: Only override power keyScott Mertz2016-05-311-2/+2
| | | | | | | | | Partially revert "Snap: Use new window manager flag for prevent system keys." CYNGNOS-2958 Change-Id: I1e726aa77a6db17c8586c19ddc3b9b31b4077194 (cherry picked from commit a0a8d9268fafd21db3c05db76316d2dccb769ab6)
* Snap: Use new window manager flag for prevent system keys.Adnan Begovic2016-05-232-3/+3
| | | | | | Change-Id: I94ed12ddd33729a4fb486f7fb68f1bbab788b239 TICKET: FEIJ-522 (cherry picked from commit 94574eb97d43e17d0f2a115370f0f767f4c6049c)
* Automatic translation importJessica Wagantall2016-05-201-0/+18
| | | | | Change-Id: Ie9debf44fe3e6141553edd29ea28e50001ee61e0 Ticket: RM-214
* Automatic translation importAbhisek Devkota2016-05-1419-32/+1576
| | | | | Change-Id: I6c5e89a2d8a2f5d084d2cf0c28aa81c5d1a07674 Ticket: RM-231
* Automatic translation importMichael Bestas2016-04-066-12/+632
| | | | | | RM-231 Change-Id: Icadfbe29b04b9caa82a16a478ce93e124effc75b (cherry picked from commit b7fd125136308928aa0f9cd71af940a187597150)
* Fix histogram not being hidden after disabling it.Danny Baumann2016-03-292-1/+2
| | | | Change-Id: I55aef506f2cc5c142964c7e90714a2c56aa3de89
* Beautify and optimize histogram view.Danny Baumann2016-03-293-63/+67
| | | | | | | Make it semi-transparent, draw a predictable number of grid lines and drop the unneeded drawing to a bitmap. Change-Id: I07e3cb8507f5bebbd06730ccc28acb8053bc1d1a
* Automatic translation importMichael Bestas2016-03-2818-42/+1626
| | | | Change-Id: Ia05cd28448746082af6719dfa9b4de422c2fbd60
* Protect against multiple shutter callbacks per frame in longshot mode.Danny Baumann2016-03-281-0/+8
| | | | | | | | | | 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
* Re-enable processing of drawable state.Danny Baumann2016-03-281-2/+2
| | | | | | | The pressed state change detection provided by it is required for properly ending longshot mode. Change-Id: Ie8fd76f0bd76f47dfa7cda28fe6401ac2d2e0607
* Snap: Fall back to REVIEW intent before VIEW intentEthan Chen2016-03-251-1/+15
| | | | Change-Id: Ie8f1dac602957cb871d0f8c7043ac0f434f4bfac
* Automatic translation importMichael Bestas2016-03-1753-2/+7624
| | | | Change-Id: I9bde28eeb8df5e7bcc678e69e22416290f9046dc
* Snap: Do not crash when cur-focus-scale is nullLuK13372016-03-091-2/+10
| | | | | | | * Some cameras simply don't set this parameter. * Also set cur-focus-diopter to 0 if it's null. Change-Id: Ib1049012de9a58279560c14ed77f83f52c07fe30
* Automatic translation importMichael Bestas2016-03-05279-206/+39635
| | | | Change-Id: I11e58d2823fe001e1bba61bccae1e7fb654bdb5d
* Snap: update iconjrizzoli2016-02-295-0/+0
| | | | | Change-Id: Ib155068ae1d4cb8f799fb06b4b37aa6dc4ce6417 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: Fix incorrect preview layout surface size in landscape modeNikita2016-02-291-4/+9
| | | | | | 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
* Snap: Remove face detection option if not supportedArne Coucheron2016-02-261-0/+14
| | | | | | | Removes the face detection option from preference list if the "face-detection" camera parameter is blank/doesn't exist. Change-Id: I2ec82ae38505b6674f1a34e98d1b1fb2dbc2a714
* Automatic translation importMichael Bestas2016-02-2240-60/+211
| | | | Change-Id: Ic01c27ccf8e2f1d063c14c605a1f6ca41fd8532a
* Snap: fix camera hang on LGE G4 when flash got usedcodeworkx2016-02-211-3/+10
| | | | Change-Id: I23e53333a0bbe2a12e64e87ec8594aeaa503e9fc
* Snap: Remove video snapshot size when not supportedMichael Bestas2016-02-201-2/+6
| | | | Change-Id: I3f4dd8b76044389ee4d0d257e47b4ac90262ccc1
* Snap: Remove auto HDR option when not supportedMichael Bestas2016-02-201-3/+8
| | | | Change-Id: Iaff1bee5ad6d48df2efe189955ba91bca8ec5c32
* camera: Keep touch focus intact during back-to-back ZSL shotsSteve Kondik2016-02-202-3/+13
| | | | | | | | * 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
* Snap: Fix filtering of unsupported HFR/HSR modesMichael Bestas2016-02-171-3/+25
| | | | Change-Id: I7721613f10a24cbd36eb0a3c5b0a46a98e828679
* SnapdragonCamera: Fix HSR recordingSultanxda2016-02-171-6/+0
| | | | | | Needed after recent framework changes upstream. Change-Id: Iedee3cf32216eb4cea663a5518d5dfa62725203f
* SnapdragonCamera: Remove bitrate and framerate scaling for HFRSultanxda2016-02-171-12/+4
| | | | | | This is done in the framework now. Change-Id: I3d35de5099db4f1e4b9a29d4a6c8c9e6ccdf5af7
* SnapdragonCamera: Fix timelapse recordingSultanxda2016-02-171-16/+12
| | | | | | | | | 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>
* SnapdragonCamera: Enable audio recording for HSR videosSultanxda2016-02-171-5/+10
| | | | | | | | | 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>
* SnapdragonCamera: Scale up bitrate for HSR recordingsSultanxda2016-02-171-1/+2
| | | | | | | | | | 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>
* Snap: Don't crash if user saved preference is not validGabriele M2016-02-171-2/+10
| | | | | | | | 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
* Snap: Cleanup flash iconsMichael Bestas2016-02-176-2/+15
| | | | | | * Adapt some forgotten ones to material Change-Id: Ie50a7f58b78def8e1da2eae92ae458c729fd7ddb
* SnapdragonCamera: Implementing SelfieFlash featureCamera Software Integration2016-02-1710-1/+211
| | | | | | | Introducing SelfieFlash feature. Change-Id: I7b73d9db585038640b715092b01e037538ef68aa CRs-Fixed: 937232
* SnapdragonCamera: Calculate in top bottom margin for the previewJack Yoo2016-02-161-2/+7
| | | | | | | | 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
* SnapdragonCamera: Fix highlight after rotating deviceByunghun Jeon2016-02-161-0/+6
| | | | | | | Fix highlight disappear after rotating device in settings Change-Id: Ic51d95cd07dfb33d846c24cbc265177330542b7a CRs-Fixed: 956111
* SnapdragonCamera: fix the incorrect aspect ratio calculationCamera Software Integration2016-02-161-26/+30
| | | | | | | | | | | 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
* SnapdragonCamera: Adjust margin on PhotoUICamera Software Integration2016-02-161-7/+9
| | | | | | | Adjust top and bottom margin on every ratio. Change-Id: I755c15039e355d13bcc08e6463f38deba668a234 CRs-Fixed: 951525
* SnapdragonCamera: Updating preview size againCamera Software Integration2016-02-162-0/+11
| | | | | | | | 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
* SnapdragonCamera: Fix to make camera display normallylikaid2016-02-161-4/+10
| | | | | | | | | | 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
* Revert "Snap: Support 1:1 aspect ratio"Arne Coucheron2016-02-161-4/+0
| | | | | | This reverts commit 4b6ac957f76dc33e77b05fe265a73737050ba50f. Change-Id: I7585ee977789eb9f90fe165870dcd1c230afc441
* Add 11.9MP 16:9 and 8.9MP picture resolutionsAndreas Schneider2016-02-162-0/+8
| | | | | Change-Id: I21f97329ada2f7e49134bee5a35cc67caf95cdb9 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* De-uglify menu.Danny Baumann2016-02-1521-136/+42
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Snap: add resolutions used on Nexus 6Prazorloves2016-02-152-0/+6
| | | | Change-Id: If2b34b20ccd4d60b51b98ca1fea27c2eb4dd94aa
* Automatic translation importMichael Bestas2016-02-1455-112/+2276
| | | | Change-Id: I7590024e38db54ca4ee8cab74e0683196a65089f
* SnapdragonCamera: Fix NULL pointer exceptionJay Wang2016-02-111-1/+2
| | | | | | | | | 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
* Snap: Material toastsMichael Bestas2016-02-1010-3/+9
| | | | | | * Match the framework toast appearance Change-Id: I886862f3087bcd5cb1cfa76f72731292b7511d07
* Fix crash if Exif-Tag buffer-length and component-count are both 0tobigun2016-02-101-1/+1
| | | | Change-Id: Iad9b60d135b4f682c08c3bfc9698cdd10e1086ab
* Camera2: Only autofocus before a snap if we are actually in "auto" mode.Steve Kondik2016-02-101-4/+1
| | | | | | Original commit by cyanogen 7daaa72d35c1f8820117768e4b129acd030bcefb Change-Id: I51853913f6459b599176910f7f486f59972eaf36
* Snap: Fix crash when set infinite touch-focus durationMichael Bestas2016-02-102-2/+2
| | | | | | | * java.lang.Integer.valueOf(string) method can't parse hexadecimal values Change-Id: I42706db72fc9c1093a7aa16440af449f731e5176