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
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
5451520bd5
Merge remote branch 'goog/honeycomb-mr1' into honeycomb-mr2
2011-05-08 22:11:52 -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
4a30e130f6
Merge "docs: version notes for tools 11" into honeycomb-mr1
2011-05-05 18:32:42 -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
d96c4779be
Merge "docs: update homepage to announce 3.1" into honeycomb-mr1
2011-05-05 08:33:03 -07:00
Robert Ly
f59ce60a64
Merge "doc change: a misplaced link removed" into honeycomb-mr1
2011-05-04 16:55:59 -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
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 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
Scott Main
0d1ed0af4a
am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb
...
* commit '1462813a28270d4255f9542b666960182e274a6e':
docs: more documentation for ProgressBar
2011-04-29 14:55:43 -07:00
Scott Main
8e06acecc4
Merge "docs: more documentation for ProgressBar" into honeycomb
2011-04-29 14:52:20 -07:00
Scott Main
34db3e567e
am c7eb47fa: docs: tweak table headers for config qualifiers
...
* commit 'c7eb47fad4fe39bd85c6205e38426c1867b9ed92':
docs: tweak table headers for config qualifiers
2011-04-29 14:42:55 -07:00
Scott Main
bbb3bad7e3
am c59e80c4: Merge "docs: fix for Misdirected link in topic Declaring Layout bug 4257430" into honeycomb
...
* commit 'c59e80c4eb60a0ba665571fee2f9561aa6e936ff':
docs: fix for Misdirected link in topic Declaring Layout bug 4257430
2011-04-28 14:21:46 -07:00
Scott Main
dae3b8228c
Merge "docs: fix for Misdirected link in topic Declaring Layout bug 4257430" into honeycomb
2011-04-28 14:08:57 -07:00
Stephen Hines
776b2ccd77
Merge "Check setName() for null string + fix rsRand()." into honeycomb-mr1
2011-04-27 17:32:40 -07:00
Scott Main
bba61e6644
am 97fee855: docs: update a couple usb driver URLs bug: 4339758
...
* commit '97fee8554d40a8c093ef16934284d9292e4cf7a4':
docs: update a couple usb driver URLs bug: 4339758
2011-04-26 00:45:35 -07:00
Joe Fernandez
0582a8bc1f
am a29e2cca: docs: Fixing Issue with code for Adding Tabs topic bug 4293013
...
* commit 'a29e2cca5d0e3ff222c09165fd69ca8f4d0f634e':
docs: Fixing Issue with code for Adding Tabs topic bug 4293013
2011-04-22 16:36:33 -07:00
Scott Main
b724172599
am 48c187f9: docs: fix typo in 3.0 notes
...
* commit '48c187f9cf2bcb51f446a5a62346f9ef5920c7f3':
docs: fix typo in 3.0 notes
2011-04-21 17:36:40 -07:00
Scott Main
952c6b5c72
am b8a57841: Merge "docs: add a little info to Configuration class description" into honeycomb
...
* commit 'b8a57841316171d6db4311a65914720213516153':
docs: add a little info to Configuration class description
2011-04-21 10:53:08 -07:00
Scott Main
9dbdb7c560
Merge "docs: add a little info to Configuration class description" into honeycomb
2011-04-21 10:51:14 -07:00
Scott Main
d150f53ae6
am d155e1a2: docs: change ZTE usb driver link
...
* commit 'd155e1a2d8768e383824c565a5b4f5a7546960ea':
docs: change ZTE usb driver link
2011-04-21 10:08:20 -07:00
Scott Main
0f03c71f66
am 6669f251: docs: fix snippet errors in web doc
...
* commit '6669f251391d7e61a6ea55e2538c941f82514dd9':
docs: fix snippet errors in web doc
2011-04-15 18:03:14 -07:00
Dianne Hackborn
2f94260a9c
Merge "Fix issue #4291805 : Tap Fish crashes on launch" into honeycomb-mr1
2011-04-14 15:10:31 -07:00
Eric Fischer
8d5645716c
am d284a867: (-s ours) Merge "Import revised translations. DO NOT MERGE" into honeycomb
...
* commit 'd284a8676e002a72b66d321402ec7f4ed61c7915':
Import revised translations. DO NOT MERGE
2011-04-14 14:21:57 -07:00
Eric Fischer
7c1a8f7461
Merge "Import revised translations. DO NOT MERGE" into honeycomb
2011-04-14 14:14:46 -07:00
Scott Main
8fcb75765d
am d08debcb: docs: bring back the SDK EULA wall for downloading archived SDKs
...
* commit 'd08debcb211ec2e369c8c88ce15e4aaadd54a8d4':
docs: bring back the SDK EULA wall for downloading archived SDKs
2011-04-14 13:55:16 -07:00
Xia Wang
aef161d454
Merge "Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi" into honeycomb-mr1
2011-04-13 15:13:10 -07:00
Scott Main
281c94f89d
am f42937a8: docs: fix doc typo
...
* commit 'f42937a8aa0af6b22d8a2a43a9bfc07c38aeffb5':
docs: fix doc typo
2011-04-12 14:44:02 -07:00
Scott Main
6b923ae419
am b9fedd97: docs: fix broken links
...
* commit 'b9fedd9771a6aedf068155fd91f15baf52e668cd':
docs: fix broken links
2011-04-12 13:02:43 -07:00
Bill Gruber
af40f2d47d
am 9a693ed9: Doc fix-corrects the cited download locations
...
* commit '9a693ed9870cf2d5817a3bfc8dc0fbec4456a3c2':
Doc fix-corrects the cited download locations
2011-04-12 11:48:00 -07:00
Nicolas Roard
d0277b0001
Merge "Remove uncalled function -- java counterpart of the fix for bug:4183801" into honeycomb-mr1
2011-04-07 17:21:53 -07:00
Bill Gruber
411937b5f7
am afecd1e9: IAB docs--status codes fix Bug: 4208641
...
* commit 'afecd1e99284dc386f07571c69edfed8c12f1cef':
IAB docs--status codes fix Bug: 4208641
2011-04-07 15:09:33 -07:00
Teng-Hui Zhu
8d314a934e
Merge changes Ia44d880a,Ifbf63b24 into honeycomb-mr1
...
* changes:
DO NOT MERGE : cherry pick of change Ieb7ae26b from master
DO NOT MERGE : cherry pick of change I0f9f2c65 from master
2011-04-07 14:17:52 -07:00
Teng-Hui Zhu
decffc4e2f
Merge "Fix the issue the video can't start to play" into honeycomb-mr1
2011-04-07 08:52:45 -07:00
Roman Nurik
5bc3c5838a
Merge "Add moov/mdat and 500KB max A/V drift recommendations to Supported Media Formats doc. Also reformat encoding parameter recommendations into a single table." into honeycomb-mr1
2011-04-06 17:18:47 -07:00
Eric Fischer
e40981d31f
Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
2011-04-06 14:09:32 -07:00
Bill Gruber
f206d444f8
am 48a1b52b: Merge "IAB docs: fixes line break issues" into honeycomb
...
* commit '48a1b52bc736acfe9c4723abf6db7c8befc5e43b':
IAB docs: fixes line break issues
2011-04-06 13:20:27 -07:00
Bill Gruber
19b7ed0865
Merge "IAB docs: fixes line break issues" into honeycomb
2011-04-06 12:52:41 -07:00
Scott Main
3bf2275eec
am a90eb8fe: docs: fix the TOC in a few docs
...
* commit 'a90eb8fec1c67177b614b945bcc4a4b14aaabaff':
docs: fix the TOC in a few docs
2011-04-05 14:21:36 -07:00
Adam Powell
78b135de42
Merge "Fix bug 4207704 - Gestures can be lost when Flash is enabled" into honeycomb-mr1
2011-04-05 10:45:25 -07:00
Bill Gruber
24fe32e301
am d36bc32e: Merge "SDK doc updates" into honeycomb
...
* commit 'd36bc32ea9a109596308a0516b3e0898c82cebc5':
SDK doc updates
2011-04-04 17:21:25 -07:00
Bill Gruber
6cba82c9da
Merge "SDK doc updates" into honeycomb
2011-04-04 17:15:08 -07:00
Roman Nurik
5438c1d944
Merge "Document support for .TS video containers." into honeycomb-mr1
2011-04-04 13:41:11 -07:00
Dirk Dougherty
f084673183
Merge "Doc change: update media formats tables with adts/aac and flac" into honeycomb-mr1
2011-04-03 13:40:48 -07:00
Scott Main
5d539a12dc
am 27690eba: Merge "docs: update device dashboard" into honeycomb
...
* commit '27690ebabc915091956f0331023c9d074177271d':
docs: update device dashboard
2011-04-01 17:39:05 -07:00
Scott Main
03226aa1e9
Merge "docs: update device dashboard" into honeycomb
2011-04-01 17:36:42 -07:00