android.hardware
Class Camera.Parameters
java.lang.Object
android.hardware.Camera.Parameters
- Enclosing class:
- Camera
public class Camera.Parameters
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WHITE_BALANCE_AUTO
public static final String WHITE_BALANCE_AUTO
- See Also:
- Constant Field Values
WHITE_BALANCE_INCANDESCENT
public static final String WHITE_BALANCE_INCANDESCENT
- See Also:
- Constant Field Values
WHITE_BALANCE_FLUORESCENT
public static final String WHITE_BALANCE_FLUORESCENT
- See Also:
- Constant Field Values
WHITE_BALANCE_WARM_FLUORESCENT
public static final String WHITE_BALANCE_WARM_FLUORESCENT
- See Also:
- Constant Field Values
WHITE_BALANCE_DAYLIGHT
public static final String WHITE_BALANCE_DAYLIGHT
- See Also:
- Constant Field Values
WHITE_BALANCE_CLOUDY_DAYLIGHT
public static final String WHITE_BALANCE_CLOUDY_DAYLIGHT
- See Also:
- Constant Field Values
WHITE_BALANCE_TWILIGHT
public static final String WHITE_BALANCE_TWILIGHT
- See Also:
- Constant Field Values
WHITE_BALANCE_SHADE
public static final String WHITE_BALANCE_SHADE
- See Also:
- Constant Field Values
EFFECT_NONE
public static final String EFFECT_NONE
- See Also:
- Constant Field Values
EFFECT_MONO
public static final String EFFECT_MONO
- See Also:
- Constant Field Values
EFFECT_NEGATIVE
public static final String EFFECT_NEGATIVE
- See Also:
- Constant Field Values
EFFECT_SOLARIZE
public static final String EFFECT_SOLARIZE
- See Also:
- Constant Field Values
EFFECT_SEPIA
public static final String EFFECT_SEPIA
- See Also:
- Constant Field Values
EFFECT_POSTERIZE
public static final String EFFECT_POSTERIZE
- See Also:
- Constant Field Values
EFFECT_WHITEBOARD
public static final String EFFECT_WHITEBOARD
- See Also:
- Constant Field Values
EFFECT_BLACKBOARD
public static final String EFFECT_BLACKBOARD
- See Also:
- Constant Field Values
EFFECT_AQUA
public static final String EFFECT_AQUA
- See Also:
- Constant Field Values
ANTIBANDING_AUTO
public static final String ANTIBANDING_AUTO
- See Also:
- Constant Field Values
ANTIBANDING_50HZ
public static final String ANTIBANDING_50HZ
- See Also:
- Constant Field Values
ANTIBANDING_60HZ
public static final String ANTIBANDING_60HZ
- See Also:
- Constant Field Values
ANTIBANDING_OFF
public static final String ANTIBANDING_OFF
- See Also:
- Constant Field Values
FLASH_MODE_OFF
public static final String FLASH_MODE_OFF
- See Also:
- Constant Field Values
FLASH_MODE_AUTO
public static final String FLASH_MODE_AUTO
- See Also:
- Constant Field Values
FLASH_MODE_ON
public static final String FLASH_MODE_ON
- See Also:
- Constant Field Values
FLASH_MODE_RED_EYE
public static final String FLASH_MODE_RED_EYE
- See Also:
- Constant Field Values
FLASH_MODE_TORCH
public static final String FLASH_MODE_TORCH
- See Also:
- Constant Field Values
SCENE_MODE_AUTO
public static final String SCENE_MODE_AUTO
- See Also:
- Constant Field Values
SCENE_MODE_ACTION
public static final String SCENE_MODE_ACTION
- See Also:
- Constant Field Values
SCENE_MODE_PORTRAIT
public static final String SCENE_MODE_PORTRAIT
- See Also:
- Constant Field Values
SCENE_MODE_LANDSCAPE
public static final String SCENE_MODE_LANDSCAPE
- See Also:
- Constant Field Values
SCENE_MODE_NIGHT
public static final String SCENE_MODE_NIGHT
- See Also:
- Constant Field Values
SCENE_MODE_NIGHT_PORTRAIT
public static final String SCENE_MODE_NIGHT_PORTRAIT
- See Also:
- Constant Field Values
SCENE_MODE_THEATRE
public static final String SCENE_MODE_THEATRE
- See Also:
- Constant Field Values
SCENE_MODE_BEACH
public static final String SCENE_MODE_BEACH
- See Also:
- Constant Field Values
SCENE_MODE_SNOW
public static final String SCENE_MODE_SNOW
- See Also:
- Constant Field Values
SCENE_MODE_SUNSET
public static final String SCENE_MODE_SUNSET
- See Also:
- Constant Field Values
SCENE_MODE_STEADYPHOTO
public static final String SCENE_MODE_STEADYPHOTO
- See Also:
- Constant Field Values
SCENE_MODE_FIREWORKS
public static final String SCENE_MODE_FIREWORKS
- See Also:
- Constant Field Values
SCENE_MODE_SPORTS
public static final String SCENE_MODE_SPORTS
- See Also:
- Constant Field Values
SCENE_MODE_PARTY
public static final String SCENE_MODE_PARTY
- See Also:
- Constant Field Values
SCENE_MODE_CANDLELIGHT
public static final String SCENE_MODE_CANDLELIGHT
- See Also:
- Constant Field Values
SCENE_MODE_BARCODE
public static final String SCENE_MODE_BARCODE
- See Also:
- Constant Field Values
FOCUS_MODE_AUTO
public static final String FOCUS_MODE_AUTO
- See Also:
- Constant Field Values
FOCUS_MODE_INFINITY
public static final String FOCUS_MODE_INFINITY
- See Also:
- Constant Field Values
FOCUS_MODE_MACRO
public static final String FOCUS_MODE_MACRO
- See Also:
- Constant Field Values
FOCUS_MODE_FIXED
public static final String FOCUS_MODE_FIXED
- See Also:
- Constant Field Values
FOCUS_MODE_EDOF
public static final String FOCUS_MODE_EDOF
- See Also:
- Constant Field Values
FOCUS_MODE_CONTINUOUS_VIDEO
public static final String FOCUS_MODE_CONTINUOUS_VIDEO
- See Also:
- Constant Field Values
FOCUS_MODE_CONTINUOUS_PICTURE
public static final String FOCUS_MODE_CONTINUOUS_PICTURE
- See Also:
- Constant Field Values
FOCUS_DISTANCE_NEAR_INDEX
public static final int FOCUS_DISTANCE_NEAR_INDEX
- See Also:
- Constant Field Values
FOCUS_DISTANCE_OPTIMAL_INDEX
public static final int FOCUS_DISTANCE_OPTIMAL_INDEX
- See Also:
- Constant Field Values
FOCUS_DISTANCE_FAR_INDEX
public static final int FOCUS_DISTANCE_FAR_INDEX
- See Also:
- Constant Field Values
PREVIEW_FPS_MIN_INDEX
public static final int PREVIEW_FPS_MIN_INDEX
- See Also:
- Constant Field Values
PREVIEW_FPS_MAX_INDEX
public static final int PREVIEW_FPS_MAX_INDEX
- See Also:
- Constant Field Values
flatten
public String flatten()
unflatten
public void unflatten(String flattened)
remove
public void remove(String key)
set
public void set(String key,
String value)
set
public void set(String key,
int value)
get
public String get(String key)
getInt
public int getInt(String key)
setPreviewSize
public void setPreviewSize(int width,
int height)
getPreviewSize
public Camera.Size getPreviewSize()
getSupportedPreviewSizes
public List<Camera.Size> getSupportedPreviewSizes()
getSupportedVideoSizes
public List<Camera.Size> getSupportedVideoSizes()
getPreferredPreviewSizeForVideo
public Camera.Size getPreferredPreviewSizeForVideo()
setJpegThumbnailSize
public void setJpegThumbnailSize(int width,
int height)
getJpegThumbnailSize
public Camera.Size getJpegThumbnailSize()
getSupportedJpegThumbnailSizes
public List<Camera.Size> getSupportedJpegThumbnailSizes()
setJpegThumbnailQuality
public void setJpegThumbnailQuality(int quality)
getJpegThumbnailQuality
public int getJpegThumbnailQuality()
setJpegQuality
public void setJpegQuality(int quality)
getJpegQuality
public int getJpegQuality()
setPreviewFrameRate
public void setPreviewFrameRate(int fps)
getPreviewFrameRate
public int getPreviewFrameRate()
getSupportedPreviewFrameRates
public List<Integer> getSupportedPreviewFrameRates()
setPreviewFpsRange
public void setPreviewFpsRange(int min,
int max)
getPreviewFpsRange
public void getPreviewFpsRange(int[] range)
getSupportedPreviewFpsRange
public List<int[]> getSupportedPreviewFpsRange()
setPreviewFormat
public void setPreviewFormat(int pixel_format)
getPreviewFormat
public int getPreviewFormat()
getSupportedPreviewFormats
public List<Integer> getSupportedPreviewFormats()
setPictureSize
public void setPictureSize(int width,
int height)
getPictureSize
public Camera.Size getPictureSize()
getSupportedPictureSizes
public List<Camera.Size> getSupportedPictureSizes()
setPictureFormat
public void setPictureFormat(int pixel_format)
getPictureFormat
public int getPictureFormat()
getSupportedPictureFormats
public List<Integer> getSupportedPictureFormats()
setRotation
public void setRotation(int rotation)
setGpsLatitude
public void setGpsLatitude(double latitude)
setGpsLongitude
public void setGpsLongitude(double longitude)
setGpsAltitude
public void setGpsAltitude(double altitude)
setGpsTimestamp
public void setGpsTimestamp(long timestamp)
setGpsProcessingMethod
public void setGpsProcessingMethod(String processing_method)
removeGpsData
public void removeGpsData()
getWhiteBalance
public String getWhiteBalance()
setWhiteBalance
public void setWhiteBalance(String value)
getSupportedWhiteBalance
public List<String> getSupportedWhiteBalance()
getColorEffect
public String getColorEffect()
setColorEffect
public void setColorEffect(String value)
getSupportedColorEffects
public List<String> getSupportedColorEffects()
getAntibanding
public String getAntibanding()
setAntibanding
public void setAntibanding(String antibanding)
getSupportedAntibanding
public List<String> getSupportedAntibanding()
getSceneMode
public String getSceneMode()
setSceneMode
public void setSceneMode(String value)
getSupportedSceneModes
public List<String> getSupportedSceneModes()
getFlashMode
public String getFlashMode()
setFlashMode
public void setFlashMode(String value)
getSupportedFlashModes
public List<String> getSupportedFlashModes()
getFocusMode
public String getFocusMode()
setFocusMode
public void setFocusMode(String value)
getSupportedFocusModes
public List<String> getSupportedFocusModes()
getFocalLength
public float getFocalLength()
getHorizontalViewAngle
public float getHorizontalViewAngle()
getVerticalViewAngle
public float getVerticalViewAngle()
getExposureCompensation
public int getExposureCompensation()
setExposureCompensation
public void setExposureCompensation(int value)
getMaxExposureCompensation
public int getMaxExposureCompensation()
getMinExposureCompensation
public int getMinExposureCompensation()
getExposureCompensationStep
public float getExposureCompensationStep()
setAutoExposureLock
public void setAutoExposureLock(boolean toggle)
getAutoExposureLock
public boolean getAutoExposureLock()
isAutoExposureLockSupported
public boolean isAutoExposureLockSupported()
setAutoWhiteBalanceLock
public void setAutoWhiteBalanceLock(boolean toggle)
getAutoWhiteBalanceLock
public boolean getAutoWhiteBalanceLock()
isAutoWhiteBalanceLockSupported
public boolean isAutoWhiteBalanceLockSupported()
getZoom
public int getZoom()
setZoom
public void setZoom(int value)
isZoomSupported
public boolean isZoomSupported()
getMaxZoom
public int getMaxZoom()
getZoomRatios
public List<Integer> getZoomRatios()
isSmoothZoomSupported
public boolean isSmoothZoomSupported()
getFocusDistances
public void getFocusDistances(float[] output)
getMaxNumFocusAreas
public int getMaxNumFocusAreas()
getFocusAreas
public List<Camera.Area> getFocusAreas()
setFocusAreas
public void setFocusAreas(List<Camera.Area> focusAreas)
getMaxNumMeteringAreas
public int getMaxNumMeteringAreas()
getMeteringAreas
public List<Camera.Area> getMeteringAreas()
setMeteringAreas
public void setMeteringAreas(List<Camera.Area> meteringAreas)
getMaxNumDetectedFaces
public int getMaxNumDetectedFaces()
setRecordingHint
public void setRecordingHint(boolean hint)
isVideoSnapshotSupported
public boolean isVideoSnapshotSupported()
Copyright © 2008-2012. All Rights Reserved.