Home
last modified time | relevance | path

Searched refs:densities (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/tools/split-select/
DRuleGenerator_test.cpp57 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/
Dscreendensities.jd46 <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>
Dindex.jd79 pixel densities (using density-independent pixels and providing
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd12 <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 …]
Dcompatibility.jd267 <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/
Dicon_design.jd161 <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
Dicon_design_list.jd55 icon dimensions for each of the three generalized screen densities.</p>
Dicon_design_dialog.jd53 icon dimensions for each of the three generalized screen densities.</p>
Dicon_design_menu.jd52 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>
Dicon_design_tab.jd243 … 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>
Dicon_design_action_bar.jd48 Screens</a>, you should create separate icons for all generalized screen densities, including low-,
/frameworks/base/docs/html/design/style/
Diconography.jd15 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>
Ddevices-displays.jd31 <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,
Dmetrics-grids.jd27 <p>Because it's important that you design and implement your layouts for multiple densities,
/frameworks/base/docs/html/guide/webapps/
Dtargeting.jd33 <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&mdash;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>
Dindex.jd36 multiple screen densities. The information in this document is important if you're building a web
/frameworks/base/docs/html/training/basics/supporting-devices/
Dscreens.jd32 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>
Dindex.jd43 <dd>Learn how to optimize the user experience for different screen sizes and densities.</dd>
/frameworks/base/tools/aapt/
DCommand.cpp767 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/
Dcompatible-screens-element.jd44 for different screen sizes and densities.</p>
102 <p>For information about the different screen densities, see <a
/frameworks/base/docs/html/sdk/installing/
Dstudio-androidview.jd45 <code>ic_launcher.png</code> resource for different screen densities under the same element.</p>
/frameworks/base/docs/html/about/versions/
Dandroid-1.6-highlights.jd182 <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/
Dstart.jd56 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/
Dindex.jd55 application memory for various screen sizes and densities. Applications should be optimized to
/frameworks/base/docs/html/about/dashboards/
Dindex.jd80 actual screen sizes and densities into several buckets as expressed by the table below.</p>
432 // variable to sum all densities for this size

123