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

1 2 3 4 5 6 7 8

  /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...]
UpdatePreviewTask.java 58 SharedPreset preset = MasterImage.getImage().getPreviewPreset(); local
59 ImagePreset renderingPreset = preset.dequeuePreset();
62 // set the preset we used in the buffer for later inspection UI-side
  /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/chromium_org/third_party/WebKit/Source/core/animation/
CompositorAnimationsTimingFunctionReverserTest.cpp 67 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
68 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
69 RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut);
80 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease);
  /external/chromium_org/third_party/WebKit/Source/platform/animation/
TimingFunctionTest.cpp 79 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease);
81 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
83 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
85 RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut);
94 RefPtr<TimingFunction> stepTimingStart = StepsTimingFunction::preset(StepsTimingFunction::Start);
97 RefPtr<TimingFunction> stepTimingMiddle = StepsTimingFunction::preset(StepsTimingFunction::Middle);
100 RefPtr<TimingFunction> stepTimingEnd = StepsTimingFunction::preset(StepsTimingFunction::End);
116 RefPtr<TimingFunction> cubicTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
118 RefPtr<TimingFunction> stepsTiming1 = StepsTimingFunction::preset(StepsTimingFunction::End);
140 RefPtr<TimingFunction> cubicEaseInTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn)
    [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/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);
  /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...]
  /developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/notifications/
MainActivity.java 82 NotificationPreset preset = NotificationPresets.PRESETS[ local
84 updateTextEditors(preset);
172 private void updateTextEditors(NotificationPreset preset) {
173 if (preset == NotificationPresets.BASIC) {
175 mTitleEditText.setText(getString(preset.titleResId));
178 mTextEditText.setText(getString(preset.textResId));
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/wearable/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 if (preset == NotificationPresets.BASIC) {
175 mTitleEditText.setText(getString(preset.titleResId));
178 mTextEditText.setText(getString(preset.textResId));
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...]
  /device/samsung/manta/voicefx/
eS305VoiceProcessing.h 54 int eS305_UsePreset(int preset);
  /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...]
AudioEqualizer.h 44 // Preset configuration.
53 // This value is used when requesting current preset, and EQ is not using a
54 // preset.
72 // client is required not to call preset-related functions.
152 // Gets a human-readable name for a preset ID. Will return "Custom" if
154 // preset The preset ID. Must be less than number of presets.
155 const char * getPresetName(int preset) const;
160 // Gets the currently set preset ID.
162 // manually since a preset was set
    [all...]
  /packages/apps/MusicFX/src/com/android/musicfx/
ControlPanelEffect.java 122 private final static String EQUALIZER_PRESET_NAME_DEFAULT = "Preset";
227 for (short preset = 0; preset < mEQNumPresets; preset++) {
228 mEQPresetNames[preset] = equalizerEffect.getPresetName(preset);
229 equalizerEffect.usePreset(preset);
231 mEQPresetOpenSLESBandLevel[preset][band] = equalizerEffect
255 for (short preset = 0; preset < mEQNumPresets; preset++)
608 final short preset = (short) value; local
701 final short preset = (short) value; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
XmpPresets.java 47 public ImagePreset preset; field in class:XmpPresets.XMresults
61 Context context, Uri srcUri, File dstFile, ImagePreset preset) {
80 XMP_FILTERSTACK, preset.getJsonString(ImagePreset.JASON_SAVED));
120 ret.preset = new ImagePreset();
122 boolean ok = ret.preset.readJsonFromString(filterString);

Completed in 2075 milliseconds

1 2 3 4 5 6 7 8