38863 Commits

Author SHA1 Message Date
Justin Ho
93fde2109e Merge "Updated HDPI assets from Gingerbread" 2011-01-05 17:50:26 -08:00
Robert Greenwalt
0d2631a34d Merge "Allow bumpDns() to execute correctly before boot has completed" 2011-01-05 17:47:18 -08:00
Jean-Michel Trivi
32cef98de8 Merge "Add support in TTS for volume and panning control of the synth output" 2011-01-05 17:36:46 -08:00
Justin Ho
8b56c50386 Updated HDPI assets from Gingerbread
Change-Id: I02fea9d2c9cb81bb28bba3519381cbe3187bca0d
2011-01-05 17:33:41 -08:00
Justin Ho
e893d1d5d5 Merge "Updated presence icons and new emergency icon" 2011-01-05 17:27:04 -08:00
Michael Jurka
dab559a24f exposing isDirty() method on View
- needed in Launcher2 for implementation of caching views to bitmaps

Change-Id: I1dc1e8e4328106f88e1aa8e55ccb17b08fc9756b
2011-01-05 17:14:24 -08:00
Stan Chesnutt
3d1db8672a Allow bumpDns() to execute correctly before boot has completed
Change-Id: I5c2cf023e555f49d7e29592f9d1439b3ac367e3d
2011-01-05 17:14:03 -08:00
Adam Powell
fb9bcdb139 Merge "Fix Holo Spinners" 2011-01-05 17:10:56 -08:00
Adam Powell
a39b987bb7 Fix Holo Spinners
Fix bug 3321329 - Spinner dropdown does not match widget width

Fix a bug in ListPopupWindow where setContentWidth was misbehaving

Add gravity setting to Spinner. This controls the positioning of the
selected item view within the widget. Holo default is left, legacy
default is center.

In dropdown mode, Spinners now WRAP_CONTENT width based on a limited
set of dropdown content. This means the dropdown can display a
reasonable amount of its content without clipping, while matching
width with the Spinner widget itself.

Change-Id: Ia17fd5f71526548408f4ad3b16bde536b0d3b207
2011-01-05 17:08:33 -08:00
Justin Ho
80fa7d7b6c Merge "Updated assets from gingerbread" 2011-01-05 17:00:26 -08:00
Justin Ho
aa0225b0c3 Updated presence icons and new emergency icon
Change-Id: I14dd139bf781f34226ea559dc77d9c2cd20eecaa
2011-01-05 16:56:33 -08:00
Joe Onorato
c7fcba4b7b Make the volume keys adjust the media volume by default if the device is not "voice capable."
Change-Id: Ide396f8940a075c0b00b7c983c1769c1cc0f17bf
2011-01-05 16:53:11 -08:00
Andreas Huber
b7df8ec4db Merge "Some more fixes regarding HTTP live in NuPlayer." 2011-01-05 16:34:06 -08:00
Jean-Michel Trivi
9d2d26af2e Add support in TTS for volume and panning control of the synth output
Add two new parameters that are used when synthesizing text and
 playing it back directly to control the volume and left-right
 panning of the output.
Panning is applied using a balance law, which is not energy-preserving
 but which doesn't lower the volume when not panning / panning to
 center (legacy behavior).

Reduced amount of logs, and removed spoken text.

In TextToSpeech.java: added convenience method to handle the setting
 of the cached synthesis parameters.

Change-Id: I235d3d3193283ccc1891e2065d43787e3f63304d
2011-01-05 16:24:30 -08:00
Andreas Huber
847551cff3 Some more fixes regarding HTTP live in NuPlayer.
Change-Id: I9e29615fa8ee6c7bd4189373a75c20caef3fd2b1
2011-01-05 16:24:27 -08:00
Joe Onorato
933464dd02 Fix the 3G icon shows as G.
The connectivity services does not seem to return meaningful network types.  That's ok because we
get good ones from the telephony service anyway.

Also adds a ton of stuff for adb shell dumpsys activity service SystemUI TabletStatusBar

Bug: 3255953
Change-Id: If4bf413a628a8ffc338c83a9c33bfd367d6d2796
2011-01-05 15:53:36 -08:00
Justin Ho
039a59da59 Updated assets from gingerbread
Change-Id: I4fad5d9bc72528558fa4cca117537b7e7863dddf
2011-01-05 15:37:31 -08:00
Mattias Petersson
3996b41610 Avoiding cyclic references when unbinding from a service
Cyclic references can occur between a Service object held by an
application and a ServiceRecord object held by the system server.
A part of the problem is that binders are leaked and since many binders
are implemented by inner classes of services these services are also leaked.
This causes low memory problems. The solution is: When a Service is beeing
destroyed, go through the ServiceRecord's all IntentBindRecord and set its
binder references to null. This allows the binder and the service object to
be garbage collected.

Change-Id: I5a257521964851f34c08ffb3908feaad96b1bafe
2011-01-05 15:34:11 -08:00
Romain Guy
325a0f969c The font cache should respect the fake bold flag.
Change-Id: Ie4edc9ba46610edde831b55e769944e9a19bdcb5
2011-01-05 15:33:37 -08:00
Brian Muramatsu
b03ba34b76 Merge "Add MipmapDrawableTest" 2011-01-05 15:19:38 -08:00
Amith Yamasani
50c5785b4f Merge "Use an opaque background for the search bar in legacy SearchDialog." 2011-01-05 15:17:50 -08:00
Chet Haase
9e90a9953b Reuse display lists at the java level.
Objects are invalidated and reset instead of being nulled out
and recreated. This avoids creating small amounts of garbage for
the display list and canvas objects.

Change-Id: I464fac7ea8944c19ad6d03f13a95d9017e3f4262
2011-01-05 15:13:16 -08:00
Amith Yamasani
38ecb1ea85 Use an opaque background for the search bar in legacy SearchDialog.
Bug: 3325966
2011-01-05 14:59:30 -08:00
Jeff Brown
a74c22b7ef Merge "Add dispatch key shortcut window callback." 2011-01-05 14:52:07 -08:00
Jeff Brown
64da12ab1f Add dispatch key shortcut window callback.
Enables Activities and Dialogs to implement key shortcut behavior.
Useful for global key shortcuts that are not bound to the focused
view or to a menu.

Change-Id: If377d20b227ee1c5cac84c47c9630b2d77f67e2c
2011-01-05 14:51:24 -08:00
Andreas Huber
a4bbc386a0 Merge "Seek/Duration support for completed http live streams in NuPlayer." 2011-01-05 14:50:00 -08:00
Andreas Huber
08e10cb404 Seek/Duration support for completed http live streams in NuPlayer.
Change-Id: I55bbe75d87140c07b1927d14ad24130fce803463
related-to-bug: 3321475
2011-01-05 14:48:31 -08:00
Dianne Hackborn
f31161a0e7 Add new "animator" and "interpolator" resource directories.
First phase, allowing apps to move over to the new names.

Change-Id: Ia16f3e2383e4a6599a0011d0464f0aacb1ce9207
2011-01-05 14:12:55 -08:00
Brad Fitzpatrick
70588bf864 resolved conflicts for merge of 3a2c6bf0 to master
Change-Id: I1963d8fc391bb84de1054f2b20ce4e082d764cbe
2011-01-05 14:04:06 -08:00
Brad Fitzpatrick
3a2c6bf0fc am 69ea4e15: Documentation fixes found over vacation hacking.
* commit '69ea4e15e52c456537575d21443ac1efdb03a902':
  Documentation fixes found over vacation hacking.
2011-01-05 13:52:53 -08:00
Jeff Brown
e0f9552cc1 Merge "Only allow touch events from one device at a time." 2011-01-05 13:44:05 -08:00
Brad Fitzpatrick
69ea4e15e5 Documentation fixes found over vacation hacking.
Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
2011-01-05 13:07:34 -08:00
Shimeng (Simon) Wang
22c5dfcaed Merge "Refactor zoom overview width calculation." 2011-01-05 13:05:29 -08:00
Leon Scroggins
67a08dda34 Merge "Show the keyboard when opening Find from the menu." 2011-01-05 12:57:37 -08:00
James Dong
7ca6041ac9 Merge "Fixed a typo in the enum for unknown camera error message" 2011-01-05 12:53:13 -08:00
Leon Scroggins
ae0238cae5 Do not show past entries if autocomplete=off.
Bug:3300365

Requires a change in external/webkit.

Change-Id: I2f15d9dfce1002d0bf7a77a14605769fd654aa51
2011-01-05 15:42:20 -05:00
Gilles Debunne
3dbf55c3a2 TextView's color transparency is taken into account.
Unless it has a background, the TextView will be able to support
alpha (text, cursor and highlighted text colors).

Background colored spans should be detected and should also multiply
their alpha by mCurrentAlpha.

Bug 3144861

Change-Id: If640895b8c0b25dc00b909a0a118b68fac0cfd76
2011-01-05 12:03:33 -08:00
Jason parks
ac1325bcd3 Merge "Add decryption support to MountService." 2011-01-05 11:56:42 -08:00
Adam Powell
3f476b3404 Revisiting ActionBar API and layout.
Fix several bugs where ActionBar was ignoring LayoutParams in action
views.

Add convenience methods for toggling display options flags.

Add layout resource version of ActionBar#setCustomView

Fix a bug preventing actionViewClasses from being loaded properly in
menu xml.

Change-Id: I0d9a0b635fd9cfc020bac69369c0c7749c226349
2011-01-05 11:41:26 -08:00
Leon Scroggins
eb492a02fd Merge "Do not open the keyboard when opening Find from CAB." 2011-01-05 11:14:58 -08:00
Patrick Scott
73ae078a05 Merge "Use the app context to avoid a memory leak." 2011-01-05 11:07:21 -08:00
Shimeng (Simon) Wang
2c782e3d53 Refactor zoom overview width calculation.
Refactor zoom overview width calculation in FirstLayout and NewPicture;
also taking care of the case when wide viewport is not enabled.

This fixes the setInitialScale Cts test case, which is broken by some
scale related changed for fixed viewport browser.

issue: 3242034
Change-Id: Ie54d089763ee38029ef25e6029884a17c2135f97
2011-01-05 11:04:23 -08:00
Leon Scroggins
18cf9a7828 Show the keyboard when opening Find from the menu.
Bug:3324846
Change-Id: Ia8b1eea096660b3c01bc0ee3906ecc86ec1c20f3
2011-01-05 13:47:57 -05:00
Patrick Scott
624051aabf Use the app context to avoid a memory leak.
Bug: 3288583
Change-Id: Id259a0148c06f6e98b94c07e5d2e2296c6aef65a
2011-01-05 13:36:00 -05:00
Jason parks
5af0b916f8 Add decryption support to MountService.
* Implement the decryptStorage() method on the Mount Service.
  This method makes the calls into vold to decrypt the encrypted
  volumes and mount them.

Change-Id: I4f6e07a111cf0b36611d590debf9f6579c5ac5f7
2011-01-05 12:32:49 -06:00
Romain Guy
7f3d515f5e Merge changes Ia8a15db8,I20ac5203
* changes:
  Don't enable hardware acceleration when the app owns the surface. Bug #3323096
  Make FrameLayout support mixed wrap_content/match_parent children. Bug #3259668
2011-01-05 10:32:15 -08:00
Leon Scroggins
571354fd29 Do not open the keyboard when opening Find from CAB.
Bug:3312049

Do not start Find on page if the action mode fails to
start.  Clean up showFindDialog.

Requires a change to packages/apps/Browser

Change-Id: I204315665d3bf9f3ac78e78c4059c5a6f24695db
2011-01-05 13:31:02 -05:00
James Dong
876e44dfb5 Merge "Use video output if necessary for timelapse video recording" 2011-01-05 10:27:55 -08:00
Romain Guy
1aec9a2212 Don't enable hardware acceleration when the app owns the surface.
Bug #3323096

Change-Id: Ia8a15db844703199b3cee3d178f118159315c2b9
2011-01-05 09:37:12 -08:00
Cary Clark
2cdee23312 make select all, copy text public but hidden
For keyboard accelerators, add public interfaces
to copy text and select all.

bug:3270434
Change-Id: I4a38b95a373dcf73575f66fe13b082205d2423ce
2011-01-05 08:02:29 -05:00