summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/presets/ImagePresetXProcessing.java
blob: 3e744be77f761c63b546e45ce11d169855d1f5f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

package com.android.gallery3d.filtershow.presets;

import com.android.gallery3d.filtershow.filters.ImageFilterGradient;

import android.graphics.Color;

public class ImagePresetXProcessing extends ImagePreset {

    public String name() {
        return "X-Process";
    }

    public void setup() {
        ImageFilterGradient filter = new ImageFilterGradient();
        filter.addColor(Color.BLACK, 0.0f);
        filter.addColor(Color.argb(255, 29, 82, 83), 0.4f);
        filter.addColor(Color.argb(255, 211, 217, 186), 1.0f);
        mFilters.add(filter);
    }

}