42142 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Xavier Ducrohet
a3e586af43 Merge "LayoutLib: Properly compute available space to layouts." into honeycomb 2011-01-27 15:51:13 -08:00
Justin Ho
d931cb4731 am 0a5481db: Merge "Pushing in fixed scrubber asset" into honeycomb
* commit '0a5481db2256651ffe75e0f6e7e01b333ea5df3f':
  Pushing in fixed scrubber asset
2011-01-27 15:50:26 -08:00
Justin Ho
f6edcc4710 am c1913ecc: Merge "Removing old pocket assets" into honeycomb
* commit 'c1913eccb15513a1b75928131649ff93eaaeedb3':
  Removing old pocket assets
2011-01-27 15:48:22 -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
Romain Guy
01a5812902 am 0250bc2f: Merge "Catch exception when ViewRoot\'s surface is not valid. Bug #3399426" into honeycomb
* commit '0250bc2faca14a332155b9111e0ee5dfc8493d6a':
  Catch exception when ViewRoot's surface is not valid. Bug #3399426
2011-01-27 15:43:03 -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
f454cee044 am 8f9fb947: Merge "Add Plugin API for controling the device power states" into honeycomb
* commit '8f9fb94741b5032c8774f87130133ef14d9af4e2':
  Add Plugin API for controling the device power states
2011-01-27 15:28:52 -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
Basavapatna Dattaguru
b408c3e984 am 64a2c359: Merge "Fix Issue: 3373525: reduces app. 100mS in create" into honeycomb
* commit '64a2c359aeda59e4bc43d48f31ade919e918ea26':
  Fix Issue: 3373525: reduces app. 100mS in create
2011-01-27 15:03:36 -08:00
Adam Powell
e496088311 am 43d7b83e: Merge "Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in talk > Friend Info" into honeycomb
* commit '43d7b83ed92d54eeaf81e8e8b554daee1741df7b':
  Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in talk > Friend Info
2011-01-27 15:03:22 -08:00
Gilles Debunne
1ad0fac2f4 am 6f7a6bc3: Merge "Soft keyboard is not shown when text selection mode is aborted." into honeycomb
* commit '6f7a6bc3454fce5cfb86a0fc6a37022d24d1e465':
  Soft keyboard is not shown when text selection mode is aborted.
2011-01-27 15:03:19 -08:00
Huahui Wu
491784f2ec am cbcdc614: Merge "b/3347670 Support installing online certs to the system keystore." into honeycomb
* commit 'cbcdc6147aa7dd4bcfcdaae6fc673c68f9be5dcf':
  b/3347670 Support installing online certs to the system keystore.
2011-01-27 15:02:09 -08:00
Justin Ho
63b2af9bc0 am c7b032d9: Fixing download notification icons
* commit 'c7b032d95bfae8b956dd4da8b6cbbd94ab534137':
  Fixing download notification icons
2011-01-27 15:01:54 -08:00
Vasu Nori
242fa0eb73 am ce3b35a7: Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb
* commit 'ce3b35a7b0b80061692d9fa1977cee68b365728c':
  bug:3398527 return List insttead of ArrayList from public API
2011-01-27 15:00:38 -08:00
Daniel Sandler
57e7aa12d9 am 74d39bd9: Merge "Correct the translationY of the empty notification panel." into honeycomb
* commit '74d39bd902c8561153647b19625b32938f38498c':
  Correct the translationY of the empty notification panel.
2011-01-27 15:00:33 -08:00
Gilles Debunne
82ba0ecaa7 am 315f3865: Merge "CustomSelectionActionModeCallback can prevent selection mode from starting." into honeycomb
* commit '315f3865983f59e5ad9f42602f443e8c42b6e5c4':
  CustomSelectionActionModeCallback can prevent selection mode from starting.
2011-01-27 15:00:29 -08:00
Gilles Debunne
7af3a6f3dd am bbdd9d3f: Merge "Refresh the list of preloaded drawables and color state lists" into honeycomb
* commit 'bbdd9d3fbc1995adb4d327515ba0af8515436d2d':
  Refresh the list of preloaded drawables and color state lists
2011-01-27 15:00:23 -08:00
Chet Haase
19312cfef1 am 246bf85a: Merge "Fix NPE with display lists when view not attached" into honeycomb
* commit '246bf85aaacbadf4e892270d714efcdb280a3de8':
  Fix NPE with display lists when view not attached
2011-01-27 15:00:17 -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