/external/webkit/WebCore/html/canvas/ |
WebGLUnsignedShortArray.h | 56 if (isnan(value)) // Clamp NaN to 0
|
/external/webkit/WebCore/wml/ |
WMLElement.cpp | 79 // Clamp tabindex to the range of 'short' to match Firefox's behavior.
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 308 tmx == null ? Shader.TileMode.CLAMP : tmx, 309 tmy == null ? Shader.TileMode.CLAMP : tmy); 392 setTileModeXY(Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
|
/external/bluetooth/glib/glib/ |
gmacros.h | 199 #undef CLAMP 200 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
|
/packages/apps/Camera/src/com/android/camera/ui/ |
ZoomController.java | 82 position = Util.clamp(position, 279 index = Util.clamp(index, 0, mRatios.length - 1);
|
/external/quake/quake/src/QW/client/ |
r_alias.c | 442 // clamp; because we limited the minimum ambient and shading light, we 443 // don't have to clamp low light, just bright 496 // clamp; because we limited the minimum ambient and shading light, we 497 // don't have to clamp low light, just bright 636 // to clamp off the bottom
|
d_sprite.c | 70 // calculate the initial s/z, t/z, 1/z, s, and t and clamp 132 // can't step off polygon), clamp, calculate s and t steps across
|
/external/quake/quake/src/WinQuake/ |
r_alias.cpp | 442 // clamp; because we limited the minimum ambient and shading light, we
443 // don't have to clamp low light, just bright
496 // clamp; because we limited the minimum ambient and shading light, we
497 // don't have to clamp low light, just bright
621 // to clamp off the bottom
|
d_sprite.cpp | 70 // calculate the initial s/z, t/z, 1/z, s, and t and clamp
132 // can't step off polygon), clamp, calculate s and t steps across
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 241 bitmapDrawable.setTileModeX(TileMode.CLAMP); 242 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX()); 250 assertEquals(TileMode.CLAMP, bitmapDrawable.getTileModeX());
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 31 import static android.renderscript.Sampler.Value.CLAMP; 288 sampleBuilder.setWrapS(CLAMP); 289 sampleBuilder.setWrapT(CLAMP);
|
/external/skia/tests/ |
MathTest.cpp | 274 int clamp = SkClampMax(value, max); local 276 REPORTER_ASSERT(reporter, clamp == clamp2);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
PopupMenu.java | 96 int clampedX = Shared.clamp(x, 0, outerWidth - width); 98 mPopupTexture.mTriangleX = Shared.clamp(widthOver2 + (x - clampedX) - triangleWidthOver2, POPUP_TRIANGLE_X_MARGIN, width
|
/packages/apps/Launcher2/res/raw/ |
allapps.rs | 81 g_AttractionTable[8] = -20.0f; // dup 7 to avoid a clamp later 90 g_FrictionTable[8] = 10.0f; // dup 7 to avoid a clamp later
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 122 // clamp to end color
|
/external/dropbear/libtommath/ |
bn_fast_mp_montgomery_reduce.c | 158 /* set the max used and clamp */
|
bn_mp_karatsuba_mul.c | 112 /* only need to clamp the lower words since by definition the
|
/external/quake/quake/src/QW/ |
qw2do.txt | 37 x- clamp topcolor/bottomcolor (crashes glqwcl with high bogus values)
|
/external/v8/benchmarks/ |
crypto.js | 238 this.clamp(); 242 // (protected) clamp off excess high words 354 r.clamp(); 374 r.clamp(); 410 r.clamp(); 426 r.clamp(); 447 r.clamp(); 499 r.clamp(); 597 x.clamp(); 644 BigInteger.prototype.clamp = bnpClamp [all...] |
/external/webkit/SunSpider/tests/v8-v4/ |
v8-crypto.js | 230 this.clamp(); 234 // (protected) clamp off excess high words 346 r.clamp(); 366 r.clamp(); 402 r.clamp(); 418 r.clamp(); 439 r.clamp(); 491 r.clamp(); 589 x.clamp(); 636 BigInteger.prototype.clamp = bnpClamp [all...] |
/external/webkit/WebCore/html/ |
HTMLTableCellElement.cpp | 45 // Clamp rowspan at 8k to match Firefox.
|
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
RecentApplicationsBackground.java | 93 // This doesn't clamp to this view's bounds, which is what we want,
|
/external/bluetooth/glib/gobject/ |
gparamspecs.c | 83 value->data[0].v_int = CLAMP (value->data[0].v_int, cspec->minimum, cspec->maximum); 112 value->data[0].v_uint = CLAMP (value->data[0].v_uint, uspec->minimum, uspec->maximum); 159 value->data[0].v_int = CLAMP (value->data[0].v_int, ispec->minimum, ispec->maximum); 199 value->data[0].v_uint = CLAMP (value->data[0].v_uint, uspec->minimum, uspec->maximum); 244 value->data[0].v_long = CLAMP (value->data[0].v_long, lspec->minimum, lspec->maximum); 288 value->data[0].v_ulong = CLAMP (value->data[0].v_ulong, uspec->minimum, uspec->maximum); 328 value->data[0].v_int64 = CLAMP (value->data[0].v_int64, lspec->minimum, lspec->maximum); 368 value->data[0].v_uint64 = CLAMP (value->data[0].v_uint64, uspec->minimum, uspec->maximum); 542 value->data[0].v_float = CLAMP (value->data[0].v_float, fspec->minimum, fspec->maximum); 585 value->data[0].v_double = CLAMP (value->data[0].v_double, dspec->minimum, dspec->maximum) [all...] |
/dalvik/docs/ |
porting-proto.c.txt | 95 * ARM lib doesn't clamp large values or NaN the way we want on these two.
|
/development/simulator/app/ |
DeviceWindow.cpp | 115 * Clamp the mouse movement to the window bounds.
|