HomeSort by relevance Sort by last modified time
    Searched refs:dpi (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /external/chromium_org/printing/
print_settings_initializer_gtk.cc 32 int dpi = gtk_print_settings_get_resolution(settings); local
33 if (dpi) {
36 gtk_page_setup_get_paper_width(page_setup, GTK_UNIT_INCH) * dpi,
37 gtk_page_setup_get_paper_height(page_setup, GTK_UNIT_INCH) * dpi);
39 gtk_page_setup_get_left_margin(page_setup, GTK_UNIT_INCH) * dpi,
40 gtk_page_setup_get_top_margin(page_setup, GTK_UNIT_INCH) * dpi,
41 gtk_page_setup_get_page_width(page_setup, GTK_UNIT_INCH) * dpi,
42 gtk_page_setup_get_page_height(page_setup, GTK_UNIT_INCH) * dpi);
45 dpi = kPixelsPerInch;
46 double page_width_in_pixel = kLetterWidthInch * dpi;
    [all...]
pdf_render_settings.h 17 // int - render dpi
24 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate)
25 : PdfRenderSettingsBase(area, dpi, autorotate) {}
29 int dpi() const { return b; } function in class:printing::PdfRenderSettings
print_settings_initializer_win.cc 22 int dpi = GetDeviceCaps(hdc, LOGPIXELSX); local
23 print_settings->set_dpi(dpi);
27 // No printer device is known to advertise different dpi in X and Y axis; even
28 // the fax device using the 200x100 dpi setting. It's ought to break so many
30 // support different dpi settings in X and Y axis.
31 DCHECK_EQ(dpi, GetDeviceCaps(hdc, LOGPIXELSY));
51 DCHECK_EQ(print_settings->device_units_per_inch(), dpi);
print_settings_initializer_mac.cc 38 int dpi = best_resolution.hRes; local
39 print_settings->set_dpi(dpi);
41 DCHECK_EQ(dpi, best_resolution.vRes);
  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestNoCompatActivity.java 17 package com.google.android.test.dpi;
  /frameworks/base/tests/FrameworkPerf/
Android.mk 12 LOCAL_AAPT_FLAGS = -c 120dpi,240dpi,160dpi,161dpi,320dpi,nodpi
  /frameworks/base/tests/DpiTest/
Android.mk 10 LOCAL_AAPT_FLAGS = -c 120dpi,240dpi,160dpi,nodpi
  /cts/tests/tests/dpi/src/android/dpi/cts/
DefaultManifestAttributesSdkTest.java 17 package android.dpi.cts;
27 return "com.android.cts.dpi";
OrientationActivity.java 17 package android.dpi.cts;
  /external/chromium_org/remoting/host/
screen_resolution.h 14 // Describes a screen's dimensions and DPI.
19 const webrtc::DesktopVector& dpi);
28 // The vertical and horizontal DPI of the screen.
29 const webrtc::DesktopVector& dpi() const { return dpi_; } function in class:remoting::ScreenResolution
35 // Returns true if the dimensions and DPI of the two resolutions match.
screen_resolution.cc 20 const webrtc::DesktopVector& dpi)
22 dpi_(dpi) {
25 DCHECK_GE(dpi.x(), 0);
26 DCHECK_GE(dpi.y(), 0);
34 // Scale the screen dimensions to new DPI.
47 return dimensions_.equals(other.dimensions()) && dpi_.equals(other.dpi());
chromoting_param_traits.cc 95 ParamTraits<webrtc::DesktopVector>::Write(m, p.dpi());
104 webrtc::DesktopVector dpi; local
106 !ParamTraits<webrtc::DesktopVector>::Read(m, iter, &dpi)) {
110 dpi.x() < 0 || dpi.y() < 0) {
113 *r = remoting::ScreenResolution(size, dpi);
123 p.dpi().x(), p.dpi().y()));
  /external/valgrind/main/coregrind/m_demangle/
cp-demangle.c 3528 struct d_print_info dpi; local
    [all...]
  /external/gcc-demangle/
cp-demangle.c 3393 struct d_print_info dpi; local
    [all...]
  /external/chromium_org/android_webview/native/
aw_pdf_exporter.cc 61 // Converts from 1/1000 of inches to device units using DPI.
62 int MilsToDots(int val, int dpi) {
63 return static_cast<int>(ConvertUnitDouble(val, 1000.0, dpi));
70 int dpi = Java_AwPdfExporter_getDpi(env, obj); local
74 int width_in_dots = MilsToDots(width, dpi);
75 int height_in_dots = MilsToDots(height, dpi);
82 print_settings_->set_dpi(dpi);
91 MilsToDots(Java_AwPdfExporter_getLeftMargin(env, obj), dpi);
93 MilsToDots(Java_AwPdfExporter_getRightMargin(env, obj), dpi);
95 MilsToDots(Java_AwPdfExporter_getTopMargin(env, obj), dpi);
    [all...]
  /cts/tests/tests/dpi/
Android.mk 43 LOCAL_SRC_FILES := src/android/dpi/cts/DefaultManifestAttributesTest.java
49 LOCAL_MODULE := android.cts.dpi
  /external/chromium_org/chrome/utility/cloud_print/
pwg_encoder.h 21 bool EncodePage(const BitmapImage& image, const uint32 dpi,
25 void EncodePageHeader(const BitmapImage& image, const uint32 dpi,
  /cts/tests/
Android.mk 32 -c 320dpi -c 240dpi -c 160dpi -c 32dpi \
33 --preferred-configurations 320dpi --preferred-configurations 240dpi \
34 --preferred-configurations 160dpi --preferred-configurations 32dpi
  /cts/tests/tests/dpi2/
Android.mk 21 # We use the DefaultManifestAttributesTest from the android.cts.dpi package.
22 LOCAL_STATIC_JAVA_LIBRARIES := android.cts.dpi ctstestrunner
  /cts/tests/tests/dpi2/src/android/dpi2/cts/
DefaultManifestAttributesCupcakeTest.java 24 import android.dpi.cts.DefaultManifestAttributesTest;
  /cts/tests/tests/holo/
Android.mk 31 -c 640dpi -c 480dpi -c 400dpi -c 320dpi -c 240dpi -c 213dpi -c 160dpi -c 120dpi
  /external/chromium_org/android_webview/common/
print_messages.cc 19 dpi(0),
45 dpi = 0;
  /external/chromium_org/ppapi/api/dev/
pp_print_settings_dev.idl 39 int32_t dpi;
  /external/chromium_org/chrome/renderer/
mock_printer.cc 24 void UpdateMargins(int margins_type, int dpi, PrintMsg_Print_Params* params) {
26 params->content_size.SetSize(static_cast<int>((8.5 * dpi)),
27 static_cast<int>((11.0 * dpi)));
31 params->content_size.SetSize(static_cast<int>((8.0 * dpi)),
32 static_cast<int>((10.5 * dpi)));
33 params->margin_left = static_cast<int>(0.25 * dpi);
34 params->margin_top = static_cast<int>(0.25 * dpi);
36 params->content_size.SetSize(static_cast<int>((7.9 * dpi)),
37 static_cast<int>((10.4 * dpi)));
38 params->margin_left = static_cast<int>(0.30 * dpi);
    [all...]
  /external/chromium_org/chrome/renderer/printing/
print_web_view_helper_win.cc 37 // Generate a memory-based metafile. It will use the current screen's DPI.
46 // Calculate the dpi adjustment.
51 params.params.dpi);
94 // Calculate the dpi adjustment.
96 print_params.dpi);
135 int dpi = static_cast<int>(params.dpi); local
136 // Calculate the actual page size and content area in dpi.
140 dpi)),
142 dpi)));
    [all...]

Completed in 193 milliseconds

1 2 3 4 5 6 7