39639 Commits

Author SHA1 Message Date
Adam Powell
1362c94bf8 Merge "Fix bug 3337711 - Volume panel layout adjustments" into honeycomb 2011-01-14 18:26:01 -08:00
Adam Powell
63d3cf7d36 Fix bug 3337711 - Volume panel layout adjustments
Change-Id: I465e7ee1b51ec6417f237fb819b8e8840bd1558b
2011-01-14 18:25:30 -08:00
Mathias Agopian
f4dfe1bee6 partially fix [3306150] HTML5 video with H/W acceleration blackout
We used to guarantee that a layer in SurfaceFlinger would never be
destroyed before all references (to its ISurface) on the client
side would be released. At some point, this guarantee got
relaxed to allow to free gralloc resources sooner. This last
change was incorrect, because:
- in implementations with reference-counting the gralloc resources
wouldn't be released anyways, until all the mapping were gone
- in implementations without ref counting, the client side
would most likely crash or do something bad
- it also caused the SharedBufferStack slot to be reallocated
to another surface, which could be problematic if the client
continued to use the surface after the window manager destroyed it.

So, we essentially reinstate the guarantee that layers won't be
destroyed until after all references to their ISurface are
released.

NOTE: This doesn't entirely fix 3306150 because there is another
problem there where the Browser continues to use a surface after it
has been destroyed.

Change-Id: I305c830dd722b30a6d53cbf3a9c714fd3cf7eb06
2011-01-14 18:19:02 -08:00
Jeff Brown
77c3e4b9fd Merge "Make getFallbackAction return false when there is none." into honeycomb 2011-01-14 17:59:56 -08:00
Jeff Brown
fca66d3b71 Make getFallbackAction return false when there is none.
Change-Id: Id17c0f7269e4a228f4e5f11c54614fec508222a2
2011-01-14 17:54:38 -08:00
Jeff Brown
06bc9721d8 Merge "Disable soft keyboard when keyboard attached." into honeycomb 2011-01-14 17:48:09 -08:00
Jeff Brown
1061b96635 Merge "Fix bug with mice that send multiple BTN_MOUSE values." into honeycomb 2011-01-14 17:43:12 -08:00
Jeff Brown
4aed78b505 Disable soft keyboard when keyboard attached.
Also hide menu shortcuts everywhere until we can get around to
redesigning the menu UI to be more consistent.

Bug: 3306545
Bug: 3330748
Change-Id: I4d4e19525cdfc93d9aae0dcaa1e6266fb552c5bc
2011-01-14 17:36:55 -08:00
Xavier Ducrohet
72fcd0a4a9 Merge "LayoutLib: update logs to use new data bundle" into honeycomb 2011-01-14 17:30:22 -08:00
Romain Guy
8dd5b1e531 Prevent NPE when a View is detached without having been attached.
Bug #3355252

Change-Id: I58e03983ccf6a27a24619ec0f49659d6d7cc0a64
2011-01-14 17:28:51 -08:00
Jeff Brown
1c9d06e047 Fix bug with mice that send multiple BTN_MOUSE values.
Some mice send different values for BTN_MOUSE key events
when the button is held down (2 for repeat, instead of 1 for down).

Change-Id: I803db1f1584f50f8f5e1d37b6a715e2e1b3943a6
2011-01-14 17:24:16 -08:00
Jeff Brown
c8276990df Merge "Add volume down as a safe mode key for Stingray." into honeycomb 2011-01-14 17:22:53 -08:00
Xavier Ducrohet
51a7e5447d LayoutLib: update logs to use new data bundle
Also change some resource.resolve tags to resource.format

Change-Id: I3f0b0d2eb69a5ec98375e4014a3bb1bfceb8c855
2011-01-14 16:56:00 -08:00
Adam Cohen
69d66e0013 Fixing StackView rotation bugs
Change-Id: Iaf9482734ca73238f82d180700389593df9c7eac
2011-01-14 16:54:41 -08:00
Guang Zhu
44060f4d76 Merge "when test case times out, stop loading first" into honeycomb 2011-01-14 16:26:30 -08:00
Guang Zhu
4ce6e7c433 when test case times out, stop loading first
current timeout mechanism does a text dump and then move to next case.
sometimes the text dump causes WebView to spin, and doing a
stopLoading seems to resolve some of the cases.

Change-Id: Iae08f9c93b2da3e805cacae43f80083fdf1bc5e1
2011-01-14 16:17:20 -08:00
Dianne Hackborn
751fdd9ab3 Merge "DO NOT MERGE Make the Phone options dialog use current language" into honeycomb 2011-01-14 16:02:22 -08:00
Dianne Hackborn
88471b2563 Merge "DO NOT MERGE Added check to make orientation calculations more robust" into honeycomb 2011-01-14 16:02:07 -08:00
Niclas Kellgren
fcbbb31f27 DO NOT MERGE 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: I7b61b77c8a9d4e137bf6352b84f0c358d93c82ae
2011-01-14 16:01:20 -08:00
Anders Hammar1
0ce53b47d6 DO NOT MERGE Make the Phone options dialog use current language
The title of the Phone options dialog is displayed using wrong
translation if the user changes the current language setting. Moving
the setTitle call to prepareDialog to ensure that the title gets
updated before the dialog is shown.

Change-Id: I6f8f460789effd22de5be8339cc46667269e78c0
2011-01-14 16:00:47 -08:00
Amith Yamasani
9b2e302ab8 Fix position and size of searchfield and buttons.
So that they don't jump around.
Fine tune the padding.

Bug: 3336764
Change-Id: Idb96b2a337cd5e5dbd4a5287ab3b9190b4719b84
2011-01-14 15:56:18 -08:00
Scott Main
6f92dbc49f Merge "fix sdk build breakage; remove invalid @note tag" into honeycomb 2011-01-14 15:42:35 -08:00
Adam Powell
8e4d3ba678 Merge "Fix bug 3339039 - Preserve proper behavior for action button text when updated." into honeycomb 2011-01-14 15:40:07 -08:00
Scott Main
2b90a9a714 fix sdk build breakage; remove invalid @note tag
Change-Id: Iaaf5a38388ceccdd0d1f3766523788f54f1dc8d2
2011-01-14 15:39:10 -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
satok
604363dc63 Merge "switchToLastInputMethod returns a implicitly enabled subtype in the history" into honeycomb 2011-01-14 15:35:53 -08:00
Romain Guy
7777319712 Merge "Don't delete objects twice..." into honeycomb 2011-01-14 15:35:34 -08:00
Romain Guy
1f1fcb70b6 Don't delete objects twice...
Change-Id: Ibc67aed098c9300cf45eb46abda1938c418808c3
2011-01-14 15:37:54 -08:00
satok
df31ae6a30 switchToLastInputMethod returns a implicitly enabled subtype in the history
Bug: 3353363

Change-Id: Id5f8a62017880330401ebd3e77d943eb7817e555
2011-01-15 08:34:39 +09:00
Romain Guy
24c0021668 Copy shaders when recording them in display lists.
Change-Id: I3f22dd35f1e31c9e5102955d76548098b7b0cd8d
2011-01-14 15:31:00 -08:00
Romain Guy
4b26d05766 Merge "Copy shaders when recording them in display lists." into honeycomb 2011-01-14 15:29:36 -08:00
Xavier Ducrohet
20220dfa42 Merge "LayoutLib: Misc fixes." into honeycomb 2011-01-14 15:26:30 -08:00
Xavier Ducrohet
0831b3fae5 LayoutLib: Misc fixes.
- Fix resource resolution for framework
  resources of type "id" that are dynamically generated
  through "@+id/..."

- Proper implementation of setBitmap on a canvas that
  already has a bitmap. Transform/clip are kepts but the
  existing layers are replaced with the new bitmap

- return a null service for INPUT_METHOD_SERVICE in
  Context.getSystemService

Change-Id: I35e46fff50e6492a8995e95427d5f38bc945429d
2011-01-14 15:15:34 -08:00
James Dong
ac0e4bdf05 Fixed thrashing in the cached buffer during 720p YT video streaming
bug - 3340194

Change-Id: Ic59bb18ab1731d7dd7cae7cc8aeb393900bce7f6
2011-01-14 15:15:12 -08:00
Patrick Dubroy
bdcff0fa83 Merge "Allow old view hierarchy to be GC'ed more quickly during rotation." into honeycomb 2011-01-14 14:44:20 -08:00
Alex Sakhartchouk
bfa62339ef Merge "Removing things that shouldn't be public" into honeycomb 2011-01-14 14:19:45 -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
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
4c3b788ec4 Merge "Update large screen translations." into honeycomb 2011-01-14 14:01:03 -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
Marco Nelissen
3506d885b8 Merge "Fix issue with notification layouts." into honeycomb 2011-01-14 13:17:56 -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
Kenny Root
bd392c5397 Check for null in PackageSetting constructor
Should bring honeycomb into parity with gingerbread changes.

Change-Id: Ieb48a0e420d4c2981130f268aba9b24f4fe25b84
2011-01-14 12:58:12 -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
Brad Fitzpatrick
1e8d23f6b0 Merge "Watchdog can get deadlocked on activity manager" into honeycomb 2011-01-14 12:48:08 -08:00