/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutActivity.java | 17 package android.dpi.cts;
|
DefaultManifestAttributesSdkTest.java | 17 package android.dpi.cts; 27 return "com.android.cts.dpi";
|
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;
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestNoCompatActivity.java | 17 package com.google.android.test.dpi;
|
DpiTestActivity.java | 17 package com.google.android.test.dpi; 57 "com.google.android.test.dpi", 0); 132 addLabelToRoot(root, "No-dpi resource drawable");
|
/frameworks/base/graphics/java/android/renderscript/ |
Font.java | 37 * faces, and different font sizes. During creation, the Android system quieries device's screen DPI to 146 int dpi = res.getDisplayMetrics().densityDpi; local 147 int fontId = rs.nFontCreateFromFile(path, pointSize, dpi); 164 int dpi = res.getDisplayMetrics().densityDpi; local 166 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); 185 int dpi = res.getDisplayMetrics().densityDpi; local 190 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset);
|
RenderScriptGL.java | 168 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; local 175 mSurfaceConfig.mSamplesQ, dpi);
|
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminSettings.java | 93 DeviceAdminInfo dpi = new DeviceAdminInfo(getActivity(), ri); local 94 if (dpi.isVisible() || mActiveAdmins.contains(dpi.getComponent())) { 95 mAvailableAdmins.add(dpi); 109 DeviceAdminInfo dpi = (DeviceAdminInfo)l.getAdapter().getItem(position); local 112 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, dpi.getComponent());
|
/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); 567 ret = pixels_to_mm( ds_get_width(s->ds), s->dpi ); [all...] |
/external/webkit/Source/WebCore/page/ |
Settings.cpp | 602 if (value == "device-dpi") { 604 } else if (value == "low-dpi") { 606 } else if (value == "medium-dpi") { 608 } else if (value == "high-dpi") { 611 int dpi = value.toInt(); local 612 if (dpi >= 70 && dpi <= 400) { 613 m_viewport_target_densitydpi = dpi; 686 void Settings::setViewportTargetDensityDpi(int dpi) 688 if (dpi < 0 || dpi > 400 [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
RenderThemeGtk.cpp | 420 return 96; // Default to 96 DPI. 422 float dpi = gdk_screen_get_resolution(screen); local 423 if (dpi <= 0) 425 return dpi;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutActionBar.java | 570 // compute average dpi of X and Y 572 float dpi = (config.getXDpi() + config.getYDpi()) / 2.f; local 574 // get the monitor dpi 587 mEditor.getCanvasControl().setScale(monitor / dpi, redraw);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFix.java | 504 int dpi = Integer.parseInt(dpiString); // Already validated, won't throw exception local 516 int dp = px * 160 / dpi;
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
AvdStartDialog.java | 60 * The Monitor dpi is stored in the settings if available. 177 l.setText("Monitor dpi:"); 316 // first the monitor dpi 317 String dpi = mMonitorDpi.getText(); local 318 if (dpi.length() > 0) { 319 sMonitorDpi = Integer.parseInt(dpi); 355 String dpi = prop.get("hw.lcd.density"); local 356 if (dpi != null && dpi.length() > 0) { 357 mDensity = Integer.parseInt(dpi); 376 int dpi = Integer.parseInt(dpiStr); local [all...] |
/development/ndk/platforms/android-3/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/external/valgrind/main/coregrind/m_demangle/ |
cp-demangle.c | 3093 struct d_print_info dpi; local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
pkt_cls.h | 274 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
pkt_cls.h | 247 struct tc_rsvp_gpi dpi; member in struct:tc_rsvp_pinfo
|