40747 Commits

Author SHA1 Message Date
Justin Ho
adc0a5bdd2 Merge "Attenuate notification icons in the system bar." into honeycomb 2011-01-27 19:32:13 -08:00
Gilles Debunne
1feba8bb02 Fix for an IOOBoundsException in Paint.
Bug 3331706

The temporary buffer starts at index 0 and shifts indexes by contextStart.
offset has to be changed accordingly.

Note that I didn't try to reproduce the monkey bug after this fix, but it
seems like a perfect explanation for the exception.

Change-Id: Ie69adc413670caed283bc46effc69f17a102922c
2011-01-27 18:39:42 -08:00
Justin Ho
07520feb6d Merge "Updated data and wifi indicators, updated GPS" into honeycomb 2011-01-27 18:39:19 -08:00
Romain Guy
885153e2d0 Add more debug info for profiling.
Change-Id: I0c74e2aa108142cc6ddac4577ae2d0fe6c0ddb25
2011-01-27 18:34:41 -08:00
Justin Ho
06dd4c0220 Merge "Updated tether icons" into honeycomb 2011-01-27 18:21:54 -08:00
Daniel Sandler
49371adaca Attenuate notification icons in the system bar.
(Tunable by adjusting the alpha value of
notification_icon_area_smoke.)

Bug: 3395373
Change-Id: Ia8e257a451b2cb4c0e73ff3f4a77b380b193ef35
2011-01-27 21:20:51 -05:00
Justin Ho
e763f9cb88 Updated data and wifi indicators, updated GPS
Change-Id: Idc582404639e5bdafdf8da4ee08e41c0f2ae0051
2011-01-27 18:20:18 -08:00
Justin Ho
e3e00aa6ff Updated tether icons
Change-Id: Iacd45a7b6866fe561d312322078c34c9bcd1770c
2011-01-27 18:17:05 -08:00
Svetoslav Ganov
86471d00f6 Merge "Accessibility support to NumberPicker, DatePicker, and TimePicker" into honeycomb 2011-01-27 18:16:27 -08:00
Brian Muramatsu
4c8ad6eb62 Fix TextUtils#commaEllipsize
Bug 3400770

TextUtils#commaEllipsize creates a MeasuredText "mt" object with the
text to be ellipsized. It calls setPara which initializes mt's mPos
member to be 0. It then calls addStyleRun which moves mPos to the end
of the string. The loop back in commaEllipsize then calls mt addStyleRun
again and this causes IndexOutOfBoundsException, because the paint
object is trying to measure text past the text's length.

It seems this was a typo and that the tempMt variable should be used,
because the code is trying to measure the format string...not the
the string to be ellipsized. This makes the saner parts of CTS test
for this method pass now.

Change-Id: Ib6aa6e4bbd6afff4c95ad4c4d51a384cc1389875
2011-01-27 18:13:39 -08:00
Adam Cohen
c6a4716e24 Fixing static StackView scenario (Issue: 3399844)
Change-Id: Ic1e700f7b4071f6ae86912cf5f12828e3f68f412
2011-01-27 18:13:10 -08:00
Jean-Michel Trivi
3b5d9515f2 Merge "Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes" into honeycomb 2011-01-27 18:13:00 -08:00
Jason Sams
5012a8fe42 Fix another barrier bug 3333866
Atomically update put.

Change-Id: Id6d4b5c03f5562b3021561e95966a01abd293667
2011-01-27 18:08:40 -08:00
Jamie Gennis
37cec0fc50 Add docs about threading to SurfaceTexture.
This is a docs-only change.

Bug: 3362397
Change-Id: I5fad19a8ae112af73b1e235cf3d54bd2179d165a
2011-01-27 17:57:13 -08:00
Jean-Michel Trivi
834662d422 Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes
When the user is in a phone or VoIP call, the volume keys should
 control the STREAM_VOICE_CALL volume. Before MODE_IN_COMMUNICATION
 was introduced to cover VoIP use cases, having an active VoIP call
 was determined by checking whether there was any track used the
 output stream STREAM_VOICE_CALL, which can give false positives.
This CL checks instead against the audio mode to see if
 MODE_IN_COMMUNICATION is selected to determine if a VoIP call
 is in progress.

This implies that applications that play on STREAM_VOICE_CALL
 shouldn't rely on that fact alone to expect the volume keys
 to control the STREAM_VOICE_CALL volume, and should instead,
 rely on the official mechanism for that:
   android.app.Activity.setVolumeControlStream(int)

Change-Id: Ia487951ea1684477aa3d522c9031fad484d8a40d
2011-01-27 17:54:13 -08:00
Daniel Sandler
e2c251b564 Tapping the ticker again activates the notification.
(Previous behavior: the tap would pass through to the clock,
which would open the shade. Only sometimes it wouldn't,
because you'd have hit the left-hand-side of the ticker
where there's no clock underneath. So this fixes that too.)

Additionally, tapping the ticker will now immediately
dismiss the ticker.

Bug: 3365129
Change-Id: Ic641184c518b18d799a560c8da6b4c5844c912de
2011-01-27 20:51:03 -05:00
Svetoslav Ganov
8a2a89588c Accessibility support to NumberPicker, DatePicker, and TimePicker
bug:3400707

Change-Id: I0d4b10e9c744e7221a9a7a74081bcee351abbaf2
2011-01-27 17:50:14 -08:00
Robert Greenwalt
164ca032b6 Fix data network type notifications.
These trackers have two copies of the network type: newSS and newNetworkType.  I think thats wrong,
but this was the smaller change on code that will hopefully be refactored soon.

On radio_off we were making a new, empty newSS but not clearing newNetworkType so it
still thought we were on 3G and when we reconnect and get 3G state changes new==old and we don't
send the update.  In this fix I reset newNetworkType every time we apply it to networkType.

bug:3389886
Change-Id: I294f34259dc6c6f8f445bf2cb5466c8be747e25c
2011-01-27 17:48:52 -08:00
Jim Miller
a85b789a4a Merge "Fix 3381322: Update transition animation from lockscreen to home." into honeycomb 2011-01-27 17:42:52 -08:00
Adam Powell
f95e8c5bb2 Merge "Fix bug 3400213 - MenuItem ignores String spannable colors" into honeycomb 2011-01-27 17:18:11 -08:00
Dianne Hackborn
83a6f450bd Maybe fix issue #3358322: Status and nav bar died while watching youtube
Or at least make it better.  Now if we get a failure locking the surface,
we mark to do a full relayout pass later to try to get a new good surface.

Also fix some bugs in how activity manager was classifying processes for
their OOM adjustment to make better choices in what to kill.

Change-Id: I8e4aa86744211ba7693f9828291d8bbf2698274f
2011-01-27 17:17:19 -08:00
Adam Powell
6650185cae Fix bug 3400213 - MenuItem ignores String spannable colors
Make MenuInflater preserve spannable strings.

Change-Id: I1e01827def3a87ea7814078df53debcc35f245d2
2011-01-27 17:10:40 -08:00
Jim Miller
8932ff6d7f Fix 3381322: Update transition animation from lockscreen to home.
Also removed android:detachWallpaper="false" from lock_screen_exit
since it's not guaranteed to do something sane when windows aren't
owned by applications.

Change-Id: I28b5fc6b68d1aef93f092538d1318ce2b2a835ef
2011-01-27 17:10:26 -08:00
Dan Morrill
ed11f117ff As of honeycomb, all touchscreen devices should also report faketouch.
Change-Id: Iddcdfc19868be1ed356bdd27f08646ccec14f97b
2011-01-27 16:47:24 -08:00
Gilles Debunne
b7fc63f7aa Fix for TextView's error popup behavior when using soft keyboard.
Bug 3370191

The documented behavior is to hide the error when the text changes.
However, this should not be the case if the error was reset by a text watcher.

Comparing errorBefore and errorAfter as was done before is not sufficient in the
case where the error is reset to the same value. String pool optimization will re-use
the same Object and it will look like the error has not been modified (hence the
blinking behavior reported in the bug).

For this reason, TextView has a mErrorWasChanged flag. The fix is to export methods
that can use this flag as in done inside TextView when a physical keyboard is used.

These methods are hidden.

Change-Id: Ie3ec59a368f3b1588b81242890b971ac48e8ff7e
2011-01-27 16:03:52 -08:00
Santosh Madhava
270cbcc16a Merge "Fix for issue 3370007 Overlay transparency in Java" into honeycomb 2011-01-27 16:00:15 -08:00
Adam Powell
d1f94e36da Merge "Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag" into honeycomb 2011-01-27 15:58:18 -08:00
Xavier Ducrohet
a3e586af43 Merge "LayoutLib: Properly compute available space to layouts." into honeycomb 2011-01-27 15:51:13 -08:00
Justin Ho
0a5481db22 Merge "Pushing in fixed scrubber asset" into honeycomb 2011-01-27 15:47:31 -08:00
Justin Ho
c1913eccb1 Merge "Removing old pocket assets" into honeycomb 2011-01-27 15:46:45 -08:00
Justin Ho
e43649e863 Pushing in fixed scrubber asset
Bug: 3362749
Bug: 3398524
Change-Id: Ib8a830bc23c7d1283ef44ba13f3b8fe4f72afbf3
2011-01-27 15:45:46 -08:00
Xavier Ducrohet
1658422512 LayoutLib: Properly compute available space to layouts.
Also display placeholders for status/title/action bars depending
on if the app is a tablet and its theme.

Change-Id: I651c1a2e5cfde165e004c11b236e6df056853dec
2011-01-27 15:41:38 -08:00
Romain Guy
0250bc2fac Merge "Catch exception when ViewRoot's surface is not valid. Bug #3399426" into honeycomb 2011-01-27 15:41:08 -08:00
Romain Guy
fea12b87f2 Catch exception when ViewRoot's surface is not valid.
Bug #3399426

Change-Id: Id4e0b8714c9520c4e84e81c2978752d46c912b6b
2011-01-27 15:36:40 -08:00
Derek Sollenberger
8f9fb94741 Merge "Add Plugin API for controling the device power states" into honeycomb 2011-01-27 15:26:53 -08:00
Dianne Hackborn
e79b55482e Fix issue #3398767: Need translucent holo theme
Change-Id: I2ce87798ff58315cb96968ab06e5a52da9f35ef8
2011-01-27 15:18:46 -08:00
Derek Sollenberger
f3196cd70a Add Plugin API for controling the device power states
This is an initial API that will allow the plugin to request to
keep the screen on.

companion change is in external/webkit

bug: 3331493
Change-Id: Ic18787e7ecd705a5b2e31a34ea884fd39ad9d11a
2011-01-27 18:00:14 -05:00
Adam Powell
3ba6774263 Fix bug 3399725 - externally reported issue 14317:
android:scrollbarSize attribute does not work in ScrollView tag

Change-Id: Ic2cc908936991f473ccfc60d9c2711edfd45c132
2011-01-27 14:25:44 -08:00
Santosh Madhava
73f376cf64 Fix for issue 3370007 Overlay transparency in Java
Change-Id: I68be6f56ad58672a771485a028fc0cd8a0514e8a
2011-01-27 14:03:34 -08:00
Basavapatna Dattaguru
64a2c359ae Merge "Fix Issue: 3373525: reduces app. 100mS in create" into honeycomb 2011-01-27 13:54:52 -08:00
Adam Powell
43d7b83ed9 Merge "Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in talk > Friend Info" into honeycomb 2011-01-27 13:53:03 -08:00
Gilles Debunne
6f7a6bc345 Merge "Soft keyboard is not shown when text selection mode is aborted." into honeycomb 2011-01-27 13:51:48 -08:00
Adam Powell
6f5e934b96 Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in
talk > Friend Info

Make spinner dropdowns cover the IME if present without being touched
first.

Change-Id: Ie47df1ad684649de73b102e2ecf5528a35301d93
2011-01-27 13:30:55 -08:00
Huahui Wu
cbcdc6147a Merge "b/3347670 Support installing online certs to the system keystore." into honeycomb 2011-01-27 13:26:27 -08:00
Justin Ho
c7b032d95b Fixing download notification icons
Bug: 3362749

Change-Id: I3e88f1be56da7ee702b59d9b84a0ef13551b8c43
2011-01-27 13:20:28 -08:00
Gilles Debunne
17d31decef Soft keyboard is not shown when text selection mode is aborted.
Bug 3381317

Also generalized and uniformized the use of peekInstance. Added null
tests, and isActive tests before hiding.

Change-Id: Ifd1a053fd920841333e0ebab3e2a8d26b469a0f6
2011-01-27 12:55:28 -08:00
Vasu Nori
ce3b35a7b0 Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb 2011-01-27 12:46:00 -08:00
Basavapatna Dattaguru
737bd08db0 Fix Issue: 3373525: reduces app. 100mS in create
Updated by removing code duplication

Updated with review comments

Change-Id: I57a596ed09d4d543964059e18a86e143108305ec
2011-01-27 12:24:19 -08:00
Vasu Nori
a017edace7 bug:3398527 return List insttead of ArrayList from public API
Change-Id: Idbdcb59fe860a9168c9ef6c00eb128b05fce84ff
2011-01-27 11:47:28 -08:00
Daniel Sandler
74d39bd902 Merge "Correct the translationY of the empty notification panel." into honeycomb 2011-01-27 11:11:37 -08:00