Home
last modified time | relevance | path

Searched refs:Clamp (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/content/browser/android/
Dedge_effect.cc61 T Clamp(T value, T low, T high) { in Clamp() function
107 ui_resource_layer_->SetOpacity(Clamp(opacity, 0.f, 1.f)); in Update()
173 edge_alpha_ = edge_alpha_start_ = Clamp(distance, kPullEdgeBegin, kMaxAlpha); in Pull()
175 Clamp(distance * kPullDistanceEdgeFactor, kHeldEdgeScaleY, 1.f); in Pull()
189 Clamp(glow_scale_y_ + glow_change * kPullDistanceGlowFactor, in Pull()
222 velocity = Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity); in Absorb()
239 edge_alpha_finish_ = Clamp(velocity * kVelocityEdgeFactor, 0.f, 1.f); in Absorb()
242 Clamp(velocity * kVelocityEdgeFactor, kHeldEdgeScaleY, 1.f); in Absorb()
251 glow_alpha_finish_ = Clamp( in Absorb()
Dedge_effect_l.cc52 T Clamp(T value, T low, T high) { in Clamp() function
155 velocity = Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity); in Absorb()
172 glow_alpha_finish_ = Clamp( in Absorb()
262 glow_->SetOpacity(Clamp(glow_alpha_, 0.f, 1.f)); in ApplyToLayers()
264 const float displacement = Clamp(displacement_, 0.f, 1.f) - 0.5f; in ApplyToLayers()
/external/chromium_org/v8/src/
Dbignum.cc52 Clamp(); in AssignUInt64()
99 Clamp(); in AssignDecimalString()
138 Clamp(); in AssignHexString()
215 Clamp(); in SubtractBignum()
389 Clamp(); in Square()
508 Clamp(); in DivideModuloIntBignum()
651 void Bignum::Clamp() { in Clamp() function in v8::internal::Bignum
748 Clamp(); in SubtractTimes()
Dbignum.h93 void Clamp();
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
Dbignum.cc75 Clamp(); in AssignUInt64()
122 Clamp(); in AssignDecimalString()
161 Clamp(); in AssignHexString()
238 Clamp(); in SubtractBignum()
412 Clamp(); in Square()
531 Clamp(); in DivideModuloIntBignum()
674 void Bignum::Clamp() { in Clamp() function in WTF::double_conversion::Bignum
764 Clamp(); in SubtractTimes()
Dbignum.h118 void Clamp();
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
Dgoose.cc56 velocity_.Clamp(kMaxSpeed); in SimulationTick()
116 alignment.Clamp(kMaxTurningForce); in DesiredVector()
165 new_direction.Clamp(kMaxTurningForce); in TurnTowardsTarget()
Dvector2.h55 void Clamp(double max_mag) { in Clamp() function
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8Binding.cpp200 if (configuration == Clamp) in toSmallerInt()
223 if (configuration == Clamp) in toSmallerInt()
249 if (configuration == Clamp) in toSmallerUInt()
272 if (configuration == Clamp) in toSmallerUInt()
350 if (configuration == Clamp) in toInt32()
380 if (configuration == Clamp) in toUInt32()
403 if (configuration == Clamp) in toUInt32()
421 ASSERT(configuration != Clamp); in toInt64()
472 if (configuration == Clamp) in toUInt64()
495 if (configuration == Clamp) in toUInt64()
/external/chromium_org/media/base/simd/
Dconvert_rgb_to_yuv_sse2.cc53 static inline int Clamp(int value) { in Clamp() function
66 return Clamp(y + 16); in RGBToY()
74 return Clamp(u + 128); in RGBToU()
82 return Clamp(v + 128); in RGBToV()
/external/chromium_org/tools/telemetry/telemetry/util/
Dstatistics.py10 def Clamp(value, low=0.0, high=1.0): function
160 discrepancy = Clamp((discrepancy-inv_sample_count) / (1.0-inv_sample_count))
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/x86/
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/WebKit/Source/modules/vibration/
DNavigatorVibration.idl26 boolean vibrate([Clamp] unsigned long pattern);
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
Drow_common.cc34 static __inline uint32 Clamp(int32 val) { in Clamp() function
52 static __inline uint32 Clamp(int32 val) {
694 dst_argb[0] = Clamp(sb); in ARGBColorMatrixRow_C()
695 dst_argb[1] = Clamp(sg); in ARGBColorMatrixRow_C()
696 dst_argb[2] = Clamp(sr); in ARGBColorMatrixRow_C()
697 dst_argb[3] = Clamp(sa); in ARGBColorMatrixRow_C()
961 *b = Clamp((int32)((u * UB + v * VB) - (BB) + y1) >> 6); in YuvPixel()
962 *g = Clamp((int32)((u * UG + v * VG) - (BG) + y1) >> 6); in YuvPixel()
963 *r = Clamp((int32)((u * UR + v * VR) - (BR) + y1) >> 6); in YuvPixel()
2212 dst_argb[0] = Clamp((int32)(db)); in ARGBPolynomialRow_C()
[all …]
/external/chromium_org/third_party/libyuv/source/
Drow_common.cc34 static __inline uint32 Clamp(int32 val) { in Clamp() function
52 static __inline uint32 Clamp(int32 val) {
694 dst_argb[0] = Clamp(sb); in ARGBColorMatrixRow_C()
695 dst_argb[1] = Clamp(sg); in ARGBColorMatrixRow_C()
696 dst_argb[2] = Clamp(sr); in ARGBColorMatrixRow_C()
697 dst_argb[3] = Clamp(sa); in ARGBColorMatrixRow_C()
961 *b = Clamp((int32)((u * UB + v * VB) - (BB) + y1) >> 6); in YuvPixel()
962 *g = Clamp((int32)((u * UG + v * VG) - (BG) + y1) >> 6); in YuvPixel()
963 *r = Clamp((int32)((u * UR + v * VR) - (BR) + y1) >> 6); in YuvPixel()
2212 dst_argb[0] = Clamp((int32)(db)); in ARGBPolynomialRow_C()
[all …]
/external/mesa3d/src/gallium/docs/source/cso/
Dsampler.rst25 * ``PIPE_TEX_WRAP_CLAMP_TO_EDGE``: Clamp coord to edge of texture, the border
27 * ``PIPE_TEX_WRAP_CLAMP_TO_BORDER``: Clamp coord to border of texture, the
/external/chromium_org/third_party/mesa/src/src/gallium/docs/source/cso/
Dsampler.rst25 * ``PIPE_TEX_WRAP_CLAMP_TO_EDGE``: Clamp coord to edge of texture, the border
27 * ``PIPE_TEX_WRAP_CLAMP_TO_BORDER``: Clamp coord to border of texture, the
/external/chromium_org/ui/native_theme/
Dnative_theme_base.cc1000 color[1] = Clamp(hsv[1] + saturate_amount, 0.0, 1.0); in SaturateAndBrighten()
1001 color[2] = Clamp(hsv[2] + brighten_amount, 0.0, 1.0); in SaturateAndBrighten()
1047 SkScalar NativeThemeBase::Clamp(SkScalar value, in Clamp() function in ui::NativeThemeBase
1081 SkScalar min_diff = Clamp((hsv1[1] + hsv2[1]) * 1.2f, 0.28f, 0.5f); in OutlineColor()
1082 SkScalar diff = Clamp(fabs(hsv1[2] - hsv2[2]) / 2, min_diff, 0.5f); in OutlineColor()
Dnative_theme_base.h189 SkScalar Clamp(SkScalar value,
/external/chromium_org/third_party/WebKit/Source/modules/quota/
DStorageQuota.idl43 [CallWith=ScriptState] Promise requestPersistentQuota([Clamp] unsigned long long newQuota);
/external/webp/src/enc/
Dframe.c58 static float Clamp(float v, float min, float max) { in Clamp() function
74 s->dq = Clamp(dq, -30.f, 30.f); in ComputeNextQ()
77 s->q = Clamp(s->q + s->dq, 0.f, 100.f); in ComputeNextQ()
531 q = Clamp(q, 0.f, 100.f); in SetLoopParams()
/external/chromium_org/third_party/libwebp/enc/
Dframe.c58 static float Clamp(float v, float min, float max) { in Clamp() function
74 s->dq = Clamp(dq, -30.f, 30.f); in ComputeNextQ()
77 s->q = Clamp(s->q + s->dq, 0.f, 100.f); in ComputeNextQ()
531 q = Clamp(q, 0.f, 100.f); in SetLoopParams()
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_popup_controller.mm41 CGFloat Clamp(CGFloat value, CGFloat min, CGFloat max) {
328 Clamp(NSWidth(extensionFrame_),
331 Clamp(NSHeight(extensionFrame_),
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.format.txt40 - Clamp-to-edge wrap mode
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocket.idl66 [RaisesException] void close([Clamp] optional unsigned short code, optional DOMString reason);

12