NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Android device mode

From Texas Instruments Wiki
Jump to: navigation, search

Content is no longer maintained and is being kept for reference only!




Construction Icon small.png This page is currently under construction. The content of this page is due to change quite frequently and thus the quality and accuracy are not guaranteed until this message has been removed. Please feel free to contribute to this page while construction is in progress.

Introduction[edit]

This document discusses the Phone-mode and Table-mode layouts supported with Android 4.0 ICS release.

Displays[edit]

According to the Android CDD the following categories of displays are defined in android:

  • small
  • medium
  • large

Operating mode[edit]

Based on the display dimensions, android selects the mode:

  • Tablet-mode for displays with minimum 600 pixel height and width
  • Phone mode for all other displays

Differences between Phone mode and Tablet mode[edit]

The following screen shots show the various modes depending on screen size.

Phone mode-Portrait
AM37xevm with 640x480 LCD
Phone mode-Landscape
AM335xevm with 800x480 LCD
TBD
Tablet mode
Beagleboard xm with DVI output configured for 800x600

Impact of LCD density[edit]

An LCD panel (say 800x480) can be available in different physical sizes e.g 5-inch or 7-inch. The UI experiance on a 5-inch device may be different compared to the experience on a 7-inch device.

Android introduces the concept of lcd density to compensate for such physical differences. LCD density (dots/inch) is defined as ( formula for dpi goes here).

Android defines the following standard lcd densities:

  • mdpi (160)
  • ldpi (120)
  • hdpi (240)
  • xhdpi

Android assumes mdpi display by default unless explicitly overridden by modifying build.prop.

You can change the dpi by adding the following line in /system/build.prop

  ro.sf.lcd_density=120

This changes the dpi to 120

Take example of LCD screen of 800x480

with dpi=160 (default) the effective resolution = 800x480

with dpi=120, effective resolution increases by about 30% (160/120 = 1.33) = 1066x640

References[edit]

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Android device mode here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Android device mode here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Android device mode here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Android device mode here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Android device mode here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Android device mode here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Android device mode here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Android device mode here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Android device mode here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity