43371 Commits

Author SHA1 Message Date
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
2851822081 am 5b5092d4: am 06dd4c02: Merge "Updated tether icons" into honeycomb
* commit '5b5092d436c2924912460d4d12ea45ee92071117':
  Updated tether icons
2011-01-27 18:26:53 -08:00
Justin Ho
5b5092d436 am 06dd4c02: Merge "Updated tether icons" into honeycomb
* commit '06dd4c0220acce71e613c15758729273e99eae6c':
  Updated tether icons
2011-01-27 18:24:19 -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
Svetoslav Ganov
eb205ac984 am 5e83d0f5: am 86471d00: Merge "Accessibility support to NumberPicker, DatePicker, and TimePicker" into honeycomb
* commit '5e83d0f58b96376ea4862e8ce1501daf88bf962a':
  Accessibility support to NumberPicker, DatePicker, and TimePicker
2011-01-27 18:20:24 -08:00
Justin Ho
e763f9cb88 Updated data and wifi indicators, updated GPS
Change-Id: Idc582404639e5bdafdf8da4ee08e41c0f2ae0051
2011-01-27 18:20:18 -08:00
Jean-Michel Trivi
28817de4d7 am 965f22ba: am 3b5d9515: Merge "Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes" into honeycomb
* commit '965f22ba325ea488034174bf76194470a6f0ee52':
  Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes
2011-01-27 18:18:17 -08:00
Svetoslav Ganov
5e83d0f58b am 86471d00: Merge "Accessibility support to NumberPicker, DatePicker, and TimePicker" into honeycomb
* commit '86471d00f6637dc2c839b2df2a0df511b1ac4dc7':
  Accessibility support to NumberPicker, DatePicker, and TimePicker
2011-01-27 18:17:54 -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
Jean-Michel Trivi
965f22ba32 am 3b5d9515: Merge "Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes" into honeycomb
* commit '3b5d9515f208d28ae168c3f3d3cd442ff6e6e45a':
  Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes
2011-01-27 18:15: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
Daniel Sandler
14d4c1201c am d07094a1: am e2c251b5: Tapping the ticker again activates the notification.
* commit 'd07094a16d4a65ffe1b7c702797c9b9b7aa65a4b':
  Tapping the ticker again activates the notification.
2011-01-27 18:01:43 -08:00
Daniel Sandler
d07094a16d am e2c251b5: Tapping the ticker again activates the notification.
* commit 'e2c251b564a46a8f7352094ba8a61d46dc6b676f':
  Tapping the ticker again activates the notification.
2011-01-27 17:59:15 -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
bc2e3fe480 am 6fc22aaa: am a85b789a: Merge "Fix 3381322: Update transition animation from lockscreen to home." into honeycomb
* commit '6fc22aaadbe00bae2a313e9238b6dbd2f2d47cdf':
  Fix 3381322: Update transition animation from lockscreen to home.
2011-01-27 17:47:06 -08:00
Jim Miller
6fc22aaadb am a85b789a: Merge "Fix 3381322: Update transition animation from lockscreen to home." into honeycomb
* commit 'a85b789a4a6c58c33dda9e5b00a10faee6bbf561':
  Fix 3381322: Update transition animation from lockscreen to home.
2011-01-27 17:44:41 -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
ed383e4d24 am 599814f1: am f95e8c5b: Merge "Fix bug 3400213 - MenuItem ignores String spannable colors" into honeycomb
* commit '599814f16c6f25495cf05146e2760bf0ca46455d':
  Fix bug 3400213 - MenuItem ignores String spannable colors
2011-01-27 17:22:11 -08:00
Adam Powell
599814f16c am f95e8c5b: Merge "Fix bug 3400213 - MenuItem ignores String spannable colors" into honeycomb
* commit 'f95e8c5bb24b3e2ea217fb140077526bde5d6dcc':
  Fix bug 3400213 - MenuItem ignores String spannable colors
2011-01-27 17:20:32 -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
a905598b0b am d3939c09: am ed11f117: As of honeycomb, all touchscreen devices should also report faketouch.
* commit 'd3939c09dbfdff453855b9ff96025d42b71d9290':
  As of honeycomb, all touchscreen devices should also report faketouch.
2011-01-27 17:05:35 -08:00
Dan Morrill
d3939c09db am ed11f117: As of honeycomb, all touchscreen devices should also report faketouch.
* commit 'ed11f117ffdac3262253487ab6116211bd2c5bbd':
  As of honeycomb, all touchscreen devices should also report faketouch.
2011-01-27 17:03:55 -08:00
Jack Palevich
a66cf8783f Merge "Add GL11ExtensionPack support to GLDebugWrapper" 2011-01-27 16:48:28 -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
Mike Lockwood
dd8b64c0a5 Merge "Add support for synchronous bulk USB transfers" 2011-01-27 16:25:26 -08:00
Ashish Sharma
89316a2f2a Merge "TrafficStats: Include UDP stats and packet count to API" 2011-01-27 16:22:50 -08:00
Mike Lockwood
1fce24b241 Add support for synchronous bulk USB transfers
Change-Id: Id5de49e4d728a702fa1583ecc24f83f36cc57d21
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-27 16:22:15 -08:00
Santosh Madhava
05b536e671 am c4f5b712: am 270cbcc1: Merge "Fix for issue 3370007 Overlay transparency in Java" into honeycomb
* commit 'c4f5b712049a5891bc2d1a87031134f3fe0acb03':
  Fix for issue 3370007 Overlay transparency in Java
2011-01-27 16:04:44 -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
c4f5b71204 am 270cbcc1: Merge "Fix for issue 3370007 Overlay transparency in Java" into honeycomb
* commit '270cbcc16a72f982d84afeb5e3fd3f166936394a':
  Fix for issue 3370007 Overlay transparency in Java
2011-01-27 16:02:59 -08:00
Adam Powell
4d7b10630a am e3ba5cfe: am d1f94e36: Merge "Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag" into honeycomb
* commit 'e3ba5cfe9b4f524d955f77f5fff53440d80f9464':
  Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag
2011-01-27 16:02:33 -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
e3ba5cfe9b am d1f94e36: Merge "Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag" into honeycomb
* commit 'd1f94e36da6276acc00d0a3267a505fd6a61702d':
  Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag
2011-01-27 15:59:46 -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
d1654ab25c am 4c02c224: am a3e586af: Merge "LayoutLib: Properly compute available space to layouts." into honeycomb
* commit '4c02c2246a9060487e4a7be3389c23c8533f9a5d':
  LayoutLib: Properly compute available space to layouts.
2011-01-27 15:56:32 -08:00
Xavier Ducrohet
4c02c2246a am a3e586af: Merge "LayoutLib: Properly compute available space to layouts." into honeycomb
* commit 'a3e586af439137eb4216bc7ba62167f516e028c2':
  LayoutLib: Properly compute available space to layouts.
2011-01-27 15:53:46 -08:00
Justin Ho
e6d599c03f am d931cb47: am 0a5481db: Merge "Pushing in fixed scrubber asset" into honeycomb
* commit 'd931cb4731929d25c4aeb495a8df802f6f939d26':
  Pushing in fixed scrubber asset
2011-01-27 15:53:12 -08:00