/frameworks/base/tools/split-select/ |
D | RuleGenerator_test.cpp | 57 Vector<int> densities; in TEST() local 58 const ssize_t highIndex = densities.add(ConfigDescription::DENSITY_HIGH); in TEST() 59 const ssize_t xhighIndex = densities.add(ConfigDescription::DENSITY_XHIGH); in TEST() 60 const ssize_t xxhighIndex = densities.add(ConfigDescription::DENSITY_XXHIGH); in TEST() 62 EXPECT_RULES_EQ(RuleGenerator::generateDensity(densities, highIndex), in TEST() 67 EXPECT_RULES_EQ(RuleGenerator::generateDensity(densities, xhighIndex), in TEST() 73 EXPECT_RULES_EQ(RuleGenerator::generateDensity(densities, xxhighIndex), in TEST() 80 Vector<int> densities; in TEST() local 81 const ssize_t highIndex = densities.add(ConfigDescription::DENSITY_HIGH); in TEST() 82 const ssize_t xhighIndex = densities.add(ConfigDescription::DENSITY_XHIGH); in TEST() [all …]
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screendensities.jd | 46 <p>This lesson shows you how to support different screen densities 54 pixels is a problem because different screens have different pixel densities, 94 <p>Since Android runs in devices with a wide variety of screen densities, 98 screen densities.</p>
|
D | index.jd | 79 pixel densities (using density-independent pixels and providing
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 12 <li>Android runs on devices that have different screen sizes and densities.</li> 68 <p>Android runs on a variety of devices that offer different screen sizes and densities. For 72 application's UI for specific screen sizes and densities, in order to optimize your UI 78 sizes and densities. In doing so, you maximize the user experience for all devices and your users 121 <p>For simplicity, Android groups all actual screen densities into six generalized densities: 146 densities. </p></dd> 153 densities, reflecting the many different screen configurations that a device may have. You can use 159 the range of actual screen sizes and densities into:</p> 171 <li>A set of six generalized <strong>densities</strong>: 183 <p>The generalized sizes and densities are arranged around a [all …]
|
D | compatibility.jd | 267 <li>And several generalized densities: mdpi (medium), hdpi (hdpi), xhdpi (extra high), 271 <p>By default, your app is compatible with all screen sizes and densities, 275 optimized bitmap images for common screen densities.</p>
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design.jd | 161 <p>For tips on how to create and manage icon sets for multiple densities, see 221 <h3>Set up a working space that organizes files for multiple densities</h3> 223 <p>Supporting multiple screen densities means you must create multiple versions 251 variances in filenames across densities, which is important because 252 corresponding assets for different densities must share the same filename.</p> 283 <p>Because you will need to create assets for different screen densities, 299 densities. For example if a 60x60 circle was painted as a bitmap for 316 <h3>Make sure that corresponding assets for different densities use the same
|
D | icon_design_list.jd | 55 icon dimensions for each of the three generalized screen densities.</p>
|
D | icon_design_dialog.jd | 53 icon dimensions for each of the three generalized screen densities.</p>
|
D | icon_design_menu.jd | 52 Screens</a>, you should create separate icons for all generalized screen densities, including low-, 205 … dimensions are for medium density and should be scaled appropriately for other densities.</em></p>
|
D | icon_design_tab.jd | 243 … dimensions are for medium density and should be scaled appropriately for other densities.</em></p> 263 … dimensions are for medium density and should be scaled appropriately for other densities.</em></p>
|
D | icon_design_action_bar.jd | 48 Screens</a>, you should create separate icons for all generalized screen densities, including low-,
|
/frameworks/base/docs/html/design/style/ |
D | iconography.jd | 15 pixel densities, as mentioned in 21 <p>Because you will deliver each icon in multiple sizes to support different densities, 28 <p>So, to create an icon for different densities, you should follow the <strong>2:3:4:6:8 29 scaling ratio</strong> between the five primary densities (medium, high, x-high, xx-high, and 136 download link below provides a package with icons that are scaled for various screen densities and 404 <p>Because you will need to create assets for different screen densities, 419 densities. For example if a 60x60 circle was painted as a bitmap for 474 <p>Supporting multiple screen densities means you must create multiple versions 502 variances in filenames across densities, which is important because 503 corresponding assets for different densities must share the same filename.</p>
|
D | devices-displays.jd | 31 <p>Provide resources for different screen densities (<acronym title="Dots per inch">DPI</acronym>) … 50 <p>For information about how to build flexible layouts for multiple screen sizes and densities,
|
D | metrics-grids.jd | 27 <p>Because it's important that you design and implement your layouts for multiple densities,
|
/frameworks/base/docs/html/guide/webapps/ |
D | targeting.jd | 33 <p>Because Android is available on devices with a variety of screen sizes and pixel densities, you 53 your web design, you should pay close attention to the scaling that occurs on different densities, 126 screen densities—the <code>-webkit-device-pixel-ratio</code> CSS media feature. The 162 <p>For more information about handling different screen densities, especially images, see 181 target to affect how your web page is scaled for different screen densities.</p>
|
D | index.jd | 36 multiple screen densities. The information in this document is important if you're building a web
|
/frameworks/base/docs/html/training/basics/supporting-devices/ |
D | screens.jd | 32 appearance for different screen sizes and densities.</p> 36 <li>And four generalized densities: low (ldpi), medium (mdpi), high (hdpi), extra high 136 quality and performance on all screen densities.</p>
|
D | index.jd | 43 <dd>Learn how to optimize the user experience for different screen sizes and densities.</dd>
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 767 SortedVector<int> densities; in doDump() local 774 densities.add(dens); in doDump() 1103 const size_t ND = densities.size(); in doDump() 1105 tmpConfig.density = densities[i]; in doDump() 1110 printf("application-icon-%d:'%s'\n", densities[i], in doDump() 1996 const size_t ND = densities.size(); in doDump() 1998 printf(" '%d'", densities[i]); in doDump()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | compatible-screens-element.jd | 44 for different screen sizes and densities.</p> 102 <p>For information about the different screen densities, see <a
|
/frameworks/base/docs/html/sdk/installing/ |
D | studio-androidview.jd | 45 <code>ic_launcher.png</code> resource for different screen densities under the same element.</p>
|
/frameworks/base/docs/html/about/versions/ |
D | android-1.6-highlights.jd | 182 <h3 id="Screens">Expanded support for screen densities and resolutions</h3> 185 display resolutions and densities. Developers can also specify the types of screens supported by th…
|
/frameworks/base/docs/html/about/ |
D | start.jd | 56 densities, and tested it on the Android emulator and on real devices. You're ready to ship your app…
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | index.jd | 55 application memory for various screen sizes and densities. Applications should be optimized to
|
/frameworks/base/docs/html/about/dashboards/ |
D | index.jd | 80 actual screen sizes and densities into several buckets as expressed by the table below.</p> 432 // variable to sum all densities for this size
|