OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Handle data changed during FlingRunnable."
Jeff Sharkey [Tue, 13 Sep 2011 01:28:15 +0000 (18:28 -0700)]
Merge "Handle data changed during FlingRunnable."

12 years agoHandle data changed during FlingRunnable.
Jeff Sharkey [Tue, 13 Sep 2011 00:05:18 +0000 (17:05 -0700)]
Handle data changed during FlingRunnable.

Bug: 5297171
Change-Id: I733ed978bb1d237c992f5d003b212baeac102a3d

12 years agoMerge "Pause WebKit drawing when WebView loses window focus."
Adam Powell [Tue, 13 Sep 2011 01:15:37 +0000 (18:15 -0700)]
Merge "Pause WebKit drawing when WebView loses window focus."

12 years agoPause WebKit drawing when WebView loses window focus.
Adam Powell [Mon, 12 Sep 2011 00:48:42 +0000 (17:48 -0700)]
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

12 years agoMerge "Fix problems where we were allocating TypedArray when not needed."
Dianne Hackborn [Tue, 13 Sep 2011 00:52:54 +0000 (17:52 -0700)]
Merge "Fix problems where we were allocating TypedArray when not needed."

12 years agoMerge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation."
Svetoslav Ganov [Tue, 13 Sep 2011 00:05:44 +0000 (17:05 -0700)]
Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation."

12 years agoMerge "Bug fixes in Recents"
Michael Jurka [Tue, 13 Sep 2011 00:04:53 +0000 (17:04 -0700)]
Merge "Bug fixes in Recents"

12 years agoFix problems where we were allocating TypedArray when not needed.
Dianne Hackborn [Mon, 12 Sep 2011 23:59:06 +0000 (16:59 -0700)]
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

12 years agoMerge "Adding accessibility delegate mechanism for backwards compatibility support."
Svetoslav Ganov [Mon, 12 Sep 2011 23:58:13 +0000 (16:58 -0700)]
Merge "Adding accessibility delegate mechanism for backwards compatibility support."

12 years agoBug fixes in Recents
Michael Jurka [Fri, 9 Sep 2011 22:31:55 +0000 (15:31 -0700)]
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

12 years agoMerge "Data usage structure optimizations."
Jeff Sharkey [Mon, 12 Sep 2011 23:50:34 +0000 (16:50 -0700)]
Merge "Data usage structure optimizations."

12 years agoMerge "Use a new config flag to decide if notification led pulsing can be turned...
Amith Yamasani [Mon, 12 Sep 2011 23:46:58 +0000 (16:46 -0700)]
Merge "Use a new config flag to decide if notification led pulsing can be turned on/off."

12 years agoCheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.
Svetoslav Ganov [Mon, 12 Sep 2011 23:19:32 +0000 (16:19 -0700)]
CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.

bug:5160586

Change-Id: I3861cfc398566805cdf3c551cbf20dc7b5c208d9

12 years agoData usage structure optimizations.
Jeff Sharkey [Mon, 12 Sep 2011 00:33:14 +0000 (17:33 -0700)]
Data usage structure optimizations.

Driven by traceview hotspots found in Settings UI.

Change-Id: I614a049523c526b7fcd12fffdf53a3e4723623e4

12 years agoAdding accessibility delegate mechanism for backwards compatibility support.
Svetoslav Ganov [Fri, 9 Sep 2011 23:41:13 +0000 (16:41 -0700)]
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

12 years agoMerge "Fix wobbly spinners"
Chet Haase [Mon, 12 Sep 2011 22:17:32 +0000 (15:17 -0700)]
Merge "Fix wobbly spinners"

12 years agoMerge "Add boot mode where only "core apps" are started."
Dianne Hackborn [Mon, 12 Sep 2011 22:07:51 +0000 (15:07 -0700)]
Merge "Add boot mode where only "core apps" are started."

12 years agoMerge "Track status bar fling velocity using screen coords. Bug: 5210198"
Jeff Brown [Mon, 12 Sep 2011 21:50:38 +0000 (14:50 -0700)]
Merge "Track status bar fling velocity using screen coords. Bug: 5210198"

12 years agoMerge "Fix ACTION_CANCEL handling in status bar. Bug: 5198231"
Jeff Brown [Mon, 12 Sep 2011 21:50:31 +0000 (14:50 -0700)]
Merge "Fix ACTION_CANCEL handling in status bar. Bug: 5198231"

12 years agoMerge "Get rid of some animation flickers and other bad things."
Dianne Hackborn [Mon, 12 Sep 2011 21:42:02 +0000 (14:42 -0700)]
Merge "Get rid of some animation flickers and other bad things."

12 years agoUse a new config flag to decide if notification led pulsing can be turned on/off.
Amith Yamasani [Mon, 12 Sep 2011 21:09:31 +0000 (14:09 -0700)]
Use a new config flag to decide if notification led pulsing can be turned on/off.

Bug: 5242350
Change-Id: I35d6b858350d47fc6b10b4e65c587c15a82c0301

12 years agoFix wobbly spinners
Chet Haase [Mon, 12 Sep 2011 21:21:46 +0000 (14:21 -0700)]
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

12 years agoMerge "Turn an another assertion into a runtime error in ACodec's implementation"
Andreas Huber [Mon, 12 Sep 2011 21:21:42 +0000 (14:21 -0700)]
Merge "Turn an another assertion into a runtime error in ACodec's implementation"

12 years agoTrack status bar fling velocity using screen coords.
Jeff Brown [Mon, 12 Sep 2011 21:21:17 +0000 (14:21 -0700)]
Track status bar fling velocity using screen coords.
Bug: 5210198

Change-Id: I58630ab861c0934755a4aac4b96fdc5634c4a438

12 years agoMerge "Move full backup/restore onto dedicated threads"
Christopher Tate [Mon, 12 Sep 2011 21:19:15 +0000 (14:19 -0700)]
Merge "Move full backup/restore onto dedicated threads"

12 years agoTurn an another assertion into a runtime error in ACodec's implementation
Andreas Huber [Mon, 12 Sep 2011 21:14:08 +0000 (14:14 -0700)]
Turn an another assertion into a runtime error in ACodec's implementation

Change-Id: I6779b29f200b90d088273ab3204724ef3d8d59bd
related-to-bug: 5284760

12 years agoFix ACTION_CANCEL handling in status bar.
Jeff Brown [Mon, 12 Sep 2011 21:12:17 +0000 (14:12 -0700)]
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

12 years agoMerge "Increase the avi extractor's confidence slighly over mp3's"
Andreas Huber [Mon, 12 Sep 2011 20:59:11 +0000 (13:59 -0700)]
Merge "Increase the avi extractor's confidence slighly over mp3's"

12 years agoIncrease the avi extractor's confidence slighly over mp3's
Andreas Huber [Mon, 12 Sep 2011 20:49:00 +0000 (13:49 -0700)]
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

12 years agoGet rid of some animation flickers and other bad things.
Dianne Hackborn [Mon, 12 Sep 2011 20:47:31 +0000 (13:47 -0700)]
Get rid of some animation flickers and other bad things.

Change-Id: If7606286bf0bd01cf023d57719ccb27e39d5564c

12 years agoMove full backup/restore onto dedicated threads
Christopher Tate [Mon, 12 Sep 2011 20:45:21 +0000 (13:45 -0700)]
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

12 years agoMerge "If suggestion span is not enable, removes the suggestion span (so no underline...
Gilles Debunne [Mon, 12 Sep 2011 20:30:26 +0000 (13:30 -0700)]
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."

12 years agoMerge "Turn hinting back on"
Romain Guy [Mon, 12 Sep 2011 20:16:28 +0000 (13:16 -0700)]
Merge "Turn hinting back on"

12 years agoTurn hinting back on
Romain Guy [Mon, 12 Sep 2011 20:14:42 +0000 (13:14 -0700)]
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

12 years agoMerge "Add simple test for reference counting."
Stephen Hines [Mon, 12 Sep 2011 19:47:12 +0000 (12:47 -0700)]
Merge "Add simple test for reference counting."

12 years agoMerge "Add int and missing fp tests to RSTest."
Stephen Hines [Mon, 12 Sep 2011 19:47:07 +0000 (12:47 -0700)]
Merge "Add int and missing fp tests to RSTest."

12 years agoAdd boot mode where only "core apps" are started.
Dianne Hackborn [Mon, 12 Sep 2011 19:29:43 +0000 (12:29 -0700)]
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

12 years agoMerge "Emergency callback mode handling"
Irfan Sheriff [Mon, 12 Sep 2011 19:24:05 +0000 (12:24 -0700)]
Merge "Emergency callback mode handling"

12 years agoMerge "Revert "Make the SyncManager timeout syncs if it takes too long to bind to...
Fred Quintana [Mon, 12 Sep 2011 19:17:54 +0000 (12:17 -0700)]
Merge "Revert "Make the SyncManager timeout syncs if it takes too long to bind to them.""

12 years agoMerge "Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814"
Jeff Brown [Mon, 12 Sep 2011 18:26:58 +0000 (11:26 -0700)]
Merge "Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814"

12 years agoMerge "The back key stops selection mode in extracted text mode."
Gilles Debunne [Mon, 12 Sep 2011 18:19:06 +0000 (11:19 -0700)]
Merge "The back key stops selection mode in extracted text mode."

12 years agoRevert "Make the SyncManager timeout syncs if it takes too long to bind to them."
Fred Quintana [Mon, 12 Sep 2011 17:32:55 +0000 (10:32 -0700)]
Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."

This reverts commit bf3c634dc5bea1d6188efaba159b1ecbc038a4f7

Bug: 5290505
Change-Id: I11a681b48360f5c200a0602c4daf30ae82b4209c

12 years agoMerge "Import revised translations."
Eric Fischer [Mon, 12 Sep 2011 17:22:21 +0000 (10:22 -0700)]
Merge "Import revised translations."

12 years agoIf suggestion span is not enable, removes the suggestion span (so no underline is...
Luca Zanolin [Thu, 8 Sep 2011 11:03:37 +0000 (12:03 +0100)]
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

12 years agoMerge "Hide navigation buttons when they are DISABLEd."
Daniel Sandler [Mon, 12 Sep 2011 17:06:53 +0000 (10:06 -0700)]
Merge "Hide navigation buttons when they are DISABLEd."

12 years agoImport revised translations.
Eric Fischer [Mon, 12 Sep 2011 16:48:06 +0000 (09:48 -0700)]
Import revised translations.

Change-Id: I6e7f33ff16557f7e9088c0aa66fd1c79ed376c75

12 years agoMerge "On zoom to overview, reflow text, if necessary."
Mangesh Ghiware [Mon, 12 Sep 2011 16:46:49 +0000 (09:46 -0700)]
Merge "On zoom to overview, reflow text, if necessary."

12 years agoMerge "Don't override the hash code for the channel."
Jaikumar Ganesh [Mon, 12 Sep 2011 16:45:20 +0000 (09:45 -0700)]
Merge "Don't override the hash code for the channel."

12 years agoReconcile with gingerbread-release
The Android Open Source Project [Mon, 12 Sep 2011 14:46:51 +0000 (07:46 -0700)]
Reconcile with gingerbread-release

Change-Id: I4b6c483135fc0cb50e6de6c2fde845842c29e25c

12 years agoMerge "Fix the visiblity of the ime switcher icon."
satok [Mon, 12 Sep 2011 07:25:41 +0000 (00:25 -0700)]
Merge "Fix the visiblity of the ime switcher icon."

12 years agoFix the visiblity of the ime switcher icon.
satok [Mon, 12 Sep 2011 06:56:40 +0000 (15:56 +0900)]
Fix the visiblity of the ime switcher icon.

Bug: 5288866
Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c

12 years agoEmergency callback mode handling
Irfan Sheriff [Mon, 12 Sep 2011 02:59:01 +0000 (19:59 -0700)]
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

12 years agoHide navigation buttons when they are DISABLEd.
Daniel Sandler [Mon, 12 Sep 2011 04:58:58 +0000 (00:58 -0400)]
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

12 years agoFix NPE
Ken Wakasa [Mon, 12 Sep 2011 03:01:25 +0000 (12:01 +0900)]
Fix NPE

bug: 5290369
Change-Id: Ica450c49fc0bc89b1697eaa1086707f481f6be7e

12 years agoMerge "Exit the keyguard when the user clicks a notification."
Daniel Sandler [Mon, 12 Sep 2011 00:08:50 +0000 (17:08 -0700)]
Merge "Exit the keyguard when the user clicks a notification."

12 years agoMerge "Fix bug swiping away NO_CLEAR notifications."
Daniel Sandler [Mon, 12 Sep 2011 00:08:41 +0000 (17:08 -0700)]
Merge "Fix bug swiping away NO_CLEAR notifications."

12 years agoMerge "Revert encryption mapping for device wipes."
Ben Komalo [Sun, 11 Sep 2011 23:48:32 +0000 (16:48 -0700)]
Merge "Revert encryption mapping for device wipes."

12 years agoMerge "Fix preference screen padding for legacy apps (non Holo)."
Amith Yamasani [Sun, 11 Sep 2011 22:58:31 +0000 (15:58 -0700)]
Merge "Fix preference screen padding for legacy apps (non Holo)."

12 years agoMerge "Fixing DownloadManager Test app."
Neal Nguyen [Sun, 11 Sep 2011 21:58:02 +0000 (14:58 -0700)]
Merge "Fixing DownloadManager Test app."

12 years agoMerge "aggregating test results when reporting to instrumentation out."
Tsu Chiang Chuang [Sun, 11 Sep 2011 21:10:00 +0000 (14:10 -0700)]
Merge "aggregating test results when reporting to instrumentation out."

12 years agoExit the keyguard when the user clicks a notification.
Daniel Sandler [Sun, 11 Sep 2011 20:29:05 +0000 (16:29 -0400)]
Exit the keyguard when the user clicks a notification.

(This only works if the keyguard is not secure, but then
again, the user can't access the notification panel in that
case anyway.)

Bug: 5173952
Change-Id: I8a6081d26c52843822b381d8ebe0fae94a03bef9

12 years agoFix preference screen padding for legacy apps (non Holo).
Amith Yamasani [Sun, 11 Sep 2011 19:35:33 +0000 (12:35 -0700)]
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

12 years agoFix bug swiping away NO_CLEAR notifications.
Daniel Sandler [Sun, 11 Sep 2011 19:39:24 +0000 (15:39 -0400)]
Fix bug swiping away NO_CLEAR notifications.

Bug: 5121507
Change-Id: I798686cfc8506805298e1481a3d603ce700e12f4

12 years agoMerge "Fix inflating of animations."
Dianne Hackborn [Sun, 11 Sep 2011 20:07:24 +0000 (13:07 -0700)]
Merge "Fix inflating of animations."

12 years agoMerge "Fix 5266335: bad DIRTY/invalidation logic"
Chet Haase [Sun, 11 Sep 2011 19:58:45 +0000 (12:58 -0700)]
Merge "Fix 5266335: bad DIRTY/invalidation logic"

12 years agoFix inflating of animations.
Dianne Hackborn [Sun, 11 Sep 2011 19:47:45 +0000 (12:47 -0700)]
Fix inflating of animations.

Need to define attributes for animation set, to have correct indices.

Also small fixes elsewhere.

Change-Id: If596147e8aee4ebffe4e184872070341eff6df73

12 years agoaggregating test results when reporting to instrumentation out.
Tsu Chiang Chuang [Sun, 11 Sep 2011 19:26:29 +0000 (12:26 -0700)]
aggregating test results when reporting to instrumentation out.

Change-Id: Ic652f893d7cfd469a912bd71a094f337166a6aa5

12 years agoAdd simple test for reference counting.
Stephen Hines [Sun, 11 Sep 2011 18:46:08 +0000 (11:46 -0700)]
Add simple test for reference counting.

Change-Id: I0c69f11b399590e44cfe0d9e96fbdbe74140f285

12 years agoAdd int and missing fp tests to RSTest.
Stephen Hines [Sat, 10 Sep 2011 01:17:30 +0000 (18:17 -0700)]
Add int and missing fp tests to RSTest.

BUG=5281452

Change-Id: Ic5baef42dafa8a6484aa216a2c61ff316026175b

12 years agoMerge "Fix build."
Dianne Hackborn [Sun, 11 Sep 2011 18:21:09 +0000 (11:21 -0700)]
Merge "Fix build."

12 years agoFix build.
Dianne Hackborn [Sun, 11 Sep 2011 18:20:21 +0000 (11:20 -0700)]
Fix build.

Change-Id: I8f0f137649ae69100a2b94706ad9b3861d8dbac0

12 years agoMerge "Handle HSPAP."
John Huang [Sun, 11 Sep 2011 18:13:29 +0000 (11:13 -0700)]
Merge "Handle HSPAP."

12 years agoFix 5266335: bad DIRTY/invalidation logic
Chet Haase [Sun, 11 Sep 2011 18:06:06 +0000 (11:06 -0700)]
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

12 years agoMerge "The wave view attributes should not be public."
Dianne Hackborn [Sun, 11 Sep 2011 17:56:01 +0000 (10:56 -0700)]
Merge "The wave view attributes should not be public."

12 years agoMerge "Inter process interrogation ocassionally gets stuck."
Svetoslav Ganov [Sat, 10 Sep 2011 01:57:35 +0000 (18:57 -0700)]
Merge "Inter process interrogation ocassionally gets stuck."

12 years agoInter process interrogation ocassionally gets stuck.
Svetoslav Ganov [Sat, 10 Sep 2011 01:43:15 +0000 (18:43 -0700)]
Inter process interrogation ocassionally gets stuck.

1. There was a bug that was not handling correctly the
   case for which the interrogator requests an accessibility
   node info and the message describing how to fetch the
   latter for the same process case was delivered after the
   code that checks whether the message is there in order to
   dispatch it is executed. Now the message handling is done
   correctly - the caller checks if the message is present and
   if so processes it, otherwise the caller sleeps and is
   interrupted if such a message arrives.

bug:5138933

Change-Id: I4c2940b46c9a52a51c5ee48b83ca6811489765d6

12 years agoThe wave view attributes should not be public.
Dianne Hackborn [Sat, 10 Sep 2011 01:35:23 +0000 (18:35 -0700)]
The wave view attributes should not be public.

Change-Id: I7f021fc79385f5cf2e252389cc5f672f334ee4c4

12 years agoone more api missed
android-merger [Sat, 10 Sep 2011 01:35:13 +0000 (18:35 -0700)]
one more api missed

Change-Id: Ibfcb9155974edc96b4c98742d8d89987d3b176b6

12 years agoFix build
Adam Powell [Sat, 10 Sep 2011 01:09:51 +0000 (18:09 -0700)]
Fix build

Change-Id: I2b1ad9f057367873554ca4df0c93050bbbc9ebb7

12 years agoMerge "Fix metrics on Holo progress dialogs"
Adam Powell [Sat, 10 Sep 2011 00:47:23 +0000 (17:47 -0700)]
Merge "Fix metrics on Holo progress dialogs"

12 years agoFix metrics on Holo progress dialogs
Adam Powell [Fri, 9 Sep 2011 23:22:34 +0000 (16:22 -0700)]
Fix metrics on Holo progress dialogs

Change-Id: I8818d002dcee0ca6d6deead9e0403c07e8ef4460

12 years agoMerge "Go faster!!!!"
Romain Guy [Sat, 10 Sep 2011 00:35:02 +0000 (17:35 -0700)]
Merge "Go faster!!!!"

12 years agoMerge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile"
James Dong [Sat, 10 Sep 2011 00:32:50 +0000 (17:32 -0700)]
Merge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile"

12 years agoMTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile
Devaraj Rangasamy [Fri, 9 Sep 2011 00:53:33 +0000 (17:53 -0700)]
MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile

MTS tests have hardcoded video framerates.
MTS can query the video framerate supported by device via
Camcorder profiles and use.

Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
12 years agoHandle DOWN/MOVE/UP gestures with fling.
Jeff Brown [Sat, 10 Sep 2011 00:15:31 +0000 (17:15 -0700)]
Handle DOWN/MOVE/UP gestures with fling.
Bug: 5265814

When MOVE events are batched, a ListView may not receive only
one MOVE event followed immediately by an UP in the case of
a quick fling.  Unfortunately, the old code relied on there
being at least one additional MOVE event following the first
in order to really scroll or fling.

This change extracts common code from onTouchEvent to
handle scrolls as soon as they are started if there is additional
remaining motion beyond the initial touch slop (taken care of by
mMotionCorrection).

Change-Id: I8c8f03f580bfba96aa69cf111d245ba7fd3b4c2a

12 years agoMerge "Tweak VelocityTracker. Bug: 5265529"
Jeff Brown [Sat, 10 Sep 2011 00:01:25 +0000 (17:01 -0700)]
Merge "Tweak VelocityTracker. Bug: 5265529"

12 years agoHide method to fix the build
Gilles Debunne [Fri, 9 Sep 2011 23:46:42 +0000 (16:46 -0700)]
Hide method to fix the build

Change-Id: I5a556454a722bf037932632fa7e6ee6a2832a68d

12 years agomissed part of https://android-git.corp.google.com/g/#/c/104540/
android-merger [Fri, 9 Sep 2011 23:27:36 +0000 (16:27 -0700)]
missed part of https://android-git.corp.google.com/g/#/c/104540/

Change-Id: I0da6d5bd860b1fe9df76b9df372e4ad9ab6e7202

12 years agoOn zoom to overview, reflow text, if necessary.
Mangesh Ghiware [Fri, 9 Sep 2011 23:04:22 +0000 (16:04 -0700)]
On zoom to overview, reflow text, if necessary.

Reset the text wrap scale to the correct value (i.e., reading level
scale) on zoom to overview. This addresses the scenario where text is
wrapped at a larger scale following a pinch zoom and double tap to
reflow.

Bug: 5254253
Change-Id: I57f706ef4254dd3f194cc35f109dd48b61b72f73

12 years agomissed aidl change in previous merge
android-merger [Fri, 9 Sep 2011 23:15:00 +0000 (16:15 -0700)]
missed aidl change in previous merge

Change-Id: I6c1c55d0b79d5f2d7be538ec3a51c5708522a08f

12 years agoMerge "Relax form autocomplete conditions"
Ben Murdoch [Fri, 9 Sep 2011 23:14:20 +0000 (16:14 -0700)]
Merge "Relax form autocomplete conditions"

12 years agoMerge "Fix bug 5214224 - Align stock framework list item padding for dialogs"
Adam Powell [Fri, 9 Sep 2011 23:12:03 +0000 (16:12 -0700)]
Merge "Fix bug 5214224 - Align stock framework list item padding for dialogs"

12 years agoTweak VelocityTracker.
Jeff Brown [Fri, 9 Sep 2011 22:39:35 +0000 (15:39 -0700)]
Tweak VelocityTracker.
Bug: 5265529

Calculate the velocity using the most recent touch sample as the
point of reference instead of the oldest.  This change more heavily
weights recent touch samples and reduces the sample time window
used for calculation.  This significantly improves the accuracy
of fling gesture detection.

Change-Id: Ib1940933e786e5f6a731552a99bcd9400741d55f

12 years agoMerge "Bug 5255124: Move cursor to the end of a word after correction popup alternate...
Gilles Debunne [Fri, 9 Sep 2011 23:01:08 +0000 (16:01 -0700)]
Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection"

12 years agoMerge "Bug 5278456: text highlight color depends on the type of suggestion spans."
Gilles Debunne [Fri, 9 Sep 2011 22:52:09 +0000 (15:52 -0700)]
Merge "Bug 5278456: text highlight color depends on the type of suggestion spans."

12 years agoMerge "Fix another hardcoded frame rate in the media framework test"
James Dong [Fri, 9 Sep 2011 22:50:39 +0000 (15:50 -0700)]
Merge "Fix another hardcoded frame rate in the media framework test"

12 years agoFix bug 5214224 - Align stock framework list item padding for dialogs
Adam Powell [Fri, 9 Sep 2011 22:49:03 +0000 (15:49 -0700)]
Fix bug 5214224 - Align stock framework list item padding for dialogs

Set holo dialog themes to 16dip of padding for list items to align with
theme dialog metrics.

Change-Id: Ia07c08f05fadfe8bbcb596d6fe8a27cc14805c6c

12 years agoDon't override the hash code for the channel.
Jaikumar Ganesh [Fri, 9 Sep 2011 22:48:22 +0000 (15:48 -0700)]
Don't override the hash code for the channel.

Each channel is uniquely represented by the object itself,
so use the hash code to identify it. Using channelPath in the
calculation will mess up things - since in Connecting state the
channel path is null and when its connected, we will get a different
hash code.

Change-Id: I6af6c783e18fddbd38344432b8156e000baafb15

12 years agoMake MediaScanner skip certain directories
Guang Zhu [Thu, 8 Sep 2011 06:55:27 +0000 (23:55 -0700)]
Make MediaScanner skip certain directories

The list of directories to skip are configurable via setprop.
The main motivation is that some test data folder takes long time
to scan, and media scanner may compete for CPU time against perf
tests therefore skewing the results.

Bug: 5263115
Change-Id: I568213e2a4babf6033021c1d336ef0347c0e3315

12 years agoGo faster!!!!
Romain Guy [Fri, 9 Sep 2011 22:30:30 +0000 (15:30 -0700)]
Go faster!!!!

The less we do, the faster we draw.

Change-Id: I7bbc3908b36d8ae295ea3e61ef71fd9ee2187970