58010 Commits

Author SHA1 Message Date
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
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
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
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
Romain Guy
3e1dc03a1a Merge "Turn hinting back on" 2011-09-12 13:16:28 -07:00
Romain Guy
f68832bcc1 Turn hinting back on
The difference is not obvious when compared to no hinting, and turning
off hinting has undesirable side effects because of the lack of sub-
pixel positioning when rendering text.

Change-Id: If2162ba079f68f33b33aed444e80036fdbf015bb
2011-09-12 13:14:42 -07:00
Stephen Hines
836990472e Merge "Add simple test for reference counting." 2011-09-12 12:47:12 -07:00
Stephen Hines
4a5117500c Merge "Add int and missing fp tests to RSTest." 2011-09-12 12:47:07 -07:00
Dianne Hackborn
d2509fd835 Add boot mode where only "core apps" are started.
A core app is one that has coreApp="true" in its manifest tag.

The system can successfully boot (though a little painfully) with
only framework-res.apk, SettingsProvider.apk, SystemUI.apk,
DefaultContainerService.apk, and Launcher2.apk set as core apps.

Currently this boot mode is always turned off.

Change-Id: Ieaa4a8031c2c391a12996aa8d8b1d65fc2b09d6b
2011-09-12 12:29:43 -07:00
Irfan Sheriff
45caa44717 Merge "Emergency callback mode handling" 2011-09-12 12:24:05 -07:00
Fred Quintana
76eb1a2518 Merge "Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."" 2011-09-12 12:17:54 -07:00
Jeff Brown
6515f50d0c Merge "Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814" 2011-09-12 11:26:58 -07:00
Gilles Debunne
e9a9dbe729 Merge "The back key stops selection mode in extracted text mode." 2011-09-12 11:19:06 -07:00
Fred Quintana
87b146625a Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."
This reverts commit bf3c634dc5bea1d6188efaba159b1ecbc038a4f7

Bug: 5290505
Change-Id: I11a681b48360f5c200a0602c4daf30ae82b4209c
2011-09-12 10:50:53 -07:00
Eric Fischer
d61a3a1bed Merge "Import revised translations." 2011-09-12 10:22:21 -07:00
Luca Zanolin
e076045f10 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.

Bug: 5267093

Change-Id: Ia6f2596d0c62885ef9affeb478e00d3b92d76aac
2011-09-12 18:07:31 +01:00
Daniel Sandler
aeb1167501 Merge "Hide navigation buttons when they are DISABLEd." 2011-09-12 10:06:53 -07:00
Eric Fischer
78cc91aa7d Import revised translations.
Change-Id: I6e7f33ff16557f7e9088c0aa66fd1c79ed376c75
2011-09-12 09:48:06 -07:00
Mangesh Ghiware
fa0d2316f9 Merge "On zoom to overview, reflow text, if necessary." 2011-09-12 09:46:49 -07:00
Jaikumar Ganesh
049f5cc3de Merge "Don't override the hash code for the channel." 2011-09-12 09:45:20 -07:00
The Android Open Source Project
92bda84b11 Reconcile with gingerbread-release
Change-Id: I4b6c483135fc0cb50e6de6c2fde845842c29e25c
2011-09-12 07:46:51 -07:00
satok
d2deee1eeb Merge "Fix the visiblity of the ime switcher icon." 2011-09-12 00:25:41 -07:00
satok
9747f8977c Fix the visiblity of the ime switcher icon.
Bug: 5288866
Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c
2011-09-12 15:56:40 +09:00
Irfan Sheriff
616f3173e0 Emergency callback mode handling
For wifi, track ECM and shut down and restart when device
goes in ECM and out

For p2p, simply turn off when in ECM mode

Bug: 5185246
Change-Id: I5f5bf75fac3e27db1d7c412135c796f2b137263d
2011-09-11 22:56:17 -07:00
Daniel Sandler
029d5877b0 Hide navigation buttons when they are DISABLEd.
Back is hidden by DISABLE_BACK; Home, Recents, and Menu are
hidden by DISABLE_NAVIGATION.

Bug: 5261576
Bug: 5284740 (confusion about visible inactive icons)
Change-Id: I410c133b737cc11d61bac0318dc24458353ee7b3
2011-09-12 01:02:30 -04:00
Ken Wakasa
e00633e49a Fix NPE
bug: 5290369
Change-Id: Ica450c49fc0bc89b1697eaa1086707f481f6be7e
2011-09-12 12:18:09 +09:00