/external/eigen/unsupported/test/ |
sparse_extra.cpp | 59 double density = (std::max)(8./(rows*cols), 0.01); local 70 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); 121 initSparse<Scalar>(density, refM1, m1);
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
FogFilter.java | 66 * @param fogDensity the density of the fog (default is 0.7) 116 * returns the fog density 124 * Sets the density of the fog, a high value gives a thick fog
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
LightScatteringUI.java | 56 System.out.println("-- Light density : press O to increase, P to decrease"); 119 System.out.println("light Density : "+filter.getLightDensity()); 123 System.out.println("light Density : "+filter.getLightDensity());
|
/external/mesa3d/src/mesa/main/ |
fog.c | 124 if (ctx->Fog.Density == *params) 127 ctx->Fog.Density = *params; 218 ctx->Fog.Density = 1.0;
|
/external/replicaisland/src/com/replica/replicaisland/ |
AnimationPlayerActivity.java | 93 startX = 200 * metrics.density; 97 startX = -200 * metrics.density; 103 // scrolls in horizontally, compute the size based on the actual density of
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTypedValue.java | 102 return value * metrics.density; 197 typedValue.density = other.density;
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
LVREV.h | 113 LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maximum density */
|
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
android.text.TextPaint.html | 87 <A NAME="android.text.TextPaint.density"></A> 88 <nobr><code>float</code> <A HREF="../../../../reference/android/text/TextPaint.html#density" target="_top"><code>density</code></A></nobr>
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
TimeBar.java | 98 float textSizeInPx = metrics.density * TEXT_SIZE_IN_DP; 108 mScrubberPadding = (int) (metrics.density * SCRUBBER_PADDING_IN_DP); 110 mVPaddingInPx = (int) (metrics.density * V_PADDING_IN_DP);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
PieChartView.java | 90 mPaintOutline.setStrokeWidth(3f * getResources().getDisplayMetrics().density); 93 mSideWidth = (int) (20 * getResources().getDisplayMetrics().density); 106 final int width = (int) (280 * res.getDisplayMetrics().density);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationWebView.java | 169 mDensity = r.getDisplayMetrics().density; 248 // an HTML meta-viewport width of "device-width" and unspecified (medium) density means 249 // that the default scale is effectively the screen density.
|
/sdk/files/ |
devices.xml | 13 <d:pixel-density>hdpi</d:pixel-density> 88 <d:pixel-density>hdpi</d:pixel-density> 201 <d:pixel-density>xhdpi</d:pixel-density> 332 <d:pixel-density>tvdpi</d:pixel-density> 411 <d:pixel-density>xhdpi</d:pixel-density> [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 95 // Need to scale text size by density... but we won't do it 100 float density = c.getResources().getDisplayMetrics().density; local 101 if (density < 1) { 104 textSize = (int)(10*density);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ScrollViewTest.java | 74 final float density = getActivity().getResources().getDisplayMetrics().density; local 75 mItemWidth = (int) (ITEM_WIDTH_DPI * density + 0.5f); 76 mItemHeight = (int) (ITEM_HEIGHT_DPI * density + 0.5f); 77 mPageWidth = (int) (PAGE_WIDTH_DPI * density + 0.5f); 78 mPageHeight = (int) (PAGE_HEIGHT_DPI * density + 0.5f); 524 int orgRectSize = (int)(10 * getActivity().getResources().getDisplayMetrics().density);
|
/frameworks/base/docs/html/about/versions/ |
android-2.1.jd | 239 app cache, web storage, and zooming based on screen density.</li> 352 QVGA (240x320, low density, small screen) 355 WQVGA (240x400, low density, normal screen) 358 FWQVGA (240x432, low density, normal screen) 361 HVGA (320x480, medium density, normal screen) 364 WVGA800 (480x800, high density, normal screen) 367 WVGA854 (480x854 high density, normal screen)
|
android-3.2.jd | 95 generalized screen density model, but extends it with the ability to precisely 97 density-independent pixel units (such as 600dp or 720dp wide), rather than 101 provide density abstraction, which means that applications do not need to 102 compensate for the differences in actual pixel density across devices. You 110 measured in density-independent pixel ("dp") units. Of the screen's height or 148 <p class="caption"><strong>Table 1.</strong> Typical devices, with density 154 <th>Density (generalized)</th> 195 current height, measured in density-independent pixels.</p> 306 <h4>New screen density for 720p televisions and similar devices</h4> 309 moderate density screens, Android 3.2 introduces a new generalized density [all...] |
android-2.0.1.jd | 222 QVGA (240x320, low density, small screen) 225 WQVGA (240x400, low density, normal screen) 228 FWQVGA (240x432, low density, normal screen) 231 HVGA (320x480, medium density, normal screen) 234 WVGA800 (480x800, high density, normal screen) 237 WVGA854 (480x854 high density, normal screen)
|
android-2.0.jd | 211 QVGA (240x320, low density, small screen) 214 WQVGA (240x400, low density, normal screen) 217 FWQVGA (240x432, low density, normal screen) 220 HVGA (320x480, medium density, normal screen) 223 WVGA800 (480x800, high density, normal screen) 226 WVGA854 (480x854 high density, normal screen)
|
/frameworks/base/docs/html/guide/practices/ |
screens-distribution.jd | 38 configurations of screen size and density, you can instead choose to limit the distribution of your 62 combinations of screen size and density. External services such as Google Play use this 75 regardless of screen density, you must specify eight different {@code <screen>} elements, 76 because each screen size has four density configurations. You must declare each one of 77 these; any combination of size and density that you do <em>not</em> specify is considered a screen 108 to specify each screen density your application supports.</p> 152 density-independent pixels available. In this example, the app declares a minimum width requirement
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
icon_design_menu.jd | 50 href="{@docRoot}guide/practices/ui_guidelines/icon_design.html#icon-sets">Providing Density-Specific 53 medium-, high-, and extra-high-density screens. This ensures that your icons will display properly 123 <li>Menu icon dimensions for high-density (<code>hdpi</code>) screens:</li> 139 <li>Menu icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 156 <li>Menu icon dimensions for low-density (<code>ldpi</code>) screens:</li> 205 <p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for other densities.</em></p> 234 <p>Shown below are standard high-density menu icons that are used in the Android
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | 670 * would not correctly retrieve the final configuration density when 672 * This means that if the density configuration of the alias resource 673 * is different than the actual resource, the density of the returned 711 * given screen density in DPI. This will set the drawable's density to be 712 * the device's density multiplied by the ratio of actual drawable density 713 * to requested density. This allows the drawable to be scaled up to the 722 * @param density the desired screen density indicated by the resource a 1546 int density = config.densityDpi; local [all...] |
/frameworks/base/tools/aapt/ |
AaptAssets.cpp | 249 // density 252 *value = config.density; 330 return config.density; 575 // density 585 //printf("not density: %s\n", part.string()); 691 this->density = den; 734 s += density; 828 if (this->density != "") { 832 s += density; 1152 if (out) out->density = ResTable_config::DENSITY_DEFAULT [all...] |
/prebuilts/sdk/tools/lib/ |
common.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationMatcher.java | 39 import com.android.resources.Density; 499 // lets look for a high density device 771 // put the sort order for the density. 772 mDensitySort.put(Density.HIGH.getDpiValue(), 1); 773 mDensitySort.put(Density.MEDIUM.getDpiValue(), 2) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
BookmarkUtils.java | 116 private static Bitmap getBitmapFromResourceId(Context context, int id, int density) { 119 drawable = context.getResources().getDrawableForDensity(id, density); 176 * @param iconDensity Density information to get bitmap resources.
|