Home
last modified time | relevance | path

Searched refs:Parameters (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp65 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
170 const Parameters& p = mParameters.unsafeAccess(); in dump()
172 result.append(Parameters::getStateName(p.state)); in dump()
262 CASE_APPEND_ENUM(Parameters::FLASH_MODE_OFF) in dump()
263 CASE_APPEND_ENUM(Parameters::FLASH_MODE_AUTO) in dump()
264 CASE_APPEND_ENUM(Parameters::FLASH_MODE_ON) in dump()
265 CASE_APPEND_ENUM(Parameters::FLASH_MODE_TORCH) in dump()
266 CASE_APPEND_ENUM(Parameters::FLASH_MODE_RED_EYE) in dump()
267 CASE_APPEND_ENUM(Parameters::FLASH_MODE_INVALID) in dump()
273 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_AUTO) in dump()
[all …]
DCamera2Client.h145 typedef camera2::Parameters Parameters; typedef
149 status_t startPreviewL(Parameters &params, bool restart);
151 status_t startRecordingL(Parameters &params, bool restart);
161 status_t commandStopFaceDetectionL(Parameters &params);
171 void setPreviewCallbackFlagL(Parameters &params, int flag);
172 status_t updateRequests(Parameters &params);
179 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
181 status_t (ProcessorT::*updateStreamF)(const Parameters &)>
182 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
/frameworks/av/media/libstagefright/wifi-display/
DParameters.cpp24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { in Parse()
25 sp<Parameters> params = new Parameters; in Parse()
35 Parameters::Parameters() {} in Parameters() function in android::Parameters
37 Parameters::~Parameters() {} in ~Parameters()
39 status_t Parameters::parse(const char *data, size_t size) { in parse()
76 bool Parameters::findParameter(const char *name, AString *value) const { in findParameter()
DParameters.h24 struct Parameters : public RefBase { struct
25 static sp<Parameters> Parse(const char *data, size_t size);
30 virtual ~Parameters();
35 Parameters();
38 DISALLOW_EVIL_CONSTRUCTORS(Parameters);
DAndroid.mk7 Parameters.cpp \
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DCameraSource.java97 private Camera.Parameters mCameraParameters;
240 … mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in fieldPortValueUpdated()
241 … closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in fieldPortValueUpdated()
246 synchronized public Camera.Parameters getCameraParameters() { in getCameraParameters()
268 mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in getCameraParameters()
269 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in getCameraParameters()
275 synchronized public void setCameraParameters(Camera.Parameters params) { in setCameraParameters()
283 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { in findClosestSize()
323 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange()
327 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp36 Parameters::Parameters(int cameraId, in Parameters() function in android::camera2::Parameters
43 Parameters::~Parameters() { in ~Parameters()
46 status_t Parameters::initialize(const CameraMetadata *info) { in initialize()
53 Parameters::info = info; in initialize()
583 flashMode = Parameters::FLASH_MODE_OFF; in initialize()
603 flashMode = Parameters::FLASH_MODE_OFF; in initialize()
618 focusMode = Parameters::FOCUS_MODE_FIXED; in initialize()
624 focusMode = Parameters::FOCUS_MODE_AUTO; in initialize()
676 if (focusMode != Parameters::FOCUS_MODE_FIXED) { in initialize()
683 focusingAreas.add(Parameters::Area(0,0,0,0,0)); in initialize()
[all …]
DStreamingProcessor.h34 class Parameters; variable
50 status_t updatePreviewRequest(const Parameters &params);
51 status_t updatePreviewStream(const Parameters &params);
56 status_t updateRecordingRequest(const Parameters &params);
57 status_t updateRecordingStream(const Parameters &params);
DCaptureSequencer.cpp257 case Parameters::DISCONNECTED: in manageDone()
262 case Parameters::STILL_CAPTURE: in manageDone()
269 l.mParameters.state = Parameters::STOPPED; in manageDone()
271 case Parameters::VIDEO_SNAPSHOT: in manageDone()
272 l.mParameters.state = Parameters::RECORD; in manageDone()
278 Parameters::getStateName(l.mParameters.state)); in manageDone()
326 if(l.mParameters.lightFx != Parameters::LIGHTFX_NONE && in manageStart()
327 l.mParameters.state == Parameters::STILL_CAPTURE) { in manageStart()
331 l.mParameters.state == Parameters::STILL_CAPTURE && in manageStart()
332 l.mParameters.flashMode != Parameters::FLASH_MODE_ON) { in manageStart()
[all …]
DParameters.h41 struct Parameters { struct
218 Parameters(int cameraId, int cameraFacing); argument
219 ~Parameters();
371 typedef BaseLock<SharedParameters, Parameters> Lock;
372 typedef BaseLock<const SharedParameters, const Parameters> ReadLock;
381 const Parameters &unsafeAccess() { in unsafeAccess()
385 Parameters mParameters;
DZslProcessorInterface.h26 class Parameters; variable
35 virtual status_t updateStream(const Parameters& params) = 0;
DJpegProcessor.h38 class Parameters; variable
52 status_t updateStream(const Parameters &params);
DCallbackProcessor.h36 class Parameters; variable
51 status_t updateStream(const Parameters &params);
DZslProcessor.h39 class Parameters; variable
67 status_t updateStream(const Parameters &params);
DZslProcessor3.h39 class Parameters; variable
62 virtual status_t updateStream(const Parameters &params);
DCaptureSequencer.h167 status_t updateCaptureRequest(const Parameters &params,
171 static void shutterNotifyLocked(const Parameters &params,
DStreamingProcessor.cpp81 status_t StreamingProcessor::updatePreviewRequest(const Parameters &params) { in updatePreviewRequest()
120 status_t StreamingProcessor::updatePreviewStream(const Parameters &params) { in updatePreviewStream()
264 status_t StreamingProcessor::updateRecordingRequest(const Parameters &params) { in updateRecordingRequest()
304 status_t StreamingProcessor::updateRecordingStream(const Parameters &params) { in updateRecordingStream()
650 if (l.mParameters.state != Parameters::RECORD && in processRecordingFrame()
651 l.mParameters.state != Parameters::VIDEO_SNAPSHOT) { in processRecordingFrame()
/frameworks/base/docs/html/sdk/api_diff/5/
DmissingSinces.txt121 NO DOC BLOCK: android.hardware.Camera.Parameters Method getAntibanding()
122 NO DOC BLOCK: android.hardware.Camera.Parameters Method getColorEffect()
130 NO DOC BLOCK: android.hardware.Camera.Parameters Method getFlashMode()
131 NO DOC BLOCK: android.hardware.Camera.Parameters Method getFocusMode()
139 NO DOC BLOCK: android.hardware.Camera.Parameters Method getJpegQuality()
140 NO DOC BLOCK: android.hardware.Camera.Parameters Method getJpegThumbnailQuality()
141 NO DOC BLOCK: android.hardware.Camera.Parameters Method getJpegThumbnailSize()
155 NO DOC BLOCK: android.hardware.Camera.Parameters Method getSceneMode()
159 NO DOC BLOCK: android.hardware.Camera.Parameters Method getSupportedAntibanding()
160 NO DOC BLOCK: android.hardware.Camera.Parameters Method getSupportedColorEffects()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java390 Camera.Parameters params = mCameraTestHelper.getCameraParameters(); in genericPairwiseTestCase()
402 params.setFlashMode(Camera.Parameters.FLASH_MODE_ON); in genericPairwiseTestCase()
405 params.setFlashMode(Camera.Parameters.FLASH_MODE_OFF); in genericPairwiseTestCase()
408 params.setFlashMode(Camera.Parameters.FLASH_MODE_AUTO); in genericPairwiseTestCase()
428 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_DAYLIGHT); in genericPairwiseTestCase()
431 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_FLUORESCENT); in genericPairwiseTestCase()
434 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_INCANDESCENT); in genericPairwiseTestCase()
437 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_CLOUDY_DAYLIGHT); in genericPairwiseTestCase()
440 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_AUTO); in genericPairwiseTestCase()
447 params.setSceneMode(Camera.Parameters.SCENE_MODE_SUNSET); in genericPairwiseTestCase()
[all …]
DCameraFunctionalTest.java34 import android.hardware.Camera.Parameters;
134 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraExposureCompensation()
170 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraFlashModes()
201 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraFocusModes()
232 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraWhiteBalance()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCameraTestHelper.java20 import android.hardware.Camera.Parameters;
111 public Parameters getCameraParameters() { in getCameraParameters()
113 Parameters params = mCamera.getParameters(); in getCameraParameters()
147 public void setParameters(Parameters params) { in setParameters()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java32 import android.hardware.Camera.Parameters;
140 Parameters params = mCameraTestHelper.getCameraParameters(); in testStressCameraSceneModes()
184 Parameters params = mCameraTestHelper.getCameraParameters(); in testStressCameraZoom()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java811 private String mFlashMode = Camera.Parameters.FLASH_MODE_OFF;
1290 Camera.Parameters params = mCamera.getParameters(); in initCameraParameters()
1304 params.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in initCameraParameters()
1305 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in initCameraParameters()
1315 private int[] findClosestPreviewSize(int width, int height, Camera.Parameters parameters) { in findClosestPreviewSize()
1320 private int[] findClosestPictureSize(int width, int height, Camera.Parameters parameters) { in findClosestPictureSize()
1357 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange()
1363 int low = range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX]; in findClosestFpsRange()
1364 int high = range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]; in findClosestFpsRange()
1373 mActualFramesPerSec = closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] / 1000; in findClosestFpsRange()
/frameworks/base/docs/html/sdk/api_diff/8/
DmissingSinces.txt111 NO DOC BLOCK: android.hardware.Camera.Parameters Method getExposureCompensation()
112 NO DOC BLOCK: android.hardware.Camera.Parameters Method getExposureCompensationStep()
122 NO DOC BLOCK: android.hardware.Camera.Parameters Method getFocalLength()
127 NO DOC BLOCK: android.hardware.Camera.Parameters Method getHorizontalViewAngle()
133 NO DOC BLOCK: android.hardware.Camera.Parameters Method getMaxExposureCompensation()
134 NO DOC BLOCK: android.hardware.Camera.Parameters Method getMaxZoom()
135 NO DOC BLOCK: android.hardware.Camera.Parameters Method getMinExposureCompensation()
151 NO DOC BLOCK: android.hardware.Camera.Parameters Method getSupportedJpegThumbnailSizes()
158 NO DOC BLOCK: android.hardware.Camera.Parameters Method getVerticalViewAngle()
168 NO DOC BLOCK: android.hardware.Camera.Parameters Method getZoom()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java791 Parameters p = getParameters(); in createPreviewAllocation()
859 Parameters p = getParameters(); in setPreviewCallbackAllocation()
1639 public void setParameters(Parameters params) { in setParameters()
1661 public Parameters getParameters() { in getParameters()
1662 Parameters p = new Parameters(); in getParameters()
1675 public static Parameters getEmptyParameters() { in getEmptyParameters()
1677 return camera.new Parameters(); in getEmptyParameters()
1824 public class Parameters { class in Camera
2166 private Parameters() { in Parameters() method in Camera.Parameters

123