Searched refs:CLAMP (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_sampler.java41 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_sampler.java38 b.setWrapS(Sampler.Value.CLAMP);
39 b.setWrapT(Sampler.Value.CLAMP);
85 _RS_ASSERT("minification.getWrapS() == Sampler.Value.CLAMP",
86 minification.getWrapS() == Sampler.Value.CLAMP);
87 _RS_ASSERT("minification.getWrapT() == Sampler.Value.CLAMP",
88 minification.getWrapT() == Sampler.Value.CLAMP);
96 _RS_ASSERT("magnification.getWrapS() == Sampler.Value.CLAMP",
97 magnification.getWrapS() == Sampler.Value.CLAMP);
98 _RS_ASSERT("magnification.getWrapT() == Sampler.Value.CLAMP",
99 magnification.getWrapT() == Sampler.Value.CLAMP);
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_sampler.java40 b.setWrapS(Sampler.Value.CLAMP);
41 b.setWrapT(Sampler.Value.CLAMP);
87 _RS_ASSERT("minification.getWrapS() == Sampler.Value.CLAMP",
88 minification.getWrapS() == Sampler.Value.CLAMP);
89 _RS_ASSERT("minification.getWrapT() == Sampler.Value.CLAMP",
90 minification.getWrapT() == Sampler.Value.CLAMP);
98 _RS_ASSERT("magnification.getWrapS() == Sampler.Value.CLAMP",
99 magnification.getWrapS() == Sampler.Value.CLAMP);
100 _RS_ASSERT("magnification.getWrapT() == Sampler.Value.CLAMP",
101 magnification.getWrapT() == Sampler.Value.CLAMP);
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGradientStopsActivity.java48 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);
H A DBigGradientActivity.java45 0xff333333, Shader.TileMode.CLAMP));
H A DShadersActivity.java85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP);
H A DGradientsActivity.java124 Shader.TileMode.CLAMP);
205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP);
207 new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF }, null, Shader.TileMode.CLAMP);
H A DFramebufferBlendActivity.java58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DSampler.java49 CLAMP (4), enum constant in enum:Sampler.Value
117 b.setWrapS(Value.CLAMP);
118 b.setWrapT(Value.CLAMP);
137 b.setWrapS(Value.CLAMP);
138 b.setWrapT(Value.CLAMP);
157 b.setWrapS(Value.CLAMP);
158 b.setWrapT(Value.CLAMP);
307 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) {
315 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) {
/frameworks/base/rs/java/android/renderscript/
H A DSampler.java36 CLAMP (4), enum constant in enum:Sampler.Value
107 b.setWrapS(Value.CLAMP);
108 b.setWrapT(Value.CLAMP);
131 b.setWrapS(Value.CLAMP);
132 b.setWrapT(Value.CLAMP);
155 b.setWrapS(Value.CLAMP);
156 b.setWrapT(Value.CLAMP);
351 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) {
359 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DMinimizedDockShadow.java67 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
72 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
77 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP));
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP,
99 Shader.TileMode.CLAMP);
/frameworks/base/graphics/java/android/graphics/
H A DShader.java61 CLAMP (0), enum constant in enum:Shader.TileMode
/frameworks/layoutlib/bridge/src/android/graphics/
H A DShader_Delegate.java72 return TileMode.CLAMP;
H A DGradient_Delegate.java131 case CLAMP:
162 case CLAMP:
H A DBitmapShader_Delegate.java213 case CLAMP:
233 case CLAMP:
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DImageGradientColorizer.java76 new float[] {0.0f, 0.4f, 1.0f}, Shader.TileMode.CLAMP);
98 new float[] {0.0f, 0.6f, 1.0f}, Shader.TileMode.CLAMP);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DCircularBitmapDrawable.java136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP);
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java280 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
282 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
/frameworks/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java88 new float[]{0f, radius / outerArcRadius, 1f}, TileMode.CLAMP));
90 TileMode.CLAMP));
116 colors, new float[]{0f, 1 / 3f, 1f}, TileMode.CLAMP));
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h34 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) macro
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java109 Shader.TileMode.CLAMP));
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP);
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DRoundedBitmapDrawable.java390 mBitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java118 COLORS.get(1), TileMode.CLAMP);
129 COLORS.get(2), COLORS.get(3), TileMode.CLAMP);

Completed in 159 milliseconds

12