OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stretchSize
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/hwui/
Patch.cpp
128
uint32_t
stretchSize
= 0;
130
stretchSize
+= mXDivs[i] - mXDivs[i - 1];
132
const float xStretchTex =
stretchSize
;
133
const float fixed = bitmapWidth -
stretchSize
;
139
uint32_t
stretchSize
= 0;
141
stretchSize
+= mYDivs[i] - mYDivs[i - 1];
143
const float yStretchTex =
stretchSize
;
144
const float fixed = bitmapHeight -
stretchSize
;
/external/skia/src/utils/
SkNinePatch.cpp
163
int
stretchSize
= 0;
165
stretchSize
+= xDivs[i] - xDivs[i-1];
167
const SkScalar fixed = SkIntToScalar(bitmap.width() -
stretchSize
);
169
stretchX = (bounds.width() - fixed) /
stretchSize
;
175
int
stretchSize
= 0;
177
stretchSize
+= yDivs[i] - yDivs[i-1];
179
const SkScalar fixed = SkIntToScalar(bitmap.height() -
stretchSize
);
181
stretchY = (bounds.height() - fixed) /
stretchSize
;
Completed in 1651 milliseconds