/device/sample/skins/WVGAMedDpi/ |
hardware.ini | 2 hw.lcd.density=16
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion1-expected-completion5.txt | 2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density of the screen.
|
/external/qemu/android/ |
hw-lcd.c | 17 hwLcd_setBootProperty(int density) 21 /* Map density to one of our five bucket values. 22 The TV density is a bit particular (and not actually a bucket 25 if (density != LCD_DENSITY_TVDPI) { 26 if (density < (LCD_DENSITY_LDPI + LCD_DENSITY_MDPI)/2) 27 density = LCD_DENSITY_LDPI; 28 else if (density < (LCD_DENSITY_MDPI + LCD_DENSITY_HDPI)/2) 29 density = LCD_DENSITY_MDPI; 30 else if (density < (LCD_DENSITY_HDPI + LCD_DENSITY_XHDPI)/2) 31 density = LCD_DENSITY_HDPI [all...] |
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
IDensityBasedResourceValue.java | 22 * Represents an Android Resources that has a density info attached to it. 29 * Density. 31 * @deprecated use {@link com.android.resources.Density}. 34 public static enum Density { 43 Density(int value) { 52 * Returns the enum matching the given density value 53 * @param value The density value. 54 * @return the enum for the density value or null if no match was found. 56 public static Density getEnum(int value) { 57 for (Density d : values()) [all...] |
/development/tools/emulator/skins/HVGA/ |
hardware.ini | 2 hw.lcd.density=160
|
/development/tools/emulator/skins/QVGA/ |
hardware.ini | 2 hw.lcd.density=120
|
/development/tools/emulator/skins/WQVGA400/ |
hardware.ini | 2 hw.lcd.density=120
|
/development/tools/emulator/skins/WQVGA432/ |
hardware.ini | 2 hw.lcd.density=120
|
/development/tools/emulator/skins/WVGA800/ |
hardware.ini | 2 hw.lcd.density=240
|
/development/tools/emulator/skins/WVGA854/ |
hardware.ini | 2 hw.lcd.density=240
|
/sdk/common/src/com/android/resources/ |
Density.java | 21 * Density enum. 23 * as well as other places needing to know the density values. 25 public enum Density implements ResourceEnum { 26 XHIGH("xhdpi", "X-High Density", 320), //$NON-NLS-1$ 27 HIGH("hdpi", "High Density", 240), //$NON-NLS-1$ 28 TV("tvdpi", "TV Density", 213), //$NON-NLS-1$ 29 MEDIUM("mdpi", "Medium Density", 160), //$NON-NLS-1$ 30 LOW("ldpi", "Low Density", 120), //$NON-NLS-1$ 31 NODPI("nodpi", "No Density", 0); //$NON-NLS-1$ 39 private Density(String value, String displayValue, int density) [all...] |
/development/tools/emulator/skins/WSVGA/ |
hardware.ini | 2 hw.lcd.density=160
|
/development/tools/emulator/skins/WXGA720/ |
hardware.ini | 2 hw.lcd.density=320
|
/development/tools/emulator/skins/WXGA800/ |
hardware.ini | 2 hw.lcd.density=160
|
/sdk/ide_common/src/com/android/ide/common/resources/configuration/ |
DensityQualifier.java | 19 import com.android.resources.Density; 26 * Resource Qualifier for Screen Pixel Density. 31 public static final String NAME = "Density"; 33 private Density mValue = Density.MEDIUM; 39 public DensityQualifier(Density value) { 43 public Density getValue() { 64 Density density = Density.getEnum(value) local [all...] |
/development/ndk/platforms/android-9/samples/native-audio/ |
default.properties | 12 # Indicates whether an apk should be generated for each density. 13 split.density=false
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
TabletSystemBar.java | 19 import com.android.resources.Density; 31 public TabletSystemBar(Context context, Density density) throws XmlPullParserException { 32 super(context, density, "/bars/tablet_system_bar.xml", "tablet_system_bar.xml"); 39 loadIcon(0, "ic_sysbar_back_default.png", density); 40 loadIcon(1, "ic_sysbar_home_default.png", density); 41 loadIcon(2, "ic_sysbar_recent_default.png", density); 43 loadIcon(4, "stat_sys_wifi_signal_4_fully.png", density);
|
FakeActionBar.java | 19 import com.android.resources.Density; 30 public FakeActionBar(Context context, Density density, String label, String icon) 32 super(context, density, "/bars/action_bar.xml", "action_bar.xml");
|
TitleBar.java | 19 import com.android.resources.Density; 30 public TitleBar(Context context, Density density, String label) 32 super(context, density, "/bars/title_bar.xml", "title_bar.xml");
|
PhoneSystemBar.java | 19 import com.android.resources.Density; 32 public PhoneSystemBar(Context context, Density density) throws XmlPullParserException { 33 super(context, density, "/bars/phone_system_bar.xml", "phone_system_bar.xml"); 43 loadIcon(1, "stat_sys_wifi_signal_4_fully.png", density);
|
/frameworks/base/core/java/android/util/ |
DisplayMetrics.java | 24 * size, density, and font scaling. 31 * Standard quantized DPI for low-density screens. 36 * Standard quantized DPI for medium-density screens. 42 * generally not worry about this density, instead targeting 50 * Standard quantized DPI for high-density screens. 55 * Standard quantized DPI for extra-high-density screens. 60 * The reference density used throughout the system. 65 * The device's density. 80 * The logical density of the display. This is a scaling factor for the 81 * Density Independent Pixel unit, where one DIP is one pixel on a 96 public float density; field in class:DisplayMetrics [all...] |
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
DensityBasedResourceValue.java | 25 private com.android.resources.Density mDensity; 28 com.android.resources.Density density, boolean isFramework) { 30 mDensity = density; 34 * Returns the density for which this resource is configured. 35 * @return the density. 37 public com.android.resources.Density getResourceDensity() { 45 public Density getDensity() { 46 return Density.getEnum(mDensity.getDpiValue()); 53 + " (density:" + mDensity +", framework:" + isFramework() + ")]" [all...] |
/sdk/assetstudio/src/com/android/assetstudiolib/ |
GraphicGenerator.java | 19 import com.android.resources.Density; 56 /** The density to generate the icon with */ 57 public Density density = Density.XHIGH; field in class:GraphicGenerator.Options 127 * density, but is also sometimes modified by options. For example, in some 131 return "res/drawable-" + options.density.getResourceValue(); //$NON-NLS-1$ 141 * density name will be used) 151 Density[] densityValues = Density.values() [all...] |
/external/replicaisland/ |
default.properties | 13 # Indicates whether an apk should be generated for each density. 14 split.density=false
|
/frameworks/base/docs/html/design/style/ |
metrics-grids.jd | 4 <p>Devices vary not only in physical size, but also in screen density (<acronym title="Dots per 6 falling into a particular size bucket and density bucket. The size buckets are <em>handset</em> (smaller than 7 600<acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi 8 screen.">dp</acronym>) and <em>tablet</em> (larger than or equal 600dp). The density buckets are <acronym 9 title="Low density (120 dpi)">LDPI</acronym>, <acronym title="Medium density (160 10 dpi)">MDPI</acronym>, <acronym title="High density (240 dpi)">HDPI</acronym>, and <acronym title 11 ="Extra-high density (320 dpi)">XHDPI</acronym>. Optimize your application's UI by designing 13 for different density buckets.</p> 24 <p>Devices vary in the amount of density-independent pixels (dp) they can display.</p [all...] |