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

1 2 3 4 5 6

  /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;
  /frameworks/base/media/java/android/media/audiofx/
PresetReverb.java 40 * The PresetReverb class allows an application to configure the global reverb using a reverb preset.
69 * Preset. Parameter ID for
79 * Reverb preset representing a small room less than five meters in length
83 * Reverb preset representing a medium room with a length of ten meters or less
87 * Reverb preset representing a large-sized room suitable for live performances
91 * Reverb preset representing a medium-sized hall
95 * Reverb preset representing a large-sized hall suitable for a full orchestra
99 * Reverb preset representing a synthesis of the traditional plate reverb
140 * Enables a preset on the reverb.
144 * @param preset this must be one of the the preset constants defined in this class
239 public short preset; field in class:PresetReverb.Settings
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
CompositorAnimationsTimingFunctionReverserTest.cpp 69 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
70 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
71 RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut);
82 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease);
94 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
95 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
  /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 46 // PRESET REVERB TESTS:
83 for (short preset = FIRST_PRESET;
84 preset <= LAST_PRESET;
85 preset++) {
86 mReverb.setPreset(preset);
87 assertEquals("got incorrect preset", preset, mReverb.getPreset());
107 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? local
109 settings.preset = preset
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/animation/
TimingFunctionTestHelperTest.cpp 103 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
116 RefPtr<TimingFunction> stepTimingStart = StepsTimingFunction::preset(StepsTimingFunction::Start);
158 RefPtr<TimingFunction> cubicTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
160 RefPtr<TimingFunction> stepsTiming1 = StepsTimingFunction::preset(StepsTimingFunction::End);
191 RefPtr<TimingFunction> cubicEaseInTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
192 RefPtr<TimingFunction> cubicEaseInTiming2 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn);
196 RefPtr<TimingFunction> cubicEaseOutTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
197 RefPtr<TimingFunction> cubicEaseOutTiming2 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut);
200 RefPtr<TimingFunction> cubicEaseInOutTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut);
201 RefPtr<TimingFunction> cubicEaseInOutTiming2 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut)
    [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);
  /external/chromium_org/media/video/capture/mac/
avfoundation_glue.h 66 - (BOOL)supportsAVCaptureSessionPreset:(NSString*)preset;
83 - (BOOL)canSetSessionPreset:(NSString*)preset;
84 - (void)setSessionPreset:(NSString*)preset;
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
RagdollPreset.java 48 JointPreset preset = boneMap.get(resultName); local
50 if (preset != null && resultScore >= 50) {
52 preset.setupJoint(joint);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryAdapter.java 197 public void reflectImagePreset(ImagePreset preset) {
198 if (preset == null) {
204 int pos = preset.getPositionForType(FilterRepresentation.TYPE_FX);
206 rep = preset.getFilterRepresentation(pos);
209 int pos = preset.getPositionForType(FilterRepresentation.TYPE_BORDER);
211 rep = preset.getFilterRepresentation(pos);
  /frameworks/wilhelm/tests/examples/
slesTestEqFdPath.cpp 199 SLuint16 nbPresets, preset, nbBands = 0; local
204 /* Start from a preset */
205 preset = nbPresets > 2 ? 2 : 0;
206 result = (*eqItf)->UsePreset(eqItf, preset);
208 preset = 1977;
209 result = (*eqItf)->GetCurrentPreset(eqItf, &preset);
211 if (SL_EQUALIZER_UNDEFINED == preset) {
212 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n");
214 fprintf(stdout, "Using preset %d\n", preset);
    [all...]

Completed in 1788 milliseconds

1 2 3 4 5 6