Home
last modified time | relevance | path

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

/packages/apps/Email/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/Email/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/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/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()
DFocusManager.java108 public void initializeParameters(Parameters parameters) { in initializeParameters() argument
109 mParameters = parameters; in initializeParameters()
/packages/apps/Camera/src/com/android/camera/
DCameraSettings.java71 public CameraSettings(Activity activity, Parameters parameters, in CameraSettings() argument
74 mParameters = parameters; in CameraSettings()
97 Context context, Parameters parameters) { in initialCameraPictureSize() argument
101 List<Size> supported = parameters.getSupportedPictureSizes(); in initialCameraPictureSize()
105 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize()
122 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument
129 parameters.setPictureSize(width, height); in setCameraPictureSize()
449 ComboPreferences preferences, Parameters parameters) { in restorePreferences() argument
478 initialCameraPictureSize(context, parameters); in restorePreferences()
DUtil.java435 public static void dumpParameters(Parameters parameters) { in dumpParameters() argument
436 String flattened = parameters.flatten(); in dumpParameters()
635 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters() argument
637 parameters.removeGpsData(); in setGpsParameters()
640 parameters.setGpsTimestamp(System.currentTimeMillis() / 1000); in setGpsParameters()
650 parameters.setGpsLatitude(lat); in setGpsParameters()
651 parameters.setGpsLongitude(lon); in setGpsParameters()
652 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
654 parameters.setGpsAltitude(loc.getAltitude()); in setGpsParameters()
659 parameters.setGpsAltitude(0); in setGpsParameters()
[all …]
DPanoramaActivity.java359 Parameters parameters = mCameraDevice.getParameters(); in setupCamera() local
360 setupCaptureParams(parameters); in setupCamera()
361 configureCamera(parameters); in setupCamera()
411 private void setupCaptureParams(Parameters parameters) { in setupCaptureParams() argument
412 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams()
421 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight); in setupCaptureParams()
423 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange(); in setupCaptureParams()
427 parameters.setPreviewFpsRange(minFps, maxFps); in setupCaptureParams()
430 List<String> supportedFocusModes = parameters.getSupportedFocusModes(); in setupCaptureParams()
432 parameters.setFocusMode(mTargetFocusMode); in setupCaptureParams()
[all …]
DFocusManager.java134 View focusIndicatorRotate, Parameters parameters, Listener listener, in FocusManager() argument
142 setParameters(parameters); in FocusManager()
147 public void setParameters(Parameters parameters) { in setParameters() argument
148 mParameters = parameters; in setParameters()
/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/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DSelectAccountDialogFragment.java44 final Bundle parameters = getArguments(); in onCreateDialog() local
82 null, parameters.getInt(EXTRA_TAG)); in onCreateDialog()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java2324 ArrayList<AggregationSuggestionParameter> parameters) { in queryAggregationSuggestions() argument
2328 List<MatchScore> bestMatches = findMatchingContacts(db, contactId, parameters); in queryAggregationSuggestions()
2435 ArrayList<AggregationSuggestionParameter> parameters) { in findMatchingContacts() argument
2443 if (parameters == null || parameters.size() == 0) { in findMatchingContacts()
2457 matcher, parameters); in findMatchingContacts()
2479 ArrayList<AggregationSuggestionParameter> parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches() argument
2480 for (AggregationSuggestionParameter parameter : parameters) { in updateMatchScoresForSuggestionsBasedOnDataMatches()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java184 public <T> void appendClause(String newClause, final T... parameters) { in appendClause() argument
194 if (parameters != null) { in appendClause()
195 for (Object parameter : parameters) { in appendClause()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile550 # parameters in a documented function, or documenting parameters that
556 # functions that are documented, but have no documentation for their parameters
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile550 # parameters in a documented function, or documenting parameters that
556 # functions that are documented, but have no documentation for their parameters
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile550 # parameters in a documented function, or documenting parameters that
556 # functions that are documented, but have no documentation for their parameters
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile550 # parameters in a documented function, or documenting parameters that
556 # functions that are documented, but have no documentation for their parameters
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5811 ArrayList<AggregationSuggestionParameter> parameters = null; in queryLocal() local
5814 parameters = new ArrayList<AggregationSuggestionParameter>(query.size()); in queryLocal()
5817 parameters.add(offset == -1 in queryLocal()
5830 maxSuggestions, filter, parameters); in queryLocal()