summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Merge "SnapdragonCamera: Correct the mBackCameraId and mFrontCameraId" into ↵Camera Software Integration2019-11-061-2/+3
| | |\ | | | | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| | | * SnapdragonCamera: Correct the mBackCameraId and mFrontCameraIdxianming wang2019-10-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Correct the mBackCameraId and mFrontCameraId. Change-Id: I10904c601801c89b89f1fb21468d5c7a420bfb4a
| | * | Merge "SnapdraongCamera:APP-ZSL size" into camera-SnapdragonCamera.lnx.2.0Camera Software Integration2019-11-061-1/+6
| | |\ \
| | | * | SnapdraongCamera:APP-ZSL sizejunjiez2019-10-291-1/+6
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to get max supported size as APP-ZSL size, then crop into picture size to avoid FOV issue Change-Id: I298544d849af6ba4944826f8960e47331b4abe34 CRs-Fixed: 2545491
| | * | Merge "SnapdragonCamera: Flash icon appears after countdown" into ↵Camera Software Integration2019-11-061-1/+9
| | |\ \ | | | | | | | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| | | * | SnapdragonCamera: Flash icon appears after countdownjiaoyuan2019-10-181-1/+9
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Flash icon appears after snapshot with countdown timer in ProMode Change-Id: I21101397b617e8afc433118400bb4b07ae061801
| | * | Removes all usages of ScriptC_* variables.Divya Sharma2019-11-041-15/+0
| | | | | | | | | | | | | | | | Change-Id: I42386aac4e9f534637fe1a81f29c596341dc8077
| | * | Merge "Update version number to 2.02.034" into camera-SnapdragonCamera.lnx.2.0Camera Software Integration2019-11-011-1/+1
| | |\ \
| | | * | Update version number to 2.02.034jinwu2019-10-171-1/+1
| | | |/ | | | | | | | | | | | | Change-Id: If8b54dd0aee479d5cbd8184835393a22cfe969d2
| | * | Merge "SnapdragonCamera: Disable MPEG4 when enable EIS and less 720P" into ↵Camera Software Integration2019-11-012-0/+26
| | |\ \ | | | | | | | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| | | * | SnapdragonCamera: Disable MPEG4 when enable EIS and less 720Pxianming wang2019-10-082-0/+26
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable MPEG4 encoder when enable EIS and video quality less than 720P. CRs-Fixed: 2532891 Change-Id: I48c450c47b77500562aa53c31edbae5caf873a0b
| | * | Merge "SnapdragonCamera: options button missing in promode" into ↵Camera Software Integration2019-11-011-0/+1
| | |\ \ | | | | | | | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| | | * | SnapdragonCamera: options button missing in promodejiaoyuan2019-10-171-0/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | reset options button height Change-Id: I607c236fb6f2452f0024151027ad4afa420f54e8
| | * | Merge "SnapdraongCamera:Filter HEIF size" into camera-SnapdragonCamera.lnx.2.0Camera Software Integration2019-11-011-4/+42
| | |\ \
| | | * | SnapdraongCamera:Filter HEIF sizejunjiez2019-10-161-4/+42
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filter unsupported HEIF size according to the capabilities of heic encoder to avoid codec error. Change-Id: If68f517f768d04c27f1bd52def4d8fb492b74842 CRs-Fixed: 2525250
| | * | Merge "SnapdraongCamera: mms do not need high speed" into ↵Camera Software Integration2019-11-011-2/+1
| | |\ \ | | | | | | | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| | | * | SnapdraongCamera: mms do not need high speedjiaoyuan2019-10-091-2/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | mms do not support high speed Change-Id: Id0ec90ef7ff1b09bd8045300fd58fe65133e127f
| | * / SnapdragonCamera: hide navigation barjiaoyuan2019-10-101-1/+2
| | |/ | | | | | | | | | | | | | | | hide navigation bar Change-Id: I98c081cc4feaa7a8434bf2325c30daef98ce15ea
* | | Snap: catch NumberFormatException in getDeviceSocIdJan Altensen2020-02-031-1/+2
| | | | | | | | | | | | | | | | | | * non qcom devices might return a non numeric value Change-Id: I6dcdab18965778053bf10291c9fa86e21d048c4f
* | | Automatic translation importMichael Bestas2020-01-27255-13213/+47880
| | | | | | | | | | | | Change-Id: I77a6c6a85e052068e91b6fcdf62f5ca819be163b
* | | Snap: Convert leftover persist.camera.* to persist.sys.camera.*Michael Bestas2020-01-122-5/+9
| | | | | | | | | | | | | | | | | | Avoid SELinux denials with property isolation enabled Change-Id: I10bc0a406b3702d24ccede845a05ad6eb205b062
* | | Snap: Handle SDCard-removed caselineage-17.0Michael W2019-11-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * When the storage path has been set to SDCard but the card has been removed, there is currently no way to alter the setting and to get your cam to work properly again * Check the writeable-state of the sdcard on startup and fall back to using the internal storage in that case * The startup-flag is used to keep the current behaviour with removed SDcards while cam is still active * Fixes: https://gitlab.com/LineageOS/issues/android/issues/1376 Change-Id: Ib408883a6810693c93488f8a02fe061c56932d1d
* | | Snap: Don't remove scene modes!dianlujitao2019-11-211-5/+1
| | | | | | | | | | | | | | | | | | This partially reverts commit 8acb462b46c930bf6f6c6192012a11f2e127ecc4. Change-Id: I5864924938189b17efa9a496912a51b9c2b233c1
* | | Snap: Perform null check on AF state in updateCaptureStateMachinedianlujitao2019-11-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Some camera HAL implementations don't push AF state to urgent metadata. E.g. for QCOM camera HAL this happens only after https://source.codeaurora.org/quic/la/platform/hardware/qcom/camera/commit/?h=LA.UM.7.2.r1-07700-sdm660.0&id=d276a953295364b967c36038362c1e7ea268bdad * Fix crash on capture after c724bc35a9c5f3b36ce36a2081559e2644993da4 Change-Id: I8980fd3fb7d7db4f61189281580ecb17778602df
* | | Snap: Fix getting supported ISO with legacy HALdianlujitao2019-11-211-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | * org.codeaurora.qcamera3.iso_exp_priority.iso_available_modes is QCOM specific vendor tag and not implemented in legacy HALs. * Restore pre-17.0 behavior by falling back to AOSP camera characteristics Change-Id: I299e7bfb867496c63ec873ea4cea29b0b8bb595f
* | | Snap: Don't spam exceptionsMichael W2019-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * When these fields don't exist, you get a lot of NoSuchFieldException stacktraces * Only do so when DEBUG is set, don't spam others Change-Id: I24261be15b2970fc3626f54eb309a10b0d003ff8
* | | Snap: Don't query camera hardware on camera button actionLuK13372019-11-111-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | * Android 10 does not allow idle apps to do anything camera related so lets just launch the app unconditionally instead. Change-Id: I117b1442e5ca107205d4b69cbfd32d5375995d78
* | | Snap: Grant android.permission.START_ACTIVITIES_FROM_BACKGROUNDLuK13372019-11-111-0/+1
| | | | | | | | | | | | | | | | | | * This is needed for camera button action on Q. Change-Id: I64884e1a12d021b162d6c9fcd243604cc978d8c2
* | | Fix NPE when removing RAW settingLuK13372019-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | * That preference is already gone when developer options are disabled. Change-Id: I040d153561cce691e8e5689bb810585071cb5836
* | | Fix use of deprecated SoundPool API in SnapJean-Michel Trivi2019-11-094-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use stream types for operations other than volume control [Chippa_a]: Extended for Snap Bug: 122901916 Test: verify logcat doesn't show warnings, see bug Change-Id: Id5b4f3b3c56c61a2f00172a470410e0670ce81b4 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* | | Stop using deprecated Canvas APIs.Derek Sollenberger2019-11-091-1/+1
| | | | | | | | | | | | | | | | | | Bug: 73777445 Test: compile Change-Id: Ib8a0b7dcbe606c2a1a9df26549cc805c6eeb892b
* | | Snap: Fix Undo button behaviourNBruderman2019-11-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The undo behaviour depends on if the camera present secure settings or not. If secure, it should have 1 placeholder. 0 in other cases. Repro (for non secure cameras): 1. Leave only 3 pictures on the album. 2. Delete one picture, it will work fine. 3. Leave only 2 pictures on the album. 4. Try to delete, and you will go straight to the camera, without the undo pannel showing up. Change-Id: I360076381867a74628ffa492065ccf2ca53c72d6
* | | Snap: allow to disable image stabilization per devicecodeworkx2019-11-092-0/+9
| | | | | | | | | | | | Change-Id: I4317f84285bdf97ba321ad5ddba7453f2b5d3b0c
* | | Snap: Fix picture size preferencedianlujitao2019-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Picture sizes are dynamically generated and no longer come with initial entries, thus reloadInitialEntriesAndEntryValues() would just set it to empty. Change-Id: I4d601bdf0faf8065ada7ea252c9d6120a230a420
* | | Snap: Add back original-package in manifestMichael Bestas2019-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * When you upgrade from 14.1 to 15.1 and then 16.0, Snap is no longer working because the system is confused about the package name. Change-Id: I5588dbda38063337a01409f19fd6e3b32b4e25ca
* | | Snap: Remove unused resourcesMichael Bestas2019-11-0911-3042/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * They were leftover since we switched locale mapping Fixes: warning: string 'pref_camera_flashmode_label' has no default translation. warning: string 'pref_camera_flashmode_label' is missing 86 required localizations: af_ZA am_ET ar_EG as_IN ast_ES az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ cy_GB da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_US en_XC es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gd_GB gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA Change-Id: I6c90c297b89890cbf18f1325693dae156d51ff11
* | | Snap: Fix shutter button sizeArtem Borisov2019-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * This probably got messed up with some of the recent rebases, making our shutter button ugly and misaligned. * Set it to 80dp which is the proper value for our drawables. Change-Id: Ief53c8c121bc8a3ad1a81fe6780d78ca90bf39a9
* | | Snap: make support for bokeh mode configurable per devicecodeworkx2019-11-092-3/+23
| | | | | | | | | | | | | | | | | | Support is disabled by default. Change-Id: I5ab480e4eed9d314ae6f5ef78c5246397ebbe587
* | | QuickReader: Update libsLuca Stefani2019-11-098-3/+4
| | | | | | | | | | | | Change-Id: I55a26a535ac2227fe3189465068d8e7d36879193
* | | Snap: Always allow 100% JPEG quality to be setZhao Wei Liew2019-11-091-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we were checking if the selected JPEG quality was 100% and not setting the JPEG quality if some conditions were met. There isn't any history nor explanation on why we weren't setting the JPEG quality to 100%, so just remove the redundant check. Change-Id: Ie0ab555ad35942bd115751fd10e4f4c11fa7a76d
* | | Snap: Disable debugging of double open issueWang Han2019-11-091-1/+1
| | | | | | | | | | | | | | | | | | * Slows down camera opening and useless for us Change-Id: I2826704afc6b15fc4ca51ee0d29553f5b3dfb858
* | | Snap: Add missing NULL check in updatePictureAndVideoSize()Wang Han2019-11-091-9/+11
| | | | | | | | | | | | | | | | | | | | | * Fixes crash when enabling Qcfa Change-Id: I506a1d7da0b91bc48484bd251e0c6c9042962421 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* | | Snap: Check various feature support before applyingWang Han2019-11-091-2/+14
| | | | | | | | | | | | | | | | | | * Fixes crash on devices which does not support it Change-Id: I39b9424ad200db6819a11aac6c319a22542d4131
* | | Snap: Fix layout of zoom optionWang Han2019-11-091-0/+1
| | | | | | | | | | | | Change-Id: Icb66e6912b6a5eb5ca638d121590ad3bcf128f18
* | | Snap: Create correct redeye reduction config iconWang Han2019-11-092-1/+12
| | | | | | | | | | | | | | | | | | * Create another one with black color Change-Id: I971496bd9f5e3cf5c8f88ad66a4213ff19bcb312
* | | Fix get aePref is null in PhotoMenujinwu2019-11-091-1/+1
| | | | | | | | | | | | Change-Id: I225ab63336302ff0b3b863e9cb6d2ba74ed0ac3e
* | | Fix to change default mode to Camera1 HAL1zhuw2019-11-091-1/+1
| | | | | | | | | | | | Change-Id: Id8f03260cf4753206240cf829eea9be5735b90e6
* | | SnapdragonCamera: Fix parameters NullPointerExceptionxianming wang2019-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | Fix parameters is NullPointerException in China App Stress. CRs-Fixed: 2307806 Change-Id: I71fff4cb32361ad0e66d6460ca8dc01167c8a009
* | | SnapdragonCamera: SetParameters use the mParameters Objectmingwax2019-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | User should use the mParameters take the place of mCameraDevice. getParameters. In order to update parameter in time. CRs-Fixed: 2054913 Change-Id: I605f05322a2a6072c40014f7ab472802c0350107
* | | DisableCameraReceiver: Initialize CameraHolder before usedianlujitao2019-11-091-0/+14
| | | | | | | | | | | | Change-Id: If4c38d19d3c88317ddd4f651acea5e036dbe8544