blob: ddfca75085c721dc739f3726727ab38e341551c0 [file] [log] [blame]
nicolasroarda9f280f2012-10-23 11:26:38 -07001/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
nicolasroard0d7cdf82012-09-25 14:27:56 -070016
17package com.android.gallery3d.filtershow.presets;
18
19import com.android.gallery3d.filtershow.filters.ImageFilterSaturated;
20
21public class ImagePresetSaturated extends ImagePreset {
22
nicolasroard08458dc2012-10-09 16:34:58 -070023 @Override
nicolasroard0d7cdf82012-09-25 14:27:56 -070024 public String name() {
25 return "Saturated";
26 }
27
nicolasroard08458dc2012-10-09 16:34:58 -070028 @Override
nicolasroard0d7cdf82012-09-25 14:27:56 -070029 public void setup() {
nicolasroard08458dc2012-10-09 16:34:58 -070030 ImageFilterSaturated filter = new ImageFilterSaturated();
31 filter.setParameter(50);
32 mFilters.add(filter);
nicolasroard0d7cdf82012-09-25 14:27:56 -070033 }
34
35}