58152 Commits

Author SHA1 Message Date
Costin Manolache
5d42a7df1d Merge "For consistency with getAuthToken, pass UID/PID for add account. Needed for customizing the add account flow" 2011-09-13 11:21:16 -07:00
Andreas Huber
63749954aa Support .avi tracks that have a sample size of 1, i.e. samples != chunks
Assume for now that all chunks are the same size, i.e. have the same number of
samples.

Change-Id: Ib8a7dfeb16cc3e5be199ff9d98b68dd0b9c23eb8
related-to-bug: 5279872
2011-09-13 11:12:57 -07:00
Chia-chi Yeh
7a685e8911 Merge "SIP: fix keep-alive measurement and increase the timeout." 2011-09-13 10:35:04 -07:00
Andreas Huber
fa6dfdcfd7 Don't post position updates too frequently
i.e. don't hog my message queue.

related-to-bug: 5284760
Change-Id: I8e2d36a11dbee1567b18ed13dc5257a65c6eeda7
2011-09-13 09:48:22 -07:00
Shaopeng Jia
9683f990a2 Adding isEmergencyNumber which also takes in a defaultCountryIso.
Also update CallerInfo and CallerInfoAsyncQuery to use the new method.

Bug: 5247602
Change-Id: I2bbb0806ad2787d53b19bc1e9bdfb0ee8be26980
2011-09-13 16:10:08 +02:00
Chia-chi Yeh
d17b6d5266 SIP: fix keep-alive measurement and increase the timeout.
Bug: 5226511
Change-Id: I1283790581496b1ff4e583a8d9379cdc39f78c20
2011-09-13 03:02:30 -07:00
Mathias Agopian
62bb0cdc74 Merge "improve sensorservice_test output" 2011-09-12 22:17:21 -07:00
Mathias Agopian
8c2733527a improve sensorservice_test output
Change-Id: I6248b6f1f001fedec1bddcddfcd2b381d9bb4bf4
2011-09-12 22:16:01 -07:00
Daniel Sandler
49f5840734 Transparent notification shade.
Bug: 5270161 (fix opacity)
Bug: 5231194 (transparent shade)
Change-Id: Ib7130ef0718c092dc9f8149698625a49d7abb2b2
2011-09-13 00:35:52 -04:00
Daniel Sandler
e168452ad5 Merge "Fix the takeoff position of a flung windowshade." 2011-09-12 20:26:52 -07:00
Adam Powell
66d46f1db8 Merge "Fix bug 5296851 - Silly monkeys." 2011-09-12 19:19:33 -07:00
Daniel Sandler
fe172cc861 Fix the takeoff position of a flung windowshade.
We were carefully tracking the vertical offset between the view
origin and the user's incident touch, but not actually
including it when performing a fling. (This might have
worked at one point but been later buried under some
refactoring rubble.)

Bug: 5210198
Change-Id: I97ae883491a5dedf1b48683441096fe9938d118f
2011-09-12 22:18:41 -04:00
Adam Powell
b844011046 Fix bug 5296851 - Silly monkeys.
Change-Id: Idae81d426051c2e1b00a1d1b62b505effd0a2a68
2011-09-12 19:14:11 -07:00
Christopher Tate
8f73b5dfac Fix bug 5297302 - Remember to release surface after starting drag
Forgetting to release it was "safe" in that GC would eventually
tidy it up anyway, but in the meantime it was possible for a user to
do lots of drag operations, racing ahead of the progress of the garbage
collector, and wind up with drags failing because we'd run out of
surface slots due to all the piled up stale drag shadows.

Change-Id: I7ac93b13cc9996dda04a404571fbc44cb4314694
2011-09-12 18:33:45 -07:00
Matthew Xie
1667446c90 Merge "Fix a compile error when debug is turned on" 2011-09-12 18:30:48 -07:00
Jeff Sharkey
883adec771 Merge "Handle data changed during FlingRunnable." 2011-09-12 18:28:15 -07:00
Matthew Xie
62f7c9737f Fix a compile error when debug is turned on
logv uses a variable that is declared after its use

Change-Id: Id5c09698e4a0a91befa3ce2f60ce02ec28733889
2011-09-12 18:25:31 -07:00
Jeff Sharkey
7f2202b0bd Handle data changed during FlingRunnable.
Bug: 5297171
Change-Id: I733ed978bb1d237c992f5d003b212baeac102a3d
2011-09-12 18:20:56 -07:00
Adam Powell
413ce9ddab Merge "Pause WebKit drawing when WebView loses window focus." 2011-09-12 18:15:37 -07:00
Adam Powell
e00e8a7837 Pause WebKit drawing when WebView loses window focus.
This prevents animations and other live page content from consuming
too many resources while the user is interacting with a popup window.

Bug 5300522

Change-Id: I40fb6d16d56b540c431172052a1ae7fead7109be
2011-09-12 18:04:00 -07:00
Dianne Hackborn
f0ec2dd327 Merge "Fix problems where we were allocating TypedArray when not needed." 2011-09-12 17:52:54 -07:00
The Android Automerger
3f2821425f keep history after reconcile of gingerbread-release 2011-09-12 17:16:34 -07:00
Svetoslav Ganov
8a6d732360 Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation." 2011-09-12 17:05:44 -07:00
Michael Jurka
f1c8adc9ae Merge "Bug fixes in Recents" 2011-09-12 17:04:53 -07:00
Dianne Hackborn
ab0f485e64 Fix problems where we were allocating TypedArray when not needed.
Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
2011-09-12 17:04:32 -07:00
Jaikumar Ganesh
cc0b8b2c47 Use an integer for the channel id.
Hashcode are not guranteed to be unique.

Change-Id: I905c4855785ac3da9fde8bb41e1a2678f1e9e5cc
2011-09-12 16:58:29 -07:00
Svetoslav Ganov
bd5c9768c4 Merge "Adding accessibility delegate mechanism for backwards compatibility support." 2011-09-12 16:58:13 -07:00
Michael Jurka
0e8063a3b4 Bug fixes in Recents
- Making thumbnails invisible until loaded (fixes regression)
- Speed up dismiss animation from menu
- Make the max swipe velocity greater
- Make only the thumbnail and app title long-clickable
- No more click sound when tapping outside the thumbnails to dismiss Recents
- Tweaking color of recents app label text

Change-Id: If7b6cd59e92feb0472eb3ea266733549cb9f4d4b
2011-09-12 16:55:04 -07:00
Jeff Sharkey
e44365b539 Merge "Data usage structure optimizations." 2011-09-12 16:50:34 -07:00
Amith Yamasani
1357c0a228 Merge "Use a new config flag to decide if notification led pulsing can be turned on/off." 2011-09-12 16:46:58 -07:00
Svetoslav Ganov
34ffaabc30 CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.
bug:5160586

Change-Id: I3861cfc398566805cdf3c551cbf20dc7b5c208d9
2011-09-12 16:19:37 -07:00
Jeff Sharkey
69b0f63af2 Data usage structure optimizations.
Driven by traceview hotspots found in Settings UI.

Change-Id: I614a049523c526b7fcd12fffdf53a3e4723623e4
2011-09-12 16:13:20 -07:00
Svetoslav Ganov
031d9c1389 Adding accessibility delegate mechanism for backwards compatibility support.
1. Added an AccessibilityDelegate class in View which can be set by
   a client that wants to cutomize accessibility behavior via
   composition as opposed to inheritance. Insead overriding a new method in
   View thus being bound to the API version that introduced this
   method a developer can conditionally inject the accessibility
   customization if the platform API version is heigh enough. The
   developer will have to override the method of interest of the
   delegate. The default implementation of the delegate methods is
   the same as that of View in the case that there is no delegate
   set. If a delegate is set calling an accessibility related method
   on View will be handed off to the corresponsing method of the
   delegate.

bug:5259555

Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4
2011-09-12 15:42:19 -07:00
Chet Haase
2f2eea704e Merge "Fix wobbly spinners" 2011-09-12 15:17:32 -07:00
Dianne Hackborn
83f9dfe0f0 Merge "Add boot mode where only "core apps" are started." 2011-09-12 15:07:51 -07:00
Jeff Brown
e982d836d6 Merge "Track status bar fling velocity using screen coords. Bug: 5210198" 2011-09-12 14:50:38 -07:00
Jeff Brown
125b73eb59 Merge "Fix ACTION_CANCEL handling in status bar. Bug: 5198231" 2011-09-12 14:50:31 -07:00
Dianne Hackborn
1cd955b01d Merge "Get rid of some animation flickers and other bad things." 2011-09-12 14:42:02 -07:00
Amith Yamasani
ba7b959635 Use a new config flag to decide if notification led pulsing can be turned on/off.
Bug: 5242350
Change-Id: I35d6b858350d47fc6b10b4e65c587c15a82c0301
2011-09-12 14:29:36 -07:00
Chet Haase
e5cdb6c839 Fix wobbly spinners
Some progress bars use AnimatedRotateDrawable, which suffered
from the same bug as AnimationDrawable (until a recent fix). The
code would not account for the left/top offset of the drawable in its view,
so it would rotate the drawable around the wrong center, causing it to
wobble and not get erased properly.

Change-Id: I3f34f797e595973d9eb1d952d92026c769c7ec0a
2011-09-12 14:21:46 -07:00
Andreas Huber
7fc8f515a0 Merge "Turn an another assertion into a runtime error in ACodec's implementation" 2011-09-12 14:21:42 -07:00
Jeff Brown
911fe30d58 Track status bar fling velocity using screen coords.
Bug: 5210198

Change-Id: I58630ab861c0934755a4aac4b96fdc5634c4a438
2011-09-12 14:21:17 -07:00
Christopher Tate
d30b89799c Merge "Move full backup/restore onto dedicated threads" 2011-09-12 14:19:15 -07:00
Andreas Huber
d41108c91f Turn an another assertion into a runtime error in ACodec's implementation
Change-Id: I6779b29f200b90d088273ab3204724ef3d8d59bd
related-to-bug: 5284760
2011-09-12 14:14:08 -07:00
Jeff Brown
68ebcdf3fd Fix ACTION_CANCEL handling in status bar.
Bug: 5198231

Widgets always need to handle ACTION_CANCEL properly since
it can happen at any time, such as when the screen is turned
off or the screen is rotated, removed or reconfigured.

Change-Id: Ia30b14bb6f68cdde5286b4d72e69130e9fb38732
2011-09-12 14:12:17 -07:00
Andreas Huber
465d42ef78 Merge "Increase the avi extractor's confidence slighly over mp3's" 2011-09-12 13:59:11 -07:00
Andreas Huber
f8c84b3434 Increase the avi extractor's confidence slighly over mp3's
So that we don't accidentally identify a .avi file containing an mp3 track as
an mp3 file.

Change-Id: I73495b80cbb5bc1007bf810f2db453c9f175171b
related-to-bug: 5288189
2011-09-12 13:49:00 -07:00
Dianne Hackborn
d02a9e95f4 Get rid of some animation flickers and other bad things.
Change-Id: If7606286bf0bd01cf023d57719ccb27e39d5564c
2011-09-12 13:47:31 -07:00
Christopher Tate
a28e854683 Move full backup/restore onto dedicated threads
Running full backup/restore on the Backup Manager looper thread causes problems.
It not only interfered with the delayed-Message timeout processing; in the case
of installing apks during restore it also interfered fatally with the interaction
between the Package Manager and install-time restore of data from the cloud.

The long-term right thing to do here will be a refactoring of full backup and
restore to be structured as the sort of state-machine process that incremental
backup and restore now use.  This is particularly thorny in the case of full
restore (due to the Package Manager interactions), and full backup/restore are
considered experimental at this point, so that refactoring is deferred to a
future release.  The current process is essentially standalone, so the bug is
fixed here pro tem by letting it run to completion on its own thread, freeing
the looper for normal work.

Fixes bug 5173450

Change-Id: I659a61afa18ffe7fde1a07f7fa0e860d5e8d5a89
2011-09-12 13:45:21 -07:00
Gilles Debunne
fc7a8081f8 Merge "If suggestion span is not enable, removes the suggestion span (so no underline is displayed), and do not try to display the suggestion pop-up." 2011-09-12 13:30:26 -07:00