Searched refs:Clamp (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/vibration/
H A DNavigatorVibration.idl26 boolean vibrate([Clamp] unsigned long pattern);
/external/chromium_org/third_party/WebKit/Source/modules/quota/
H A DStorageQuota.idl43 [CallWith=ScriptState] Promise requestPersistentQuota([Clamp] unsigned long long newQuota);
/external/chromium_org/content/browser/android/
H A Dedge_effect.cc61 T Clamp(T value, T low, T high) { function in namespace:content::__anon6968
107 ui_resource_layer_->SetOpacity(Clamp(opacity, 0.f, 1.f));
173 edge_alpha_ = edge_alpha_start_ = Clamp(distance, kPullEdgeBegin, kMaxAlpha);
175 Clamp(distance * kPullDistanceEdgeFactor, kHeldEdgeScaleY, 1.f);
189 Clamp(glow_scale_y_ + glow_change * kPullDistanceGlowFactor,
222 velocity = Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity);
239 edge_alpha_finish_ = Clamp(velocity * kVelocityEdgeFactor, 0.f, 1.f);
242 Clamp(velocity * kVelocityEdgeFactor, kHeldEdgeScaleY, 1.f);
251 glow_alpha_finish_ = Clamp(
H A Dedge_effect_l.cc52 T Clamp(T value, T low, T high) { function in namespace:content::__anon6969
155 velocity = Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity);
172 glow_alpha_finish_ = Clamp(
262 glow_->SetOpacity(Clamp(glow_alpha_, 0.f, 1.f));
264 const float displacement = Clamp(displacement_, 0.f, 1.f) - 0.5f;
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dgoose.cc56 velocity_.Clamp(kMaxSpeed);
116 alignment.Clamp(kMaxTurningForce);
165 new_direction.Clamp(kMaxTurningForce);
H A Dvector2.h53 // Clamp a vector to a maximum magnitude. Works on the vector in-place.
55 void Clamp(double max_mag) { function in class:Vector2
/external/chromium_org/third_party/WebKit/Source/bindings/
H A DIDLExtendedAttributes.txt40 Clamp
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocket.idl66 [RaisesException] void close([Clamp] optional unsigned short code, optional DOMString reason);
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dbignum.cc75 Clamp();
122 Clamp();
161 Clamp();
238 Clamp();
412 Clamp();
531 Clamp();
674 void Bignum::Clamp() {
764 Clamp();
H A Dbignum.h118 void Clamp();
/external/chromium_org/v8/src/
H A Dbignum.cc52 Clamp();
99 Clamp();
138 Clamp();
215 Clamp();
389 Clamp();
508 Clamp();
651 void Bignum::Clamp() {
748 Clamp();
H A Dbignum.h93 void Clamp();
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8Binding.cpp200 if (configuration == Clamp)
223 if (configuration == Clamp)
249 if (configuration == Clamp)
272 if (configuration == Clamp)
350 if (configuration == Clamp)
380 if (configuration == Clamp)
403 if (configuration == Clamp)
421 ASSERT(configuration != Clamp);
472 if (configuration == Clamp)
495 if (configuration == Clamp)
[all...]
/external/chromium_org/media/base/simd/
H A Dconvert_rgb_to_yuv_sse2.cc53 static inline int Clamp(int value) { function in namespace:media
66 return Clamp(y + 16);
74 return Clamp(u + 128);
82 return Clamp(v + 128);
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dstatistics.py10 def Clamp(value, low=0.0, high=1.0): function
11 """Clamp a value between some low and high value."""
160 discrepancy = Clamp((discrepancy-inv_sample_count) / (1.0-inv_sample_count))
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/x86/
H A Dvp9_high_intrapred_sse2.asm289 ;Clamp to the bit-depth
333 ;Clamp to the bit-depth
382 ;Clamp to the bit-depth
440 ;Clamp these values to the bit-depth
458 ;Clamp these values to the bit-depth
/external/chromium_org/third_party/libwebp/enc/
H A Dframe.c58 static float Clamp(float v, float min, float max) { function
74 s->dq = Clamp(dq, -30.f, 30.f);
77 s->q = Clamp(s->q + s->dq, 0.f, 100.f);
531 q = Clamp(q, 0.f, 100.f);
/external/chromium_org/ui/native_theme/
H A Dnative_theme_base.h189 SkScalar Clamp(SkScalar value,
H A Dnative_theme_base.cc1000 color[1] = Clamp(hsv[1] + saturate_amount, 0.0, 1.0);
1001 color[2] = Clamp(hsv[2] + brighten_amount, 0.0, 1.0);
1047 SkScalar NativeThemeBase::Clamp(SkScalar value, function in class:ui::NativeThemeBase
1081 SkScalar min_diff = Clamp((hsv1[1] + hsv2[1]) * 1.2f, 0.28f, 0.5f);
1082 SkScalar diff = Clamp(fabs(hsv1[2] - hsv2[2]) / 2, min_diff, 0.5f);
/external/webp/src/enc/
H A Dframe.c58 static float Clamp(float v, float min, float max) { function
74 s->dq = Clamp(dq, -30.f, 30.f);
77 s->q = Clamp(s->q + s->dq, 0.f, 100.f);
531 q = Clamp(q, 0.f, 100.f);
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Drow_common.cc34 static __inline uint32 Clamp(int32 val) { function
52 static __inline uint32 Clamp(int32 val) {
694 dst_argb[0] = Clamp(sb);
695 dst_argb[1] = Clamp(sg);
696 dst_argb[2] = Clamp(sr);
697 dst_argb[3] = Clamp(sa);
961 *b = Clamp((int32)((u * UB + v * VB) - (BB) + y1) >> 6);
962 *g = Clamp((int32)((u * UG + v * VG) - (BG) + y1) >> 6);
963 *r = Clamp((int32)((u * UR + v * VR) - (BR) + y1) >> 6);
2212 dst_argb[0] = Clamp((int3
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Drow_common.cc34 static __inline uint32 Clamp(int32 val) { function
52 static __inline uint32 Clamp(int32 val) {
694 dst_argb[0] = Clamp(sb);
695 dst_argb[1] = Clamp(sg);
696 dst_argb[2] = Clamp(sr);
697 dst_argb[3] = Clamp(sa);
961 *b = Clamp((int32)((u * UB + v * VB) - (BB) + y1) >> 6);
962 *g = Clamp((int32)((u * UG + v * VG) - (BG) + y1) >> 6);
963 *r = Clamp((int32)((u * UR + v * VR) - (BR) + y1) >> 6);
2212 dst_argb[0] = Clamp((int3
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/core/
H A DTestObject.idl448 // [Clamp]
449 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedShortArg);
450 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongArg);
/external/chromium_org/media/base/
H A Dyuv_convert_unittest.cc317 TEST(YUVConvertTest, Clamp) {
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp3153 class Clamp : public FloatFunc3 class in namespace:deqp::gls::BuiltinPrecisionTests::Functions
3171 return app<Clamp>(x, minVal, maxVal);
5121 addScalarFactory<Clamp>(*funcs);

Completed in 3871 milliseconds

12