Home
last modified time | relevance | path

Searched refs:CLAMP (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_sampler.java38 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
39 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
86 minification.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
88 minification.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
97 magnification.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
99 magnification.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
110 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
119 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
130 anisotropy.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
132 anisotropy.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_sampler.java40 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
41 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
88 minification.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
90 minification.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
99 magnification.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
101 magnification.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
112 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
121 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
132 anisotropy.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
134 anisotropy.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_sampler.java41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
42 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
90 minification.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
92 minification.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
101 magnification.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
103 magnification.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
114 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
123 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
134 anisotropy.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
136 anisotropy.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientStopsActivity.java48 colors, positions, Shader.TileMode.CLAMP); in onDraw()
58 colors, positions, Shader.TileMode.CLAMP); in onDraw()
68 colors, positions, Shader.TileMode.CLAMP); in onDraw()
77 colors, null, Shader.TileMode.CLAMP); in onDraw()
101 colors, null, Shader.TileMode.CLAMP); in onDraw()
109 colors, null, Shader.TileMode.CLAMP); in onDraw()
117 colors, null, Shader.TileMode.CLAMP); in onDraw()
DShadersActivity.java85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ShadersView()
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP); in ShadersView()
DGradientsActivity.java124 Shader.TileMode.CLAMP); in GradientView()
205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ShadersView()
207 new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF }, null, Shader.TileMode.CLAMP); in ShadersView()
DBigGradientActivity.java45 0xff333333, Shader.TileMode.CLAMP)); in onDraw()
DFramebufferBlendActivity.java58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in BlendView()
/frameworks/rs/support/java/src/androidx/renderscript/
DSampler.java49 CLAMP (4), enumConstant
117 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
118 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
137 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
138 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR()
157 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
158 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
307 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapS()
315 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapT()
/frameworks/base/rs/java/android/renderscript/
DSampler.java36 CLAMP (4), enumConstant
107 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
108 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
131 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
132 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR()
155 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
156 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
351 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapS()
359 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapT()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java67 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); in updatePaint()
72 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); in updatePaint()
77 new float[] { 0f, 0.35f, 0.6f, 1f }, Shader.TileMode.CLAMP)); in updatePaint()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java280 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
282 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java88 new float[]{0f, radius / outerArcRadius, 1f}, TileMode.CLAMP)); in paintShadow()
90 TileMode.CLAMP)); in paintShadow()
116 colors, new float[]{0f, 1 / 3f, 1f}, TileMode.CLAMP)); in paintShadow()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, in drawBitmapWithCircleOnCanvas()
99 Shader.TileMode.CLAMP); in drawBitmapWithCircleOnCanvas()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java74 new float[] {0.0f, 0.4f, 1.0f}, Shader.TileMode.CLAMP); in colorize()
96 new float[] {0.0f, 0.6f, 1.0f}, Shader.TileMode.CLAMP); in colorize()
/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java147 case CLAMP: in getGradientColor()
178 case CLAMP: in getGradientColor()
DBitmapShader_Delegate.java213 case CLAMP: in getCoordinate()
233 case CLAMP: in getCoordinate()
DShader_Delegate.java73 return TileMode.CLAMP; in getTileMode()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ResourceModifiers()
97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); in ResourceModifiers()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in onDrawCircularBitmap()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java258 , Shader.TileMode.CLAMP)); in buildShadowCorners()
266 new float[]{0f, .5f, 1f}, Shader.TileMode.CLAMP)); in buildShadowCorners()
DTaskViewThumbnail.java186 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in setThumbnail()
/frameworks/base/graphics/java/android/graphics/
DShader.java90 CLAMP (0), enumConstant
/frameworks/av/media/img_utils/include/img_utils/
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/
DKeyguardUserSwitcherScrim.java109 Shader.TileMode.CLAMP)); in updatePaint()

12