OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stretchSize
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/libs/hwui/
Patch.cpp
126
uint32_t
stretchSize
= 0;
128
stretchSize
+= mXDivs[i] - mXDivs[i - 1];
130
const float xStretchTex =
stretchSize
;
131
const float fixed = bitmapWidth -
stretchSize
;
138
uint32_t
stretchSize
= 0;
140
stretchSize
+= mYDivs[i] - mYDivs[i - 1];
142
const float yStretchTex =
stretchSize
;
143
const float fixed = bitmapHeight -
stretchSize
;
/external/skia/legacy/src/utils/
SkNinePatch.cpp
156
int
stretchSize
= 0;
158
stretchSize
+= xDivs[i] - xDivs[i-1];
160
const SkScalar fixed = SkIntToScalar(bitmap.width() -
stretchSize
);
162
stretchX = (bounds.width() - fixed) /
stretchSize
;
168
int
stretchSize
= 0;
170
stretchSize
+= yDivs[i] - yDivs[i-1];
172
const SkScalar fixed = SkIntToScalar(bitmap.height() -
stretchSize
);
174
stretchY = (bounds.height() - fixed) /
stretchSize
;
/external/skia/src/utils/
SkNinePatch.cpp
156
int
stretchSize
= 0;
158
stretchSize
+= xDivs[i] - xDivs[i-1];
160
const SkScalar fixed = SkIntToScalar(bitmap.width() -
stretchSize
);
162
stretchX = (bounds.width() - fixed) /
stretchSize
;
168
int
stretchSize
= 0;
170
stretchSize
+= yDivs[i] - yDivs[i-1];
172
const SkScalar fixed = SkIntToScalar(bitmap.height() -
stretchSize
);
174
stretchY = (bounds.height() - fixed) /
stretchSize
;
Completed in 135 milliseconds