Home
last modified time | relevance | path

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

123

/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/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/base/tests/graphics/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()
DBitmapTransitionView.kt42 private val mShaderA = BitmapShader(mImageA, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in <lambda>()
43 private val mShaderB = BitmapShader(mImageB, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in <lambda>()
DRenderEffectViewActivity.kt57 Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in <lambda>()
75 val blurEffect = RenderEffect.createBlurEffect(10f, 10f, Shader.TileMode.CLAMP) in <lambda>()
DShadersActivity.java85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ShadersView()
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP); in ShadersView()
DBigGradientActivity.java45 0xff333333, Shader.TileMode.CLAMP)); in onDraw()
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()
DColorFiltersMutateActivity.java89 Shader.TileMode.CLAMP, in BitmapsView()
90 Shader.TileMode.CLAMP)); in BitmapsView()
DRenderEffectShaderActivity.java74 Shader.TileMode.CLAMP in onLayout()
DFramebufferBlendActivity.java58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in BlendView()
DBlurActivity.java83 Shader.TileMode.CLAMP in onLayout()
/frameworks/rs/support/java/src/androidx/renderscript/
DSampler.java54 CLAMP (4), enumConstant
122 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
123 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
142 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
143 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR()
162 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
163 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
312 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapS()
320 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapT()
/frameworks/base/rs/java/android/renderscript/
DSampler.java41 CLAMP (4), enumConstant
112 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
113 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
136 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
137 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR()
160 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
161 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR_MIP_LINEAR()
356 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapS()
364 if (v == Value.WRAP || v == Value.CLAMP || v == Value.MIRRORED_REPEAT) { in setWrapT()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DRadialGlow.kt39 glow = RadialGradient(0f, 0f, 100.dp(), glowColor, bgColor, Shader.TileMode.CLAMP)
50 min(w, h).toFloat(), glowColor, bgColor, Shader.TileMode.CLAMP) in onSizeChanged()
DGlowingCard.kt65 Shader.TileMode.CLAMP) in onDraw()
DBlingyNotification.kt80 Shader.TileMode.CLAMP) in onSizeChanged()
/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/core/java/com/android/internal/widget/
DNotificationRowIconView.java117 new BitmapShader(squared, BitmapShader.TileMode.CLAMP, in makeCircularDrawable()
118 BitmapShader.TileMode.CLAMP)); in makeCircularDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionTaskView.kt127 BitmapShader(thumbnailBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP) in refresh()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in onDrawCircularBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java106 Shader.TileMode.CLAMP)); in updatePaint()
/frameworks/base/graphics/java/android/graphics/
DShader.java89 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/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowIconDrawable.kt91 RenderEffect.createBlurEffect(radius, radius, Shader.TileMode.CLAMP) in createShadowRenderEffect()

123