Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/org/apache/james/mime4j/field/
DContentTypeField.java72 private Map<String, String> parameters = null; field in ContentTypeField
75 …ng name, String body, String raw, String mimeType, Map<String, String> parameters, ParseException … in ContentTypeField() argument
78 this.parameters = parameters; in ContentTypeField()
134 return parameters != null in getParameter()
135 ? parameters.get(name.toLowerCase()) in getParameter()
145 if (parameters != null) { in getParameters()
146 return Collections.unmodifiableMap(parameters); in getParameters()
214 Map<String, String> parameters = null; in parse() local
245 if (parameters == null) in parse()
246parameters = new HashMap<String, String>((int)(paramNames.size() * 1.3 + 1)); in parse()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DContentTypeField.java72 private Map<String, String> parameters = null; field in ContentTypeField
75 …ng name, String body, String raw, String mimeType, Map<String, String> parameters, ParseException … in ContentTypeField() argument
78 this.parameters = parameters; in ContentTypeField()
134 return parameters != null in getParameter()
135 ? parameters.get(name.toLowerCase()) in getParameter()
145 if (parameters != null) { in getParameters()
146 return Collections.unmodifiableMap(parameters); in getParameters()
214 Map<String, String> parameters = null; in parse() local
245 if (parameters == null) in parse()
246parameters = new HashMap<String, String>((int)(paramNames.size() * 1.3 + 1)); in parse()
[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/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/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DVideoChatTestActivity.java336 Camera.Parameters parameters = camera.getParameters(); in TestCamera() local
340 parameters.setPreviewSize(width, height); in TestCamera()
341 parameters.setPreviewFormat(ImageFormat.NV21); in TestCamera()
343 parameters.setPreviewFrameRate(frameRate); in TestCamera()
344 camera.setParameters(parameters); in TestCamera()
348 parameters = camera.getParameters(); in TestCamera()
349 Size setSize = parameters.getPreviewSize(); in TestCamera()
356 if (parameters.getPreviewFrameRate() != frameRate) { in TestCamera()
358 + ", got " + parameters.getPreviewFrameRate(); in TestCamera()
363 int imageFormat = parameters.getPreviewFormat(); in TestCamera()
/packages/apps/Camera/src/com/android/camera/
DPanoramaModule.java340 Parameters parameters = mCameraDevice.getParameters(); in setupCamera() local
341 setupCaptureParams(parameters); in setupCamera()
342 configureCamera(parameters); in setupCamera()
392 private void setupCaptureParams(Parameters parameters) { in setupCaptureParams() argument
393 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams()
402 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight); in setupCaptureParams()
404 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange(); in setupCaptureParams()
408 parameters.setPreviewFpsRange(minFps, maxFps); in setupCaptureParams()
411 List<String> supportedFocusModes = parameters.getSupportedFocusModes(); in setupCaptureParams()
413 parameters.setFocusMode(mTargetFocusMode); in setupCaptureParams()
[all …]
DUtil.java507 public static void dumpParameters(Parameters parameters) { in dumpParameters() argument
508 String flattened = parameters.flatten(); in dumpParameters()
707 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters() argument
709 parameters.removeGpsData(); in setGpsParameters()
712 parameters.setGpsTimestamp(System.currentTimeMillis() / 1000); in setGpsParameters()
722 parameters.setGpsLatitude(lat); in setGpsParameters()
723 parameters.setGpsLongitude(lon); in setGpsParameters()
724 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
726 parameters.setGpsAltitude(loc.getAltitude()); in setGpsParameters()
731 parameters.setGpsAltitude(0); in setGpsParameters()
[all …]
DCameraSettings.java77 public CameraSettings(Activity activity, Parameters parameters, in CameraSettings() argument
80 mParameters = parameters; in CameraSettings()
106 Context context, Parameters parameters) { in initialCameraPictureSize() argument
110 List<Size> supported = parameters.getSupportedPictureSizes(); in initialCameraPictureSize()
114 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize()
131 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument
138 parameters.setPictureSize(width, height); in setCameraPictureSize()
495 ComboPreferences preferences, Parameters parameters) { in restorePreferences() argument
524 initialCameraPictureSize(context, parameters); in restorePreferences()
DFocusOverlayManager.java125 Parameters parameters, Listener listener, in FocusOverlayManager() argument
131 setParameters(parameters); in FocusOverlayManager()
141 public void setParameters(Parameters parameters) { in setParameters() argument
146 if (parameters == null) return; in setParameters()
147 mParameters = parameters; in setParameters()
148 mFocusAreaSupported = Util.isFocusAreaSupported(parameters); in setParameters()
149 mMeteringAreaSupported = Util.isMeteringAreaSupported(parameters); in setParameters()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DBodyDescriptor.java39 private Map<String, String> parameters = new HashMap<String, String>(); field in BodyDescriptor
144 parameters.putAll(params); in addField()
145 parameters.remove(""); in addField()
146 parameters.remove("boundary"); in addField()
147 parameters.remove("charset"); in addField()
364 return parameters; in getParameters()
/packages/services/Telephony/src/org/apache/james/mime4j/
DBodyDescriptor.java39 private Map<String, String> parameters = new HashMap<String, String>(); field in BodyDescriptor
144 parameters.putAll(params); in addField()
145 parameters.remove(""); in addField()
146 parameters.remove("boundary"); in addField()
147 parameters.remove("charset"); in addField()
364 return parameters; in getParameters()
/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/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java91 final PhotoCaptureParameters parameters; field in OneCameraImpl.InFlightCapture
96 public InFlightCapture(PhotoCaptureParameters parameters, in InFlightCapture() argument
98 this.parameters = parameters; in InFlightCapture()
780 saveJpegPicture(imageBytes, capture.parameters, capture.session, in onCaptureCompleted()
784 capture.parameters.callback.onPictureTaken(capture.session); in onCaptureCompleted()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java895 ArrayList<AggregationSuggestionParameter> parameters) { in findMatchingContacts() argument
903 if (parameters == null || parameters.size() == 0) { in findMatchingContacts()
917 matcher, parameters); in findMatchingContacts()
939 ArrayList<AggregationSuggestionParameter> parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches() argument
940 for (AggregationSuggestionParameter parameter : parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches()
DContactAggregator2.java806 ArrayList<AggregationSuggestionParameter> parameters) { in findMatchingContacts() argument
811 if (parameters == null || parameters.size() == 0) { in findMatchingContacts()
828 matcher, parameters); in findMatchingContacts()
873 ArrayList<AggregationSuggestionParameter> parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches() argument
874 for (AggregationSuggestionParameter parameter : parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java1133 final Camera.Parameters parameters = mCamera.getParameters(); in setFocusParameters() local
1134 parameters.setFocusMode(mFocusOverlayManager.getFocusMode()); in setFocusParameters()
1135 if (parameters.getMaxNumFocusAreas() > 0) { in setFocusParameters()
1138 parameters.setFocusAreas(mFocusOverlayManager.getFocusAreas()); in setFocusParameters()
1140 parameters.setMeteringAreas(mFocusOverlayManager.getMeteringAreas()); in setFocusParameters()
1141 mCamera.setParameters(parameters); in setFocusParameters()
/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/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java160 final String[] parameters = new String[contactIds.size()]; in onCreateLoader() local
164 parameters[i] = String.valueOf(parameterObject[i]); in onCreateLoader()
172 builder.toString(), parameters, null); in onCreateLoader()
/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()
DImageFilterBorder.java42 … FilterImageBorderRepresentation parameters = (FilterImageBorderRepresentation) representation; in useRepresentation() local
43 mParameters = parameters; in useRepresentation()
DImageFilterFx.java46 FilterFxRepresentation parameters = (FilterFxRepresentation) representation; in useRepresentation() local
47 mParameters = parameters; in useRepresentation()
DImageFilterSharpen.java46 FilterBasicRepresentation parameters = (FilterBasicRepresentation) representation; in useRepresentation() local
47 mParameters = parameters; in useRepresentation()
DImageFilterColorBorder.java43 FilterColorBorderRepresentation parameters = in useRepresentation() local
45 mParameters = parameters; in useRepresentation()

12