25386 Commits

Author SHA1 Message Date
Dianne Hackborn
b3db5b73a6 Merge "Fix issue #5309443: Ninjump crashes on boot with..." 2011-09-13 13:38:17 -07:00
Adam Powell
247a0f0a16 Fix bug 5226097 - App compatibility issues around new ListView fixes
Only dispatch change events when headers/footers change if we have an
adapter.

Change-Id: Ic5d68ea214196771d76f6a88186aaf5f8ed4c4cf
2011-09-13 13:11:29 -07:00
Dianne Hackborn
180c48489f Fix issue #5309443: Ninjump crashes on boot with...
...java.lang.IllegalArgumentException: Window type can not be
changed after the window is added

Change-Id: I4e34622c99d721fa214fd534a9bbfc8006184770
2011-09-13 12:39:25 -07:00
Gilles Debunne
18b4311922 Merge "Bug 5281947: add to dictionnary option promoted in suggestions." 2011-09-13 12:38:03 -07:00
Mike Lockwood
eb6456b31e Move Power Manager minimum screen brightness to a framework resource
Bug: 5279179

Change-Id: I445e78c774ad08be6582fa8870487a5210465a08
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-09-13 15:24:02 -04:00
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
Adam Powell
66d46f1db8 Merge "Fix bug 5296851 - Silly monkeys." 2011-09-12 19:19:33 -07: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
Svetoslav Ganov
8a6d732360 Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation." 2011-09-12 17:05:44 -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
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
Dianne Hackborn
83f9dfe0f0 Merge "Add boot mode where only "core apps" are started." 2011-09-12 15:07:51 -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
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
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
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
Costin Manolache
b61e8fbabe For consistency with getAuthToken, pass UID/PID for add account. Needed for customizing the add account flow
b/5278759 API changes to pass package, options
b/5249018 consistent/customized add account UI
b/5270079 tag who adds the account

Change-Id: I1ee211d751b565c725c89aa1a429ef2f5bebe34a
2011-09-12 12:11:24 -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
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
Kristian Monsen
87af7314d4 Cleanup for bug 5278763
Variable is not needed, and removing unneeded check

Also throwing an exception if sContext gets set to null.

Change-Id: Ic61ba4c88a162eb730e166f0e9f477e809b51f42
2011-09-12 16:12:50 +01:00
satok
c0c8765719 Skip the exit animation when the IME is destroyed.
Bug: 4529563

Change-Id: I6fb2ea3601e1cc6fa8858d006819698dcabdd5ca
2011-09-12 19:17:43 +09:00
Ben Komalo
6c048260f3 Merge "Revert encryption mapping for device wipes." 2011-09-11 16:48:32 -07:00
Amith Yamasani
48b3914805 Merge "Fix preference screen padding for legacy apps (non Holo)." 2011-09-11 15:58:31 -07:00
Neal Nguyen
e1e0613aa1 Merge "Fixing DownloadManager Test app." 2011-09-11 14:58:02 -07:00
Amith Yamasani
5691c7a2d6 Fix preference screen padding for legacy apps (non Holo).
Also fixes the right margin for single pane preferences on phones, so the
scrollbar is fully visible.

Bug: 5262868
Bug: 5263470
Change-Id: Ifbbe22744bd42ab33578d1f01daecdea4d59f5cc
2011-09-11 13:19:14 -07:00
Dianne Hackborn
fe75cb342e Merge "Fix inflating of animations." 2011-09-11 13:07:24 -07:00
Chet Haase
6a6977e872 Merge "Fix 5266335: bad DIRTY/invalidation logic" 2011-09-11 12:58:45 -07:00
Dianne Hackborn
8962028b6e Fix inflating of animations.
Need to define attributes for animation set, to have correct indices.

Also small fixes elsewhere.

Change-Id: If596147e8aee4ebffe4e184872070341eff6df73
2011-09-11 12:47:45 -07:00
Chet Haase
f186f30a7c Fix 5266335: bad DIRTY/invalidation logic
The DIRTY flag is used to track which elements of the view hierarchy need
to be redrawn on the next drawing operation. This flag is set on the parent
hierarchy of a view when that view is invalidated. There is an optimization for
opaque views that tells the parent that it is dirty, but that it need not
redraw its own content because the view will cover it (since it is opaque).

This dirty-opaque logic breaks down in the current code because we only set
these dirty flags on the parent hierarchy, not on the view itself. In the situation
raised by this bug, we would invalidate the parent container directly (which does
not case the dirty flag to be set), then we would invalidate a child of that view.
Because the child is opaque, the DIRTY_OPAQUE flag would be set on the parent
container. This would cause us, in the later rendering process, to skip the
drawing on that parent container, assuming that it was only asked to be redrawn
because of its opaque child's invalidation.

The fix is to now set the DIRTY flag on an invalidated view, not just on its parent
hierarchy. The DIRTY_OPAQUE logic will avoid setting the opaque flag on views/parents
that are already marked DIRTY, thus an invalidated parent will be correctly drawn
during the drawing process.

Change-Id: Ib5e014a125a4f5168f6a5a3166e941474659aca5
2011-09-11 11:06:06 -07:00
Dianne Hackborn
1a9c6c97fa Merge "The wave view attributes should not be public." 2011-09-11 10:56:01 -07:00