Home
last modified time | relevance | path

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

123

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java80 private Parameters parameters; field in FocusOverlayManager
123 public void setParameters(Parameters parameters) { in setParameters() argument
128 if (parameters == null) { in setParameters()
131 this.parameters = parameters; in setParameters()
132 focusAreaSupported = isFocusAreaSupported(parameters); in setParameters()
133 meteringAreaSupported = isMeteringAreaSupported(parameters); in setParameters()
135 (isAutoExposureLockSupported(this.parameters) in setParameters()
136 || isAutoWhiteBalanceLockSupported(this.parameters)); in setParameters()
338 List<String> supportedFocusModes = parameters.getSupportedFocusModes(); in getFocusMode()
350 if (isSupported(Parameters.FOCUS_MODE_AUTO, parameters.getSupportedFocusModes())) { in getFocusMode()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java453 public static void dumpParameters(Parameters parameters) { in dumpParameters() argument
454 String flattened = parameters.flatten(); in dumpParameters()
618 public static void setRotationParameter(Parameters parameters, int cameraId, int orientation) { in setRotationParameter() argument
630 parameters.setRotation(rotation); in setRotationParameter()
633 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters() argument
635 parameters.removeGpsData(); in setGpsParameters()
638 parameters.setGpsTimestamp(System.currentTimeMillis() / 1000); in setGpsParameters()
648 parameters.setGpsLatitude(lat); in setGpsParameters()
649 parameters.setGpsLongitude(lon); in setGpsParameters()
650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
[all …]
DCameraSettings.java70 public CameraSettings(Activity activity, Parameters parameters, in CameraSettings() argument
73 mParameters = parameters; in CameraSettings()
96 Context context, Parameters parameters) { in initialCameraPictureSize() argument
100 List<Size> supported = parameters.getSupportedPictureSizes(); in initialCameraPictureSize()
104 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize()
121 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument
128 parameters.setPictureSize(width, height); in setCameraPictureSize()
422 ComboPreferences preferences, Parameters parameters) { in restorePreferences() argument
451 initialCameraPictureSize(context, parameters); in restorePreferences()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseManager.java185 void startAdvertisingSet(AdvertisingSetParameters parameters, AdvertiseData advertiseData, in startAdvertisingSet() argument
208 startAdvertisingSetNative(parameters, advDataBytes, scanResponseBytes, periodicParameters, in startAdvertisingSet()
278 void setAdvertisingParameters(int advertiserId, AdvertisingSetParameters parameters) { in setAdvertisingParameters() argument
279 setAdvertisingParametersNative(advertiserId, parameters); in setAdvertisingParameters()
283 PeriodicAdvertisingParameters parameters) { in setPeriodicAdvertisingParameters() argument
284 setPeriodicAdvertisingParametersNative(advertiserId, parameters); in setPeriodicAdvertisingParameters()
407 private native void startAdvertisingSetNative(AdvertisingSetParameters parameters, in startAdvertisingSetNative() argument
424 AdvertisingSetParameters parameters); in setAdvertisingParametersNative() argument
427 PeriodicAdvertisingParameters parameters); in setPeriodicAdvertisingParametersNative() argument
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java351 Parameters parameters = mCameraDevice.getParameters(); in setupCamera() local
352 setupCaptureParams(parameters); in setupCamera()
353 configureCamera(parameters); in setupCamera()
397 private void setupCaptureParams(Parameters parameters) { in setupCaptureParams() argument
398 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams()
407 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight); in setupCaptureParams()
409 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange(); in setupCaptureParams()
413 parameters.setPreviewFpsRange(minFps, maxFps); in setupCaptureParams()
416 List<String> supportedFocusModes = parameters.getSupportedFocusModes(); in setupCaptureParams()
418 parameters.setFocusMode(mTargetFocusMode); in setupCaptureParams()
[all …]
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DTelephonyManagerTestApp.java111 String parameters = getParameters(method.getParameterTypes(), method.getParameters()); in getView() local
112 String methodName = (parameters == null) ? (method.getName() + "()") : method.getName(); in getView()
116 ((TextView) convertView.findViewById(R.id.parameters)).setText(parameters); in getView()
171 private String getParameters(Class<?>[] types, Parameter[] parameters) { in getParameters() argument
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java374 private Size getBestPreviewSize(Camera.Parameters parameters) { in getBestPreviewSize() argument
380 for (Camera.Size size : parameters.getSupportedPreviewSizes()) { in getBestPreviewSize()
394 private Size getBestPictureSize(Camera.Parameters parameters) { in getBestPictureSize() argument
395 final Camera.Size previewSize = parameters.getPreviewSize(); in getBestPictureSize()
401 for (Camera.Size size : parameters.getSupportedPictureSizes()) { in getBestPictureSize()
412 Camera.Size defaultPictureSize = parameters.getPictureSize(); in getBestPictureSize()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java129 public void setParameters(Parameters parameters) { in setParameters() argument
134 if (parameters == null) { in setParameters()
137 mParameters = parameters; in setParameters()
138 mFocusAreaSupported = isFocusAreaSupported(parameters); in setParameters()
139 mMeteringAreaSupported = isMeteringAreaSupported(parameters); in setParameters()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordActivity.java101 final Bundle parameters = new Bundle(); in onClickConfirm() local
102 final int resultCode = mContents.apply(this, parameters); in onClickConfirm()
103 reportBackToCaller(resultCode, parameters); in onClickConfirm()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordActivity.java101 final Bundle parameters = new Bundle(); in onClickConfirm() local
102 final int resultCode = mContents.apply(this, parameters); in onClickConfirm()
103 reportBackToCaller(resultCode, parameters); in onClickConfirm()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyDetectionJobService.java217 JobWorkItem dequeueWork(JobParameters parameters) { in dequeueWork() argument
223 return parameters.dequeueWork(); in dequeueWork()
228 void completeWork(JobParameters parameters, JobWorkItem item) { in completeWork() argument
234 parameters.completeWork(item); in completeWork()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java217 JobWorkItem dequeueWork(JobParameters parameters) { in dequeueWork() argument
223 return parameters.dequeueWork(); in dequeueWork()
228 void completeWork(JobParameters parameters, JobWorkItem item) { in completeWork() argument
234 parameters.completeWork(item); in completeWork()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java826 final Camera.Parameters parameters = camera.getParameters(); in setFocusParameters() local
827 parameters.setFocusMode(focusOverlayManager.getFocusMode()); in setFocusParameters()
828 if (parameters.getMaxNumFocusAreas() > 0) { in setFocusParameters()
831 parameters.setFocusAreas(focusOverlayManager.getFocusAreas()); in setFocusParameters()
833 parameters.setMeteringAreas(focusOverlayManager.getMeteringAreas()); in setFocusParameters()
834 camera.setParameters(parameters); in setFocusParameters()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestGetMessagesListing.java38 RequestGetMessagesListing(String folderName, int parameters, MessagesFilter filter, in RequestGetMessagesListing() argument
98 if (parameters > 0) { in RequestGetMessagesListing()
99 oap.add(OAP_TAGID_PARAMETER_MASK, parameters); in RequestGetMessagesListing()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DMediaScanTriggerJob.java55 public boolean onStartJob(JobParameters parameters) { in onStartJob() argument
102 jobFinished(parameters, false); in onStartJob()
108 public boolean onStopJob(JobParameters parameters) { in onStopJob() argument
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.kt59 override fun doInBackground(vararg parameters: Void): AlarmInstance? { in <lambda>()
102 override fun doInBackground(vararg parameters: Void): AlarmInstance? { in <lambda>()
150 override fun doInBackground(vararg parameters: Void): Boolean { in <lambda>()
DAlarmUpdateHandler.java65 protected AlarmInstance doInBackground(Void... parameters) { in asyncAddAlarm()
107 protected AlarmInstance doInBackground(Void... parameters) { in asyncUpdateAlarm()
159 protected Boolean doInBackground(Void... parameters) { in asyncDeleteAlarm()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSimpleImageFilter.java30 FilterBasicRepresentation parameters = (FilterBasicRepresentation) representation; in useRepresentation() local
31 mParameters = parameters; in useRepresentation()
DImageFilterRedEye.java54 FilterRedEyeRepresentation parameters = (FilterRedEyeRepresentation) representation; in useRepresentation() local
55 mParameters = parameters; in useRepresentation()
DImageFilterFx.java46 FilterFxRepresentation parameters = (FilterFxRepresentation) representation; in useRepresentation() local
47 mParameters = parameters; in useRepresentation()
DImageFilterBorder.java42 … FilterImageBorderRepresentation parameters = (FilterImageBorderRepresentation) representation; in useRepresentation() local
43 mParameters = parameters; in useRepresentation()
DImageFilterCurves.java35 FilterCurvesRepresentation parameters = (FilterCurvesRepresentation) representation; in useRepresentation() local
36 mParameters = parameters; in useRepresentation()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java92 final PhotoCaptureParameters parameters; field in OneCameraImpl.InFlightCapture
97 public InFlightCapture(PhotoCaptureParameters parameters, in InFlightCapture() argument
99 this.parameters = parameters; in InFlightCapture()
782 saveJpegPicture(imageBytes, capture.parameters, capture.session, in onCaptureCompleted()
786 capture.parameters.callback.onPictureTaken(capture.session); in onCaptureCompleted()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java909 ArrayList<AggregationSuggestionParameter> parameters) { in findMatchingContacts() argument
917 if (parameters == null || parameters.size() == 0) { in findMatchingContacts()
931 matcher, parameters); in findMatchingContacts()
953 ArrayList<AggregationSuggestionParameter> parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches() argument
954 for (AggregationSuggestionParameter parameter : parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java1134 final Camera.Parameters parameters = mCamera.getParameters(); in setFocusParameters() local
1135 parameters.setFocusMode(mFocusOverlayManager.getFocusMode()); in setFocusParameters()
1136 if (parameters.getMaxNumFocusAreas() > 0) { in setFocusParameters()
1139 parameters.setFocusAreas(mFocusOverlayManager.getFocusAreas()); in setFocusParameters()
1141 parameters.setMeteringAreas(mFocusOverlayManager.getMeteringAreas()); in setFocusParameters()
1142 mCamera.setParameters(parameters); in setFocusParameters()

123