/* * Copyright (C) 2014 The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.cyanogenmod.wallpapers.photophase.effects; /** * A class that defines the own PhotoPhase's effects implementation. This class follows the * rules of the MCA aosp library. */ public class PhotoPhaseEffectFactory { /** *

Applies a blur effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_BLUR = "org.cyanogenmod.wallpapers.photophase.effects.BlurEffect"; /** *

Applies an emboss effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_EMBOSS = "org.cyanogenmod.wallpapers.photophase.effects.EmbossEffect"; /** *

Applies a glow effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_GLOW = "org.cyanogenmod.wallpapers.photophase.effects.GlowEffect"; /** *

Applies a halftone effect to the image.

*

Available parameters:

* * * * * * * *
Parameter nameMeaningValid values
strengthThe halftone steps multiplier.Positive float (>0). Higher numbers produce smallest points
*/ public static final String EFFECT_HALFTONE = "org.cyanogenmod.wallpapers.photophase.effects.HalftoneEffect"; /** *

Applies a mirror effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_MIRROR = "org.cyanogenmod.wallpapers.photophase.effects.MirrorEffect"; /** *

Doesn't apply any effect.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_NULL = "org.cyanogenmod.wallpapers.photophase.effects.NullEffect"; /** *

Applies an outline effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_OUTLINE = "org.cyanogenmod.wallpapers.photophase.effects.OutlineEffect"; /** *

Applies a pixelate effect to the image.

*

Available parameters:

* * * * * * * *
Parameter nameMeaningValid values
strengthThe pixelate steps multiplier.Positive float (>0). Higher numbers produce more pixelation.
*/ public static final String EFFECT_PIXELATE = "org.cyanogenmod.wallpapers.photophase.effects.PixelateEffect"; /** *

Applies a pop art (Warhol) effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_POPART = "org.cyanogenmod.wallpapers.photophase.effects.PopArtEffect"; /** *

Applies a TV scan line effect to the image.

*

Available parameters:

* * *
Parameter nameMeaningValid values
*/ public static final String EFFECT_SCANLINES = "org.cyanogenmod.wallpapers.photophase.effects.ScanlinesEffect"; }