HomeSort by relevance Sort by last modified time
    Searched full:density (Results 1 - 25 of 266) sorted by null

1 2 3 4 5 6 7 8 91011

  /device/sample/skins/WVGAMedDpi/
hardware.ini 2 hw.lcd.density=16
  /sdk/emulator/skins/HVGA/
hardware.ini 2 hw.lcd.density=16
  /sdk/emulator/skins/QVGA/
hardware.ini 2 hw.lcd.density=12
  /sdk/emulator/skins/WQVGA400/
hardware.ini 2 hw.lcd.density=12
  /sdk/emulator/skins/WQVGA432/
hardware.ini 2 hw.lcd.density=12
  /external/qemu/android/
hw-lcd.c 17 hwLcd_setBootProperty(int density)
21 /* map density to one of our three values for now */
22 if (density < (LCD_DENSITY_MIN + LCD_DENSITY_DEFAULT)/2)
23 density = LCD_DENSITY_MIN;
24 else if (density < (LCD_DENSITY_DEFAULT + LCD_DENSITY_MAX)/2)
25 density = LCD_DENSITY_DEFAULT;
27 density = LCD_DENSITY_MAX;
29 snprintf(temp, sizeof temp, "%d", density);
hw-lcd.h 19 /* Sets the boot property corresponding to the emulated abstract LCD density */
20 extern void hwLcd_setBootProperty(int density);
  /sdk/emulator/skins/WVGA800/
hardware.ini 2 hw.lcd.density=240
  /sdk/emulator/skins/WVGA854/
hardware.ini 2 hw.lcd.density=240
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/configurations/
PixelDensityQualifier.java 30 * Resource Qualifier for Screen Pixel Density.
35 public static final String NAME = "Pixel Density";
37 private Density mValue = Density.MEDIUM;
42 public static enum Density {
43 HIGH("hdpi", "High Density", IDensityBasedResourceValue.Density.HIGH), //$NON-NLS-1$
44 MEDIUM("mdpi", "Medium Density", IDensityBasedResourceValue.Density.MEDIUM), //$NON-NLS-1$
45 LOW("ldpi", "Low Density", IDensityBasedResourceValue.Density.LOW), //$NON-NLS-1
80 int density = Integer.parseInt(v); local
181 Density density = Density.getEnum(value); local
    [all...]
  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationTest.java 36 private enum Density {
47 Density(int low, int high) {
52 public static Density findDensity(int value) {
53 Density density = INVALID_LOW; local
54 for (Density d : EnumSet.range(Density.INVALID_LOW, Density.INVALID_HIGH)) {
56 density = d;
60 return density;
70 private final Density density; field in class:ConfigurationTest.ActiveScreenConfiguration
    [all...]
  /sdk/layoutlib_utils/src/com/android/layoutlib/utils/
DensityBasedResourceValue.java 23 private Density mDensity;
25 public DensityBasedResourceValue(String type, String name, String value, Density density,
28 mDensity = density;
31 public Density getDensity() {
  /sdk/layoutlib_api/src/com/android/layoutlib/api/
IDensityBasedResourceValue.java 20 * Represents an Android Resources that has a density info attached to it.
24 public static enum Density {
34 Density(int value) {
44 * Returns the density associated to the resource.
46 Density getDensity();
  /frameworks/base/core/java/android/util/
DisplayMetrics.java 26 * size, density, and font scaling.
33 * Standard quantized DPI for low-density screens.
38 * Standard quantized DPI for medium-density screens.
43 * Standard quantized DPI for high-density screens.
48 * The reference density used throughout the system.
53 * The device's density.
68 * The logical density of the display. This is a scaling factor for the
69 * Density Independent Pixel unit, where one DIP is one pixel on an
72 * this density value will be 1; on a 120 dpi screen it would be .75; etc.
77 * example, a 240x320 screen will have a density of 1 even if its width is
84 public float density; field in class:DisplayMetrics
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java 64 // according to Android enmulator doc UI -scale confine density should between 0.1 to 3
65 assertTrue((0.1 < outMetrics.density) && (outMetrics.density < 3));
76 // according to Android enmulator doc UI -scale confine density should between 0.1 to 3
77 assertTrue((0.1 < metrics.density) && (metrics.density < 3));
  /development/samples/MultiResolution/
_index.html 3 screen resolution, screen density, etc.).
9 <li>Proper layout <a href="../../../guide/practices/screens_support.html#density-independence">size units</a>,
10 such as scale-independent pixels (<code>sp</code>) and density-independent pixels (<code>dip</code>)</li>
  /frameworks/base/core/java/android/text/
TextPaint.java 30 public float density = 1.0f; field in class:TextPaint
55 density = tp.density;
  /frameworks/base/docs/html/guide/practices/
screens_support.jd 24 <li><a href="#density-independence">Density independence</a></li>
103 <dt><em>Density</em></dt>
107 <p>A screen with lower density has fewer available pixels spread across the
108 screen width and height, where a screen with higher density has more &mdash;
110 density of a screen is important because, other things being equal, a UI element
112 will appear larger on the lower density screen and smaller on the higher density
118 scaling of the resources up or down to meet the actual screen density. </p></dd>
119 <dt><em>Density-independent pixel (dip)</em></dt
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/sdk/
config_sample.xml 26 <d:pixel-density>ldpi</d:pixel-density>
79 <d:config name="pixel-density-ldpi">
80 <d:pixel-density>ldpi</d:pixel-density>
82 <d:config name="pixel-density-mdpi">
83 <d:pixel-density>mdpi</d:pixel-density>
85 <d:config name="pixel-density-hdpi">
86 <d:pixel-density>hdpi</d:pixel-density>
    [all...]
  /external/srec/srec/cfront/
spec_anl.c 46 void peakpick(front_freq *freqobj, fftdata *density, int num_freq);
52 void filtbank(front_freq *freqobj, fftdata *density, cepdata *fbo);
214 void peakpick(front_freq *freqobj, fftdata *density, int num_freq)
243 ASSERT(density[last] >= 0);
244 peak = density[last];
249 if (density[i] > peak)
250 peak = density[i];
252 density[i] = peak;
257 peak = density[first];
261 if (density[i] > peak
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 50 // These are scaled to match the target density.
58 * Create drawable from raw nine-patch data, not dealing with density.
60 * to ensure that the drawable has correctly set its target density.
68 * Create drawable from raw nine-patch data, setting initial target density
78 * Create drawable from existing nine-patch, not dealing with density.
80 * to ensure that the drawable has correctly set its target density.
88 * Create drawable from existing nine-patch, setting initial target density
113 * Set the density scale at which this drawable will be rendered. This
114 * method assumes the drawable will be rendered at the same density as the
117 * @param canvas The Canvas from which the density scale must be obtained
    [all...]
BitmapDrawable.java 71 // These are scaled to match the target density.
76 * Create an empty drawable, not dealing with density.
78 * that the drawable has correctly set its target density.
86 * Create an empty drawable, setting initial target density based on
95 * Create drawable from a bitmap, not dealing with density.
97 * that the drawable has correctly set its target density.
105 * Create drawable from a bitmap, setting initial target density based on
116 * that the drawable has correctly set its target density.
140 * that the drawable has correctly set its target density.
184 * Set the density scale at which this drawable will be rendered. Thi
    [all...]
  /sdk/files/
devices.xml 11 <d:pixel-density>mdpi</d:pixel-density>
42 <d:pixel-density>mdpi</d:pixel-density>
67 <d:pixel-density>hdpi</d:pixel-density>
  /frameworks/base/docs/html/guide/topics/manifest/
supports-screens-element.jd 25 density. Screen size is determined as the available pixels to an application
26 after density scaling has been applied.
28 <p>Based on the target device screen density, the Android
31 The screen density is expressed as dots-per-inch (dpi).</p>
52 form-factors. Traditionally this is an HVGA medium density
53 screen, but WQVGA low density and WVGA high density are also
71 density. Older applications (pre API Level 4) are assumed unable to
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 82 * The pixel density to use for the bitmap. This will always result
83 * in the returned bitmap having a density set for it (see
86 * density does not match {@link #inTargetDensity}, then the bitmap
87 * will be scaled to the target density before being returned.
93 * will fill in the density associated with the resource. The other
94 * functions will leave it as-is and no density will be applied.
105 * The pixel density of the destination this bitmap will be drawn to.
114 * will fill in the density associated the Resources object's
116 * functions will leave it as-is and no scaling for density will be
127 * The pixel density of the actual screen that is being used. This i
311 final int density = value.density; local
470 final int density = opts.inDensity; local
    [all...]

Completed in 332 milliseconds

1 2 3 4 5 6 7 8 91011