Commit Graph

32315 Commits

Author SHA1 Message Date
Dianne Hackborn
aafc700511 Merge "Better compat mode part one: start scaling windows." into honeycomb-mr2 2011-05-09 17:06:24 -07:00
Dianne Hackborn
16fe3c2c1f Better compat mode part one: start scaling windows.
First step of improving app screen size compatibility mode.  When
running in compat mode, an application's windows are scaled up on
the screen rather than being small with 1:1 pixels.

Currently we scale the application to fill the entire screen, so
don't use an even pixel scaling.  Though this may have some
negative impact on the appearance (it looks okay to me), it has a
big benefit of allowing us to now treat these apps as normal
full-screens apps and do the normal transition animations as you
move in and out and around in them.

This introduces fun stuff in the input system to take care of
modifying pointer coordinates to account for the app window
surface scaling.  The input dispatcher is told about the scale
that is being applied to each window and, when there is one,
adjusts pointer events appropriately as they are being sent
to the transport.

Also modified is CompatibilityInfo, which has been greatly
simplified to not be so insane and incomprehendible.  It is
now simple -- when constructed it determines if the given app
is compatible with the current screen size and density, and
that is that.

There are new APIs on ActivityManagerService to put applications
that we would traditionally consider compatible with larger screens
in compatibility mode.  This is the start of a facility to have
a UI affordance for a user to switch apps in and out of
compatibility.

To test switching of modes, there is a new variation of the "am"
command to do this: am screen-compat [on|off] [package]

This mode switching has the fundamentals of restarting activities
when it is changed, though the state still needs to be persisted
and the overall mode switch cleaned up.

For the few small apps I have tested, things mostly seem to be
working well.  I know of one problem with the text selection
handles being drawn at the wrong position because at some point
the window offset is being scaled incorrectly.  There are
probably other similar issues around the interaction between
two windows because the different window coordinate spaces are
done in a hacky way instead of being formally integrated into
the window manager layout process.

Change-Id: Ie038e3746b448135117bd860859d74e360938557
2011-05-09 17:03:24 -07:00
Wink Saville
6d6482cb0a Merge "Telephony: Signal Strength Changes." into honeycomb-LTE 2011-05-09 16:57:32 -07:00
Robert Ly
6ce71e363d am 27944242: am c3038308: Merge "Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package" into honeycomb-mr1
* commit '279442428ab1000b57273f172453b712b03cb9fd':
  Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package
2011-05-09 14:43:28 -07:00
Robert Ly
dab2072130 am c3038308: Merge "Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package" into honeycomb-mr1
* commit 'c3038308a765de2826997b65c175bf752b45bc70':
  Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package
2011-05-09 14:41:00 -07:00
Robert Ly
93f4ccf24b Merge "Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package" into honeycomb-mr1 2011-05-09 14:25:53 -07:00
The Android Automerger
1d09b2b69a Merge remote branch 'goog/honeycomb-mr2' into honeycomb-LTE 2011-05-08 22:38:02 -07:00
The Android Automerger
5451520bd5 Merge remote branch 'goog/honeycomb-mr1' into honeycomb-mr2 2011-05-08 22:11:52 -07:00
Scott Main
88b4a6cbf6 am 5cf78ecd: docs: update sdk tools sums and sizes based on candidate 5
* commit '5cf78ecd2c523be442f52888ca613b9a92325a6c':
  docs: update sdk tools sums and sizes based on candidate 5
2011-05-06 17:22:34 -07:00
Scott Main
efa8aef94c am b6451228: docs: update screens dashboard and add opengl dashboard
* commit 'b6451228526288b158c3b0bf0c5abbd5b072d51c':
  docs: update screens dashboard and add opengl dashboard
2011-05-06 17:05:42 -07:00
Robert Greenwalt
e4c1b85e7f Merge "Fix 2 functions getting connections up by apnType" into honeycomb-LTE 2011-05-06 16:21:06 -07:00
Robert Greenwalt
0630fc5e75 Merge "Mark a disable apn so we don't reconnect." into honeycomb-LTE 2011-05-06 14:52:45 -07:00
Scott Main
ddfdd61b38 am 223a94d2: docs: de-new the dev guide toc
* commit '223a94d2effd0ba9ef205d0bb790a5bdfb4d54c0':
  docs: de-new the dev guide toc
2011-05-06 10:05:56 -07:00
Scott Main
35927d110f am 9f7054fe: Merge "docs: add package description for mtp and a little more info to MtpDevice" into honeycomb-mr1
* commit '9f7054fea28e65ae1bf8bc1114090306979ba657':
  docs: add package description for mtp and a little more info to MtpDevice
2011-05-06 08:41:57 -07:00
Scott Main
f17cb2110c Merge "docs: add package description for mtp and a little more info to MtpDevice" into honeycomb-mr1 2011-05-06 08:31:40 -07:00
Scott Main
68328dcefc am f88b52fb: Merge "docs: version notes for tools 11" into honeycomb-mr1
* commit 'f88b52fbf693d8b17e57a9d2fdda5a29e1bfa8d9':
  docs: version notes for tools 11
2011-05-05 18:34:42 -07:00
Scott Main
4a30e130f6 Merge "docs: version notes for tools 11" into honeycomb-mr1 2011-05-05 18:32:42 -07:00
Scott Main
be32882b54 am 46524f83: Merge "docs: add package description for RTP" into honeycomb-mr1
* commit '46524f83a55731cd96c9df8a87be6dacb1db1a37':
  docs: add package description for RTP
2011-05-05 18:00:57 -07:00
Scott Main
f9fb9b04c3 Merge "docs: add package description for RTP" into honeycomb-mr1 2011-05-05 17:59:24 -07:00
Scott Main
64cb372303 am 034d89d9: docs: cherrypick Change-Id: I3d871d494cf1f626df701efaa43058b66893259e docs: add info about customizing the density of an AVD from command line; and a few editorial things like fix the TOCs
* commit '034d89d9a4b56014ea198bcdeaa5ad922608ae40':
  docs: cherrypick Change-Id: I3d871d494cf1f626df701efaa43058b66893259e docs: add info about customizing the density of an AVD from command line; and a few editorial things like fix the TOCs
2011-05-05 17:53:57 -07:00
Wink Saville
2e170d7619 Merge "Add Delay for data connection retry." into honeycomb-LTE 2011-05-05 16:20:11 -07:00
Wink Saville
2923ef40e7 Merge "DataConnection: Fix handling of PDP setup failure." into honeycomb-LTE 2011-05-05 16:20:02 -07:00
Bill Gruber
7a9c37cfcb am 0369cf98: Cherry pick from Honeycomb Change ID I8d57d12828afab700d76f9b19195817a0adfe080 IAB docs: adds best practices for pending transaction UI
* commit '0369cf98743e72d052eb5542125f58d1ad2f7f61':
  Cherry pick from Honeycomb Change ID I8d57d12828afab700d76f9b19195817a0adfe080 IAB docs: adds best practices for pending transaction UI
2011-05-05 16:05:41 -07:00
Scott Main
c46246ad8d am 1c71fffe: update platform version number for docs
* commit '1c71fffeb5d6a241ccbe7f035ce0d030eaeef562':
  update platform version number for docs
2011-05-05 15:18:19 -07:00
Scott Main
52018543db am e6746acd: Merge "docs: update homepage to announce 3.1" into honeycomb-mr1
* commit 'e6746acde2a0cc4faad9bdec026a9554797e2f94':
  docs: update homepage to announce 3.1
2011-05-05 08:43:42 -07:00
Scott Main
d96c4779be Merge "docs: update homepage to announce 3.1" into honeycomb-mr1 2011-05-05 08:33:03 -07:00
Wink Saville
d686f61b81 Merge "Fix 4379712 NPE in GsmDataConnectionTracker" into honeycomb-LTE 2011-05-04 17:01:32 -07:00
Robert Ly
a453ab1f14 am 7157b7c3: Merge "doc change: a misplaced link removed" into honeycomb-mr1
* commit '7157b7c31462e9340847d15d936bbb0b1117ecbb':
  doc change: a misplaced link removed
2011-05-04 17:00:10 -07:00
Robert Ly
f59ce60a64 Merge "doc change: a misplaced link removed" into honeycomb-mr1 2011-05-04 16:55:59 -07:00
Katie McCormick
d2c0f942d5 am 62922c36: Cherry pick from honeycomb. Change-Id: I542fc39ef017346694cd0b376421bfec03ebe340
* commit '62922c361e0c1b36c3787d7f06d04c3a609c2b12':
  Cherry pick from honeycomb. Change-Id: I542fc39ef017346694cd0b376421bfec03ebe340
2011-05-04 15:47:10 -07:00
Scott Main
fd5101dc6a am ad3b87aa: cherrypick from honeycomb cl 742100b0ff66bb2a6fec706931e9cfeee8035ad3 docs: update dashboard for platform versions
* commit 'ad3b87aa0d094c3e867ce44ec3f61e0b02090417':
  cherrypick from honeycomb cl 742100b0ff66bb2a6fec706931e9cfeee8035ad3 docs: update dashboard for platform versions
2011-05-04 15:09:53 -07:00
Scott Main
a80f0ea1ce am 41703766: docs: typo in menu doc
* commit '41703766815918c96fa0f45c6f27a29a0865846a':
  docs: typo in menu doc
2011-05-04 14:41:35 -07:00
Scott Main
0bcc66c626 am 7017c942: docs: fix issue 4383086
* commit '7017c94249f7d27643fefd242e9faf9e53ce986e':
  docs: fix issue 4383086
2011-05-04 14:37:10 -07:00
Robert Ly
8d16a63941 am 762481f0: Merge "adding the usb apis to the resources browser" into honeycomb-mr1
* commit '762481f0b58ac41b7583f74315fcb213ca0eb630':
  adding the usb apis to the resources browser
2011-05-04 13:14:48 -07:00
Robert Ly
9b1d182b5d Merge "adding the usb apis to the resources browser" into honeycomb-mr1 2011-05-04 13:10:54 -07:00
Robert Ly
329a7c4c1b am fd7974f5: Merge "Doc change: adding usb docs and removed ADK doc. ADK doc will be in another CL" into honeycomb-mr1
* commit 'fd7974f531b8784e7d229d31dda228cca0e7c2d8':
  Doc change: adding usb docs and removed ADK doc. ADK doc will be in another CL
2011-05-04 12:27:39 -07:00
Robert Ly
7cbb613026 Merge "Doc change: adding usb docs and removed ADK doc. ADK doc will be in another CL" into honeycomb-mr1 2011-05-04 12:18:09 -07:00
Robert Greenwalt
9f7aa4c665 Merge "Add auto-restore timeout for secondary networks." into honeycomb-LTE 2011-05-04 09:59:30 -07:00
Robert Ly
68cc53fe03 am 7c2d14d5: Merge "Doc change: fixing minor bug for xml resources bug 4376713" into honeycomb-mr1
* commit '7c2d14d59637cfb06ebcfbb091541cebd131fc6a':
  Doc change: fixing minor bug for xml resources bug 4376713
2011-05-03 16:57:52 -07:00
Glenn Kasten
3d8070ba89 am 9d8c6215: Merge "Account for race condition when attaching HDMI." into honeycomb-mr1
* commit '9d8c6215d1aedb1e9f2e10c63e737427f13be884':
  Account for race condition when attaching HDMI.
2011-05-03 16:57:45 -07:00
Robert Ly
f8647fc367 Merge "Doc change: fixing minor bug for xml resources bug 4376713" into honeycomb-mr1 2011-05-03 16:54:21 -07:00
Glenn Kasten
efd763ded8 Merge "Account for race condition when attaching HDMI." into honeycomb-mr1 2011-05-03 16:46:12 -07:00
Wink Saville
b71fa02d0d Merge "IMS: Provide net_admin permission so that IPSec could be configured/used." into honeycomb-LTE 2011-05-03 16:19:58 -07:00
Dan Morrill
95bf307d34 am 8325c3a8: Backporting I57c58c4083bd59f45095c184d6ca5a302f79ff6e to HC-MR1. New change since file was renamed, making cherry-pick impossible.
* commit '8325c3a89197e47cfc2eeb4117c927fb8cb91630':
  Backporting I57c58c4083bd59f45095c184d6ca5a302f79ff6e to HC-MR1. New change since file was renamed, making cherry-pick impossible.
2011-05-03 12:26:16 -07:00
Wink Saville
1c503c26e0 Merge "Make DataConnection asynchronous." into honeycomb-LTE 2011-05-02 23:41:29 -07:00
Robert Greenwalt
62bcdb5f45 Merge "Add RouteInfo objects for tracking routes." into honeycomb-LTE 2011-05-02 13:26:52 -07:00
Irfan Sheriff
581b155a43 Merge "Add DhcpStateMachine for interation with dhcpcd" into honeycomb-LTE 2011-05-02 11:49:46 -07:00
Wink Saville
9b81f6b0c1 Merge "Enhance AsyncChannel." into honeycomb-LTE 2011-05-02 10:47:05 -07:00
Wink Saville
75bb55b0bb Merge "CDMALTE: Evaluate data network type in pollStateDone()" into honeycomb-LTE 2011-04-29 16:12:59 -07:00
Scott Main
7d2fef4399 am de506220: am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb
* commit 'de506220d8a3d453463e1abe1b2eb54afd48ec93':
  docs: more documentation for ProgressBar
2011-04-29 14:59:08 -07:00