Code examples for Effect

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
124:	mMinMaxEffect.setParameter("black", .1f); 
125:	mMinMaxEffect.setParameter("white", .8f); 
-
129:	mMinMaxEffect.apply(mTextures[0], mImageWidth, mImageHeight, mTextures[0]); 
Full Snippet Info
8
CodeRank
49:	effect.setParameter("xorigin", Math.round(bounds.left * src.width())); 
50:	effect.setParameter("yorigin", Math.round(bounds.top * src.height())); 
51:	effect.setParameter("width", dst.width()); 
52:	effect.setParameter("height", dst.height()); 
53:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
7
CodeRank
43:	effect.setParameter("maxAngle", MAX_DEGREES); 
44:	effect.setParameter("angle", -degrees); 
45:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
6
CodeRank
43:	effect.setParameter("horizontal", flips[0]); 
44:	effect.setParameter("vertical", flips[1]); 
45:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
6
CodeRank
44:	effect.setParameter("first_color", firstColor); 
45:	effect.setParameter("second_color", secondColor); 
46:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
6
CodeRank
49:	effect.setParameter("xorigin", Math.round(bounds.left * src.width())); 
50:	effect.setParameter("yorigin", Math.round(bounds.top * src.height())); 
51:	effect.setParameter("width", dst.width()); 
52:	effect.setParameter("height", dst.height()); 
53:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
6
CodeRank
45:	effect.setParameter("angle", (int) degrees); 
46:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
6
CodeRank
42:	effect.setParameter("tint", color); 
43:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
46:	effect.setParameter("blend", scale); 
47:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
47:	effect.setParameter("black", black); 
48:	effect.setParameter("white", 1f); 
49:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
47:	effect.setParameter("black", 0f); 
48:	effect.setParameter("white", white); 
49:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
44:	effect.setParameter("horizontal", flipHorizontal); 
45:	effect.setParameter("vertical", flipVertical); 
46:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
44:	effect.setParameter("first_color", firstColor); 
45:	effect.setParameter("second_color", secondColor); 
46:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
44:	effect.setParameter("maxAngle", MAX_DEGREES); 
45:	effect.setParameter("angle", angle); 
46:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
47:	effect.setParameter("scale", scale); 
48:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
47:	effect.setParameter("scale", scale); 
48:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
47:	effect.setParameter("scale", scale); 
48:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
5
CodeRank
47:	effect.setParameter("scale", scale); 
48:	effect.apply(src.texture(), src.width(), src.height(), dst.texture()); 
Full Snippet Info
4
CodeRank