Home
last modified time | relevance | path

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

12

/frameworks/rs/java/tests/RSTest_CompatLib/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/rs/java/tests/RsTest/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/rs/java/tests/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()
/frameworks/support/v8/renderscript/java/src/android/support/v8/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/base/tools/layoutlib/bridge/src/android/view/
DRectShadowPainter.java66 new float[]{0f, radius / outerArcRadius, 1f}, TileMode.CLAMP)); in paintShadow()
68 TileMode.CLAMP)); in paintShadow()
94 colors, new float[]{0f, 1 / 3f, 1f}, TileMode.CLAMP)); in paintShadow()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java248 = new BitmapShader(mFrontBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
250 = new BitmapShader(mBackBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in FrameSequenceDrawable()
/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/tools/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java131 case CLAMP: in getGradientColor()
162 case CLAMP: in getGradientColor()
DBitmapShader_Delegate.java210 case CLAMP: in getCoordinate()
230 case CLAMP: in getCoordinate()
DShader_Delegate.java69 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/graphics/java/android/graphics/
DShader.java47 CLAMP (0), enumConstant
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java383 mBitmapShader = new BitmapShader(mBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in RoundedBitmapDrawable()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalGridView.java149 Color.TRANSPARENT, Color.BLACK, Shader.TileMode.CLAMP); in setFadingLeftEdgeLength()
215 Color.BLACK, Color.TRANSPARENT, Shader.TileMode.CLAMP); in setFadingRightEdgeLength()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java258 , Shader.TileMode.CLAMP)); in buildShadowCorners()
266 new float[]{0f, .5f, 1f}, Shader.TileMode.CLAMP)); in buildShadowCorners()
/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()
/frameworks/av/media/img_utils/src/
DDngUtils.cpp301 normalizedOCX = CLAMP(normalizedOCX, 0, 1); in addWarpRectilinearForMetadata()
302 normalizedOCY = CLAMP(normalizedOCY, 0, 1); in addWarpRectilinearForMetadata()

12