HomeSort by relevance Sort by last modified time
    Searched full:density (Results 76 - 100 of 1486) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
NormalDistribution.java 60 * Return the probability density for a particular point.
61 * @param x The point at which the density should be computed.
64 double density(Double x); method in interface:NormalDistribution
  /frameworks/base/core/java/android/text/
TextPaint.java 35 public float density = 1.0f; field in class:TextPaint
71 density = tp.density;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
SpTexts.java 44 final float density = res.getDisplayMetrics().density; local
46 final int sp = (int)(px / fontScale / density);
  /frameworks/base/tools/split-select/
Grouper.cpp 40 if (split.config.density != 0) {
42 key.config.density = 0;
43 key.config.sdkVersion = 0; // Ignore density so we can support anydpi.
  /packages/apps/Settings/src/com/android/settings/accessibility/
PresetPreference.java 58 final float density = getContext().getResources().getDisplayMetrics().density; local
59 previewText.setTextSize(DEFAULT_FONT_SIZE * density);
  /external/kernel-headers/original/uapi/linux/
adfs_fs.h 14 __u8 density; member in struct:adfs_discrecord
  /frameworks/base/docs/html/training/multiscreen/
screendensities.jd 23 <li><a href="#TaskUseDP">Use Density-independent Pixels</a></li>
51 <h2 id="TaskUseDP">Use Density-independent Pixels</h2>
58 <code>dp</code> or <code>sp</code> units. A <code>dp</code> is a density-independent pixel
68 <p>DesignBytes: Density-independent Pixels</p>
97 the generalized density buckets: low, medium, high and extra-high density.
102 vector format and generate the images for each density using the following
119 based on the screen density of the device your application is running on:</p>
155 <code>res/mipmap-[density]/</code> folders, rather than <code>drawable/</code> folders to ensure
  /frameworks/base/tools/aapt/tests/
ResourceFilter_test.cpp 28 // such as language or density.
35 config.density = 320;
50 config.density = 320;
73 config.density = 320;
168 config.density = 160;
176 expectedConfig.density = 160;
184 config.density = 160;
189 config.density = 480;
197 expectedConfig.density = 160;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
NavigationBar.java 20 import com.android.resources.Density;
55 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi),
63 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl,
84 loadIcon(back, "ic_sysbar_back.png", density, isRtl);
86 loadIcon(3, "ic_sysbar_home.png", density, isRtl);
88 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl);
110 size *= context.getMetrics().density;
144 sw /= metrics.density;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
adfs_fs.h 14 __u8 density; member in struct:adfs_discrecord
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
adfs_fs.h 14 __u8 density; member in struct:adfs_discrecord
  /cts/libs/deviceutil/src/android/cts/util/
WidgetTestUtils.java 98 * Compare the expected pixels with actual, scaling for the target context density
103 Assert.assertEquals(expected * context.getResources().getDisplayMetrics().density,
107 /** Converts dips into pixels using the {@link Context}'s density. */
109 float density = context.getResources().getDisplayMetrics().density; local
110 return Math.round(density * dip);
114 * Retrieve a bitmap that can be used for comparison on any density
125 * Retrieve a dithered bitmap that can be used for comparison on any density
  /external/icu/icu4c/source/tools/toolutil/
denseranges.cpp 91 * @param density Minimum average range density, in 256th. (0x100=100%=perfectly dense.)
95 * @return Minimum number of ranges (at most capacity) that have the desired density,
96 * or 0 if that density cannot be achieved.
100 int32_t density,
110 if(length>=(density*maxLength)/0x100) {
139 // of the requested density.
143 if(length>num*2 && length>=(density*maxLength)/0x100) {
  /frameworks/support/v4/api21/android/support/v4/content/res/
ResourcesCompatApi21.java 30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme)
32 return res.getDrawableForDensity(id, density, theme);
  /frameworks/support/v4/ics-mr1/android/support/v4/content/res/
ResourcesCompatIcsMr1.java 25 public static Drawable getDrawableForDensity(Resources res, int id, int density)
27 return res.getDrawableForDensity(id, density);
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
LauncherActivityInfoCompat.java 33 public abstract Drawable getIcon(int density);
36 public abstract Drawable getBadgedIcon(int density);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShadowCardStack.java 50 float density = getResources().getDisplayMetrics().density; local
54 final float X = X_SHIFT_DP * density;
55 final float Y = Y_SHIFT_DP * density;
56 final float Z = Z_LIFT_DP * density;
  /external/eigen/bench/
sparse_randomsetter.cpp 14 #ifndef DENSITY
15 #define DENSITY 0.01
69 float density = DENSITY; local
74 nentries = rows*cols*density;
  /frameworks/base/docs/html/tools/revisions/
platforms.jd 559 QVGA (240x320, low density, small screen)
562 WQVGA400 (240x400, low density, normal screen)
565 WQVGA432 (240x432, low density, normal screen)
568 HVGA (320x480, medium density, normal screen)
571 WVGA800 (480x800, high density, normal screen)
574 WVGA854 (480x854 high density, normal screen)
577 WXGA720 (1280x720, extra-high density, normal screen)
580 WSVGA (1024x600, medium density, large screen)
583 WXGA800-7in (1280x800, high density, large screen) <span class="new">new</span>
586 WXGA800 (1280x800, medium density, xlarge screen
    [all...]
  /external/eigen/test/
sparse_product.cpp 48 double density = (std::max)(8./(rows*cols), 0.1); local
77 initSparse(density, refMat2, m2);
78 initSparse(density, refMat2t, m2t);
79 initSparse(density, refMat3, m3);
80 initSparse(density, refMat3t, m3t);
81 initSparse(density, refMat4, m4);
82 initSparse(density, refMat4t, m4t);
83 initSparse(density, refMat6, m6);
129 initSparse(2*density,dcv0, cv0);
133 initSparse(2*density,drv0, rv0)
    [all...]
  /frameworks/support/v4/donut/android/support/v4/graphics/drawable/
RoundedBitmapDrawable.java 60 // These are scaled to match the target density.
84 * Set the density scale at which this drawable will be rendered. This
85 * method assumes the drawable will be rendered at the same density as the
88 * @param canvas The Canvas from which the density scale must be obtained.
98 * Set the density scale at which this drawable will be rendered.
100 * @param metrics The DisplayMetrics indicating the density scale for this drawable.
110 * Set the density at which this drawable will be rendered.
112 * @param density The density scale for this drawable.
117 public void setTargetDensity(int density) {
    [all...]
  /frameworks/base/core/java/android/appwidget/
AppWidgetProviderInfo.java 260 * provide a desired density such as {@link android.util.DisplayMetrics#DENSITY_LOW}
261 * {@link android.util.DisplayMetrics#DENSITY_MEDIUM}, etc. If no density is
262 * provided, the density of the current display will be used.
269 * @param density The optional desired density as per
273 public final Drawable loadIcon(@NonNull Context context, int density) {
274 return loadDrawable(context, density, providerInfo.getIconResource(), true);
279 * A client can optionally provide a desired density such as
281 * {@link android.util.DisplayMetrics#DENSITY_MEDIUM}, etc. If no density is
282 * provided, the density of the current display will be used
    [all...]
  /external/eigen/test/eigen2/
eigen2_sparse_product.cpp 19 double density = std::max(8./(rows*cols), 0.01); local
32 initSparse<Scalar>(density, refMat2, m2);
33 initSparse<Scalar>(density, refMat3, m3);
34 initSparse<Scalar>(density, refMat4, m4);
63 initSparse<Scalar>(density, refM2, m2);
64 initSparse<Scalar>(density, refM3, m3);
83 initSparse<Scalar>(density, refUp, mUp, ForceRealDiag|/*ForceNonZeroDiag|*/MakeUpperTriangular);
  /frameworks/base/docs/html/guide/practices/ui_guidelines/
icon_design_dialog.jd 44 Density-Specific Icon Sets</a>, you should create separate icon sets for low-,
45 medium-, and high-density screens. This ensures that your icons will display
48 density. Also, see <a href="icon_design.html#design-tips">Tips for Designers</a>
61 <small style="font-weight: normal">(Low density screen)</small>
65 <small style="font-weight: normal">(Medium density screen)</small>
69 <small style="font-weight: normal">(High density screen)</small>
73 <small style="font-weight: normal">(Extra-high density screen)</small>
icon_design_list.jd 46 Density-Specific Icon Sets</a>, you should create separate icon sets for low-,
47 medium-, and high-density screens. This ensures that your icons will display
50 density. Also, see <a href="icon_design.html#design-tips">Tips for Designers</a>
63 <small style="font-weight: normal">(Low density screen)</small>
67 <small style="font-weight: normal">(Medium density screen)</small>
71 <small style="font-weight: normal">(High density screen)</small>
75 <small style="font-weight: normal">(Extra-high density screen)</small>

Completed in 374 milliseconds

1 2 34 5 6 7 8 91011>>