最近两天一直在看android相机的参数设置,Camera.Parameters中属性值非常的多,我索性就把就调用的flatten()方法,将设置的参数值都打印出来了,方便以后查看,如果想要修改那个属性,使用set方法,比如设置缩放

if(parameters.isZoomSupported()){

//tenDesiredZoom取值在parameters.getMinZoom()与parameters.getMaxZoom()之间

parameters.set("zoom", String.valueOf(tenDesiredZoom));

}

想要获取设置的属性值就更简单了,直接调用下面的方法就搞定了:

parameters.get(String key);下面列表中,等号前面的就是key值,后面就是对应属性值value:

flatten:

capture-burst-interval-max=10;

mirror-enable=0;

zoom=31;

redeye-reduction-values=enable,disable;

max-num-detected-faces-hw=4;

scene-detect-values=off,on;

qc-camera-features=1;

face-detection-values=off,on;

cap-mode=normal;

whitebalance=auto;

max-sharpness=30;

asd-mode=auto;

preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12;jpeg-thumbnail-quality=90;

preview-format=yuv420sp;

face-detection=off;

video-hdr-values=off,on;

camera-mode-values=0,1;

auto-exposure-values=frame-average,center-weighted,spot-metering;snapshot-flip=0;

video-zoom-support=true;

iso=auto;mce-values=enable,disable;

video-hdr=off;

flash-mode-values=off,auto,on,torch;

preview-frame-rate=30;

fb-smooting=90;

jpeg-thumbnail-width=512;

video-size=1920x1080;

scene-mode-values=auto,asd,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,hdr,macro,mix-illuminant,indoor;

redeye-reduction=disable;

preview-fps-range-values=(7577,30082);

auto-exposure=frame-average;

histogram=disable;

fb-eye-enlargement=90;

camera-mode=1;

preview-size-values=1920x1080,1440x1080,1280x720,800x480,720x480,640x480,352x288,320x240,240x160,192x112,176x144;

touch-af-aec=touch-off;

preview-fps-range=7577,30082;

auto-whitebalance-lock=false;

min-exposure-compensation=-12;

antibanding=off;

max-num-focus-areas=1;

vertical-view-angle=48.3;

display_mode=portrait;

qc-max-num-requested-faces=2;

capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;

slow-shutter=slow-shutter-off;max-saturation=10;capture-burst-interval-min=1;

no-display-mode=0;max-contrast=10;

slow-shutter-values=slow-shutter-off,slow-shutter-auto,slow-shutter-1/2s,slow-shutter-1s,slow-shutter-2s,slow-shutter-4s,slow-shutter-8s;

picture-format-values=jpeg,raw;video-hfr=off;exposure-compensation-step=0.166667;

scene-detect=off;

picture-size=4160x3120;

saturation=5;

fb-face-slimming=71;

whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;

picture-format=jpeg;zsl=off;

reduce-purple=off;

lensshade-values=enable,disable;

selectable-zone-af=auto;

video-hfr-values=off,60,90,120;

iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600;

selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average;

lensshade=enable;

capture-burst-exposures=;

preferred-preview-size-for-video=1920x1080;

intelligent-mode=0;mce=enable;

hfr-size-values=800x480,640x480;

zoom-supported=true;

strtextures=OFF;

face-beautify=0;

denoise-values=denoise-off,denoise-on;zsl-values=off,on;sharpness=10;

contrast=5;

scene-mode=auto;

jpeg-quality=85;

capture-burst-interval=1;

video-skinbeauty-mode=off;

histogram-values=enable,disable;

overlay-format=265;metering-areas=(0,0,80,80,1000);

capture-burst-captures-values=3;

ideo-size-values=1920x1080,1280x1088,1280x720,800x480,720x480,640x480,480x320,352x288,320x240,192x112,176x144;skinToneEnhancement=0;fb-toning=90;

preview-size=1440x1080;focal-length=3.85;

ae-bracket-hdr-values=Off,HDR,AE-Bracket;

denoise=denoise-off;capture-burst-retroactive=0;

video-flip=0;

preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120;

power-mode-supported=true;

max-num-metering-areas=1;

face_position=(-1,-1);

preview-flip=0;

focus-mode-values=auto,infinity,normal,macro,continuous-picture,continuous-video;

action-mode=all;

power-mode=Normal_Power;

jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,320x240,192x112,176x144,0x0;

zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390;

single-isp-output-enabled=false;

picture-size-values=4128x3088,4128x2320,4160x3120,4160x2340

android获取carema所有参数,android相机Camera.Parameters所有的参数值相关推荐

  1. android获取方法的参数,Android 获取 sn 详解,以及测试报告~

    1.小结: 1.Android 9及以上无法获取sn,Android 9以下不需要权限即可获取 2.获取到的参数相对稳定不变 3.不同手机参数长度可能不同 补充:新增获取方法:Build.getSer ...

  2. android子view获取父布局,Android获取布局父ID(Android get layout parent id)

    Android获取布局父ID(Android get layout parent id) 我想知道View和ViewParent有什么区别? 我想获取ImageView父级的Id,但我不能这样做: m ...

  3. Android获取实况天气接口, android获取实时天气预报代码

    Android获取实况天气接口, android获取实时天气预报代码 天气API的免费接口, 不需要注册key, 访问url直接返回json数据 1 调用的接口 url https://www.tia ...

  4. android获取电池信息;android获取电池容量、技术、电压、电量、温度等信息

    android获取电池信息:android获取电池容量.技术.电压.电量.温度等信息 1.这里我仅展示工具类,需要注意的是这里的部分值要刷新后才能显示,添加刷新UI的方法即可,而且电量温度等都是变化的 ...

  5. android获取GPU信息;android获取GPU渲染器、供应商、版本和扩展名等信息

    android获取GPU信息:android获取GPU渲染器.供应商.版本和扩展名等信息 效果: 1.布局文件 <?xml version="1.0" encoding=&q ...

  6. Android获取相册地址适配,android 7.0+ FileProvider 访问隐私文件 相册、相机、安装应用的适配...

    从 Android 7.0 开始,Android SDK 中的 StrictMode 策略禁止开发人员在应用外部公开 file:// URI.具体表现为,当我们在应用中使用包含 file:// URI ...

  7. android 获取已安装 错误代码,android获取手机已经安装的app信息

    Android获取手机已安装APP(系统/非系统) 效果图 主体代码 private ListView mlistview; private ListpackageInfoList; private ...

  8. android获取其他app布局,Android Studio查看其它APP的布局结构

    概述 日常使用别家的APP过程中,会遇到一些比较好看的布局,这时候我们就想学习一下别人的布局结构,以便参考. (1)手机连接电脑.设置手机为USB调试模式 (2)运行Android Studio,打开 ...

  9. android获取手机a标签,Android获得手机UserAgent的源码

    就在我们使用安卓手机接通Pc的时候,或者使用的有些app比如我们企业营销团队就在使用的app引号精灵,以前老版本就需要开启USB开发者调试模式下使用,现就在新版本不需要了,如果手机没有开启USB开发者 ...

最新文章

  1. PAT甲级1153 Decode Registration Card of PAT :[C++题解]结构体、哈希表、排序、类似数据库查询题、好题
  2. 手机linux编译器,在linux上交叉编译helloWorld到android手机上去
  3. Python函数及相关知识
  4. springboot日志写入mysql_44. Spring Boot日志记录SLF4J【从零开始学Spring Boot】
  5. 安卓APP_ 控件(2)—— Button
  6. ASP.NET Core在Docker下面生成简易验证码
  7. php5.0 添加接口,Thinkphp5.0模型---插入数据
  8. cpu负载过高问题处理
  9. 滚动条组件 http://www.w3cfuns.com/notes/15098/96195b77bdbcb601590f67f971770bb8.html
  10. MySQL性能优化的21个最佳实践 和 mysql使用索引
  11. linux信号灯超时时间已到,急!!信号灯超时时间已到错误又出来了!!!!
  12. 小米路由器青春版刷Padavan固件
  13. refresh( )
  14. 短信平台通道搭建 wed网页版源码构架 路由通道多线搭建 后台管理系统的架构
  15. 在线英语广播==好好学习,天天向上
  16. 单向可控硅和双向可控硅的详细介绍(含引脚的分辨)
  17. django学习 | 实战 # 微信自定义菜单
  18. java银行驻场开发,满满干货指导
  19. 天龙八部手游服务器等级哪里显示,天龙八部手游
  20. mysql做十亿条数据查询_数据库优化:mysql数据库单机数十亿数据查询设计

热门文章

  1. 为什么你不能拦截TerminateProcess?
  2. 海淀区第一批限价商品住房选房公告
  3. Your browser sent a request that this server could not understand. Additionally, a 400 Bad Request e
  4. springboot下使用redisTemplate清空redis
  5. antlr4小试牛刀-sql转换成es dsl
  6. 2013年9月份全国计算机等级考试二级c语言题库及详细解答,2013年9月份全国计算机等级考试二级C语言题库及详解..doc...
  7. 在不格式化原有系统盘的情况下,利用grub4dos+firadisk制作RamOS VHD Win7总结
  8. Android的识花软件推荐,识花App有哪些 形色app好不好用【详解】
  9. html5 collapse,关于css中的border-collapse
  10. 复制图纸空间的视口到另一个dwg文件中