/hardware/interfaces/audio/effect/2.0/ |
IDownmixEffect.hal | 29 * Sets the current downmix preset. 31 setType(Type preset) generates (Result retval); 34 * Gets the current downmix preset. 36 getType() generates (Result retval, Type preset);
|
IPresetReverbEffect.hal | 23 enum Preset : int32_t { 35 * Sets the current preset. 37 setPreset(Preset preset) generates (Result retval); 40 * Gets the current preset. 42 getPreset() generates (Result retval, Preset preset);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
SharedPreset.java | 26 public synchronized void enqueuePreset(ImagePreset preset) { 27 if (mProducerPreset == null || (!mProducerPreset.same(preset))) { 28 mProducerPreset = new ImagePreset(preset); 30 mProducerPreset.updateWith(preset);
|
CachingPipeline.java | 163 private void setupEnvironment(ImagePreset preset, boolean highResPreview) { 173 mEnvironment.setImagePreset(preset); 180 ImagePreset preset = MasterImage.getImage().getPreset(); local 181 setupEnvironment(preset, false); 182 updateOriginalAllocation(preset); 185 private synchronized boolean updateOriginalAllocation(ImagePreset preset) { 186 if (preset == null) { 205 mResizedOriginalBitmap = preset.applyGeometry(originalBitmap, mEnvironment); 220 ImagePreset preset = request.getImagePreset(); local 221 setupEnvironment(preset, false) 245 ImagePreset preset = request.getImagePreset(); local 267 ImagePreset preset = request.getImagePreset(); local 302 ImagePreset preset = request.getImagePreset(); local [all...] |
RenderingRequest.java | 50 public static void post(Context context, Bitmap source, ImagePreset preset, 52 RenderingRequest.post(context, source, preset, type, caller, null, null); 55 public static void post(Context context, Bitmap source, ImagePreset preset, int type, 59 || preset == null || caller == null) { 61 + " or preset: " + preset + " or caller: " + caller); 71 bitmap = pipeline.renderGeometryIcon(source, preset); 79 ImagePreset passedPreset = new ImagePreset(preset); 80 request.setOriginalImagePreset(preset); 96 ImagePreset preset, [all...] |
Buffer.java | 82 public void setPreset(ImagePreset preset) { 83 if ((mPreset == null) || (!mPreset.same(preset))) { 84 mPreset = new ImagePreset(preset); 86 mPreset.updateWith(preset);
|
ImagePreset.java | 216 public boolean same(ImagePreset preset) { 217 if (preset == null) { 221 if (preset.mFilters.size() != mFilters.size()) { 225 if (mDoApplyGeometry != preset.mDoApplyGeometry) { 229 if (mDoApplyFilters != preset.mDoApplyFilters) { 230 if (mFilters.size() > 0 || preset.mFilters.size() > 0) { 235 if (mDoApplyFilters && preset.mDoApplyFilters) { 236 for (int i = 0; i < preset.mFilters.size(); i++) { 237 FilterRepresentation a = preset.mFilters.elementAt(i); 249 public boolean equals(ImagePreset preset) { 349 ImagePreset preset = ((FilterUserPresetRepresentation) representation).getImagePreset(); local [all...] |
ImageSavingTask.java | 36 ImagePreset preset; field in class:ImageSavingTask.SaveRequest 68 File destinationFile, ImagePreset preset, 75 request.preset = preset; 90 ImagePreset preset = request.preset; local 96 updateBitmap.bitmap = createNotificationBitmap(previewImage, sourceUri, preset); 117 Uri uri = saveImage.processAndSaveImage(preset, flatten, 148 private Bitmap createNotificationBitmap(Bitmap preview, Uri sourceUri, ImagePreset preset) { 158 return pipeline.renderFinalImage(bitmap, preset); [all...] |
ProcessingService.java | 47 private static final String PRESET = "preset"; 94 public void postHighresRenderingRequest(ImagePreset preset, float scaleFactor, 97 // TODO: use the triple buffer preset as UpdatePreviewTask does instead of creating a copy 98 ImagePreset passedPreset = new ImagePreset(preset); 99 request.setOriginalImagePreset(preset); 107 public void postFullresRenderingRequest(ImagePreset preset, float scaleFactor, 111 ImagePreset passedPreset = new ImagePreset(preset); 112 request.setOriginalImagePreset(preset); 143 public static Intent getSaveIntent(Context context, ImagePreset preset, File destination 212 ImagePreset preset = new ImagePreset(); local [all...] |
/frameworks/wilhelm/src/itf/ |
IPresetReverb.cpp | 30 static SLresult IPresetReverb_SetPreset(SLPresetReverbItf self, SLuint16 preset) 35 switch (preset) { 44 thiz->mPreset = preset; 51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); 74 SLuint16 preset = SL_REVERBPRESET_NONE; local 76 preset = thiz->mPreset; 80 preset = thiz->mPreset; 83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); 92 *pPreset = preset;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
LZMA2Options.java | 26 * Minimum valid compression preset level is 0. 31 * Maximum valid compression preset level is 9. 36 * Default compression preset level is 6. 156 * Creates new LZMA2 options and sets them to the given preset. 159 * <code>preset</code> is not supported 161 public LZMA2Options(int preset) throws UnsupportedOptionsException { 162 setPreset(preset); 184 * Sets the compression options to the given preset. 188 * The default preset (<code>PRESET_DEFAULT</code>) is 6. 190 * The presets 7-9 are like the preset 6 but use bigger dictionarie [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
PresetReverb.java | 32 * The PresetReverb class allows an application to configure the global reverb using a reverb preset. 61 * Preset. Parameter ID for 71 * Reverb preset representing a small room less than five meters in length 75 * Reverb preset representing a medium room with a length of ten meters or less 79 * Reverb preset representing a large-sized room suitable for live performances 83 * Reverb preset representing a medium-sized hall 87 * Reverb preset representing a large-sized hall suitable for a full orchestra 91 * Reverb preset representing a synthesis of the traditional plate reverb 132 * Enables a preset on the reverb. 136 * @param preset this must be one of the the preset constants defined in this class 231 public short preset; field in class:PresetReverb.Settings [all...] |
/packages/apps/Car/Radio/src/com/android/car/radio/ |
PresetsViewHolder.java | 93 public void bindPreset(RadioStation preset, boolean isActiveStation, int itemCount) { 94 // If the preset is null, clear any existing text. 95 if (preset == null) { 104 String channelNumber = RadioChannelFormatter.formatRadioChannel(preset.getRadioBand(), 105 preset.getChannelNumber()); 111 mPresetItemChannelBg.setColor(mColorMapper.getColorForStation(preset)); 113 String metadata = preset.getRds() == null ? null : preset.getRds().getProgramService(); 126 * Sets the appropriate background on the card containing the preset information. The cards
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
CarRadioManagerTest.java | 68 CarRadioPreset preset = local 70 mRadioPresets.put(valueList[0], preset); 86 // Get the actual preset. 92 CarRadioPreset preset = mRadioPresets.get(valueList[0]); local 96 preset.getPresetNumber(), 97 preset.getBand(), 98 preset.getChannel(), 99 preset.getSubChannel()) 149 assertEquals("Preset count not same.", NUM_PRESETS, presetCount); 153 // Create a preset 154 CarRadioPreset preset = new CarRadioPreset(1, RadioManager.BAND_FM, 1234, -1); local 177 CarRadioPreset preset = new CarRadioPreset(2, RadioManager.BAND_AM, 4321, -1); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterUserPresetRepresentation.java | 27 public FilterUserPresetRepresentation(String name, ImagePreset preset, int id) { 32 mPreset = preset;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
HistoryItem.java | 30 public HistoryItem(ImagePreset preset, FilterRepresentation representation) { 31 mImagePreset = preset; // just keep a pointer to the current preset
|
/packages/services/Car/car-lib/src/android/car/hardware/radio/ |
ICarRadio.aidl | 40 * Gets the preset values stored for a particular preset number. 45 * Sets a specified preset (hard button) in the car. In order to check for success listen to 48 boolean setPreset(in CarRadioPreset preset) = 4;
|
/external/webrtc/webrtc/modules/video_capture/ios/ |
device_info_ios_objc.h | 25 + (webrtc::VideoCaptureCapability)capabilityForPreset:(NSString*)preset;
|
device_info_ios_objc.mm | 54 + (webrtc::VideoCaptureCapability)capabilityForPreset:(NSString*)preset { 59 if ([preset isEqualToString:AVCaptureSessionPreset352x288]) { 68 } else if ([preset isEqualToString:AVCaptureSessionPreset640x480]) { 77 } else if ([preset isEqualToString:AVCaptureSessionPreset1280x720]) { 86 } else if ([preset isEqualToString:AVCaptureSessionPreset1920x1080]) {
|
/cts/tests/tests/media/src/android/media/cts/ |
PresetReverbTest.java | 39 // PRESET REVERB TESTS: 81 for (short preset = FIRST_PRESET; 82 preset <= LAST_PRESET; 83 preset++) { 84 mReverb.setPreset(preset); 85 assertEquals("got incorrect preset", preset, mReverb.getPreset()); 108 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? local 110 settings.preset = preset [all...] |
/hardware/qcom/audio/post_proc/ |
equalizer.c | 62 3, 0, 0, 0, 3, /* Normal Preset */ 63 5, 3, -2, 4, 4, /* Classical Preset */ 64 6, 0, 2, 4, 1, /* Dance Preset */ 65 0, 0, 0, 0, 0, /* Flat Preset */ 66 3, 0, 0, 2, -1, /* Folk Preset */ 67 4, 1, 9, 3, 0, /* Heavy Metal Preset */ 68 5, 3, 0, 1, 3, /* Hip Hop Preset */ 69 4, 2, -2, 2, 5, /* Jazz Preset */ 70 -1, 2, 5, 1, -2, /* Pop Preset */ 71 5, 3, -1, 3, 5}; /* Rock Preset */ 377 int32_t preset; local [all...] |
reverb.c | 55 // Offload auxiliary preset reverb UUID: 6987be09-b142-4b41-9056-0002a5d5c51b */ 63 "MSM offload Auxiliary Preset Reverb", 67 // Offload insert preset reverb UUID: aa2bebf6-47cf-4613-9bca-0002a5d5c51b */ 76 "MSM offload Insert Preset Reverb", 101 context->preset = false; 107 context->preset = true; 115 context->preset = true; 244 void reverb_set_preset(reverb_context_t *context, int16_t preset) 247 ALOGV("%s: preset: %d", __func__, preset); 288 const reverb_settings_t *preset = &reverb_presets[context->cur_preset]; local [all...] |
/packages/services/Car/service/src/com/android/car/hal/ |
RadioHalService.java | 139 Log.d(TAG, "get preset count: " + mPresetCount); 145 // Check if the preset number is out of range. We should return NULL if that is the case. 147 Log.d(TAG, "getRadioPreset called with preset number " + presetNumber); 150 throw new IllegalArgumentException("Preset number not valid: " + presetNumber); 169 "Invalid preset returned from service: " 178 Log.e(TAG, "Preset number is not the same: " + presetNumber + " vs " + retPresetNumber); 187 Log.d(TAG, "Preset obtained: " + retConfig); 192 public boolean setRadioPreset(CarRadioPreset preset) { 194 Log.d(TAG, "setRadioPreset with config " + preset); 197 if (!isValidPresetNumber(preset.getPresetNumber()) | 267 CarRadioPreset preset = local [all...] |
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 82 NotificationPreset preset = NotificationPresets.PRESETS[ local 84 updateTextEditors(preset); 172 private void updateTextEditors(NotificationPreset preset) { 173 mTitleEditText.setText(getString(preset.titleResId)); 174 mTextEditText.setText(getString(preset.textResId)); 183 if (preset == NotificationPresets.BASIC) { 248 NotificationPreset preset = NotificationPresets.PRESETS[ local 252 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) { 253 // If actions are required, but the no-actions preset was selected, change presets. 268 return preset.buildNotifications(this, options) 284 NotificationPreset preset = NotificationPresets.PRESETS[position]; local [all...] |
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 82 NotificationPreset preset = NotificationPresets.PRESETS[ local 84 updateTextEditors(preset); 172 private void updateTextEditors(NotificationPreset preset) { 173 mTitleEditText.setText(getString(preset.titleResId)); 174 mTextEditText.setText(getString(preset.textResId)); 183 if (preset == NotificationPresets.BASIC) { 248 NotificationPreset preset = NotificationPresets.PRESETS[ local 252 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) { 253 // If actions are required, but the no-actions preset was selected, change presets. 268 return preset.buildNotifications(this, options) 284 NotificationPreset preset = NotificationPresets.PRESETS[position]; local [all...] |