Home | History | Annotate | Download | only in tools

Lines Matching refs:height

13 /// Make layout more consistent by scaling image to 240 height, 360 width,
15 static int compute_image_height(int height, int width) {
17 if (height < retval) {
18 retval = height;
20 float scale = (float) retval / height;
23 retval = static_cast<int>(height * scale);
83 diff.fBase.fBitmap.height()));
163 static void print_image_cell(SkFILEWStream* stream, const SkString& path, int height) {
168 stream->writeText("\" height=\"");
169 stream->writeDecAsText(height);
201 int height = compute_image_height(resource.fBitmap.height(), resource.fBitmap.width());
203 print_image_cell(stream, resource.fFilename, height);
209 print_image_cell(stream, resource.fFullPath, height);