Home
last modified time | relevance | path

Searched refs:size_px (Results 1 – 25 of 33) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/test/
H A Dweb_app_icon_test_utils.cc28 SkBitmap CreateSquareIcon(int size_px, SkColor solid_color) { in CreateSquareIcon() argument
30 bitmap.allocN32Pixels(size_px, size_px); in CreateSquareIcon()
36 int size_px, in AddGeneratedIcon() argument
38 (*icon_bitmaps)[size_px] = CreateSquareIcon(size_px, solid_color); in AddGeneratedIcon()
42 int size_px, in AddIconToIconsMap() argument
45 SkBitmap bitmap = CreateSquareIcon(size_px, solid_color); in AddIconToIconsMap()
105 for (int size_px : kIconSizes) { in ContainsOneIconOfEachSize() local
108 [&size_px](const std::pair<SquareSizePx, SkBitmap>& icon) { in ContainsOneIconOfEachSize()
109 return icon.first == size_px; in ContainsOneIconOfEachSize()
H A Dweb_app_icon_test_utils.h25 SkBitmap CreateSquareIcon(int size_px, SkColor solid_color);
28 int size_px,
32 int size_px,
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/services/printing/
H A Dpdf_thumbnailer.cc37 int width_px = params->size_px.width(); in GetThumbnail()
38 int height_px = params->size_px.height(); in GetThumbnail()
39 if (params->size_px.IsEmpty() || width_px > PdfThumbnailer::kMaxWidth || in GetThumbnail()
74 params->size_px, params->dpi, in GetThumbnail()
/dports/net-im/gajim/gajim-gajim-1.3.3/mac/
H A Dmakeicns.py18 size_px = scale * size_pt
23 '-w', str(size_px), '-h', str(size_px), '-y', '0',
/dports/graphics/aloadimage/arcan-0.6.1/src/wayland/
H A Dbondage.c330 cl->output_state.size_px[0] = width_px; in update_client_output()
333 cl->output_state.size_px[1] = height_px; in update_client_output()
349 (float)cl->output_state.size_px[0] / cl->output_state.density[0] * 10.0, in update_client_output()
350 (float)cl->output_state.size_px[1] / cl->output_state.density[1] * 10.0, in update_client_output()
359 cl->output_state.size_px[0], in update_client_output()
360 cl->output_state.size_px[1], in update_client_output()
379 cl->output_state.size_px[0], cl->output_state.size_px[1]); in update_client_output()
H A Dstructs.h78 int size_px[2]; member
/dports/sysutils/acfgfs/arcan-0.6.1/src/wayland/
H A Dbondage.c330 cl->output_state.size_px[0] = width_px; in update_client_output()
333 cl->output_state.size_px[1] = height_px; in update_client_output()
349 (float)cl->output_state.size_px[0] / cl->output_state.density[0] * 10.0, in update_client_output()
350 (float)cl->output_state.size_px[1] / cl->output_state.density[1] * 10.0, in update_client_output()
359 cl->output_state.size_px[0], in update_client_output()
360 cl->output_state.size_px[1], in update_client_output()
379 cl->output_state.size_px[0], cl->output_state.size_px[1]); in update_client_output()
H A Dstructs.h78 int size_px[2]; member
/dports/x11/aclip/arcan-0.6.1/src/wayland/
H A Dbondage.c330 cl->output_state.size_px[0] = width_px; in update_client_output()
333 cl->output_state.size_px[1] = height_px; in update_client_output()
349 (float)cl->output_state.size_px[0] / cl->output_state.density[0] * 10.0, in update_client_output()
350 (float)cl->output_state.size_px[1] / cl->output_state.density[1] * 10.0, in update_client_output()
359 cl->output_state.size_px[0], in update_client_output()
360 cl->output_state.size_px[1], in update_client_output()
379 cl->output_state.size_px[0], cl->output_state.size_px[1]); in update_client_output()
H A Dstructs.h78 int size_px[2]; member
/dports/x11/arcan-trayicon/arcan-0.6.1/src/wayland/
H A Dbondage.c330 cl->output_state.size_px[0] = width_px; in update_client_output()
333 cl->output_state.size_px[1] = height_px; in update_client_output()
349 (float)cl->output_state.size_px[0] / cl->output_state.density[0] * 10.0, in update_client_output()
350 (float)cl->output_state.size_px[1] / cl->output_state.density[1] * 10.0, in update_client_output()
359 cl->output_state.size_px[0], in update_client_output()
360 cl->output_state.size_px[1], in update_client_output()
379 cl->output_state.size_px[0], cl->output_state.size_px[1]); in update_client_output()
H A Dstructs.h78 int size_px[2]; member
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/client/
H A Dchromoting_client.cc192 webrtc::DesktopSize size_px(size_dips.width() * x_dpi / kDefaultDpi, in SetVideoLayout() local
194 user_interface_->SetDesktopSize(size_px, webrtc::DesktopVector(x_dpi, y_dpi)); in SetVideoLayout()
196 mouse_input_scaler_.set_input_size(size_px.width(), size_px.height()); in SetVideoLayout()
199 mouse_input_scaler_.set_output_size(size_px.width(), size_px.height()); in SetVideoLayout()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/
H A Dweb_app_migration_manager_browsertest.cc248 SquareSizePx size_px = size_px_and_bitmap.first; in IN_PROC_BROWSER_TEST_F() local
249 EXPECT_TRUE(base::Contains(icon_sizes_in_px, size_px)); in IN_PROC_BROWSER_TEST_F()
253 EXPECT_EQ(size_px, bitmap.width()); in IN_PROC_BROWSER_TEST_F()
254 EXPECT_EQ(size_px, bitmap.height()); in IN_PROC_BROWSER_TEST_F()
387 const SquareSizePx& size_px = icon_map.first; in ReadAndVerifyDownloadedShortcutsMenuIcons() local
388 EXPECT_TRUE(base::Contains(icon_sizes, size_px)); in ReadAndVerifyDownloadedShortcutsMenuIcons()
392 EXPECT_EQ(size_px, bitmap.width()); in ReadAndVerifyDownloadedShortcutsMenuIcons()
393 EXPECT_EQ(size_px, bitmap.height()); in ReadAndVerifyDownloadedShortcutsMenuIcons()
H A Dweb_app_icon_manager_unittest.cc425 for (int size_px : overwritten_sizes_px) { in TEST_F() local
426 icon_bitmaps.any[size_px] = CreateSquareIcon(size_px, SK_ColorGREEN); in TEST_F()
427 icon_bitmaps.maskable[size_px] = CreateSquareIcon(size_px, SK_ColorBLUE); in TEST_F()
704 return a.size_px == b.size_px && a.purpose == b.purpose; in operator ==()
H A Dweb_app_install_task_unittest.cc693 const int size_px = bitmap.width(); in TEST_F() local
694 EXPECT_EQ(0UL, written_sizes_px.count(size_px)); in TEST_F()
698 size_file_name.AppendASCII(base::StringPrintf("%i.png", size_px)); in TEST_F()
701 written_sizes_px.insert(size_px); in TEST_F()
708 for (int size_px : GetIconSizes()) in TEST_F() local
709 written_sizes_px.erase(size_px); in TEST_F()
H A Dweb_app_icon_manager.cc669 IconId icon_id(app_id, best_icon->purpose, best_icon->size_px); in ReadSmallestIcon()
690 IconId icon_id(app_id, best_icon->purpose, best_icon->size_px); in ReadSmallestCompressedIcon()
732 IconId icon_id(app_id, best_icon->purpose, best_icon->size_px); in ReadIconAndResize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/arc/
H A Dicon_decode_request.cc69 const gfx::Size size_px(dimension_px, dimension_px); in GetImageForScale() local
71 app_list::GetMdIconPadding(resized_bitmap, size_px); in GetImageForScale()
72 app_list::MaybeResizeAndPad(size_px, padding_px, &resized_bitmap); in GetImageForScale()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/vr/elements/
H A Dvector_icon.cc85 float size_px, in DrawVectorIcon() argument
94 PaintVectorIcon(canvas, icon, size_px, color); in DrawVectorIcon()
H A Dvector_icon.h36 float size_px,
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/thumbnail/generator/android/java/src/org/chromium/chrome/browser/thumbnail/generator/
H A Dthumbnail_cache_entry.proto28 optional int32 size_px = 2; field
/dports/graphics/milton/milton-1.9.1/src/
H A Dsdl_milton.cc600 v2l size_px = { window_width, window_height }; in milton_main() local
601 platform_point_to_pixel(&platform, &size_px); in milton_main()
603 platform.width = size_px.w; in milton_main()
604 platform.height = size_px.h; in milton_main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/services/printing/public/mojom/
H A Dpdf_thumbnailer.mojom14 gfx.mojom.Size size_px;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/components/
H A Dapp_icon_manager.h52 SquareSizePx size_px = 0; member
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/host/
H A Dclient_session.cc657 const webrtc::DesktopSize& size_px, in OnVideoSizeChanged() argument
662 DisplaySize::FromPixels(size_px.width(), size_px.height(), dpi.x()); in OnVideoSizeChanged()

12