Searched refs:parameters (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/field/
H A DContentTypeField.java72 private Map<String, String> parameters = null; field in class:ContentTypeField
75 protected ContentTypeField(String name, String body, String raw, String mimeType, Map<String, String> parameters, ParseException parseException) { argument
78 this.parameters = parameters;
134 return parameters != null
135 ? parameters.get(name.toLowerCase())
140 * Gets all parameters.
142 * @return the parameters.
145 if (parameters != null) {
146 return Collections.unmodifiableMap(parameters);
[all...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryAddWordActivity.java99 final Bundle parameters = new Bundle();
100 final int resultCode = mContents.apply(this, parameters);
101 reportBackToCaller(resultCode, parameters);
/packages/apps/Email/src/org/apache/james/mime4j/
H A DBodyDescriptor.java39 private Map<String, String> parameters = new HashMap<String, String>(); field in class:BodyDescriptor
142 * Add all other parameters to parameters.
144 parameters.putAll(params);
145 parameters.remove("");
146 parameters.remove("boundary");
147 parameters.remove("charset");
154 // split main value and parameters
361 * Return all parameters for the BodyDescriptor
364 return parameters;
[all...]
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
H A DVideoChatTestActivity.java336 Camera.Parameters parameters = camera.getParameters();
338 publishProgress("Changing preview parameters " + width + "x" + height + baseStatus);
340 parameters.setPreviewSize(width, height);
341 parameters.setPreviewFormat(ImageFormat.NV21);
343 parameters.setPreviewFrameRate(frameRate);
344 camera.setParameters(parameters);
346 publishProgress("Validating preview parameters " + baseStatus);
348 parameters = camera.getParameters();
349 Size setSize = parameters.getPreviewSize();
356 if (parameters
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java453 public static void dumpParameters(Parameters parameters) { argument
454 String flattened = parameters.flatten();
456 Log.d(TAG, "Dump all camera parameters:");
618 public static void setRotationParameter(Parameters parameters, int cameraId, int orientation) { argument
630 parameters.setRotation(rotation);
633 public static void setGpsParameters(Parameters parameters, Location loc) { argument
634 // Clear previous GPS location from the parameters.
635 parameters.removeGpsData();
638 parameters.setGpsTimestamp(System.currentTimeMillis() / 1000);
648 parameters
[all...]
H A DCameraSettings.java70 public CameraSettings(Activity activity, Parameters parameters, argument
73 mParameters = parameters;
96 Context context, Parameters parameters) {
100 List<Size> supported = parameters.getSupportedPictureSizes();
104 if (setCameraPictureSize(candidate, supported, parameters)) {
121 String candidate, List<Size> supported, Parameters parameters) {
128 parameters.setPictureSize(width, height);
422 ComboPreferences preferences, Parameters parameters) {
448 // Write back the current camera id because parameters are related to
451 initialCameraPictureSize(context, parameters);
95 initialCameraPictureSize( Context context, Parameters parameters) argument
120 setCameraPictureSize( String candidate, List<Size> supported, Parameters parameters) argument
421 restorePreferences(Context context, ComboPreferences preferences, Parameters parameters) argument
[all...]
H A DFocusManager.java108 public void initializeParameters(Parameters parameters) { argument
109 mParameters = parameters;
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DSelectAccountDialogFragment.java44 final Bundle parameters = getArguments();
82 null, parameters.getInt(EXTRA_TAG));
/packages/apps/Camera/src/com/android/camera/
H A DFocusOverlayManager.java125 Parameters parameters, Listener listener,
131 setParameters(parameters);
141 public void setParameters(Parameters parameters) { argument
142 // parameters can only be null when onConfigurationChanged is called
144 // parameters will be set again later with the right parameters after
146 if (parameters == null) return;
147 mParameters = parameters;
148 mFocusAreaSupported = Util.isFocusAreaSupported(parameters);
149 mMeteringAreaSupported = Util.isMeteringAreaSupported(parameters);
124 FocusOverlayManager(ComboPreferences preferences, String[] defaultFocusModes, Parameters parameters, Listener listener, boolean mirror, Looper looper) argument
[all...]
H A DCameraSettings.java76 public CameraSettings(Activity activity, Parameters parameters, argument
79 mParameters = parameters;
105 Context context, Parameters parameters) {
109 List<Size> supported = parameters.getSupportedPictureSizes();
113 if (setCameraPictureSize(candidate, supported, parameters)) {
130 String candidate, List<Size> supported, Parameters parameters) {
137 parameters.setPictureSize(width, height);
491 ComboPreferences preferences, Parameters parameters) {
517 // Write back the current camera id because parameters are related to
520 initialCameraPictureSize(context, parameters);
104 initialCameraPictureSize( Context context, Parameters parameters) argument
129 setCameraPictureSize( String candidate, List<Size> supported, Parameters parameters) argument
490 restorePreferences(Context context, ComboPreferences preferences, Parameters parameters) argument
[all...]
H A DPanoramaModule.java329 Parameters parameters = mCameraDevice.getParameters();
330 setupCaptureParams(parameters);
331 configureCamera(parameters);
381 private void setupCaptureParams(Parameters parameters) { argument
382 List<Size> supportedSizes = parameters.getSupportedPreviewSizes();
391 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight);
393 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange();
397 parameters.setPreviewFpsRange(minFps, maxFps);
400 List<String> supportedFocusModes = parameters.getSupportedFocusModes();
402 parameters
422 configureCamera(Parameters parameters) argument
[all...]
H A DUtil.java508 public static void dumpParameters(Parameters parameters) { argument
509 String flattened = parameters.flatten();
511 Log.d(TAG, "Dump all camera parameters:");
708 public static void setGpsParameters(Parameters parameters, Location loc) { argument
709 // Clear previous GPS location from the parameters.
710 parameters.removeGpsData();
713 parameters.setGpsTimestamp(System.currentTimeMillis() / 1000);
723 parameters.setGpsLatitude(lat);
724 parameters.setGpsLongitude(lon);
725 parameters
[all...]
H A DCameraManager.java387 // Too many parameters, so use post for simplicity
402 // Too many parameters, so use post for simplicity
472 Parameters parameters = mParameters;
474 return parameters;
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DPanoramaActivity.java351 Parameters parameters = mCameraDevice.getParameters();
352 setupCaptureParams(parameters);
353 configureCamera(parameters);
397 private void setupCaptureParams(Parameters parameters) { argument
398 List<Size> supportedSizes = parameters.getSupportedPreviewSizes();
407 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight);
409 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange();
413 parameters.setPreviewFpsRange(minFps, maxFps);
416 List<String> supportedFocusModes = parameters.getSupportedFocusModes();
418 parameters
438 configureCamera(Parameters parameters) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java420 // because there's a limit for the number of parameters in a query.
2328 ArrayList<AggregationSuggestionParameter> parameters) {
2332 List<MatchScore> bestMatches = findMatchingContacts(db, contactId, parameters);
2436 * @param parameters
2439 ArrayList<AggregationSuggestionParameter> parameters) {
2447 if (parameters == null || parameters.size() == 0) {
2461 matcher, parameters);
2483 ArrayList<AggregationSuggestionParameter> parameters) {
2484 for (AggregationSuggestionParameter parameter : parameters) {
2326 queryAggregationSuggestions(SQLiteQueryBuilder qb, String[] projection, long contactId, int maxSuggestions, String filter, ArrayList<AggregationSuggestionParameter> parameters) argument
2438 findMatchingContacts(final SQLiteDatabase db, long contactId, ArrayList<AggregationSuggestionParameter> parameters) argument
2481 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher, ArrayList<AggregationSuggestionParameter> parameters) argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java175 * This class encapsulates a SQL where clause and its parameters. It makes it possible for
184 public <T> void appendClause(String newClause, final T... parameters) { argument
194 if (parameters != null) {
195 for (Object parameter : parameters) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java5896 ArrayList<AggregationSuggestionParameter> parameters = null;
5899 parameters = new ArrayList<AggregationSuggestionParameter>(query.size());
5902 parameters.add(offset == -1
5915 maxSuggestions, filter, parameters);
7089 // it may have query parameters. If we remove these we'll get the # of parameters
7360 // SQLite has limits on how many parameters can be used
7821 * Takes components of a name from the query parameters and returns a cursor with those

Completed in 621 milliseconds