日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

國(guó)內(nèi)最全I(xiàn)T社區(qū)平臺(tái) 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當(dāng)前位置:首頁(yè) > php開(kāi)源 > 綜合技術(shù) > android-Camera.Parameters

android-Camera.Parameters

來(lái)源:程序員人生   發(fā)布時(shí)間:2016-07-11 15:40:39 閱讀次數(shù):5490次

Camera.Parameters

public class Camera.Parameters 
extends Object 

java.lang.Object
   ? android.hardware.Camera.Parameters


This class was deprecated in API level 21.
We recommend using the new android.hardware.camera2 API for new applications.

Camera service settings.

To make camera parameters take effect, applications have to call setParameters(Camera.Parameters). For example, after setWhiteBalance(String) is called, white balance is not actually changed until setParameters(Camera.Parameters) is called with the changed parameters object.

讓相機(jī)參數(shù)生效,利用程序必須調(diào)用setParameters(Camera.Parameters)。例如,在setWhiteBalance(String),白平衡實(shí)際上其實(shí)不是改變直到setParameters(Camera.Parameters)更改的參數(shù)對(duì)象。

Different devices may have different camera capabilities, such as picture size or flash modes. The application should query the camera capabilities before setting parameters. For example, the application should call getSupportedColorEffects() before calling setColorEffect(String). If the camera does not support color effects, getSupportedColorEffects() will return null.

不同的裝備有不同的相機(jī)功能,如圖象大小或閃光模式。利用程序之前應(yīng)當(dāng)查詢相機(jī)功能設(shè)置參數(shù)。例如,利用程序應(yīng)當(dāng)調(diào)用getSupportedColorEffects()調(diào)用之前setColorEffect(String)。如果相機(jī)不支持色彩效果,getSupportedColorEffects()將返回null。

Summary


Constants

String ANTIBANDING_50HZ

String ANTIBANDING_60HZ

String ANTIBANDING_AUTO

String ANTIBANDING_OFF

String EFFECT_AQUA

String EFFECT_BLACKBOARD

String EFFECT_MONO

String EFFECT_NEGATIVE

String EFFECT_NONE

String EFFECT_POSTERIZE

String EFFECT_SEPIA

String EFFECT_SOLARIZE

String EFFECT_WHITEBOARD

String FLASH_MODE_AUTO

Flash will be fired automatically when required.

Flash在需要時(shí)將自動(dòng)被解雇。

String FLASH_MODE_OFF

Flash will not be fired.

Flash不會(huì)被解雇。

String FLASH_MODE_ON

Flash will always be fired during snapshot.

Flash在快照總是會(huì)被解雇。

String FLASH_MODE_RED_EYE

Flash will be fired in red-eye reduction mode.

Flash在減少紅眼模式將被解雇。

String FLASH_MODE_TORCH

Constant emission of light during preview, auto-focus and snapshot.

常數(shù)光線發(fā)射在預(yù)覽,自動(dòng)對(duì)焦和快照。

int FOCUS_DISTANCE_FAR_INDEX

The array index of far focus distance for use with getFocusDistances(float[]).

焦點(diǎn)距離遠(yuǎn)的數(shù)組索引使用getFocusDistances(float[]).

int FOCUS_DISTANCE_NEAR_INDEX

The array index of near focus distance for use with getFocusDistances(float[]).

焦點(diǎn)距離附近的數(shù)組索引使用getFocusDistances(float[])。

int FOCUS_DISTANCE_OPTIMAL_INDEX

The array index of optimal focus distance for use with getFocusDistances(float[]).

最好聚焦距離的數(shù)組索引使用getFocusDistances(float[])。

String FOCUS_MODE_AUTO

Auto-focus mode.

自動(dòng)對(duì)焦模式。

String FOCUS_MODE_CONTINUOUS_PICTURE

Continuous auto focus mode intended for taking pictures.

連續(xù)自動(dòng)對(duì)焦模式用于拍照。

String FOCUS_MODE_CONTINUOUS_VIDEO

Continuous auto focus mode intended for video recording.

連續(xù)自動(dòng)對(duì)焦模式用于錄相。

String FOCUS_MODE_EDOF

Extended depth of field (EDOF).

擴(kuò)大景深(EDOF)。

String FOCUS_MODE_FIXED

Focus is fixed.

焦點(diǎn)是固定的。

String FOCUS_MODE_INFINITY

Focus is set at infinity.

焦點(diǎn)是無(wú)窮。

String FOCUS_MODE_MACRO

Macro (close-up) focus mode.

int PREVIEW_FPS_MAX_INDEX

The array index of maximum preview fps for use with getPreviewFpsRange(int[]) or getSupportedPreviewFpsRange().

最大預(yù)覽fps的數(shù)組索引使用getPreviewFpsRange(int[])或getSupportedPreviewFpsRange()。

int PREVIEW_FPS_MIN_INDEX

The array index of minimum preview fps for use with getPreviewFpsRange(int[]) or getSupportedPreviewFpsRange().

最低預(yù)覽fps的數(shù)組索引使用getPreviewFpsRange(int[])或getSupportedPreviewFpsRange()。

String SCENE_MODE_ACTION

Take photos of fast moving objects.

拍攝快速移動(dòng)的物體。

String SCENE_MODE_AUTO

Scene mode is off.

場(chǎng)景模式。

String SCENE_MODE_BARCODE

Applications are looking for a barcode.

利用程序正在尋覓1個(gè)條碼。

String SCENE_MODE_BEACH

Take pictures on the beach.

在海灘上拍照。

String SCENE_MODE_CANDLELIGHT

Capture the naturally warm color of scenes lit by candles.

捕捉場(chǎng)景的自然暖色點(diǎn)燃燭炬。

String SCENE_MODE_FIREWORKS

For shooting firework displays.

拍攝焰火表演。

String SCENE_MODE_HDR

Capture a scene using high dynamic range imaging techniques.

使用高動(dòng)態(tài)范圍成像技術(shù)捕捉1個(gè)場(chǎng)景。

String SCENE_MODE_LANDSCAPE

Take pictures on distant objects.

拍攝遠(yuǎn)處的物體。

String SCENE_MODE_NIGHT

Take photos at night.

晚上拍照。

String SCENE_MODE_NIGHT_PORTRAIT

Take people pictures at night.

晚上拍攝人物照片。

String SCENE_MODE_PARTY

Take indoor low-light shot.

室內(nèi)光線拍攝。

String SCENE_MODE_PORTRAIT

Take people pictures.

人們拍攝照片。

String SCENE_MODE_SNOW

Take pictures on the snow.

在雪地里拍照。

String SCENE_MODE_SPORTS

Take photos of fast moving objects.

拍攝快速移動(dòng)的物體。

String SCENE_MODE_STEADYPHOTO

Avoid blurry pictures (for example, due to hand shake).

避免模糊的圖片(例如,由于握手)。

String SCENE_MODE_SUNSET

Take sunset photos.

日落的照片。

String SCENE_MODE_THEATRE

Take photos in a theater.

在劇院拍照。

String WHITE_BALANCE_AUTO

String WHITE_BALANCE_CLOUDY_DAYLIGHT

String WHITE_BALANCE_DAYLIGHT

String WHITE_BALANCE_FLUORESCENT

String WHITE_BALANCE_INCANDESCENT

String WHITE_BALANCE_SHADE

String WHITE_BALANCE_TWILIGHT

String WHITE_BALANCE_WARM_FLUORESCENT

Public methods

String flatten()

Creates a single string with all the parameters set in this Parameters object.

String get(String key)

Returns the value of a String parameter.

String getAntibanding()

Gets the current antibanding setting.

boolean getAutoExposureLock()

Gets the state of the auto-exposure lock.

boolean getAutoWhiteBalanceLock()

Gets the state of the auto-white balance lock.

String getColorEffect()

Gets the current color effect setting.

int getExposureCompensation()

Gets the current exposure compensation index.

float getExposureCompensationStep()

Gets the exposure compensation step.

String getFlashMode()

Gets the current flash mode setting.

float getFocalLength()

Gets the focal length (in millimeter) of the camera.

List<Camera.Area> getFocusAreas()

Gets the current focus areas.

void getFocusDistances(float[] output)

Gets the distances from the camera to where an object appears to be in focus.

String getFocusMode()

Gets the current focus mode setting.

float getHorizontalViewAngle()

Gets the horizontal angle of view in degrees.

int getInt(String key)

Returns the value of an integer parameter.

int getJpegQuality()

Returns the quality setting for the JPEG picture.

int getJpegThumbnailQuality()

Returns the quality setting for the EXIF thumbnail in Jpeg picture.

Camera.Size getJpegThumbnailSize()

Returns the dimensions for EXIF thumbnail in Jpeg picture.

int getMaxExposureCompensation()

Gets the maximum exposure compensation index.

int getMaxNumDetectedFaces()

Gets the maximum number of detected faces supported.

int getMaxNumFocusAreas()

Gets the maximum number of focus areas supported.

int getMaxNumMeteringAreas()

Gets the maximum number of metering areas supported.

int getMaxZoom()

Gets the maximum zoom value allowed for snapshot.

List<Camera.Area> getMeteringAreas()

Gets the current metering areas.

int getMinExposureCompensation()

Gets the minimum exposure compensation index.

int getPictureFormat()

Returns the image format for pictures.

Camera.Size getPictureSize()

Returns the dimension setting for pictures.

Camera.Size getPreferredPreviewSizeForVideo()

Returns the preferred or recommended preview size (width and height) in pixels for video recording.

int getPreviewFormat()

Returns the image format for preview frames got from Camera.PreviewCallback.

void getPreviewFpsRange(int[] range)

Returns the current minimum and maximum preview fps.

int getPreviewFrameRate()

This method was deprecated in API level 9. replaced by getPreviewFpsRange(int[])

Camera.Size getPreviewSize()

Returns the dimensions setting for preview pictures.

String getSceneMode()

Gets the current scene mode setting.

List<String> getSupportedAntibanding()

Gets the supported antibanding values.

List<String> getSupportedColorEffects()

Gets the supported color effects.

List<String> getSupportedFlashModes()

Gets the supported flash modes.

List<String> getSupportedFocusModes()

Gets the supported focus modes.

List<Camera.Size> getSupportedJpegThumbnailSizes()

Gets the supported jpeg thumbnail sizes.

List<Integer> getSupportedPictureFormats()

Gets the supported picture formats.

List<Camera.Size> getSupportedPictureSizes()

Gets the supported picture sizes.

List<Integer> getSupportedPreviewFormats()

Gets the supported preview formats.

List<int[]> getSupportedPreviewFpsRange()

Gets the supported preview fps (frame-per-second) ranges.

List<Integer> getSupportedPreviewFrameRates()

This method was deprecated in API level 9. replaced by getSupportedPreviewFpsRange()

List<Camera.Size> getSupportedPreviewSizes()

Gets the supported preview sizes.

List<String> getSupportedSceneModes()

Gets the supported scene modes.

List<Camera.Size> getSupportedVideoSizes()

Gets the supported video frame sizes that can be used by MediaRecorder.

List<String> getSupportedWhiteBalance()

Gets the supported white balance.

float getVerticalViewAngle()

Gets the vertical angle of view in degrees.

boolean getVideoStabilization()

Get the current state of video stabilization.

String getWhiteBalance()

Gets the current white balance setting.

int getZoom()

Gets current zoom value.

List<Integer> getZoomRatios()

Gets the zoom ratios of all zoom values.

boolean isAutoExposureLockSupported()

Returns true if auto-exposure locking is supported.

boolean isAutoWhiteBalanceLockSupported()

Returns true if auto-white balance locking is supported.

boolean isSmoothZoomSupported()

Returns true if smooth zoom is supported.

boolean isVideoSnapshotSupported()

Returns true if video snapshot is supported.

生活不易,碼農(nóng)辛苦
如果您覺(jué)得本網(wǎng)站對(duì)您的學(xué)習(xí)有所幫助,可以手機(jī)掃描二維碼進(jìn)行捐贈(zèng)
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關(guān)閉
程序員人生
主站蜘蛛池模板: 国产一区二区三区亚洲 | 91久久国产综合久久91精品网站 | 欧美日韩大片 | 欧美日韩国产一区二区三区 | 一级在线观看 | 亚洲精品在线看 | www.天天操| 日韩精品一区二区三区中文在线 | 婷婷综合网站 | 黄色免费看网站 | 99免费视频 | 综合婷婷 | 免费中文字幕日韩 | 亚洲综合自拍 | 久久伊99综合婷婷久久伊 | 久久久久无码国产精品一区 | 亚洲黄色一区 | 欧州一区二区 | 日韩欧美在线免费观看 | 麻豆视频成人 | 国产精品久久久久久久久久久久久久久 | 精品九九 | 一区二区三区国产精品视频 | 91操操操| 激情毛片 | www一区二区三区 | 一区二区三区在线视频播放 | 大尺度网站在线观看 | 中文字幕成人在线 | 婷婷国产成人精品视频 | 国产在线一区二区 | 成人免费视频播放 | 69国产精品成人96视频色 | 男女免费视频 | 99热只有精品在线观看 | 国产高清自拍 | 欧美国产日韩视频 | 柠檬福利第一导航在线 | 日韩av黄色 | 国产欧美精品区一区二区三区 | 免费观看一级特黄欧美大片 |