summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/util/PersistUtil.java
Commit message (Collapse)AuthorAgeFilesLines
* Snap: Detect and use Camera2 if availablecodeworkx2019-10-251-6/+0
| | | | | | | | | | | | | | | | | | | | Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sat Jan 28 14:56:35 2017 +0100 Snap: detect and use Camera2 if available Also add overlay option to enable support for Camera2 to retain current behaviour. Change-Id: I20939e33f4bb687e4abea11bbcdb9bf246b156e4 Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sun Aug 13 12:22:05 2017 +0200 Snap: Add missing null check on isCamera2Supported Change-Id: I61c04c7cb8d344573ab7fb11f7114f09aaf24fb7 Change-Id: I339ead08d10ddff5dad491987d94367354a4b3f3
* SnapdragonCamera: Add burst preview request nums controlxianming wang2019-06-201-4/+4
| | | | | | Add burst preview request nums control. Change-Id: I0214b439e49bdf4cd7d229a28ba3f216bf7efa6a
* Merge "SnapdragonCamera: Add abortCaptures for flush" into ↵Linux Build Service Account2019-01-171-0/+6
|\ | | | | | | camera-SnapdragonCamera.lnx.2.0
| * SnapdragonCamera: Add abortCaptures for flushxianming wang2019-01-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | Add abortCaptures for flush. (1) when exit app. (2) when switch cameraID. (3) start recording before closePreview session. (4) stop recording except enable EIS. CRs-Fixed: 2349737 Change-Id: I4546fbfefa3ffa4bcec688a6b5c6eea24045f232
* | SnapdragonCamera: Add save task memory limit info is 120Mxianming wang2018-12-241-1/+1
|/ | | | | | | Add Save task memory limit info is 120M. CRs-Fixed: 2372158 Change-Id: Iff23ca95d083c6ed1019923c447b399714754e8e
* SnapdragonCamera: Set burst shotFps controlled by setpropxianming wang2018-12-141-0/+11
| | | | | | | | Set burst shotFps controlled by setprop. The prop is "persist.sys.camera.burst.shot.fps", the default value is false. CRs-Fixed: 2363720 Change-Id: Ia24e6da153728ac94e9472aec407b288d4f70b7c
* Set longshot number to 60jinwu2018-10-201-1/+1
| | | | Change-Id: I27aff4f9b439c0464a189643ad56f86d245947e9
* Change property from vendor to sys.jinwu2018-07-031-40/+40
| | | | Change-Id: I08e0426f4189a8d62a54c0ca83658b18b1babbb3
* Change default number of longshot to 30jinwu2018-03-271-1/+1
| | | | | | For consuming less memory. Change-Id: Ic8e2d85df30c3ecf4b31a399aa6ca9eb361129ea
* SnapdragonCamera: Complete the function of DeepZoomxianming wang2018-02-061-2/+0
| | | | | | | | Complete the function of DeepZoom, only support the 32 bit library. Does`t support the 64 bit library. CRs-Fixed: 2116533 Change-Id: I9c181ff0de005493d345ecc0b0380dda9910ce63
* SnapdragonCamera: Add command to set videoSizexianming wang2018-01-241-0/+15
| | | | | | | Add setprop "persist.vendor.camera.video.size" to set the video size. Change-Id: Icd6792a3afc36c11902d839e2981507cb78bd31c CRs-Fixed: 2175168
* SnapdragonCamera: Move property to PersistUtilWeijie Wang2017-09-041-8/+196
| | | | | | Move property to PersistUtil Change-Id: I0735d8215ba302ef4c632d6a15ad95a04cd259a0
* Revert "SnapdragonCamera: Sync LA.UM.6.4 to LA.UM.6.3"Weijie Wang2017-09-021-196/+8
| | | | | | This reverts commit b5533d51a7c97138235d29b35cec876d107aeadd. Change-Id: I8063422680802e25d03a374be91e884a86ad55e9
* SnapdragonCamera: Sync LA.UM.6.4 to LA.UM.6.3Weijie Wang2017-08-301-8/+196
| | | | | | Sync LA.UM.6.4 to LA.UM.6.3 Change-Id: Ide9a53b3b5ea6d17154003e4059ae3125f9f3346
* SnapdragonCamera: Add ZSL in HAL modeWeijie Wang2017-07-261-6/+0
| | | | | | Add ZSL in HAL mode Change-Id: Ifa803c970cfc559723e3599821b74cc8584782a2
* SnapdragonCamera: Rename property nameweijiew2017-07-071-12/+14
| | | | | | | | As app can't read property "persist.sys.camera.xxxx" with permission denied on Android O, so rename "persist.sys.camera.xxx" to "persist.vendor.camera.xxx" Change-Id: Ib2a3d193ca56b51ba1a4f3cea9cf933f8780e78c CRs-Fixed: 2027214
* Hack to enable HAL_ZSLJay Wang2017-07-071-5/+5
| | | | Change-Id: I772003abfc73a1a7cca5b9492002bbfcb6a70622
* Revert "SnapdragonCamera: Changes for SDM bringup"Jay Wang2017-07-071-7/+1
| | | | | | This reverts commit f245124ed851a0888dbced9b887d0db2f0135177. Change-Id: I4c9d787c5486c822a764f7b2551a87c2f924fbcd
* SnapdragonCamera: Changes for SDM bringupJack Yoo2017-06-131-1/+7
| | | | | | | | | | | | | | | | Changes to accomodate the SDM bringup 0. Image flow change to be compatible to early version of CAMX 1. Pseudo ZSL mode to capture as configuring requires to be done all at the same time. 2. Video recording starts from the beginning as well for same reason. 3. Adding Cameracharacteristc availability check as meta is not all available yet. 4. Adding persist to selectively enable 4K Video recording in which case snapshot is disabled. The default is 1080P. Change-Id: Ib808dd2fe25398c444b220d40693a0436e4f6db5
* SnapdragonCamera: add method nativeConfigureStillmoremingwax2017-04-241-3/+33
| | | | | | | | | | (1) Add the method nativeConfigureStillMore, and can set the parameter: brColor、brIntensity、smoothingIntensity. (2) Add custom properties to control some of the parameters of stillmore. CRs-Fixed: 2013253 Change-Id: I62871f7d27f8f8c16514378bd06e945099c677e5
* SnapdragonCamera: Add setprop to control cancel touch AF delayqimengp2017-03-271-0/+6
| | | | | | | persist.camera.focus_delay XXX, default is 50000 ms Change-Id: Id15b308efb20e797bed2d9956f12e332af4e6b54 CRs-Fixed: 1114799
* SnapdragonCamera: Fix a green line in BestPicture and Ubifocusmingwax2017-02-221-0/+10
| | | | | | | | When mStride > mWidth, use the whole yuv bytebuffer to save JPG. Add properties to control whether to print log. CRs-Fixed: 1101620 Change-Id: I18cd27de8be542fc9440be6071ee55149b598ac5
* SnapdragonCamera: Reading persist system property only onceJay Wang2016-11-071-10/+21
| | | | | | | Reading persist system property only once Change-Id: I62296c3eb508ad0e9b34eaa1bf815ef08c129250 CRs-Fixed: 1077021
* SnapdragonCamera: Use persist to set Camera1/Camera2 modeByunghun Jeon2016-09-271-0/+5
| | | | | | | | | Use persist flag to choose camera1 or camera2. Flag is persist.camera.camera2 Default will be camera1 Change-Id: Ic616b3d4b9f1293e45c7a006587f5c9ba34a0687 CRs-Fixed: 1066444
* SnapdragonCamera: Allow persist flag to hardcode preview sizeByunghun Jeon2016-08-161-0/+4
| | | | | | | Use perfirst flag to hardcode preview size in Camera2 mode CRs-Fixed: 1050106 Change-Id: Ib718497efdff13115c95011d08020474dc929573
* SnapdragonCamera: Update settingsManager and add Dual mode to Scene modeByunghun Jeon2016-05-311-1/+1
| | | | | | | Update settingsManager and add Dual mode to Scene mode Change-Id: I508430840c3fb8c7d0b56a2a63e09b271754fcb4 CRs-Fixed: 1018118
* SnapdragonCamera: Add continuous shot and count downByunghun Jeon2016-05-311-0/+51
Add continous shot and count down to CaptureModule Change-Id: I986302201f742d7671a67c26953eecc2a0276294 CRs-Fixed: 1018118