17690 Commits

Author SHA1 Message Date
Dianne Hackborn
544ff558a8 am 29c99aaa: Merge "Added check to make orientation calculations more robust" into gingerbread
* commit '29c99aaaaed00c605fb6cd64de169fafad0e40ed':
  Added check to make orientation calculations more robust
2011-01-14 15:39:41 -08:00
Scott Main
2b90a9a714 fix sdk build breakage; remove invalid @note tag
Change-Id: Iaaf5a38388ceccdd0d1f3766523788f54f1dc8d2
2011-01-14 15:39:10 -08:00
Dianne Hackborn
7d234fabe6 Merge "Don't drop the drawable cache completely on configuration change" 2011-01-14 15:37:56 -08:00
Adam Powell
9f125d3415 Fix bug 3339039 - Preserve proper behavior for action button text when
updated.

Change-Id: If3529616d5a2b69638b2b0c4070d5ebbb418410c
2011-01-14 15:37:44 -08:00
Dianne Hackborn
0b08c5cb14 Merge "Don't drop the drawable cache completely on configuration change" into honeycomb 2011-01-14 15:37:28 -08:00
Dianne Hackborn
0950a3ef36 Merge "Added check to make orientation calculations more robust" 2011-01-14 15:36:52 -08:00
Dianne Hackborn
29c99aaaae Merge "Added check to make orientation calculations more robust" into gingerbread 2011-01-14 15:36:26 -08:00
Patrick Dubroy
75f555f26f am bdcff0fa: Merge "Allow old view hierarchy to be GC\'ed more quickly during rotation." into honeycomb
* commit 'bdcff0fa8383a1ae93c18a768a7c2bf150d3f405':
  Allow old view hierarchy to be GC'ed more quickly during rotation.
2011-01-14 14:47:23 -08:00
Patrick Dubroy
ec84c3a189 Allow old view hierarchy to be GC'ed more quickly during rotation. 2011-01-14 14:13:31 -08:00
Scott Main
9fc8bea989 am 2150553d: cherrypick Change-Id: I1365c6c45f8e1f75ee4afbc52c32778d21b97be4 from master docs: Rewrite of App Fundamentals.. Part 2. This introduces three new docs:
* commit '2150553dc374204a1cb3033ed3fa65c2f22dd5e7':
  cherrypick Change-Id: I1365c6c45f8e1f75ee4afbc52c32778d21b97be4 from master docs: Rewrite of App Fundamentals.. Part 2. This introduces three new docs:
2011-01-14 14:10:14 -08:00
Scott Main
2150553dc3 cherrypick Change-Id: I1365c6c45f8e1f75ee4afbc52c32778d21b97be4 from master
docs: Rewrite of App Fundamentals.. Part 2.
This introduces three new docs:

Services:
  Provides an introduction to using services and describes the
  service lifecycle (previously in the "Component Lifecycles" section
  of the fundamentals.jd document)
Bound Services:
  A guide for services that offer binding.
AIDL:
  A doc about using AIDL (primarily for creating a service interface)

Also includes edits to IntentService javadocs to clarify
different behaviors for some callback methods

Includes a new version of the services lifecycle diagram
and an additional diagram for determining onRebind()

These files are orphaned for now---they're not linked in the sidenav,
until I get the last couple documents submitted for the app fundamentals.

Change-Id: I7fb0a8faff1f18b7d6b9a7b59f66f55a1b6168f1
2011-01-14 14:07:29 -08:00
Eric Fischer
14541aa94c am 4c3b788e: Merge "Update large screen translations." into honeycomb
* commit '4c3b788ec408cfc5683fbe8d2976dd3fc2b13609':
  Update large screen translations.
2011-01-14 14:04:01 -08:00
Eric Fischer
4c3b788ec4 Merge "Update large screen translations." into honeycomb 2011-01-14 14:01:03 -08:00
Adam Powell
7143ae39d6 am 94613752: Merge "Rework action bar menus." into honeycomb
* commit '946137520d67d3c18ceaba058e622f24b7fbf04d':
  Rework action bar menus.
2011-01-14 13:57:56 -08:00
Adam Powell
946137520d Merge "Rework action bar menus." into honeycomb 2011-01-14 13:56:29 -08:00
Adam Powell
e7d468410b Rework action bar menus.
Fix bug 3328810 - remove icons from action bar overflow menu.  Popup
menus now will not show icons. Give popup menu items a minimum width.
Alter the sizing of popup menus.

Fix bug 3192635 - revise rules for action menu dividers. Dividers now
appear between the overflow button and any other items next to it, and
anywhere they disambiguate touch targets between text and other
content. Action views are on their own and should include their own
dividers if needed.

Remove dividers from around action bar spinners and tabs.

Change-Id: I935b48b473606ac2adde5e2b251bf30ebe2a3da9
2011-01-14 13:55:15 -08:00
Jaikumar Ganesh
a3363ef2cd Do Not Merge: Expose insecure rfcomm Bluetooth API.
This complements the secure rfcomm API.
The link key is unauthenticated and is subject to MITM attacks.
The link key may be encrypted depending on the type of Bluetooth device.
This helps apps which don't need the extra security or
have their own security layer built on top of the rfcomm link.

Bug: 3352266

Change-Id: I633fd0372e5e23288d6fec950dd1abc2896031f1
2011-01-14 13:24:03 -08:00
Jeff Brown
9781071ae7 am e76820bf: Merge "Use holo style mouse pointer." into honeycomb
* commit 'e76820bf413364898493f86ca6027b28d3caed2b':
  Use holo style mouse pointer.
2011-01-14 13:05:11 -08:00
Huahui Wu
ee2d8cd5bc am cbe397f2: Merge "b/3348192 re-enable snap scrolling mode." into honeycomb
* commit 'cbe397f243c4f1706cf7bbd9fcd07c1c13ccb097':
  b/3348192 re-enable snap scrolling mode.
2011-01-14 13:05:04 -08:00
Jeff Brown
e76820bf41 Merge "Use holo style mouse pointer." into honeycomb 2011-01-14 13:03:54 -08:00
Huahui Wu
cbe397f243 Merge "b/3348192 re-enable snap scrolling mode." into honeycomb 2011-01-14 13:03:23 -08:00
Jeff Brown
909733cdeb Use holo style mouse pointer.
Change-Id: I17df431075c8ffec3ade151c6c85ec34ad8397dd
2011-01-14 13:02:40 -08:00
Eric Fischer
68decea2e0 Update large screen translations.
Change-Id: Ife937a7c5c06b0d92aec0a3da8213a33be1d4e19
2011-01-14 12:57:44 -08:00
Huahui Wu
c010924da9 b/3348192 re-enable snap scrolling mode.
Change-Id: I19c9a2afdf28367f623bd9bd6b25e822a06a215c
2011-01-14 12:51:12 -08:00
Kenny Root
d9fa11b446 am 312206b9: Merge "Add the {get,set}PackageObbPaths calls to API" into honeycomb
* commit '312206b98749bbe395416634e6e82bd242b1d5f2':
  Add the {get,set}PackageObbPaths calls to API
2011-01-14 12:44:39 -08:00
Kenny Root
312206b987 Merge "Add the {get,set}PackageObbPaths calls to API" into honeycomb 2011-01-14 12:42:12 -08:00
Christopher Tate
e1cc00bba0 am 64cb24e6: Merge "Send DRAG_STARTED notices to views that become visible during drag" into honeycomb
* commit '64cb24e686b13aabe3d28e049796c8315b011485':
  Send DRAG_STARTED notices to views that become visible during drag
2011-01-14 12:38:24 -08:00
Christopher Tate
64cb24e686 Merge "Send DRAG_STARTED notices to views that become visible during drag" into honeycomb 2011-01-14 12:36:53 -08:00
Dianne Hackborn
f21ae26935 am d922ae01: Add Holo theme for IMEs.
* commit 'd922ae01ca99a2b6d39a9393f86776a1d10ebd14':
  Add Holo theme for IMEs.
2011-01-14 12:31:59 -08:00
Christopher Lais
6efd2bad95 Don't drop the drawable cache completely on configuration change
There was a lot of fancy code just above the clear to ensure
that drawables that aren't affected by the change are kept,
then the entire array was cleared.  This patch removes the
clear, so that the drawables that haven't changed are really
kept, matching the logs, comments and larger part of the code.

This patch also fixes the various constant states to return
correct ChangingConfigurations.

Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15
Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
2011-01-14 12:31:26 -08:00
Dianne Hackborn
d922ae01ca Add Holo theme for IMEs.
Also clean up theme selection code to get rid of duplication.

Change-Id: Idf7b21db70ee83fce24756ead877169bd08b77a9
2011-01-14 12:28:23 -08:00
Robert Greenwalt
7b04b1d7ff am 1e02ebd2: Merge "Update network subtypes info so it is current." into honeycomb
* commit '1e02ebd225cfe629a4ab2b98f19e4e08ad97c397':
  Update network subtypes info so it is current.
2011-01-14 12:26:39 -08:00
Robert Greenwalt
1e02ebd225 Merge "Update network subtypes info so it is current." into honeycomb 2011-01-14 12:23:45 -08:00
Kenny Root
5d40fe9c68 Add the {get,set}PackageObbPaths calls to API
Add getPackageObbPaths() and setPackageObbPaths() to the public API.

Bug: 3214719
Change-Id: I8627b5f674a795d5780eb5c08911419110670a41
2011-01-14 12:18:48 -08:00
Adam Powell
25cb8bcd19 am 2dc59d56: Merge "Fix bug 3347747 - Use a better context when fetching resources for action modes" into honeycomb
* commit '2dc59d56cbfe90fdae745496038352fdada6ee26':
  Fix bug 3347747 - Use a better context when fetching resources for action modes
2011-01-14 12:14:24 -08:00
Adam Powell
2dc59d56cb Merge "Fix bug 3347747 - Use a better context when fetching resources for action modes" into honeycomb 2011-01-14 12:12:13 -08:00
Adam Powell
48e8ac311b Fix bug 3347747 - Use a better context when fetching resources for
action modes

Change-Id: I0c6595c290a9d41f673944c127d2e9aaf7dc84ce
2011-01-14 12:10:47 -08:00
satok
b3b1509de7 am 64fc11c3: Merge "Add input methods settings panel" into honeycomb
* commit '64fc11c3ddefc4272a171aaab5c1291709fabe7e':
  Add input methods settings panel
2011-01-14 12:05:09 -08:00
satok
64fc11c3dd Merge "Add input methods settings panel" into honeycomb 2011-01-14 12:03:40 -08:00
satok
82beadfa06 Add input methods settings panel
Bug: 3141466
Bug: 3301559
Bug: 3284424

Moved from old master I4d9abeea

Change-Id: I62fa64cc095e1b9ac34f21e7d4d2e0bb8a3e68fc
2011-01-15 05:00:51 +09:00
Christopher Tate
86cab1bd52 Send DRAG_STARTED notices to views that become visible during drag
We now recognize that a view is now a candidate for receiving the drop
but hasn't yet been notified about it, and send the DRAG_STARTED lifecycle
event properly.  This change also changes the DRAG_ENDED policy: now,
every view that had been sent a DRAG_STARTED receives the corresponding
DRAG_ENDED event, even though subsequent visibility changes may have
occured.

Change-Id: If4ae9ddbf414703e9f15eb2005471626bf19f316
2011-01-14 11:46:09 -08:00
Costin Manolache
660f72a016 am c6684f9e: Fix previous quick fix, LoginOptions is final.
* commit 'c6684f9e9790e92960504e9b32f20f27003d9f37':
  Fix previous quick fix, LoginOptions is final.
2011-01-14 11:29:59 -08:00
Costin Manolache
c6684f9e97 Fix previous quick fix, LoginOptions is final.
Change-Id: I5f262458239378697a67cbd8e83175bf3ffc7f5b
2011-01-14 11:26:25 -08:00
Robert Greenwalt
17415b9292 Update network subtypes info so it is current.
bug:3327895
Change-Id: Ic1e2a5527c651333af50cc5cfa6c44a15b991fb0
2011-01-14 11:23:54 -08:00
Niclas Kellgren
a1454becb9 Added check to make orientation calculations more robust
Added check avoid a division by zero resulting in NaN which in turn
makes checkFullyTilted to ignore high tilt angles from then on.
If (x, y, z) == (0, 0, 0) then there is no tilt or rotation and
this vector must be ignored. This check is extended to ignore all
small acceleration values where noise can be of big influence.

Low or zero readings can happen when space travelling free falling,
but more commonly when shaking or getting bad readings from the sensor.
The accelerometer is turned off when not used and polling it too soon
after it is turned on may result in (0, 0, 0).

Change-Id: I19aec653abb8ab6f7126778035c8c96449f1326f
2011-01-14 11:14:03 -08:00
Costin Manolache
c405eb6f30 am 05db1af9: Merge "Fix NPE, caller may not pass loginOptions." into honeycomb
* commit '05db1af9bb42b4b2e668aba2dfcd61878a235764':
  Fix NPE, caller may not pass loginOptions.
2011-01-14 10:53:59 -08:00
Costin Manolache
05db1af9bb Merge "Fix NPE, caller may not pass loginOptions." into honeycomb 2011-01-14 10:52:11 -08:00
Costin Manolache
75b8fc7e0c Fix NPE, caller may not pass loginOptions.
Change-Id: Ifb6a8bf876d30a9726f535a90ba8c0719a9a04aa
2011-01-14 10:50:38 -08:00
Justin Ho
ccc68dad99 am 679cd50a: Merge "Updated assets from Gingerbread" into honeycomb
* commit '679cd50aab27235341f1e869af0216366147d6e1':
  Updated assets from Gingerbread
2011-01-14 10:49:49 -08:00
Justin Ho
679cd50aab Merge "Updated assets from Gingerbread" into honeycomb 2011-01-14 10:48:22 -08:00