/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraCapabilities.java | 40 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 …]
|
D | AndroidCameraSettings.java | 31 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()
|
D | AndroidCameraAgentImpl.java | 27 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/ |
D | Camera2Client.cpp | 67 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 …]
|
D | Camera2Client.h | 140 status_t createJpegStreamL(camera2::Parameters ¶ms); 163 typedef camera2::Parameters Parameters; typedef 167 status_t startPreviewL(Parameters ¶ms, bool restart); 169 status_t startRecordingL(Parameters ¶ms, bool restart); 179 status_t commandStopFaceDetectionL(Parameters ¶ms); 190 void setPreviewCallbackFlagL(Parameters ¶ms, int flag); 191 status_t updateRequests(Parameters ¶ms); 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/ |
D | LegacyRequestMapper.java | 21 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 …]
|
D | LegacyMetadataMapper.java | 24 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 …]
|
D | LegacyFocusStateMapper.java | 20 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 …]
|
D | LegacyResultMapper.java | 21 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 …]
|
D | LegacyRequest.java | 37 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/ |
D | CameraSource.java | 90 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/ |
D | Parameters.cpp | 40 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 …]
|
D | StreamingProcessor.h | 34 struct Parameters; 51 status_t updatePreviewRequest(const Parameters ¶ms); 52 status_t updatePreviewStream(const Parameters ¶ms); 56 status_t updateRecordingRequest(const Parameters ¶ms); 59 status_t recordingStreamNeedsUpdate(const Parameters ¶ms, bool *needsUpdate); 60 status_t updateRecordingStream(const Parameters ¶ms);
|
D | CaptureSequencer.cpp | 295 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 …]
|
D | Parameters.h | 45 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;
|
D | JpegProcessor.h | 39 struct Parameters; 53 status_t updateStream(const Parameters ¶ms);
|
D | CallbackProcessor.h | 36 struct Parameters; 51 status_t updateStream(const Parameters ¶ms);
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 73 if (mParameters.mode == Parameters::MODE_POINTER) { in populateDeviceInfo() 124 case Parameters::MODE_POINTER_RELATIVE: in configure() 127 mParameters.mode = Parameters::MODE_POINTER; in configure() 129 case Parameters::MODE_POINTER: in configure() 137 case Parameters::MODE_NAVIGATION: in configure() 153 if (mParameters.mode == Parameters::MODE_POINTER) { in configure() 154 mParameters.mode = Parameters::MODE_POINTER_RELATIVE; in configure() 162 if (mParameters.mode == Parameters::MODE_POINTER_RELATIVE) { in configure() 163 mParameters.mode = Parameters::MODE_POINTER; in configure() 192 if (mParameters.mode == Parameters::MODE_POINTER) { in configure() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraPairwiseTest.java | 384 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 …]
|
D | CameraFunctionalTest.java | 27 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/rs/script_api/include/ |
D | rs_atomic.rsh | 44 * Parameters: 66 * Parameters: 91 * Parameters: 113 * Parameters: 133 * Parameters: 154 * Parameters: 176 * Parameters: 198 * Parameters: 219 * Parameters: 241 * Parameters:
|
D | rs_matrix.rsh | 58 * Parameters: 128 * Parameters: 182 * Parameters: 201 * Parameters: 213 * Parameters: 238 * Parameters: 276 * Parameters: 288 * Parameters: 314 * Parameters: 340 * Parameters: [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestHelper.java | 22 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/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 75 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/ |
D | PaintHasGlyphPerfTest.java | 31 import org.junit.runners.Parameterized.Parameters; 39 @Parameters(name = "{0}")
|