/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationTest.java | 17 package android.dpi.cts; 47 assertTrue("Screen density must be at least 100 dpi: " + density, density >= 100.0d);
|
DefaultManifestAttributesTest.java | 17 package android.dpi.cts;
|
ConfigurationScreenLayoutTest.java | 17 package android.dpi.cts;
|
/external/chromium_org/remoting/client/jni/ |
jni_frame_consumer.h | 49 const webrtc::DesktopVector& dpi) OVERRIDE;
|
jni_frame_consumer.cc | 91 const webrtc::DesktopVector& dpi) {
|
/frameworks/rs/ |
rsg.spec | 60 param uint32_t dpi 67 param uint32_t dpi
|
rs.h | 41 RsSurfaceConfig sc, uint32_t dpi);
|
rsFont.cpp | 42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) { 63 mDpi = dpi; 65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); 296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 303 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { 309 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); 866 float fontSize, uint32_t dpi) { 867 Font *newFont = Font::create(rsc, name, fontSize, dpi); 876 float fontSize, uint32_t dpi, 878 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length) [all...] |
/external/iproute2/tc/ |
f_rsvp.c | 46 struct tc_rsvp_gpi *pi = dir ? &pinfo->dpi : &pinfo->spi; 203 if (pinfo.dpi.mask || pinfo.protocol) 352 if (pinfo && pinfo->dpi.mask) { 354 fprintf(f, "%s ", sprint_spi(&pinfo->dpi, 1, b2)); 358 if (pinfo && pinfo->dpi.mask) { 360 fprintf(f, "session [NONE]%s ", sprint_spi(&pinfo->dpi, 1, b2));
|
/external/chromium_org/android_webview/browser/renderer_host/ |
print_manager.cc | 101 params->dpi = settings.dpi(); 106 // Currently hardcoded at 72dpi. See PrintSettings' constructor.
|
/external/chromium_org/remoting/host/ |
desktop_resizer_mac.cc | 16 // TODO(jamiewalch): Use the correct DPI for the mode: http://crbug.com/172405. 111 << resolution.dpi().x() << "x" << resolution.dpi().y() << " dpi)"; 141 // TODO(jamiewalch): Get the correct DPI: http://crbug.com/172405.
|
desktop_resizer_linux.cc | 48 int PixelsToMillimeters(int pixels, int dpi) { 49 DCHECK(dpi != 0); 53 // (pixels / dpi) is the length in inches. Multiplying by 56 return static_cast<int>(kMillimetersPerInch * pixels / dpi); 59 // TODO(jamiewalch): Use the correct DPI for the mode: http://crbug.com/172405. 259 // TODO(lambroslambrou): Use the DPI from client size information.
|
/external/qemu/hw/ |
goldfish_fb.c | 62 int dpi; member in struct:goldfish_fb_state 87 qemu_put_be32(f, s->dpi); 125 s->dpi = qemu_get_be32(f); 214 pixels_to_mm(int pixels, int dpi) 216 /* dpi = dots / inch 217 ** inch = dots / dpi 218 ** mm / 25.4 = dots / dpi 219 ** mm = (dots * 25.4)/dpi 221 return (int)(0.5 + 25.4 * pixels / dpi); 576 ret = pixels_to_mm( ds_get_width(s->ds), s->dpi ); [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
RenderScriptGL.java | 188 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; local 195 mSurfaceConfig.mSamplesQ, dpi);
|
RenderScript.java | 178 int samplesMin, int samplesPref, float samplesQ, int dpi); 184 int samplesMin, int samplesPref, float samplesQ, int dpi) { 188 samplesMin, samplesPref, samplesQ, dpi); 593 native int rsnFontCreateFromFile(int con, String fileName, float size, int dpi); 594 synchronized int nFontCreateFromFile(String fileName, float size, int dpi) { 596 return rsnFontCreateFromFile(mContext, fileName, size, dpi); 598 native int rsnFontCreateFromAssetStream(int con, String name, float size, int dpi, int assetStream); 599 synchronized int nFontCreateFromAssetStream(String name, float size, int dpi, int assetStream) { 601 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); 603 native int rsnFontCreateFromAsset(int con, AssetManager mgr, String path, float size, int dpi); [all...] |
/packages/apps/Launcher3/protos/ |
backup.proto | 75 required int32 dpi = 1;
|
/external/chromium/chrome/common/ |
print_messages.h | 19 // in pixels according to dpi. 25 // The y-offset of the printable area, in pixels according to dpi. 28 // The x-offset of the printable area, in pixels according to dpi. 32 IPC_STRUCT_MEMBER(double, dpi) 40 // Desired apparent dpi on paper.
|
/external/chromium_org/remoting/client/plugin/ |
pepper_view.h | 54 const webrtc::DesktopVector& dpi) OVERRIDE;
|
/external/chromium_org/win8/metro_driver/ |
print_handler.h | 56 static void OnLogicalDpiChanged(float dpi);
|
/external/dropbear/libtommath/etc/ |
makefile | 50 *.da *.dyn *.dpi *~
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherBackupHelper.java | 456 final int dpi = mContext.getResources().getDisplayMetrics().densityDpi; local 497 byte[] blob = packIcon(dpi, icon); 541 Log.d(TAG, "unpacked " + res.dpi + " dpi icon"); 560 icon, res.dpi); 588 final int dpi = mContext.getResources().getDisplayMetrics().densityDpi; local 630 byte[] blob = packWidget(dpi, previewLoader, mIconCache, provider); [all...] |
/external/chromium_org/chrome/browser/printing/ |
printing_message_filter.cc | 72 params->dpi = settings.dpi(); 77 // Currently hardcoded at 72dpi. See PrintSettings' constructor. 350 if (printer_query->cookie() && printer_query->settings().dpi()) { 390 !printer_query->settings().dpi()) { 400 if (params.params.dpi && params.params.document_cookie) { 464 if (printer_query->cookie() && printer_query->settings().dpi()) {
|
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
display_info_provider_chromeos.cc | 28 // TODO(hshi): determine the DPI of the screen. 375 const float dpi = display.device_scale_factor() * kDpi96; local 376 unit->dpi_x = dpi; 377 unit->dpi_y = dpi;
|
/external/chromium_org/remoting/codec/ |
video_encoder_vpx.cc | 163 if (!frame.dpi().is_zero()) { 164 packet->mutable_format()->set_x_dpi(frame.dpi().x()); 165 packet->mutable_format()->set_y_dpi(frame.dpi().y());
|
/external/chromium_org/printing/ |
printing_context_no_system_dialog.cc | 68 // Convert this to pixels based on the dpi. 80 if (settings_.dpi() == 0)
|