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

1 2 3

  /cts/tests/tests/graphics/src/android/graphics/cts/
Shader_TileModeTest.java 26 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP"));
34 assertEquals(TileMode.CLAMP, tileMode[0]);
ComposeShaderTest.java 43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP);
45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP);
79 BitmapShader blueShader = new BitmapShader(greenBitmap, TileMode.CLAMP, TileMode.CLAMP);
80 BitmapShader redShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP);
LinearGradientTest.java 37 lg = new LinearGradient(0, 0, 0, 40, color, position, TileMode.CLAMP);
53 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP);
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_sampler.java 41 b.setWrapS(Sampler.Value.CLAMP);
42 b.setWrapT(Sampler.Value.CLAMP);
89 _RS_ASSERT("minification.getWrapS() == Sampler.Value.CLAMP",
90 minification.getWrapS() == Sampler.Value.CLAMP);
91 _RS_ASSERT("minification.getWrapT() == Sampler.Value.CLAMP",
92 minification.getWrapT() == Sampler.Value.CLAMP);
100 _RS_ASSERT("magnification.getWrapS() == Sampler.Value.CLAMP",
101 magnification.getWrapS() == Sampler.Value.CLAMP);
102 _RS_ASSERT("magnification.getWrapT() == Sampler.Value.CLAMP",
103 magnification.getWrapT() == Sampler.Value.CLAMP);
    [all...]
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_sampler.java 43 b.setWrapS(Value.CLAMP);
44 b.setWrapT(Value.CLAMP);
91 _RS_ASSERT("minification.getWrapS() == Sampler.Value.CLAMP",
92 minification.getWrapS() == Sampler.Value.CLAMP);
93 _RS_ASSERT("minification.getWrapT() == Sampler.Value.CLAMP",
94 minification.getWrapT() == Sampler.Value.CLAMP);
102 _RS_ASSERT("magnification.getWrapS() == Sampler.Value.CLAMP",
103 magnification.getWrapS() == Sampler.Value.CLAMP);
104 _RS_ASSERT("magnification.getWrapT() == Sampler.Value.CLAMP",
105 magnification.getWrapT() == Sampler.Value.CLAMP);
    [all...]
  /packages/apps/Gallery2/jni/filters/
saturated.c 48 destination[RED] = CLAMP(Rc);
49 destination[GREEN] = CLAMP(Gc);
50 destination[BLUE] = CLAMP(Bc);
vignette.c 44 destination[RED] = CLAMP(destination[RED] - vignette);
45 destination[GREEN] = CLAMP(destination[GREEN] - vignette);
46 destination[BLUE] = CLAMP(destination[BLUE] - vignette);
vibrance.c 57 destination[RED] = CLAMP(Rc);
58 destination[GREEN] = CLAMP(Gc);
59 destination[BLUE] = CLAMP(Bc);
bwfilter.c 50 rgb[RED] = CLAMP(avg);
filters.h 44 #define CLAMP(c) (MAX(0, MIN(255, c)))
46 __inline__ unsigned char clamp(int c);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GradientStopsActivity.java 48 colors, positions, Shader.TileMode.CLAMP);
58 colors, positions, Shader.TileMode.CLAMP);
68 colors, positions, Shader.TileMode.CLAMP);
77 colors, null, Shader.TileMode.CLAMP);
101 colors, null, Shader.TileMode.CLAMP);
109 colors, null, Shader.TileMode.CLAMP);
117 colors, null, Shader.TileMode.CLAMP);
BigGradientActivity.java 45 0xff333333, Shader.TileMode.CLAMP));
ShadersActivity.java 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP);
  /frameworks/base/graphics/java/android/graphics/
Shader.java 44 CLAMP (0),
  /frameworks/base/graphics/java/android/renderscript/
Sampler.java 47 CLAMP (4),
104 * clamp.
115 b.setWrapS(Value.CLAMP);
116 b.setWrapT(Value.CLAMP);
124 * clamp.
135 b.setWrapS(Value.CLAMP);
136 b.setWrapT(Value.CLAMP);
144 * wrap modes set to clamp.
155 b.setWrapS(Value.CLAMP);
156 b.setWrapT(Value.CLAMP);
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Sampler.java 49 CLAMP (4),
106 * clamp.
117 b.setWrapS(Value.CLAMP);
118 b.setWrapT(Value.CLAMP);
126 * clamp.
137 b.setWrapS(Value.CLAMP);
138 b.setWrapT(Value.CLAMP);
146 * wrap modes set to clamp.
157 b.setWrapS(Value.CLAMP);
158 b.setWrapT(Value.CLAMP);
    [all...]
SamplerThunker.java 56 case CLAMP:
57 return android.renderscript.Sampler.Value.CLAMP;
107 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) {
115 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) {
  /external/llvm/lib/Target/R600/
R600Defines.h 63 CLAMP,
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Vertices.java 54 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP,
55 Shader.TileMode.CLAMP);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Shader_Delegate.java 69 return TileMode.CLAMP;
Gradient_Delegate.java 131 case CLAMP:
162 case CLAMP:
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorRectView.java 148 mBorder, 0, mWidth - mBorder, 0, wheelColor, null, Shader.TileMode.CLAMP);
152 0, mBorder, 0, mHeight - mBorder, colors, null, Shader.TileMode.CLAMP);
155 0, mBorder, 0, mHeight - mBorder, colors2, null, Shader.TileMode.CLAMP);
193 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SamplerTest.java 43 mWrapValues[0] = Sampler.Value.CLAMP;
129 assertEquals(Value.CLAMP, Value.valueOf("CLAMP"));
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
ResourceModifiers.java 80 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
88 Color.BLUE, Color.RED, Shader.TileMode.CLAMP);
  /packages/apps/Settings/src/com/android/settings/applications/
LinearColorBar.java 75 0, 0, 0, off-2, RIGHT_COLOR&0xffffff, RIGHT_COLOR, Shader.TileMode.CLAMP));
78 0, 0, 0, off-2, MIDDLE_COLOR&0xffffff, MIDDLE_COLOR, Shader.TileMode.CLAMP));
81 0, 0, 0, off/2, 0x00a0a0a0, 0xffa0a0a0, Shader.TileMode.CLAMP));

Completed in 706 milliseconds

1 2 3