/external/chromium_org/chrome/browser/resources/file_manager/js/photo/ |
mosaic_mode.js | 708 * @param {Mosaic.Density=} opt_maxDensity Layout density. 713 this.maxDensity_ = opt_maxDensity || Mosaic.Density.createHighest(); 764 this.density_ = Mosaic.Density.createLowest(); 839 // It starts with the lowest density and increases it until the layout 840 // fits into the viewport. If it does not fit even at the highest density, 841 // the layout continues with the highest density. 845 // It starts with the current global density and decreases it until the column 884 // Max density reached, commit if tentative, just continue if dry run. 890 // Rollback the entire layout, retry with higher density [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fog.c | 51 d = ctx->Fog.Density; 56 d = ctx->Fog.Density; 69 #define EXP_FOG(f, coord) f = EXPF(density * coord) 185 const GLfloat density = -ctx->Fog.Density; local 204 const GLfloat negDensitySquared = -ctx->Fog.Density * ctx->Fog.Density;
|
/external/mesa3d/src/mesa/swrast/ |
s_fog.c | 51 d = ctx->Fog.Density; 56 d = ctx->Fog.Density; 69 #define EXP_FOG(f, coord) f = EXPF(density * coord) 185 const GLfloat density = -ctx->Fog.Density; local 204 const GLfloat negDensitySquared = -ctx->Fog.Density * ctx->Fog.Density;
|
/frameworks/base/docs/html/about/versions/ |
android-1.6.jd | 161 <li>Fixes bug so that Bitmap's density is now propagated through Parcelable.</li> 163 <li>Fixes TextView to properly compute styled font metrics based on the screen density.</li> 174 <li>Fixes density rendering in the layout editor in ADT.</li> 234 <li>New support for dealing with varying screen densities. Density 237 nine-patches based on the density the resource was found under and the 238 density of the screen, etc. 292 determining the density of the current device screen.</li> 301 of resolution and density. If your application is run on a device whose screen 304 of the application UI to match the resolution and density of the screen. 312 Examples: QVGA low density; VGA high density [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 75 // These are scaled to match the target density. 83 * Create an empty drawable, not dealing with density. 85 * instead to specify a bitmap to draw with and ensure the correct density is set. 93 * Create an empty drawable, setting initial target density based on 106 * Create drawable from a bitmap, not dealing with density. 108 * that the drawable has correctly set its target density. 116 * Create drawable from a bitmap, setting initial target density based on 127 * that the drawable has correctly set its target density. 152 * that the drawable has correctly set its target density. 206 * Set the density scale at which this drawable will be rendered. Thi [all...] |
/external/eigen/test/ |
sparse_basic.cpp | 22 double density = (std::max)(8./(rows*cols), 0.01); local 34 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); 168 initSparse<Scalar>(density, refM1, m1); 169 initSparse<Scalar>(density, refM2, m2); 170 initSparse<Scalar>(density, refM3, m3); 171 initSparse<Scalar>(density, refM4, m4); 202 initSparse<Scalar>(density, refMat2, m2); 213 initSparse<Scalar>(density, refMat2, m2); 254 initSparse<Scalar>(density, refMat2, m2); 338 initSparse<Scalar>(density, refMat2, m2) [all...] |
/frameworks/base/services/java/com/android/server/display/ |
DisplayDeviceInfo.java | 119 * The nominal apparent density of the display in DPI used for layout calculations. 120 * This density is sensitive to the viewing distance. A big TV and a tablet may have 121 * the same apparent density even though the pixels on the TV are much bigger than 127 * The physical density of the display in DPI in the X direction. 128 * This density should specify the physical size of each pixel. 133 * The physical density of the display in DPI in the X direction. 134 * This density should specify the physical size of each pixel. 189 // Technically, these values should be smaller than the apparent density 247 sb.append("density ").append(densityDpi);
|
/external/eigen/bench/ |
BenchSparseUtil.h | 14 #ifndef DENSITY 15 #define DENSITY 0.01 27 void fillMatrix(float density, int rows, int cols, EigenSparseMatrix& dst) 29 dst.reserve(double(rows)*cols*density); 34 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 30 * by checking that the memory class matches the proper screen density and by launching an 99 + " for screen density " + screenDensity); 103 + "mb of memory for screen density " + screenDensity,
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SharingReceiverSupport.java | 48 final float density = getResources().getDisplayMetrics().density; local 49 final int iconSize = (int) (ICON_SIZE * density + 0.5f);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_fog.c | 111 d = ctx->Fog.Density; 116 d = ctx->Fog.Density*ctx->Fog.Density;
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
UiUtils.java | 58 final float density = context.getResources().getDisplayMetrics().density; local 59 return bottomMargin > KEYBOARD_DETECT_BOTTOM_THRESHOLD_DP * density;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fog.c | 111 d = ctx->Fog.Density; 116 d = ctx->Fog.Density*ctx->Fog.Density;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ResourcesTest.java | 127 assertThat(activity.getResources().getDisplayMetrics().density, equalTo(1f)); 130 assertThat(activity.getResources().getDisplayMetrics().density, equalTo(1.5f)); 133 assertThat(anotherActivity.getResources().getDisplayMetrics().density, equalTo(1.5f));
|
/frameworks/base/docs/html/training/multiscreen/ |
index.jd | 78 pixel densities (using density-independent pixels and providing 79 bitmaps appropriate for each density).</dd> 83 that adapts to several screen size/density combinations
|
/packages/apps/Camera2/ |
version.mk | 20 # d - asset density (exactly 1 digit). Current valid values are: 27 # For the client jar, the version code is agnostic to the target architecture and density: Mmbbbt00 29 # NOTE: arch needs to be more significant than density because x86 devices support running ARM
|
/packages/apps/Mms/src/com/android/mms/ui/ |
QuickContactDivot.java | 35 // The screen density. Multiple this by dips to get pixels. 59 mDensity = r.getDisplayMetrics().density; 116 return CORNER_OFFSET * mDensity; // multiply by density to get pixels
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 70 mDisplayMetrics.density = metrics.density; 99 mDisplayMetrics.scaledDensity = mDisplayMetrics.density *
|
/development/apps/Development/src/com/android/development/ |
ConfigurationViewer.java | 56 + "density=" + m.density + "\n"
|
/external/ceres-solver/data/nist/ |
Thurber.dat | 14 predictor variable is the natural log of the density.
26 1 Predictor Variable (x = log[density])
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ViewportTest.java | 66 assertEquals(String.format("%.1g", metrics.density), 73 assertTrue(viewportWidth <= Math.max(981, metrics.widthPixels / metrics.density + 1));
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
DeviceDisplayInfo.java | 110 * @return A scaling factor for the Density Independent Pixel unit. 115 return getMetrics().density;
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
icon_design_launcher.jd | 45 href="{@docRoot}guide/practices/ui_guidelines/icon_design.html#icon-sets">Providing Density-Specific 48 medium-, high-, and extra-high-density screens. This ensures that your icons will display properly 189 launcher icon dimensions corresponding to a given generalized screen density are shown in the 193 finished launcher icon dimensions for each generalized screen density.</p> 201 <small style="font-weight: normal">(Low density screen)</small> 205 <small style="font-weight: normal">(Medium density screen)</small> 209 <small style="font-weight: normal">(High density screen)</small> 213 <small style="font-weight: normal">(Extra-high density screen)</small>
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
TextTest.java | 89 Font.Style.NORMAL, 8.0f / metrics.density)); 91 Font.Style.NORMAL, 8.0f / metrics.density));
|
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 31 * Indicates that the bitmap was created for an unknown pixel density. 85 * density when running old apps. 88 public static void setDefaultDensity(int density) { 89 sDefaultDensity = density; 106 Bitmap(int nativeBitmap, byte[] buffer, int width, int height, int density, 124 if (density >= 0) { 125 mDensity = density; 141 * <p>Returns the density for this bitmap.</p> 143 * <p>The default density is the same density as the current display [all...] |