Home
last modified time | relevance | path

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

12345678

/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.cpp81 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
205 const Parameters& p = mParameters.unsafeAccess(); in dumpClient()
207 result.append(Parameters::getStateName(p.state)); in dumpClient()
298 CASE_APPEND_ENUM(Parameters::FLASH_MODE_OFF) in dumpClient()
299 CASE_APPEND_ENUM(Parameters::FLASH_MODE_AUTO) in dumpClient()
300 CASE_APPEND_ENUM(Parameters::FLASH_MODE_ON) in dumpClient()
301 CASE_APPEND_ENUM(Parameters::FLASH_MODE_TORCH) in dumpClient()
302 CASE_APPEND_ENUM(Parameters::FLASH_MODE_RED_EYE) in dumpClient()
303 CASE_APPEND_ENUM(Parameters::FLASH_MODE_INVALID) in dumpClient()
309 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_AUTO) in dumpClient()
[all …]
DCamera2Client.h159 status_t createJpegStreamL(camera2::Parameters &params);
182 typedef camera2::Parameters Parameters; typedef
186 status_t startPreviewL(Parameters &params, bool restart);
188 status_t startRecordingL(Parameters &params, bool restart);
198 status_t commandStopFaceDetectionL(Parameters &params);
209 void setPreviewCallbackFlagL(Parameters &params, int flag);
210 status_t updateRequests(Parameters &params);
213 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
215 status_t (ProcessorT::*updateStreamF)(const Parameters &)>
216 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
[all …]
/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.cpp42 Parameters::Parameters(int cameraId, in Parameters() function in android::camera2::Parameters
50 Parameters::~Parameters() { in ~Parameters()
53 status_t Parameters::initialize(CameraDeviceBase *device) { in initialize()
65 Parameters::info = &info; in initialize()
694 flashMode = Parameters::FLASH_MODE_OFF; in initialize()
729 focusMode = Parameters::FOCUS_MODE_FIXED; in initialize()
735 focusMode = Parameters::FOCUS_MODE_AUTO; in initialize()
793 Parameters::NUM_REGION, Parameters::NUM_REGION); in initialize()
794 if (max3aRegions.count != Parameters::NUM_REGION) return NO_INIT; in initialize()
797 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
270 Parameters(int cameraId, int cameraFacing); argument
271 ~Parameters();
431 int64_t getJpegStreamMinFrameDurationNs(Parameters::Size size); argument
436 int64_t getZslStreamMinFrameDurationNs(Parameters::Size size);
440 int64_t getMinFrameDurationNs(Parameters::Size size, int format);
456 Vector<Parameters::Size> getPreferredFilteredSizes(int32_t usecaseId, int32_t format) const;
495 typedef BaseLock<SharedParameters, Parameters> Lock;
496 typedef BaseLock<const SharedParameters, const Parameters> ReadLock;
505 const Parameters &unsafeAccess() { in unsafeAccess()
[all …]
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.h38 struct Parameters;
53 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/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp81 if (mParameters.mode == Parameters::Mode::POINTER) { in populateDeviceInfo()
137 case Parameters::Mode::POINTER_RELATIVE: in configure()
140 mParameters.mode = Parameters::Mode::POINTER; in configure()
142 case Parameters::Mode::POINTER: in configure()
150 case Parameters::Mode::NAVIGATION: in configure()
163 const bool configurePointerCapture = mParameters.mode != Parameters::Mode::NAVIGATION && in configure()
168 if (mParameters.mode == Parameters::Mode::POINTER) { in configure()
169 mParameters.mode = Parameters::Mode::POINTER_RELATIVE; in configure()
177 if (mParameters.mode == Parameters::Mode::POINTER_RELATIVE) { in configure()
178 mParameters.mode = Parameters::Mode::POINTER; in configure()
[all …]
/frameworks/libs/net/common/netd/libnetdutils/include/netdutils/
DBackoffSequence.h34 struct Parameters { struct
42 BackoffSequence() : BackoffSequence(Parameters{}) {} in BackoffSequence()
97 Parameters mParams;
105 constexpr BackoffSequence(const struct Parameters &params) in BackoffSequence()
144 const Parameters mParams;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java84 Camera.Parameters mParameters;
179 supportedFlashModes.contains(Camera.Parameters.FLASH_MODE_OFF)) { in setCameraParameter()
180 mParameters.setFlashMode(Camera.Parameters.FLASH_MODE_OFF); in setCameraParameter()
184 if (supportedFocusModes.contains(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in setCameraParameter()
185 mParameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter()
186 } else if (supportedFocusModes.contains(Camera.Parameters.FOCUS_MODE_AUTO)) { in setCameraParameter()
187 mParameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO); in setCameraParameter()
218 if (Camera.Parameters.FOCUS_MODE_AUTO.equals(mParameters.getFocusMode())) { in startPreview()
387 private Size getBestPreviewSize(Camera.Parameters parameters) { in getBestPreviewSize()
409 private Size getBestPictureSize(Camera.Parameters parameters) { in getBestPictureSize()
/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/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorHierarchy.java21 import com.google.android.apps.common.testing.accessibility.framework.Parameters;
34 public @Nullable Parameters mParameters = null;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java76 private static class Parameters { class in BatterySaverUtils
90 public Parameters(Context context) { in Parameters() method in BatterySaverUtils.Parameters
138 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}")
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
DRsMinimalTest.java29 import org.junit.runners.Parameterized.Parameters;
47 @Parameters(name = "{0}")
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewFontFamilyLayoutPerfTest.java33 import org.junit.runners.Parameterized.Parameters;
41 @Parameters(name = "{0}")

12345678