/external/iptables/extensions/ |
libipt_TCPMSS.man | 32 -j TCPMSS --clamp-mss-to-pmtu 38 .B "--clamp-mss-to-pmtu" 39 Automatically clamp MSS value to (path_MTU - 40).
|
libip6t_TCPMSS.man | 32 -j TCPMSS --clamp-mss-to-pmtu 38 .B "--clamp-mss-to-pmtu" 39 Automatically clamp MSS value to (path_MTU - 60).
|
libip6t_TCPMSS.c | 26 " --clamp-mss-to-pmtu automatically clamp MSS value to (path_MTU - 60)\n", 32 { "clamp-mss-to-pmtu", 0, 0, '2' }, 98 printf("TCPMSS clamp to PMTU "); 111 printf("--clamp-mss-to-pmtu ");
|
libipt_TCPMSS.c | 26 " --clamp-mss-to-pmtu automatically clamp MSS value to (path_MTU - 40)\n", 32 { "clamp-mss-to-pmtu", 0, 0, '2' }, 98 printf("TCPMSS clamp to PMTU "); 111 printf("--clamp-mss-to-pmtu ");
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
FloatUtils.java | 71 * Clamp a float to a lower bound 76 * : the minimum value to use to clamp 87 * Clamp a float to an upper bound 92 * : the maximum value to use to clamp 105 * Clamp a float to a lower and upper bound 110 * : the minimum value to use to clamp 112 * : the maximum value to use to clamp 115 public static final float clamp(float val, float minVal, float maxVal) { method in class:FloatUtils 125 * Clamp an integer to a lower and upper bound 130 * : the minimum value to use to clamp 135 public static final int clamp(int val, int minVal, int maxVal) { method in class:FloatUtils [all...] |
Shared.java | 67 public static int clamp(int value, int min, int max) { method in class:Shared 76 public static long clamp(long value, long min, long max) { method in class:Shared
|
AdaptiveBackgroundTexture.java | 165 int argb = in[inPos + FloatUtils.clamp(i, 0, maxX)]; 180 int prevX = FloatUtils.clamp(x - RADIUS, 0, maxX); 181 int nextX = FloatUtils.clamp(x + RADIUS + 1, 0, maxX);
|
DisplayItem.java | 277 maxSlots = FloatUtils.clamp(maxSlots, 0, GridLayer.MAX_ITEMS_PER_SLOT); 281 mStartOffset = FloatUtils.clamp(mStartOffset, 0, maxSlots); 302 maxSeedVal = (int)FloatUtils.clamp(maxSeedVal, 2, maxSlots - 1); 303 float startOffset = FloatUtils.clamp(mStartOffset, 0, maxSlots - maxSeedVal - 1); 306 seedFactor = FloatUtils.clamp(seedFactor, 0.0f, 1.0f);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ComposeShaderTest.java | 52 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 54 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 93 BitmapShader blueShader = new BitmapShader(greenBitmap, TileMode.CLAMP, TileMode.CLAMP); 94 BitmapShader redShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP);
|
RadialGradientTest.java | 49 Shader.TileMode.CLAMP); 68 Shader.TileMode.CLAMP); 92 // clamp to end color
|
/frameworks/base/libs/rs/scriptc/ |
rs_math.rsh | 45 extern float __attribute__((overloadable)) clamp(float, float, float); 46 extern float2 __attribute__((overloadable)) clamp(float2, float2, float2); 47 extern float3 __attribute__((overloadable)) clamp(float3, float3, float3); 48 extern float4 __attribute__((overloadable)) clamp(float4, float4, float4); 49 extern float8 __attribute__((overloadable)) clamp(float8, float8, float8); 50 extern float16 __attribute__((overloadable)) clamp(float16, float16, float16); 51 extern float __attribute__((overloadable)) clamp(float, float, float); 52 extern float2 __attribute__((overloadable)) clamp(float2, float, float); 53 extern float3 __attribute__((overloadable)) clamp(float3, float, float); 54 extern float4 __attribute__((overloadable)) clamp(float4, float, float) [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Sampler.java | 41 CLAMP (4); 90 if (v == Value.WRAP || v == Value.CLAMP) { 98 if (v == Value.WRAP || v == Value.CLAMP) { 106 if (v == Value.WRAP || v == Value.CLAMP) {
|
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
macros.sgml | 149 <!-- ##### MACRO CLAMP ##### --> 158 CLAMP(5, 10, 15) is 10. 161 CLAMP(15, 5, 10) is 10. 164 CLAMP(20, 15, 25) is 20. 169 @x: the value to clamp.
|
/external/webkit/WebCore/html/canvas/ |
WebGLFloatArray.h | 55 if (isnan(value)) // Clamp NaN to 0 80 // Clamp NaN to 0
|
/external/webkit/WebCore/platform/chromium/ |
ScrollbarThemeChromiumLinux.cpp | 78 static SkScalar clamp(SkScalar value, SkScalar min, SkScalar max) function in namespace:WebCore 89 color[1] = clamp(hsv[1] + saturateAmount, 0.0, 1.0); 90 color[2] = clamp(hsv[2] + brightenAmount, 0.0, 1.0); 123 SkScalar minDiff = clamp((hsv1[1] + hsv2[1]) * 1.2, 0.2, 0.5); 124 SkScalar diff = clamp(fabs(hsv1[2] - hsv2[2]) / 2, minDiff, 0.5);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Vertices.java | 61 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP, 62 Shader.TileMode.CLAMP);
|
/external/skia/src/core/ |
SkEdgeClipper.cpp | 98 // so we just clamp against the top 117 // so we just clamp against the bottom 172 // so we just clamp against the left 188 // so we just clamp against the right 295 // so we just clamp against the top 314 // so we just clamp against the bottom 368 // so we just clamp against the left 385 // so we just clamp against the right
|
SkQuadClipper.cpp | 103 // so we just clamp against the top 120 // so we just clamp against the bottom
|
/external/skia/src/views/ |
SkParsePaint.cpp | 30 if ((index = dom.findList(node, "tile-mode", "clamp,repeat,mirror")) >= 0) 47 if ((index = dom.findList(node, "tile-mode", "clamp,repeat,mirror")) >= 0)
|
/frameworks/base/libs/ui/ |
GraphicBufferAllocator.cpp | 74 static inline uint32_t clamp(uint32_t c) { function in namespace:android 82 w = clamp(w); 83 h = clamp(h);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragController.java | 324 final int screenX = clamp((int)ev.getRawX(), 0, mDisplayMetrics.widthPixels); 325 final int screenY = clamp((int)ev.getRawY(), 0, mDisplayMetrics.heightPixels); 372 final int screenX = clamp((int)ev.getRawX(), 0, mDisplayMetrics.widthPixels); 373 final int screenY = clamp((int)ev.getRawY(), 0, mDisplayMetrics.heightPixels); 499 * Get the screen size so we can clamp events to the screen size so even if 508 * Clamp val to be >= min and < max. 510 private static int clamp(int val, int min, int max) { method in class:DragController
|
/frameworks/base/camera/libcameraservice/ |
FakeCamera.cpp | 41 clamp(int x) function in namespace:android 80 * Y0 = clamp[ Y/kYy + 16 ] 145 * Cr0 = clamp(Cr + 128) 160 pTable[i] = (uint8_t) clamp( i/kRr + 128.5 ); 171 * Cb0 = clamp(Cb + 128) 187 pTable[i] = (uint8_t) clamp( i/kBb + 128.5 );
|
/external/quake/quake/src/QW/client/ |
r_aliasa.s | 140 jz Lsavelight // no need to clamp if only ambient lit, because 149 // // clamp; because we limited the minimum ambient and shading light, we 150 // // don't have to clamp low light, just bright
|
/external/quake/quake/src/WinQuake/ |
r_aliasa.s | 140 jz Lsavelight // no need to clamp if only ambient lit, because 149 // // clamp; because we limited the minimum ambient and shading light, we 150 // // don't have to clamp low light, just bright
|
/bionic/libc/bionic/ |
hash.h | 51 this we have to clamp the result in some places to [0,2^32); no
|