Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java459 Parameters parameters = mCamera.getParameters(); in testPreviewCallbackByCamera() local
460 for (Size size: parameters.getSupportedPreviewSizes()) { in testPreviewCallbackByCamera()
463 parameters.setPreviewSize(size.width, size.height); in testPreviewCallbackByCamera()
464 mCamera.setParameters(parameters); in testPreviewCallbackByCamera()
625 private void assertParameters(Parameters parameters) { in assertParameters() argument
631 final int origPictureFormat = parameters.getPictureFormat(); in assertParameters()
632 final int origPictureWidth = parameters.getPictureSize().width; in assertParameters()
633 final int origPictureHeight = parameters.getPictureSize().height; in assertParameters()
634 final int origPreviewFormat = parameters.getPreviewFormat(); in assertParameters()
635 final int origPreviewWidth = parameters.getPreviewSize().width; in assertParameters()
[all …]
DCamera_SizeTest.java55 Parameters parameters = camera.getParameters(); in testConstructor() local
57 checkSize(parameters, WIDTH1, HEIGHT1); in testConstructor()
58 checkSize(parameters, WIDTH2, HEIGHT2); in testConstructor()
59 checkSize(parameters, WIDTH3, HEIGHT3); in testConstructor()
79 Parameters parameters = camera.getParameters(); in testMaxAspectRatios() local
81 List<Camera.Size> supportedJpegDimens = parameters.getSupportedPictureSizes(); in testMaxAspectRatios()
82 List<Camera.Size> supportedPreviewDimens = parameters.getSupportedPreviewSizes(); in testMaxAspectRatios()
110 private void checkSize(Parameters parameters, int width, int height) { in checkSize() argument
111 parameters.setPictureSize(width, height); in checkSize()
112 assertEquals(width, parameters.getPictureSize().width); in checkSize()
[all …]
DCameraGLTest.java534 Parameters parameters = mCamera.getParameters();
539 for (Size size: parameters.getSupportedPreviewSizes()) {
540 for (int[] fps: parameters.getSupportedPreviewFpsRange()) {
548 parameters.setPreviewSize(size.width, size.height);
549 parameters.setPreviewFpsRange(fps[Parameters.PREVIEW_FPS_MIN_INDEX],
551 mCamera.setParameters(parameters);
/cts/tests/tests/print/src/android/print/cts/
DPrinterCapabilitiesChangeTest.java268 ArrayList<Object[]> parameters = new ArrayList<>(); in getParameters() local
270 parameters.add(new Object[]{false, null, false, null}); in getParameters()
271 parameters.add(new Object[]{false, null, false, MediaSize.ISO_A0}); in getParameters()
272 parameters.add(new Object[]{false, null, false, MediaSize.ISO_B0}); in getParameters()
273 parameters.add(new Object[]{false, null, true, null}); in getParameters()
274 parameters.add(new Object[]{false, null, true, MediaSize.ISO_A0}); in getParameters()
275 parameters.add(new Object[]{false, null, true, MediaSize.ISO_B0}); in getParameters()
276 parameters.add(new Object[]{false, MediaSize.ISO_A0, false, null}); in getParameters()
277 parameters.add(new Object[]{false, MediaSize.ISO_A0, false, MediaSize.ISO_A0}); in getParameters()
278 parameters.add(new Object[]{false, MediaSize.ISO_A0, false, MediaSize.ISO_B0}); in getParameters()
[all …]
DPrintJobStateTransitionsTest.java245 ArrayList<Object[]> parameters = new ArrayList<>((int)Math.pow(STATES.length, 3));
259 parameters.add(new Object[]{state1, state2, state3});
264 return parameters;
DPageRangeAdjustAndVerify.java109 ArrayList<Object[]> parameters = new ArrayList<>(); in getParameters() local
147 parameters.add( in getParameters()
158 return parameters; in getParameters()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptYuvCrop.java54 ParameterMap<ScriptYuvCrop> parameters) { in createOutputInfo() argument
56 checkNotNull("parameters", parameters); in createOutputInfo()
58 if (!parameters.contains(CROP_WINDOW)) { in createOutputInfo()
63 RectF crop = parameters.get(CROP_WINDOW); in createOutputInfo()
DScriptGraph.java493 ParameterMap<Script<?>> parameters = (ParameterMap<Script<?>>) in ScriptGraph() local
496 Script<?> script = instantiateScript(scriptClass, inputInfo, parameters); in ScriptGraph()
/cts/tests/tests/os/src/android/os/cts/
DAsyncTaskTest.java64 assertEquals(PARAM.length, mMyAsyncTask.parameters.length); in doTestAsyncTask()
66 assertEquals(PARAM[i], mMyAsyncTask.parameters[i]); in doTestAsyncTask()
233 public String[] parameters; field in AsyncTaskTest.MyAsyncTask
238 parameters = params; in doInBackground()
/cts/tests/tests/location/protos/
Dephemeris.proto54 // Orbital parameters.
99 // Amplitude parameters
102 // Period parameters.
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseBackupHostSideTest.java222 private void setLocalTransportParameters(String parameters) throws Exception { in setLocalTransportParameters() argument
224 + parameters); in setLocalTransportParameters()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response_fast.rsh15 // given with respect to parameters a,b,c as:
26 // Default parameters of the camera response function.
Dlayer_info.rsh12 // An object that contains parameters used for computing matte for the current
Dlayer_info_fast.rsh12 // An object that contains parameters used for computing matte for the current
Dcamera_response.rsh15 // given with respect to parameters a,b,c as:
26 // Default parameters of the camera response function.
/cts/hostsidetests/api/src/com/android/cts/api/
DApprovedApis.java161 for (int i = 0; i < def.parameters().size(); i++) { in definedMethodFrom()
162 ParameterInfo param = def.parameters().get(i); in definedMethodFrom()
176 if (i == def.parameters().size() - 1 && def.isVarArgs()) { in definedMethodFrom()
/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java359 Parameters parameters = camera.getParameters(); in getSupportedVideoSizes() local
360 List<Size> videoSizes = parameters.getSupportedVideoSizes(); in getSupportedVideoSizes()
362 videoSizes = parameters.getSupportedPreviewSizes(); in getSupportedVideoSizes()
DMediaRecorderTest.java400 Camera.Parameters parameters = camera.getParameters(); in setSupportedResolution() local
401 List<Camera.Size> videoSizes = parameters.getSupportedVideoSizes(); in setSupportedResolution()
405 videoSizes = parameters.getSupportedPreviewSizes(); in setSupportedResolution()
DMediaPlayer2Test.java843 Camera.Parameters parameters = mCamera.getParameters();
844 List<Camera.Size> videoSizes = parameters.getSupportedVideoSizes();
848 videoSizes = parameters.getSupportedPreviewSizes();
DMediaPlayerTest.java1027 Camera.Parameters parameters = mCamera.getParameters(); in testRecordedVideoPlaybackWithAngle() local
1028 List<Camera.Size> videoSizes = parameters.getSupportedVideoSizes(); in testRecordedVideoPlaybackWithAngle()
1032 videoSizes = parameters.getSupportedPreviewSizes(); in testRecordedVideoPlaybackWithAngle()
/cts/tests/tests/syncmanager/common/proto/
Dsync_manager_cts.proto50 optional SyncInvocation parameters = 1; field
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto98 string parameters = 3; field
Dcts_report.proto253 // CTS version and parameters during runtime.
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java525 int width, int height, Camera.Parameters parameters) { in getBestPreviewSize() argument
528 for (Camera.Size size : parameters.getSupportedPreviewSizes()) { in getBestPreviewSize()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...

12