/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texcombine.c | 394 dot = CLAMP(dot, 0.0F, 1.0F); 406 dot = CLAMP(dot, 0.0F, 1.0F); 676 /* apply LOD bias, but don't clamp yet */ 677 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias, 694 lambda[i] = CLAMP(l, min, max); 734 /* apply LOD bias, but don't clamp yet */ 735 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias, 752 lambda[i] = CLAMP(l, min, max);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_state.c | 566 x1 = CLAMP(x1, 0, ctx->DrawBuffer->Width - 1); 567 y1 = CLAMP(y1, 0, ctx->DrawBuffer->Height - 1); 568 x2 = CLAMP(x2, 0, ctx->DrawBuffer->Width - 1); 569 y2 = CLAMP(y2, 0, ctx->DrawBuffer->Height - 1); 631 width = CLAMP(width, 1, 15); 650 point_size = CLAMP(point_size, 1, 256); [all...] |
i915_state.c | 539 x1 = CLAMP(x1, 0, ctx->DrawBuffer->Width - 1); 540 y1 = CLAMP(y1, 0, ctx->DrawBuffer->Height - 1); 541 x2 = CLAMP(x2, 0, ctx->DrawBuffer->Width - 1); 542 y2 = CLAMP(y2, 0, ctx->DrawBuffer->Height - 1); 611 width = CLAMP(width, 1, 0xf); 629 point_size = CLAMP(point_size, 1, 255); [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texcombine.c | 386 dot = CLAMP(dot, 0.0F, 1.0F); 398 dot = CLAMP(dot, 0.0F, 1.0F); 668 /* apply LOD bias, but don't clamp yet */ 669 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias, 686 lambda[i] = CLAMP(l, min, max); 726 /* apply LOD bias, but don't clamp yet */ 727 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias, 744 lambda[i] = CLAMP(l, min, max);
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_execute.c | 482 const GLboolean clamp = inst->SaturateMode == SATURATE_ZERO_ONE; local 495 if (clamp) { 496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F); 497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F); 498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F); 499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F); [all...] |
/external/mesa3d/src/mesa/program/ |
prog_execute.c | 482 const GLboolean clamp = inst->SaturateMode == SATURATE_ZERO_ONE; local 495 if (clamp) { 496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F); 497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F); 498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F); 499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_state.c | 244 b = CLAMP(b, -256, 255); 274 minlod = CLAMP(minlod, 0, 16 * 11); 275 maxlod = CLAMP(maxlod, 0, 16 * 11); 924 int line_width = CLAMP((int)(rasterizer->line_width * 2), 1, 0xf); 933 int point_size = CLAMP((int) rasterizer->point_size, 1, 0xff); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
blend.c | 559 ctx->Color.BlendColor[0] = CLAMP(tmp[0], 0.0F, 1.0F); 560 ctx->Color.BlendColor[1] = CLAMP(tmp[1], 0.0F, 1.0F); 561 ctx->Color.BlendColor[2] = CLAMP(tmp[2], 0.0F, 1.0F); 562 ctx->Color.BlendColor[3] = CLAMP(tmp[3], 0.0F, 1.0F); 604 ctx->Color.AlphaRef = CLAMP(ref, 0.0F, 1.0F); 777 _mesa_ClampColorARB(GLenum target, GLenum clamp) 783 if (clamp != GL_TRUE && clamp != GL_FALSE && clamp != GL_FIXED_ONLY_ARB) { 784 _mesa_error(ctx, GL_INVALID_ENUM, "glClampColorARB(clamp)"); [all...] |
pixel.c | 138 GLfloat val = CLAMP(values[i], 0.0F, 1.0F); 474 values[i] = (GLushort) CLAMP(ctx->PixelMaps.ItoI.Map[i], 0.0, 65535.); 479 values[i] = (GLushort) CLAMP(ctx->PixelMaps.StoS.Map[i], 0.0, 65535.);
|
stencil.c | 156 ref = CLAMP( ref, 0, stencilMax ); 209 ref = CLAMP( ref, 0, stencilMax ); 496 ref = CLAMP(ref, 0, stencilMax);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state.c | 244 b = CLAMP(b, -256, 255); 274 minlod = CLAMP(minlod, 0, 16 * 11); 275 maxlod = CLAMP(maxlod, 0, 16 * 11); 924 int line_width = CLAMP((int)(rasterizer->line_width * 2), 1, 0xf); 933 int point_size = CLAMP((int) rasterizer->point_size, 1, 0xff); [all...] |
/external/mesa3d/src/mesa/main/ |
blend.c | 559 ctx->Color.BlendColor[0] = CLAMP(tmp[0], 0.0F, 1.0F); 560 ctx->Color.BlendColor[1] = CLAMP(tmp[1], 0.0F, 1.0F); 561 ctx->Color.BlendColor[2] = CLAMP(tmp[2], 0.0F, 1.0F); 562 ctx->Color.BlendColor[3] = CLAMP(tmp[3], 0.0F, 1.0F); 604 ctx->Color.AlphaRef = CLAMP(ref, 0.0F, 1.0F); 777 _mesa_ClampColorARB(GLenum target, GLenum clamp) 783 if (clamp != GL_TRUE && clamp != GL_FALSE && clamp != GL_FIXED_ONLY_ARB) { 784 _mesa_error(ctx, GL_INVALID_ENUM, "glClampColorARB(clamp)"); [all...] |
pixel.c | 138 GLfloat val = CLAMP(values[i], 0.0F, 1.0F); 474 values[i] = (GLushort) CLAMP(ctx->PixelMaps.ItoI.Map[i], 0.0, 65535.); 479 values[i] = (GLushort) CLAMP(ctx->PixelMaps.StoS.Map[i], 0.0, 65535.);
|
stencil.c | 156 ref = CLAMP( ref, 0, stencilMax ); 209 ref = CLAMP( ref, 0, stencilMax ); 496 ref = CLAMP(ref, 0, stencilMax);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 158 bitmapDrawable.setTileModeX(TileMode.CLAMP); 159 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 167 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX());
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
evergreen_compute_internal.c | 592 S_03C004_MIN_LOD(S_FIXED(CLAMP(sampler->state.min_lod, 0, 15), 8)) | 593 S_03C004_MAX_LOD(S_FIXED(CLAMP(sampler->state.max_lod, 0, 15), 8)) 596 S_03C008_LOD_BIAS(S_FIXED(CLAMP(sampler->state.lod_bias, -16, 16), 8)) |
|
/external/mesa3d/src/gallium/drivers/r600/ |
evergreen_compute_internal.c | 592 S_03C004_MIN_LOD(S_FIXED(CLAMP(sampler->state.min_lod, 0, 15), 8)) | 593 S_03C004_MAX_LOD(S_FIXED(CLAMP(sampler->state.max_lod, 0, 15), 8)) 596 S_03C008_LOD_BIAS(S_FIXED(CLAMP(sampler->state.lod_bias, -16, 16), 8)) |
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 251 Color.TRANSPARENT, TileMode.CLAMP); 254 Color.TRANSPARENT, TileMode.CLAMP);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_format_other.c | 407 value |= (uint16_t)(((int8_t)(CLAMP(src[0], -1, 1) * 0x7f)) & 0xff) ; 408 value |= (uint16_t)((((int8_t)(CLAMP(src[1], -1, 1) * 0x7f)) & 0xff) << 8) ;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_other.c | 407 value |= (uint16_t)(((int8_t)(CLAMP(src[0], -1, 1) * 0x7f)) & 0xff) ; 408 value |= (uint16_t)((((int8_t)(CLAMP(src[1], -1, 1) * 0x7f)) & 0xff) << 8) ;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardWidgetFrame.java | 435 mGradientColor, 0, Shader.TileMode.CLAMP); 437 mGradientColor, 0, Shader.TileMode.CLAMP);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 203 0, .3f, .31f, 1}, Shader.TileMode.CLAMP); 220 0, .3f, .31f, 1}, Shader.TileMode.CLAMP);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationCloning.java | 120 50f, color, darkColor, Shader.TileMode.CLAMP);
|
AnimationLoading.java | 144 50f, color, darkColor, Shader.TileMode.CLAMP);
|
AnimatorEvents.java | 184 50f, color, darkColor, Shader.TileMode.CLAMP);
|