/sdk/apps/DeviceConfig/res/layout/ |
main.xml | 148 android:text="Density" > 154 android:text="@string/density" >
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Configuration.java | 45 import com.android.resources.Density; [all...] |
/frameworks/base/core/java/android/view/ |
HardwareRenderer.java | 1801 final float density = metrics.density; local [all...] |
/frameworks/base/docs/html/distribute/googleplay/quality/ |
tablet.jd | 146 layouts based on density-independent grids. 260 assets for each density in the range commonly supported by tablets. Specifically, you should 268 <th>Density</th> 326 <li>Use density-specific <a 328 resource qualifiers</a> to ensure that the proper icons are loaded for each screen density.</li> 329 <li>Tablets and other large screen devices often request a launcher icon that is one density 330 size larger than the device's actual density, so you should provide your launcher 331 icon at the highest density possible. For example, if a tablet has an {@code xhdpi} screen, 651 <em>all of the size and density combinations for tablet screens</em> that the [all...] |
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 98 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density); 502 jint touchscreen, jint density, 525 config.density = (uint16_t)density; 693 jshort density, 710 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config); 1007 config.density = 0; [all...] |
/frameworks/base/docs/html/guide/components/ |
fundamentals.jd | 411 <dt>Screen size and density</dt> 413 each device: screen size (the physical dimensions of the screen) and screen density (the physical 414 density of the pixels on the screen, or dpi—dots per inch). To simplify all the different 418 The screen densities are: low density, medium density, high density, and extra high density.</p>
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
transrt.cpp | 264 // density is the approximate total number of code points to returned for the entire set. 272 void reset(UnicodeSet& set, UBool abb = FALSE, int32_t density = 100); 307 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { 312 perRange = density / perRange; 363 int32_t density = 100); 375 void test2(UBool quick, int32_t density); 465 int32_t density) 533 test2(quickRt, density); 560 void RTTest::test2(UBool quickRt, int32_t density) { 701 usi.reset(sourceRangeMinusFailures, quickRt, density); [all...] |
/external/icu4c/test/intltest/ |
transrt.cpp | 265 // density is the approximate total number of code points to returned for the entire set. 273 void reset(UnicodeSet& set, UBool abb = FALSE, int32_t density = 100); 308 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { 313 perRange = density / perRange; 364 int32_t density = 100); 376 void test2(UBool quick, int32_t density); 466 int32_t density) 534 test2(quickRt, density); 561 void RTTest::test2(UBool quickRt, int32_t density) { 702 usi.reset(sourceRangeMinusFailures, quickRt, density); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaEnvReverbTest.java | 272 //Test case 1.4: test diffusion and density 286 short density = mReverb.getDensity(); local 287 assertTrue(msg +": got incorrect density", 288 ((float)density > (float)(500 / RATIO_TOLERANCE)) && 289 ((float)density < (float)(500 * RATIO_TOLERANCE)));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AdapterViewTest.java | 214 float density = mActivity.getResources().getDisplayMetrics().density; local 215 int bottom = (int) (LAYOUT_HEIGHT * density);
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 81 * The effective screen density we have selected for this application. 441 inoutDm.density = inoutDm.noncompatDensity * invertedRatio; 488 int newShortSize = (int)(DEFAULT_NORMAL_SHORT_DIMENSION * dm.density + 0.5f);
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 166 final float density = context.getResources().getDisplayMetrics().density; local 167 mScaledTextSpacing = (int) (TEXT_SPACING * density);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
NewProjectCreator.java | 44 import com.android.resources.Density; 152 SdkConstants.FD_RES_DRAWABLE + '-' + Density.XHIGH.getResourceValue() + 155 SdkConstants.FD_RES_DRAWABLE + '-' + Density.HIGH.getResourceValue() + 158 SdkConstants.FD_RES_DRAWABLE + '-' + Density.MEDIUM.getResourceValue() + 161 SdkConstants.FD_RES_DRAWABLE + '-' + Density.LOW.getResourceValue() + [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
raytrace.js | 386 density: 0.5, 388 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { 394 this.density = density; 399 var t = this.wrapUp(u * this.density) * this.wrapUp(v * this.density);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 387 density: 0.5, 389 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { 395 this.density = density; 400 var t = this.wrapUp(u * this.density) * this.wrapUp(v * this.density);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-raytrace.js | 387 density: 0.5, 389 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { 395 this.density = density; 400 var t = this.wrapUp(u * this.density) * this.wrapUp(v * this.density);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-raytrace.js | 381 density: 0.5, 383 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { 389 this.density = density; 394 var t = this.wrapUp(u * this.density) * this.wrapUp(v * this.density);
|
/external/chromium_org/v8/benchmarks/ |
raytrace.js | 386 density: 0.5, 388 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { 394 this.density = density; 399 var t = this.wrapUp(u * this.density) * this.wrapUp(v * this.density);
|
/external/v8/benchmarks/ |
raytrace.js | 386 density: 0.5, 388 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { 394 this.density = density; 399 var t = this.wrapUp(u * this.density) * this.wrapUp(v * this.density);
|
/frameworks/base/docs/html/guide/topics/resources/ |
more-resources.jd | 219 <dd>Density-independent Pixels - An abstract unit that is based on the physical density of the 221 to 1px. When running on a higher density screen, the number of pixels used to draw 1dp is scaled up 222 by a factor appropriate for the screen's dpi. Likewise, when on a lower density screen, the number 223 of pixels used for 1dp is scaled down. The ratio of dp-to-pixel will change with the screen density, 231 for both the screen density and the user's preference.</dd>
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
SlidingChallengeLayout.java | 252 final float density = mDisplayMetrics.density; local 255 mDragHandleClosedAbove = (int) (DRAG_HANDLE_CLOSED_ABOVE * density + 0.5f); 256 mDragHandleClosedBelow = (int) (DRAG_HANDLE_CLOSED_BELOW * density + 0.5f); 257 mDragHandleOpenAbove = (int) (DRAG_HANDLE_OPEN_ABOVE * density + 0.5f); 258 mDragHandleOpenBelow = (int) (DRAG_HANDLE_OPEN_BELOW * density + 0.5f); [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
NinePatchDrawableTest.java | 145 // exact padding unknown due to possible density scaling 334 // depending on device density
|
/external/chromium_org/chrome/common/extensions/api/ |
browser_action.json | 101 "description": "Either an ImageData object or a dictionary {size -> ImageData} representing icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.imageData = foo' is equivalent to 'details.imageData = {'19': foo}'" 115 "description": "Either a relative image path or a dictionary {size -> relative image path} pointing to icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.path = foo' is equivalent to 'details.imageData = {'19': foo}'"
|
/external/eigen/bench/ |
sparse_product.cpp | 102 float density = DENSITY; local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsHorizontalScrollView.java | 59 float densityScale = getResources().getDisplayMetrics().density; 298 float densityScale = getResources().getDisplayMetrics().density;
|