HomeSort by relevance Sort by last modified time
    Searched refs:preset (Results 1 - 25 of 218) sorted by null

1 2 3 4 5 6 7 8 9

  /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.c 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/services/Car/tests/carservice_test/src/com/android/car/test/
CarRadioManagerTest.java 72 CarRadioPreset preset = local
74 mRadioPresets.put(valueList[0], preset);
91 // Get the actual preset.
93 CarRadioPreset preset = mRadioPresets.get(valueList[0]);
98 preset.getPresetNumber(),
99 preset.getBand(),
100 preset.getChannel(),
101 preset.getSubChannel()}, 0);
155 assertEquals("Preset count not same.", NUM_PRESETS, presetCount);
159 // Create a preset
160 CarRadioPreset preset = new CarRadioPreset(1, RadioManager.BAND_FM, 1234, -1); local
183 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
HistoryManager.java 129 public void addHistoryItem(HistoryItem preset) {
130 insert(preset, 0);
134 private void insert(HistoryItem preset, int position) {
148 mHistoryItems.insertElementAt(preset, position);
  /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 */
352 int32_t preset; local
    [all...]
reverb.c 54 // Offload auxiliary preset reverb UUID: 6987be09-b142-4b41-9056-0002a5d5c51b */
62 "MSM offload Auxiliary Preset Reverb",
66 // Offload insert preset reverb UUID: aa2bebf6-47cf-4613-9bca-0002a5d5c51b */
74 "MSM offload Insert Preset Reverb",
99 context->preset = false;
105 context->preset = true;
113 context->preset = true;
242 void reverb_set_preset(reverb_context_t *context, int16_t preset)
245 ALOGV("%s: preset: %d", __func__, preset);
286 const reverb_settings_t *preset = &reverb_presets[context->cur_preset]; local
    [all...]
  /packages/services/Car/service/src/com/android/car/hal/
RadioHalService.java 138 Log.d(TAG, "get preset count: " + mPresetCount);
143 // Check if the preset number is out of range. We should return NULL if that is the case.
145 Log.d(TAG, "getRadioPreset called with preset number " + presetNumber);
148 throw new IllegalArgumentException("Preset number not valid: " + presetNumber);
168 "Invalid preset returned from service: " + presetConfig.getInt32ValuesList());
176 Log.e(TAG, "Preset number is not the same: " + presetNumber + " vs " + retPresetNumber);
185 Log.d(TAG, "Preset obtained: " + retConfig);
190 public boolean setRadioPreset(CarRadioPreset preset) {
192 Log.d(TAG, "setRadioPreset with config " + preset);
195 if (!isValidPresetNumber(preset.getPresetNumber()) |
264 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));
175 if (preset == NotificationPresets.BASIC) {
218 NotificationPreset preset = NotificationPresets.PRESETS[ local
226 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) {
227 // If actions are required, but the no-actions preset was selected, change presets.
242 Notification[] notifications = preset.buildNotifications(this, options)
268 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));
175 if (preset == NotificationPresets.BASIC) {
218 NotificationPreset preset = NotificationPresets.PRESETS[ local
226 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) {
227 // If actions are required, but the no-actions preset was selected, change presets.
242 Notification[] notifications = preset.buildNotifications(this, options)
268 NotificationPreset preset = NotificationPresets.PRESETS[position]; local
    [all...]
  /development/samples/browseable/Notifications/Application/src/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));
175 if (preset == NotificationPresets.BASIC) {
218 NotificationPreset preset = NotificationPresets.PRESETS[ local
226 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) {
227 // If actions are required, but the no-actions preset was selected, change presets.
242 Notification[] notifications = preset.buildNotifications(this, options)
268 NotificationPreset preset = NotificationPresets.PRESETS[position]; local
    [all...]
  /frameworks/av/media/libeffects/testlibs/
AudioEqualizer.cpp 186 const char * AudioEqualizer::getPresetName(int preset) const {
187 assert(preset < mNumPresets && preset >= PRESET_CUSTOM);
188 if (preset == PRESET_CUSTOM) {
191 return mpPresets[preset].name;
203 void AudioEqualizer::setPreset(int preset) {
204 ALOGV("AudioEqualizer::setPreset(preset=%d)", preset);
205 assert(preset < mNumPresets && preset >= 0)
    [all...]

Completed in 524 milliseconds

1 2 3 4 5 6 7 8 9