OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stretchY
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/utils/
SkNinePatch.cpp
59
//
stretchy
areas and scale the fixed areas to fit within the target bounds.
153
SkScalar stretchX = 0,
stretchY
= 0;
174
stretchY
= (bounds.height() - fixed) / stretchSize;
176
stretchY
= -bounds.height() / fixed;
184
SkScalarToFloat(stretchX), SkScalarToFloat(
stretchY
));
218
if (
stretchY
>= 0) {
220
vy +=
stretchY
;
224
} else { // shrink fixed sections, and collaps
stretchy
sections
228
vy += SkScalarMul(ty, -
stretchY
);
/frameworks/base/libs/hwui/
Patch.cpp
70
float
stretchY
= 0.0f;
95
stretchY
= yStretch / yStretchTex;
114
y2 = y1 + floorf(segment *
stretchY
+ 0.5f);
Completed in 55 milliseconds