Home
last modified time | relevance | path

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

12345

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java40 AndroidCameraCapabilities(Camera.Parameters p) { in AndroidCameraCapabilities()
89 private void buildPreviewFpsRange(Camera.Parameters p) { in buildPreviewFpsRange()
97 private void buildPreviewSizes(Camera.Parameters p) { in buildPreviewSizes()
107 private void buildVideoSizes(Camera.Parameters p) { in buildVideoSizes()
117 private void buildPictureSizes(Camera.Parameters p) { in buildPictureSizes()
128 private void buildSceneModes(Camera.Parameters p) { in buildSceneModes()
132 if (Camera.Parameters.SCENE_MODE_AUTO.equals(scene)) { in buildSceneModes()
134 } else if (Camera.Parameters.SCENE_MODE_ACTION.equals(scene)) { in buildSceneModes()
136 } else if (Camera.Parameters.SCENE_MODE_BARCODE.equals(scene)) { in buildSceneModes()
138 } else if (Camera.Parameters.SCENE_MODE_BEACH.equals(scene)) { in buildSceneModes()
[all …]
DAndroidCameraSettings.java31 public AndroidCameraSettings(CameraCapabilities capabilities, Camera.Parameters params) { in AndroidCameraSettings()
47 setPreviewFpsRange(previewFpsRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in AndroidCameraSettings()
48 previewFpsRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in AndroidCameraSettings()
DAndroidCameraAgentImpl.java27 import android.hardware.Camera.Parameters;
229 private Parameters mParameters;
245 public synchronized Parameters getBlocking() { in getBlocking()
527 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
536 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
564 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
573 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
581 Parameters[] parametersHolder = (Parameters[]) msg.obj; in handleMessage()
582 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
652 final Parameters parameters) { in applySettingsToParameters()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp67 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
179 const Parameters& p = mParameters.unsafeAccess(); in dumpClient()
181 result.append(Parameters::getStateName(p.state)); in dumpClient()
272 CASE_APPEND_ENUM(Parameters::FLASH_MODE_OFF) in dumpClient()
273 CASE_APPEND_ENUM(Parameters::FLASH_MODE_AUTO) in dumpClient()
274 CASE_APPEND_ENUM(Parameters::FLASH_MODE_ON) in dumpClient()
275 CASE_APPEND_ENUM(Parameters::FLASH_MODE_TORCH) in dumpClient()
276 CASE_APPEND_ENUM(Parameters::FLASH_MODE_RED_EYE) in dumpClient()
277 CASE_APPEND_ENUM(Parameters::FLASH_MODE_INVALID) in dumpClient()
283 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_AUTO) in dumpClient()
[all …]
DCamera2Client.h140 status_t createJpegStreamL(camera2::Parameters &params);
163 typedef camera2::Parameters Parameters; typedef
167 status_t startPreviewL(Parameters &params, bool restart);
169 status_t startRecordingL(Parameters &params, bool restart);
179 status_t commandStopFaceDetectionL(Parameters &params);
190 void setPreviewCallbackFlagL(Parameters &params, int flag);
191 status_t updateRequests(Parameters &params);
194 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
196 status_t (ProcessorT::*updateStreamF)(const Parameters &)>
197 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java21 import android.hardware.Camera.Parameters;
62 Camera.Parameters params = legacyRequest.parameters; in convertRequestMetadata()
111 Parameters.ANTIBANDING_AUTO, in convertRequestMetadata()
112 Parameters.ANTIBANDING_OFF, in convertRequestMetadata()
113 Parameters.ANTIBANDING_50HZ, in convertRequestMetadata()
114 Parameters.ANTIBANDING_60HZ, in convertRequestMetadata()
177 params.setPreviewFpsRange(rangeToApply[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in convertRequestMetadata()
178 rangeToApply[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in convertRequestMetadata()
304 Parameters.FOCUS_MODE_INFINITY); in convertRequestMetadata()
332 modeToSet = Parameters.SCENE_MODE_AUTO; in convertRequestMetadata()
[all …]
DLegacyMetadataMapper.java24 import android.hardware.Camera.Parameters;
121 public static CameraCharacteristics createCharacteristics(Camera.Parameters parameters, in createCharacteristics()
155 Camera.Parameters params = Camera.getEmptyParameters(); in createCharacteristics()
179 Camera.Parameters p) { in mapCharacteristicsFromParameters()
263 private static void mapScalerStreamConfigs(CameraMetadataNative m, Camera.Parameters p) { in mapScalerStreamConfigs()
390 private static void mapControlAe(CameraMetadataNative m, Camera.Parameters p) { in mapControlAe()
428 (int) Math.floor(r[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.0), in mapControlAe()
429 (int) Math.ceil(r[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.0)); in mapControlAe()
441 Camera.Parameters.FLASH_MODE_OFF, in mapControlAe()
442 Camera.Parameters.FLASH_MODE_AUTO, in mapControlAe()
[all …]
DLegacyFocusStateMapper.java20 import android.hardware.Camera.Parameters;
81 Camera.Parameters parameters) { in processRequestTriggers()
144 case Parameters.FOCUS_MODE_CONTINUOUS_PICTURE: in processRequestTriggers()
145 case Parameters.FOCUS_MODE_CONTINUOUS_VIDEO: in processRequestTriggers()
161 case Parameters.FOCUS_MODE_AUTO: in processRequestTriggers()
162 case Parameters.FOCUS_MODE_MACRO: in processRequestTriggers()
163 case Parameters.FOCUS_MODE_CONTINUOUS_PICTURE: in processRequestTriggers()
164 case Parameters.FOCUS_MODE_CONTINUOUS_VIDEO: in processRequestTriggers()
176 case Parameters.FOCUS_MODE_AUTO: in processRequestTriggers()
177 case Parameters.FOCUS_MODE_MACRO: in processRequestTriggers()
[all …]
DLegacyResultMapper.java21 import android.hardware.Camera.Parameters;
115 Camera.Parameters params = legacyRequest.parameters; in convertResultMetadata()
231 if (Parameters.FOCUS_MODE_INFINITY.equals(params.getFocusMode())) { in convertResultMetadata()
294 CaptureRequest request, Rect activeArray, ZoomData zoomData, /*out*/Parameters p) { in mapAe()
351 Rect activeArray, ZoomData zoomData, Camera.Parameters p) { in mapAf()
369 private static void mapAwb(CameraMetadataNative m, Camera.Parameters p) { in mapAwb()
408 CameraCharacteristics characteristics, Parameters p) { in mapAeAndFlashMode()
421 case Parameters.FLASH_MODE_OFF: in mapAeAndFlashMode()
423 case Parameters.FLASH_MODE_AUTO: in mapAeAndFlashMode()
426 case Parameters.FLASH_MODE_ON: in mapAeAndFlashMode()
[all …]
DLegacyRequest.java37 public final Camera.Parameters parameters;
48 Size previewSize, Camera.Parameters parameters) { in LegacyRequest()
62 public void setParameters(Camera.Parameters parameters) { in setParameters()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DCameraSource.java90 private Camera.Parameters mCameraParameters;
233 … mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in fieldPortValueUpdated()
234 … closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in fieldPortValueUpdated()
239 synchronized public Camera.Parameters getCameraParameters() { in getCameraParameters()
261 mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in getCameraParameters()
262 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in getCameraParameters()
268 synchronized public void setCameraParameters(Camera.Parameters params) { in setCameraParameters()
276 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { in findClosestSize()
316 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange()
320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp40 Parameters::Parameters(int cameraId, in Parameters() function in android::camera2::Parameters
48 Parameters::~Parameters() { in ~Parameters()
51 status_t Parameters::initialize(CameraDeviceBase *device, int deviceVersion) { in initialize()
63 Parameters::info = &info; in initialize()
672 flashMode = Parameters::FLASH_MODE_OFF; in initialize()
707 focusMode = Parameters::FOCUS_MODE_FIXED; in initialize()
713 focusMode = Parameters::FOCUS_MODE_AUTO; in initialize()
771 Parameters::NUM_REGION, Parameters::NUM_REGION); in initialize()
772 if (max3aRegions.count != Parameters::NUM_REGION) return NO_INIT; in initialize()
775 if (focusMode != Parameters::FOCUS_MODE_FIXED) { in initialize()
[all …]
DStreamingProcessor.h34 struct Parameters;
51 status_t updatePreviewRequest(const Parameters &params);
52 status_t updatePreviewStream(const Parameters &params);
56 status_t updateRecordingRequest(const Parameters &params);
59 status_t recordingStreamNeedsUpdate(const Parameters &params, bool *needsUpdate);
60 status_t updateRecordingStream(const Parameters &params);
DParameters.h45 struct Parameters { struct
267 Parameters(int cameraId, int cameraFacing); argument
268 ~Parameters();
427 int64_t getJpegStreamMinFrameDurationNs(Parameters::Size size); argument
431 int64_t getMinFrameDurationNs(Parameters::Size size, int format);
447 Vector<Parameters::Size> getPreferredFilteredSizes(int32_t usecaseId, int32_t format) const;
487 typedef BaseLock<SharedParameters, Parameters> Lock;
488 typedef BaseLock<const SharedParameters, const Parameters> ReadLock;
497 const Parameters &unsafeAccess() { in unsafeAccess()
501 Parameters mParameters;
DCaptureSequencer.cpp295 case Parameters::DISCONNECTED: in manageDone()
300 case Parameters::STILL_CAPTURE: in manageDone()
307 l.mParameters.state = Parameters::STOPPED; in manageDone()
309 case Parameters::VIDEO_SNAPSHOT: in manageDone()
310 l.mParameters.state = Parameters::RECORD; in manageDone()
316 Parameters::getStateName(l.mParameters.state)); in manageDone()
365 l.mParameters.state == Parameters::STILL_CAPTURE && in manageStart()
366 l.mParameters.flashMode != Parameters::FLASH_MODE_ON) { in manageStart()
453 if (l.mParameters.flashMode != Parameters::FLASH_MODE_ON && isAeConverged) { in manageStandardStart()
545 if (l.mParameters.state == Parameters::VIDEO_SNAPSHOT) { in manageStandardCapture()
[all …]
DJpegProcessor.h39 struct Parameters;
53 status_t updateStream(const Parameters &params);
DCallbackProcessor.h36 struct Parameters;
51 status_t updateStream(const Parameters &params);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java384 Camera.Parameters params = mCameraTestHelper.getCameraParameters(); in genericPairwiseTestCase()
396 params.setFlashMode(Camera.Parameters.FLASH_MODE_ON); in genericPairwiseTestCase()
399 params.setFlashMode(Camera.Parameters.FLASH_MODE_OFF); in genericPairwiseTestCase()
402 params.setFlashMode(Camera.Parameters.FLASH_MODE_AUTO); in genericPairwiseTestCase()
422 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_DAYLIGHT); in genericPairwiseTestCase()
425 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_FLUORESCENT); in genericPairwiseTestCase()
428 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_INCANDESCENT); in genericPairwiseTestCase()
431 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_CLOUDY_DAYLIGHT); in genericPairwiseTestCase()
434 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_AUTO); in genericPairwiseTestCase()
441 params.setSceneMode(Camera.Parameters.SCENE_MODE_SUNSET); in genericPairwiseTestCase()
[all …]
DCameraFunctionalTest.java27 import android.hardware.Camera.Parameters;
122 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraExposureCompensation()
158 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraFlashModes()
189 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraFocusModes()
220 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraWhiteBalance()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestHelper.java22 import android.hardware.Camera.Parameters;
112 public Parameters getCameraParameters() { in getCameraParameters()
114 Parameters params = mCamera.getParameters(); in getCameraParameters()
149 public void setParameters(Parameters params) { in setParameters()
/frameworks/rs/script_api/include/
Drs_atomic.rsh44 * Parameters:
66 * Parameters:
91 * Parameters:
113 * Parameters:
133 * Parameters:
154 * Parameters:
176 * Parameters:
198 * Parameters:
219 * Parameters:
241 * Parameters:
Drs_matrix.rsh58 * Parameters:
128 * Parameters:
182 * Parameters:
201 * Parameters:
213 * Parameters:
238 * Parameters:
276 * Parameters:
288 * Parameters:
314 * Parameters:
340 * Parameters:
[all …]
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DTuningforkApkValidationTool.java31 private static class Parameters { class in TuningforkApkValidationTool
46 Parameters parameters = new Parameters(); in main()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java75 private static class Parameters { class in BatterySaverUtils
89 public Parameters(Context context) { in Parameters() method in BatterySaverUtils.Parameters
137 final Parameters parameters = new Parameters(context); in setPowerSaveMode()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPaintHasGlyphPerfTest.java31 import org.junit.runners.Parameterized.Parameters;
39 @Parameters(name = "{0}")

12345