OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clampToInteger
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
FloatSize.h
172
return IntSize(
clampToInteger
(roundf(p.width())),
clampToInteger
(roundf(p.height())));
177
return IntSize(
clampToInteger
(floorf(p.width())),
clampToInteger
(floorf(p.height())));
182
return IntSize(
clampToInteger
(ceilf(p.width())),
clampToInteger
(ceilf(p.height())));
187
return IntPoint(
clampToInteger
(floorf(p.width())),
clampToInteger
(floorf(p.height())));
FloatPoint.h
214
return IntPoint(
clampToInteger
(roundf(p.x())),
clampToInteger
(roundf(p.y())));
219
return IntPoint(
clampToInteger
(floorf(p.x())),
clampToInteger
(floorf(p.y())));
224
return IntPoint(
clampToInteger
(ceilf(p.x())),
clampToInteger
(ceilf(p.y())));
229
return IntSize(
clampToInteger
(floorf(p.x())),
clampToInteger
(floorf(p.y())));
IntRect.cpp
41
: m_location(
clampToInteger
(r.x()),
clampToInteger
(r.y()))
42
, m_size(
clampToInteger
(r.width()),
clampToInteger
(r.height()))
/external/chromium_org/third_party/WebKit/Source/wtf/tests/
MathExtras.cpp
105
EXPECT_NEAR(
clampToInteger
(maxInt), maxInt, 1);
106
EXPECT_EQ(
clampToInteger
(minInt), minInt);
108
EXPECT_NEAR(
clampToInteger
(overflowInt), maxInt, 1);
109
EXPECT_EQ(
clampToInteger
(underflowInt), minInt);
122
EXPECT_EQ(
clampToInteger
(maxInt), maxInt);
123
EXPECT_EQ(
clampToInteger
(minInt), minInt);
125
EXPECT_EQ(
clampToInteger
(overflowInt), maxInt);
126
EXPECT_EQ(
clampToInteger
(underflowInt), minInt);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
CounterDirectives.h
71
m_incrementValue =
clampToInteger
((double)m_incrementValue + value);
/external/chromium_org/third_party/WebKit/Source/wtf/
MathExtras.h
260
inline int
clampToInteger
(double value)
275
inline int
clampToInteger
(float value)
280
inline int
clampToInteger
(unsigned x)
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
NativeImageSkia.cpp
192
SkISize scaledImageSize = SkISize::Make(
clampToInteger
(roundf(imageSize.width() * scaleX)),
193
clampToInteger
(roundf(imageSize.height() * scaleY)));
/external/chromium_org/third_party/WebKit/Source/core/platform/
LayoutUnit.h
76
v.m_value =
clampToInteger
(ceilf(value * kFixedPointDenominator));
83
v.m_value =
clampToInteger
(floorf(value * kFixedPointDenominator));
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
ThemeMac.mm
536
int heightDiff =
clampToInteger
(bounds.size.height - backgroundBounds.size.height);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderText.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSParser-in.cpp
[
all
...]
Completed in 161 milliseconds