HomeSort by relevance Sort by last modified time
    Searched full:density (Results 151 - 175 of 866) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/base/core/java/android/view/
ViewConfiguration.java 134 * applications that do not provide a Context for determining density/configuration-dependent
155 * applications that do not provide a Context for determining density/configuration-dependent
260 * various parameters of the context, like the dimension of the display or the density
272 final float density = metrics.density; local
275 sizeAndDensity = density * 1.5f;
277 sizeAndDensity = density;
282 mMinimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
283 mMaximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
284 mScrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f)
326 final int density = (int) (100.0f * metrics.density); local
    [all...]
  /frameworks/base/docs/html/about/dashboards/
index.jd 82 screen configuration, defined by a combination of screen size and density. To simplify the way that
398 $.each(SCREEN_DENSITIES, function(i, density) {
399 $trh.append("<th scope='col'>" + density + "</th>");
404 // array to hold totals for each density
419 // loop through each density
420 $.each(SCREEN_DENSITIES, function(i, density) {
421 var num = typeof set.data[size][density] != "undefined" ? set.data[size][density] : 0;
431 // create row of totals for each density
  /packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java 135 final float density = mLauncher.getResources().getDisplayMetrics().density; local
136 mBackgroundPadding = (int) Math.ceil(density * BACKGROUND_PADDING);
353 final float density = launcher.getResources().getDisplayMetrics().density; local
360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
361 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
368 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
369 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
Utilities.java 108 // Ensure the bitmap has a density.
238 final float density = metrics.density; local
243 sBlurPaint.setMaskFilter(new BlurMaskFilter(5 * density, BlurMaskFilter.Blur.NORMAL));
  /packages/apps/Launcher3/src/com/android/launcher3/
AppWidgetResizeFrame.java 134 final float density = mLauncher.getResources().getDisplayMetrics().density; local
135 mBackgroundPadding = (int) Math.ceil(density * BACKGROUND_PADDING);
352 final float density = launcher.getResources().getDisplayMetrics().density; local
359 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
360 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
367 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
368 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
layout-devices.xsd 174 <xsd:element name="pixel-density" minOccurs="0">
177 Specifies the screen density the configuration is defined for. The medium
178 density of traditional HVGA screens (mdpi) is defined to be approximately
179 160dpi; low density (ldpi) is 120, and high density (hdpi) is 240. There
180 is thus a 4:3 scaling factor between each density, so a 9x9 bitmap in ldpi
182 The special nodpi density that can be used in resource qualifiers is not
297 Specifies the actual density in X of the device screen.
310 Specifies the actual density in Y of the device screen.
  /frameworks/base/docs/html/design/style/
iconography.jd 17 the device screen and loads the appropriate density-specific assets for your app. </p>
21 refer to the icon dimensions in <acronym title="density-independent pixels">dp</acronym>
22 units, which are based on the pixel dimensions of a medium-density (MDPI) screen.</p>
30 high density (HDPI) asset should be 1.5x the baseline at 72x72 px, and the x-high
31 density (XHDPI) asset should be 2x the baseline at 96x96 px, and so on.</p>
33 <p class="note"><strong>Note:</strong> Android also supports low-density (LDPI) screens,
71 <p>Launcher icons on a mobile device must be <strong>48x48 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
170 <p>Action bar icons for phones should be <strong>32x32 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
251 <p>Small icons should be <strong>16x16 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
330 <p>Notification icons must be <strong>24x24 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li
    [all...]
  /frameworks/base/docs/html/guide/practices/ui_guidelines/
icon_design_status_bar.jd 56 href="{@docRoot}guide/practices/ui_guidelines/icon_design.html#icon-sets">Providing Density-Specific
59 medium-, high-, and extra-high-density screens. This ensures that your icons will display properly
127 status bar icon dimensions corresponding to a given generalized screen density are shown in the
135 finished icon dimensions for each generalized screen density.</p>
143 <small style="font-weight: normal">(Low density screen)</small>
147 <small style="font-weight: normal">(Medium density screen)</small>
151 <small style="font-weight: normal">(High density screen)</small>
155 <small style="font-weight: normal">(Extra-high density screen)</small>
232 <p>Shown below are example extra-high-density status bar icons that are used throughout Android
279 <li>Status bar icon dimensions for high-density (<code>hdpi</code>) screens:</li
    [all...]
  /external/eigen/test/
sparse_solver.h 138 double density = (std::max)(8./(size*size), 0.01); local
143 initSparse<Scalar>(density, dM, M, ForceNonZeroDiag);
184 double density = (std::max)(8./(size*rhsCols), 0.1); local
188 initSparse<Scalar>(density, dB, B, ForceNonZeroDiag);
247 double density = (std::max)(8./(size*size), 0.01); local
252 initSparse<Scalar>(density, dA, A, ForceNonZeroDiag);
  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationScreenLayoutTest.java 104 int longSize = (int) (max / metrics.density);
105 int shortSize = (int) (min / metrics.density);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ContactPhotoBinder.java 58 // Compute the size of the photo based on the display's density
59 mPhotoSize = (int) (PHOTO_SIZE_DIP * mResources.getDisplayMetrics().density + 0.5f);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SnapScrollController.java 105 // The channel distance is adjusted for density and screen size.
118 mChannelDistance = mChannelDistance * metrics.density;
  /external/qemu/android/protocol/
core-commands-api.h 89 /* Gets LCD density property from the core properties.
91 * LCD density on success, or < 0 on failure.
  /frameworks/base/docs/html/guide/topics/resources/
providing-resources.jd 249 high-density screen. The images in each of these drawable directories are sized for a specific
250 screen density, but the filenames are exactly
392 <li>480x800 hdpi (high density handset)</li>
485 low-density QVGA screen. The minimum layout size for a small screen
486 is approximately 320x426 dp units. Examples are QVGA low density and VGA high
487 density.</li>
489 medium-density HVGA screen. The minimum
491 of such screens a WQVGA low density, HVGA medium density, WVGA
492 high density.</li
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardWidgetFrame.java 106 float density = res.getDisplayMetrics().density; local
107 int padding = (int) (res.getDisplayMetrics().density * 8);
110 mFrameStrokeAdjustment = 2 + (int) (2 * density);
476 float density = getResources().getDisplayMetrics().density; local
478 int width = (int) (content.getMeasuredWidth() / density);
479 int height = (int) (content.getMeasuredHeight() / density);
  /packages/apps/MusicFX/src/com/android/audiofx/
OpenSLESConstants.java 95 * The minimum reverb density in o/oo.
99 * The maximum reverb density in o/oo.
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ViewConfigurationTest.java 40 assertEquals(1f, context.getResources().getDisplayMetrics().density);
  /frameworks/base/media/tests/EffectsTest/res/values/
strings.xml 17 <string name="rvb_param_10_name">Density</string>
  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
Protocol.java 59 // 8: density dpi (32 bits)
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
RotationActivity.java 39 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f);
  /packages/apps/Browser/src/com/android/browser/
BreadCrumbView.java 94 float density = mContext.getResources().getDisplayMetrics().density; local
95 mDividerPadding = DIVIDER_PADDING * density;
96 mCrumbPadding = (int) (CRUMB_PADDING * density);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
CaffeinatedScrollView.java 50 mBottomSlop = (int)(4 * getResources().getDisplayMetrics().density);
  /system/media/audio_effects/include/audio_effects/
effect_environmentalreverb.h 61 int16_t density; member in struct:s_reverb_settings
  /cts/tests/tests/display/src/android/display/cts/
DisplayTest.java 144 // The scale is in [0.1, 3], and density is the scale factor.
145 assertTrue(SCALE_DENSITY_LOWER_BOUND <= outMetrics.density
146 && outMetrics.density <= SCALE_DENSITY_UPPER_BOUND);
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
fog.c 124 if (ctx->Fog.Density == *params)
127 ctx->Fog.Density = *params;
218 ctx->Fog.Density = 1.0;

Completed in 907 milliseconds

1 2 3 4 5 67 8 91011>>