/external/pdfium/fpdfsdk/ |
D | fpdf_transformpage_embeddertest.cpp | 217 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local 219 EXPECT_EQ(200, page_width); in TEST_F() 222 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F() 238 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local 240 EXPECT_EQ(90, page_width); in TEST_F() 243 CompareBitmap(bitmap.get(), page_width, page_height, kCroppedMD5); in TEST_F() 264 const int page_width = static_cast<int>(FPDF_GetPageWidth(saved_page)); in TEST_F() local 266 EXPECT_EQ(90, page_width); in TEST_F() 269 CompareBitmap(bitmap.get(), page_width, page_height, kCroppedMD5); in TEST_F() 296 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local [all …]
|
D | fpdf_editpage_embeddertest.cpp | 29 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local 31 EXPECT_EQ(200, page_width); in TEST_F() 34 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F() 44 const int page_width = static_cast<int>(FPDF_GetPageWidth(page)); in TEST_F() local 46 EXPECT_EQ(300, page_width); in TEST_F() 49 CompareBitmap(bitmap.get(), page_width, page_height, kRotatedMD5); in TEST_F() 64 const int page_width = static_cast<int>(FPDF_GetPageWidth(saved_page)); in TEST_F() local 66 EXPECT_EQ(300, page_width); in TEST_F() 69 CompareBitmap(bitmap.get(), page_width, page_height, kRotatedMD5); in TEST_F()
|
D | fpdf_view_embeddertest.cpp | 784 const int page_width = static_cast<int>(FPDF_GetPageWidthF(page)); in TEST_F() local 786 EXPECT_EQ(200, page_width); in TEST_F() 790 CompareBitmap(bitmap.get(), page_width, page_height, kOriginalMD5); in TEST_F() 792 FS_RECTF page_rect{0, 0, page_width, page_height}; in TEST_F() 797 TestRenderPageBitmapWithMatrix(page, page_width, page_height, identity_matrix, in TEST_F() 801 FS_RECTF middle_of_page_rect{page_width / 4, page_height / 4, in TEST_F() 802 page_width * 3 / 4, page_height * 3 / 4}; in TEST_F() 803 TestRenderPageBitmapWithMatrix(page, page_width, page_height, identity_matrix, in TEST_F() 808 TestRenderPageBitmapWithMatrix(page, page_width, page_height, in TEST_F() 815 TestRenderPageBitmapWithMatrix(page, page_width, page_height, in TEST_F() [all …]
|
D | fpdf_view.cpp | 346 double page_width = pPage->GetPageWidth(); in GetScaling() local 348 if (page_width < kEpsilonSize || page_height < kEpsilonSize) in GetScaling() 352 *scale_x = size_x / page_width; in GetScaling() 355 *scale_x = size_y / page_width; in GetScaling()
|
/external/libcups/filter/ |
D | rastertopwg.c | 44 page_width, /* Actual page width */ in main() local 127 page_width = (unsigned)(inheader.cupsPageSize[0] * inheader.HWResolution[0] / 72.0); in main() 132 linesize = (page_width * inheader.cupsBitsPerPixel + 7) / 8; in main() 135 if (page_left > page_width || page_top > page_height || page_bottom > page_height) in main() 197 outheader.cupsWidth = page_width; in main() 299 outheader.cupsInteger[3] = page_width - page_left - in main() 304 outheader.cupsInteger[5] = page_width - page_left; in main() 331 outheader.cupsInteger[3] = page_width - page_left - in main() 336 outheader.cupsInteger[5] = page_width - page_left; in main() 363 outheader.cupsInteger[3] = page_width - page_left - in main() [all …]
|
/external/skqp/tools/ |
D | using_skia_and_harfbuzz.cpp | 104 DoubleOption page_width = DoubleOption("-w", "Page width", 600.0f); member 121 &page_width, &page_height, &title, &author, &subject, in Config() 145 config->page_width.value - 2*config->left_margin.value); in WriteLine() 156 SkDoubleToScalar(config->page_width.value), in WriteLine()
|
/external/skia/tools/ |
D | using_skia_and_harfbuzz.cpp | 104 DoubleOption page_width = DoubleOption("-w", "Page width", 600.0f); member 121 &page_width, &page_height, &title, &author, &subject, in Config() 144 config->page_width.value - 2*config->left_margin.value, &textBlobBuilder); in WriteLine() 156 SkDoubleToScalar(config->page_width.value), in WriteLine()
|
/external/autotest/client/cros/ |
D | touch_playback_test_base.py | 439 page_width = self._DEFAULT_SCROLL * 5 440 cmd = 'document.body.style.%s = "%dpx"' % ('%s', page_width)
|