/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | DetailsOverviewRowPresenter.java | 438 boolean landscape = false; in onBindRowViewHolder() 442 landscape = true; in onBindRowViewHolder() 448 if ((landscape && drawableWidth > cardHeight) || in onBindRowViewHolder() 449 (!landscape && drawableHeight > cardHeight)) { in onBindRowViewHolder() 458 if (landscape && drawableWidth > cardHeight - horizontalMargin) { in onBindRowViewHolder() 460 } else if (!landscape && drawableHeight > cardHeight - 2 * verticalMargin) { in onBindRowViewHolder()
|
/frameworks/base/docs/html/training/design-navigation/ |
D | multiple-sizes.jd | 51 …able screen space and are able to present multiple panes of content. In landscape, panes are usual… 59 …alt="Single pane layouts on large screens in landscape lead to awkward whitespace and exceedingly … 61 <p class="img-caption"><strong>Figure 1.</strong> Single pane layouts on large screens in landscape… 65 …alt="Multi-pane layouts in landscape offer better a visual balance while offering more utility and… 67 <p class="img-caption"><strong>Figure 2.</strong> Multi-pane layouts in landscape result in a bette… 77 …eens will adapt to different device orientations. Multi-pane layouts in landscape work quite well … 90 …ble list items. An example would be for a realtime chat application. In landscape, the left list c… 95 …<em>to ensure the functional parity</em> of your screen in portrait and landscape, the left pane s…
|
D | wireframing.jd | 41 …rrently visible and adjacently accessible categories. On tablets in the landscape orientation, we … 53 …alt="Final screen map for the example news application on tablets, in landscape" id="figure-map-ex… 55 …>Figure 3.</strong> Final screen map for the example news application on tablets, in landscape.</p> 62 alt="Example alternate screen map for tablets, in landscape." id="figure-map-example-tablet-alt"> 64 …img-caption"><strong>Figure 4.</strong> Example alternate screen map for tablets, in landscape.</p> 102 alt="Example news application wireframes, for tablets in landscape." 107 …>Figure 6.</strong> Example news application wireframes, for tablets in landscape. Also includes a…
|
/frameworks/base/docs/html/training/basics/supporting-devices/ |
D | screens.jd | 44 <p>Also be aware that the screens orientation (landscape or portrait) is considered a variation of 94 <p>As another example, here's a project with an alternative layout for landscape orientation:</p> 107 <p>If you want to provide a special layout for landscape, including while on large screens, then 115 layout-land/ # landscape 119 layout-large-land/ # large landscape
|
/frameworks/base/docs/html/guide/appendix/ |
D | app-intents.jd | 93 …landscape mode 4 x 3 aspect ratio display. … 95 …the vertical FOV is approximately the same as the landscape vertical … 97 …mode is much narrower than in landscape mode. This is done to minimize …
|
D | g-app-intents.jd | 102 A zoom of 1.0 is 90 degree horizontal FOV for a nominal landscape mode 4 104 that the vertical FOV is approximately the same as the landscape vertical FOV. 106 narrower than in landscape mode. This is done to minimize the fisheye lens
|
/frameworks/base/docs/html/guide/practices/ |
D | optimizing-for-3.0.jd | 45 <li><a href="#Landscape">Adding support for landscape screens</a></li> 241 <li>Landscape layout: The "normal" orientation for tablet-type devices is usually landscape 243 viewing area. <p>You can specify landscape resources with the <code>land</code> resource 244 qualifier, but if you want alternative resources for an extra large landscape screen, you 610 <li><a href="#Landscape">Tablets are often designed for use in the landscape orientation</a> 611 <p>Tablets and similar devices often have a screen that uses the landscape orientation 613 orientation, you should update your application to support landscape.</p></li> 623 <h3 id="Landscape">Adding support for landscape screens</h3> 626 landscape orientation and that is how most users will use them. So, you should ensure that your 627 application can function in landscape. Even if you want to avoid rotating the screen while your [all …]
|
D | screens_support.jd | 125 <dd>The orientation of the screen from the user's point of view. This is either landscape or 511 <td>Resources for screens in the landscape orientation (wide aspect ratio).</td> 522 or landscape orientation, respectively) than the baseline screen configuration.</td> 549 res/layout-xlarge-land/my_layout.xml // layout for extra-large in landscape orientation 611 <li>And, when testing in the landscape orientation compared to the portrait orientation, you 613 should instead be on the right side of the screen in landscape orientation.</li> 620 <li>Is optimized for both landscape and portrait orientations</li> 777 width changes when the screen's orientation switches between landscape and portrait to 781 for landscape. Thus, you can use this to specify the minimum width required for the layout, instead 796 the height changes when the screen's orientation switches between landscape and portrait to [all …]
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screensizes.jd | 73 <p>For example, this is what this layout looks like in portrait and landscape 79 and landscape (right).</p> 277 <p>Some layouts work well in both landscape and portrait orientations, but most of them can 283 <li><b>small screen, landscape:</b> single pane, with logo</li> 285 <li><b>7" tablet, landscape:</b> dual pane, wide, with action bar</li> 287 <li><b>10" tablet, landscape:</b> dual pane, wide, with action bar</li> 288 <li><b>TV, landscape:</b> dual pane, wide, with action bar</li>
|
D | adaptui.jd | 232 but uses a two-pane layout when in landscape mode.</p> 235 onscreen, you need to detect that the orientation changed to landscape and
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | index.jd | 17 that run Android on screens that are naturally landscape in their orientation. That is, when held in
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.2.jd | 112 smallestWidth is normally based on its width, while in landscape orientation it is based 123 height of a screen change when the user switches orientation between landscape 489 <li>Feature constants for landscape or portrait requirements 491 …constants that let applications specify whether they require display in landscape orientation, por… 495 android.hardware.screen.landscape} — The application requires display in 496 landscape orientation.</li> 502 <p>A typical application that functions properly in both landscape and portrait orientations would …
|
D | android-1.5-highlights.jd | 58 <li>Works in both portrait and landscape orientation</li>
|
/frameworks/base/docs/html/training/tv/games/ |
D | index.jd | 33 shared display and the need to design your game for a landscape orientation. 63 <h3 id="landscape-display">Support landscape display</h3> 67 your TV games to be displayed in landscape mode.
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 1695 public RemoteViews(RemoteViews landscape, RemoteViews portrait) { in RemoteViews() argument 1696 if (landscape == null || portrait == null) { in RemoteViews() 1699 if (landscape.mApplication.uid != portrait.mApplication.uid in RemoteViews() 1700 || !landscape.mApplication.packageName.equals(portrait.mApplication.packageName)) { in RemoteViews() 1706 mLandscape = landscape; in RemoteViews() 1713 configureRemoteViewsAsChild(landscape); in RemoteViews()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | activity-element.jd | 38 "landscape" | "portrait" | 282 configuration, because it also changes when a device switches between portrait and landscape 288 landscape and portrait. However, if your application targets API level 12 or lower, then your 813 <td>"{@code landscape}"</td> 820 <td>Landscape orientation in the opposite direction from normal landscape. 828 <td>Landscape orientation, but can be either normal or reverse landscape based on the device 838 <td>Landscape orientation, but can be either normal or reverse landscape based on the device 840 the same as {@code landscape}, otherwise it behaves the same as {@code sensorLandscape}. 859 portrait or reverse landscape, but this enables those). <em>Added in API level 9.</em></td> 882 <p class="note"><strong>Note:</strong> When you declare one of the landscape or portrait values, [all …]
|
/frameworks/base/docs/html/about/ |
D | start.jd | 9 and design guidelines, to information about the current device landscape and how you can distribute
|
/frameworks/base/docs/html/training/tv/start/ |
D | layouts.jd | 94 effective on large screens. Follow these tips to build landscape layouts optimized for TV screens: 98 <li>Build layouts with a landscape orientation. TV screens always display in landscape mode.</li>
|
/frameworks/base/docs/html/design/patterns/ |
D | new.jd | 150 <p>You can supply separate landscape and portrait layouts for your widgets, which 180 <p>You can supply separate landscape and portrait layouts for your
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | runtime-changes.jd | 225 "screen size" also changes</strong> when the device switches between portrait and landscape 247 Toast.makeText(this, "landscape", Toast.LENGTH_SHORT).show(); 273 between landscape and portrait, you must re-assign each resource to each element during {@link
|
D | overview.jd | 58 be used when the screen is in landscape orientation, by saving it in the {@code res/layout-land/}
|
/frameworks/base/docs/html/tools/testing/ |
D | what_to_test.jd | 22 the user turns the device so that the display is "landscape" (long edge is horizontal) instead
|
/frameworks/base/docs/html/training/implementing-navigation/ |
D | descendant.jd | 47 …reen. On the other hand, tablet displays, especially when viewed in the landscape orientation, are…
|
/frameworks/base/docs/html/design/tv/ |
D | style.jd | 31 <li>Design layouts for landscape orientation. TV screens always use this
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | text.jd | 217 when a handset device is in landscape orientation) then fullscreen ("extract mode") is triggered. In 250 is in landscape orientation (or the screen space is otherwise constrained for space). You can
|