Home
last modified time | relevance | path

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

12

/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/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.jd253 <li>And several generalized densities: mdpi (medium), hdpi (hdpi), xhdpi (extra high),
257 <p>By default, your app is compatible with all screen sizes and densities,
261 optimized bitmap images for common screen densities.</p>
/frameworks/base/docs/html/training/multiscreen/
Dscreendensities.jd47 <p>This lesson shows you how to support different screen densities
55 pixels is a problem because different screens have different pixel densities,
95 <p>Since Android runs in devices with a wide variety of screen densities,
99 screen densities.</p>
Dindex.jd79 pixel densities (using density-independent pixels and providing
/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/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/design/style/
Ddevices-displays.jd33 <p>Provide resources for different screen densities (<acronym title="Dots per inch">DPI</acronym>) …
61 <p>For information about how to build flexible layouts for multiple screen sizes and densities,
/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.cpp920 SortedVector<int> densities; in doDump() local
927 densities.add(dens); in doDump()
1266 const size_t ND = densities.size(); in doDump()
1268 tmpConfig.density = densities[i]; in doDump()
1273 printf("application-icon-%d:'%s'\n", densities[i], in doDump()
2186 const size_t ND = densities.size(); in doDump()
2188 printf(" '%d'", densities[i]); in doDump()
/frameworks/base/docs/html/guide/topics/manifest/
Dcompatible-screens-element.jd45 for different screen sizes and densities.</p>
104 <p>For information about the different screen densities, see <a
/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…
Dandroid-1.6.jd227 <li>New support for dealing with varying screen densities. Density
273 for different screen densities.</li>
/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.jd73 actual screen sizes and densities into several buckets as expressed by the table below.</p>
423 // variable to sum all densities for this size
/frameworks/base/docs/html/distribute/essentials/quality/
Dbillions.jd284 screens have different pixel densities, so the same number of pixels may
295 <h4 id="screens-density">Test graphics on ldpi/mdpi screen densities</h4>
300 common densities</a>, especially in lower-cost devices. Testing on
307 screen densities.</li>
311 transitions. For more information on supporting different densities, see
494 <li>If you have many large images across multiple densities, consider
497 targeted for specific densities, meaning users with low-density devices
/frameworks/base/docs/html/design/patterns/
Dpure-android.jd140 for different screen sizes and densities and make use of concepts such as multi-pane layouts to

12