OSDN Git Service

android-x86/frameworks-base.git
12 years agoDelete old forward-locked apps on upgrade
Kenny Root [Wed, 6 Jun 2012 23:05:05 +0000 (16:05 -0700)]
Delete old forward-locked apps on upgrade

The old style forward-locked apps were in a directory called
/data/app-private but the new style forward-locked apps are in ASEC
containers. This made the upgrade path confused and it wouldn't
correctly generate the InstallArgs to delete the old file.

Bug: 6619438
Change-Id: If4323fa8701d9fc653998f5db58670b4124b9e87

12 years agoMerge "Report extended error information from SQLite." into jb-dev
Jeff Brown [Tue, 5 Jun 2012 23:04:45 +0000 (16:04 -0700)]
Merge "Report extended error information from SQLite." into jb-dev

12 years agoMerge "Nodes with contentDescription should always be important for accessibility...
Svetoslav Ganov [Tue, 5 Jun 2012 22:55:42 +0000 (15:55 -0700)]
Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev

12 years agoNodes with contentDescription should always be important for accessibility.
Svetoslav Ganov [Tue, 5 Jun 2012 21:46:50 +0000 (14:46 -0700)]
Nodes with contentDescription should always be important for accessibility.

1. Now after setting the content description on a view we mark is as
   important for accessibility of the current important for accessibility
   mode of that view is auto.

2. Minor tweak to a touch explorer coefficient to make performing double
   tapping easier.

bug:6615353

Change-Id: I3b477f533a3ebde85d425caf32ace5e851240f88

12 years agoReport extended error information from SQLite.
Jeff Brown [Tue, 5 Jun 2012 21:29:02 +0000 (14:29 -0700)]
Report extended error information from SQLite.

The error code number is not as informative as the SQLite error
message, in particular because the error code has been stripped
of extended error information.  Make sure we ask SQLite for the
full error message whenever possible.

Bug: 6538393
Change-Id: I82457c0ff7e41659cf8195fa26e09dc2b467375e

12 years agoMerge "Eliminate wallpaper exposure during transition." into jb-dev
Craig Mautner [Tue, 5 Jun 2012 20:40:14 +0000 (13:40 -0700)]
Merge "Eliminate wallpaper exposure during transition." into jb-dev

12 years agoMerge "Add more temporary logging for investigating detachFunctor" into jb-dev
Chris Craik [Tue, 5 Jun 2012 19:28:49 +0000 (12:28 -0700)]
Merge "Add more temporary logging for investigating detachFunctor" into jb-dev

12 years agoMerge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev
Dianne Hackborn [Tue, 5 Jun 2012 18:45:13 +0000 (11:45 -0700)]
Merge "Fix issue #6584942 IllegalStateException: Failure saving state..." into jb-dev

12 years agoAdd more temporary logging for investigating detachFunctor
Chris Craik [Tue, 5 Jun 2012 17:53:20 +0000 (10:53 -0700)]
Add more temporary logging for investigating detachFunctor

bug:6596807
Change-Id: Ic9e34e323b12a887f2e8df0773a6155627b6a64f

12 years agoFix issue #6584942 IllegalStateException: Failure saving state...
Dianne Hackborn [Tue, 5 Jun 2012 17:27:40 +0000 (10:27 -0700)]
Fix issue #6584942 IllegalStateException: Failure saving state...

...active SuggestFragment{419494f0} has cleared index: -1

There were issues when the same fragment was removed and then
added again before completely finishing the remove (such as due
to a running animation).

Two fixes:

- Now when you call FragmentTransaction.replace() and are replacing
  a fragment with the same fragment, this becomes a no-op, to avoid
  visual artifacts in the transition and bad states.
- When we are moving the fragment state up and it is currently
  animating away to the INITIALIZED state, we could end up making
  the fragment inactive as part of the cleanup.  In this case it
  shouldn't be made inactive; we just need to initialize it but
  keep it active since we are going to continue to use it.

Bug: 6584942
Change-Id: I8bfd73f2d8ef8f67b541b3e2525dfa5db6c3bfa5

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 5 Jun 2012 17:51:13 +0000 (10:51 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "StatusBar: Improve framerate on reveal animation." into jb-dev
John Spurlock [Tue, 5 Jun 2012 17:48:57 +0000 (10:48 -0700)]
Merge "StatusBar: Improve framerate on reveal animation." into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 5 Jun 2012 17:46:41 +0000 (10:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: I09dd492b37f4658eabb1d67106da7ed45c51abd6

12 years agoMerge "Restore opaque alpha value when AlphaAnimation finishes" into jb-dev
Chet Haase [Tue, 5 Jun 2012 17:24:06 +0000 (10:24 -0700)]
Merge "Restore opaque alpha value when AlphaAnimation finishes" into jb-dev

12 years agoEliminate wallpaper exposure during transition.
Craig Mautner [Tue, 5 Jun 2012 17:20:56 +0000 (10:20 -0700)]
Eliminate wallpaper exposure during transition.

Make sure that the wallpaper target exists and is visible before
exposing the wallpaper.

Fixes bug 6570335.

Change-Id: I1dddfe26683e84fd813e7bee884ba2bd4bb85272

12 years agoRestore opaque alpha value when AlphaAnimation finishes
Chet Haase [Tue, 5 Jun 2012 14:54:09 +0000 (07:54 -0700)]
Restore opaque alpha value when AlphaAnimation finishes

Alpha values were being set correctly on native Display Lists during an
AlphaAnimation, but not when the animation finished. Only non-1 values
were being propagated to the Display List properties.

The fix is to track when we've set a non-1 alpha value from an AlphaAnimation
and to notice that flag when the value is 1 (because the animation ended), so that
we propagate that value correctly. Using the flag avoids sending a value of 1
(by far the most common case) unless we really need to restore it after animating
it with non-1 values.

Issue #6600592 Sometimes album art blends with list asset on queue

Change-Id: I51047d756a4ac42a2d907a4d77963cc23dfb1db3

12 years agoMerge "Adding more logging for bug: 6499508" into jb-dev
Michael Jurka [Tue, 5 Jun 2012 15:57:40 +0000 (08:57 -0700)]
Merge "Adding more logging for bug: 6499508" into jb-dev

12 years agoStatusBar: Improve framerate on reveal animation.
John Spurlock [Fri, 1 Jun 2012 19:34:27 +0000 (15:34 -0400)]
StatusBar: Improve framerate on reveal animation.

Ensure reveal animation runs after notification panel is completely drawn.
Align minimum close handle position to proper height with new super status bar.

Bug: 6555172
Change-Id: I7ae978caa1f28932ee56f65484b18330a4406b80

12 years agoMerge "Accessibility focus should not clear selection when taken away." into jb-dev
Svetoslav Ganov [Tue, 5 Jun 2012 06:08:29 +0000 (23:08 -0700)]
Merge "Accessibility focus should not clear selection when taken away." into jb-dev

12 years agoMerge "NullPointerException in AbsListView.focusSearch()." into jb-dev
Svetoslav Ganov [Tue, 5 Jun 2012 06:07:26 +0000 (23:07 -0700)]
Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev

12 years agoMerge "Global accessibility action to open recent apps shows the old dialog style...
Svetoslav Ganov [Tue, 5 Jun 2012 06:06:42 +0000 (23:06 -0700)]
Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev

12 years agoMerge "Add contentobserver for nsd_on setting" into jb-dev
Irfan Sheriff [Tue, 5 Jun 2012 05:53:00 +0000 (22:53 -0700)]
Merge "Add contentobserver for nsd_on setting" into jb-dev

12 years agoMerge "Do not run the spell checker in SearchView" into jb-dev
Satoshi Kataoka [Tue, 5 Jun 2012 05:42:00 +0000 (22:42 -0700)]
Merge "Do not run the spell checker in SearchView" into jb-dev

12 years agoDo not run the spell checker in SearchView
Satoshi Kataoka [Mon, 4 Jun 2012 08:12:08 +0000 (17:12 +0900)]
Do not run the spell checker in SearchView

Bug: 6603925
Change-Id: I75972185fb4d802f2a90649002e722ca4b676c42

12 years agoNullPointerException in AbsListView.focusSearch().
Svetoslav Ganov [Tue, 5 Jun 2012 02:47:40 +0000 (19:47 -0700)]
NullPointerException in AbsListView.focusSearch().

1. One of the loops was using the last visible position
   as its end boundary as opposed to the child count
   minus one.

bug:6610451

Change-Id: I600545ca3f64d1e982f909f893e5d34570ec5c8b

12 years agoAccessibility focus should not clear selection when taken away.
Svetoslav Ganov [Tue, 5 Jun 2012 02:32:35 +0000 (19:32 -0700)]
Accessibility focus should not clear selection when taken away.

1. Currently accessibility focus removal was clearing the selection
   in the view - in particular the accessibility cursor position
   which in the TextView case is the selection. This leads to a
   scenario where the selection may be cleared when the app does
   not explect. Further, the selection should not be cleared
   since the user can be say several pages in the content and
   removing and putting back accessibility focus would cause a
   tedious traversal to get to the previous position.

bug:6469840

Change-Id: Iba3c01600fa2c9c39f99085a5fbc4328aa539ea8

12 years agoMerge "Don't crash when scaling Bitmaps with private Bitmap.Configs" into jb-dev
Jack Palevich [Tue, 5 Jun 2012 00:56:10 +0000 (17:56 -0700)]
Merge "Don't crash when scaling Bitmaps with private Bitmap.Configs" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 5 Jun 2012 00:32:57 +0000 (17:32 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 5 Jun 2012 00:09:45 +0000 (17:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia697bb2342058f44ac8a2922ed4d3c4c851c1741

12 years agoAdding more logging for bug: 6499508
Michael Jurka [Mon, 4 Jun 2012 23:46:39 +0000 (16:46 -0700)]
Adding more logging for bug: 6499508

Change-Id: Iffc099e7de8b1d24bb33f1df6e17df7a099bfcb2

12 years agoAdd contentobserver for nsd_on setting
Irfan Sheriff [Fri, 1 Jun 2012 23:44:13 +0000 (16:44 -0700)]
Add contentobserver for nsd_on setting

Bug: 6606274
Change-Id: I863b9e2a2446d697f3c9c49f24dcdc2b599f091e

12 years agoMerge "Add temporary functor detach logging" into jb-dev
Chris Craik [Mon, 4 Jun 2012 22:49:20 +0000 (15:49 -0700)]
Merge "Add temporary functor detach logging" into jb-dev

12 years agoMerge "Change Recents background to solid color on sw600dp devices" into jb-dev
Michael Jurka [Mon, 4 Jun 2012 22:12:56 +0000 (15:12 -0700)]
Merge "Change Recents background to solid color on sw600dp devices" into jb-dev

12 years agoMerge "Update ProgressBar assets" into jb-dev
Adam Powell [Mon, 4 Jun 2012 21:46:54 +0000 (14:46 -0700)]
Merge "Update ProgressBar assets" into jb-dev

12 years agoUpdate ProgressBar assets
Adam Powell [Mon, 4 Jun 2012 21:33:50 +0000 (14:33 -0700)]
Update ProgressBar assets

Bug 6602341

Change-Id: I1279b26c37a89b7d04fb626574502a3c365b4d4f

12 years agoGlobal accessibility action to open recent apps shows the old dialog style.
Svetoslav Ganov [Mon, 4 Jun 2012 21:02:09 +0000 (14:02 -0700)]
Global accessibility action to open recent apps shows the old dialog style.

1. The global action to open recent apps shows the old dialog style rent apps
   panel. Apparently the key code to open recent apps is not opening the new
   UI so the AccessibilityManagerService is calling directly the method on
   the IStatusBarSerivce to do so.

bug:6607664

Change-Id: I94c1963b07947776bf1c2448903b26f3603f9a59

12 years agoChange Recents background to solid color on sw600dp devices
Michael Jurka [Mon, 4 Jun 2012 21:00:32 +0000 (14:00 -0700)]
Change Recents background to solid color on sw600dp devices

Bug: 6572502

12 years agoDon't do closing animation on an opening app.
Daniel Sandler [Mon, 4 Jun 2012 18:36:25 +0000 (14:36 -0400)]
Don't do closing animation on an opening app.

Check to make sure that the closing wallpaper animation isn't used on
an opening app token. This can happen when a previous animation hasn't
completed when the next animation is starting.

Fixes bug 6557751.

Change-Id: Ib8bd4dd7de1e361f6fc0cab11d0997e70f9ddd0b

12 years agoAdd temporary functor detach logging
Chris Craik [Mon, 4 Jun 2012 20:33:10 +0000 (13:33 -0700)]
Add temporary functor detach logging

bug:6596807
Change-Id: I22342079cdf238a933d62e9cbef58bc5af80522b

12 years agoPort the legacy velocity tracker strategy.
Jeff Brown [Mon, 4 Jun 2012 06:14:14 +0000 (23:14 -0700)]
Port the legacy velocity tracker strategy.

For comparison purposes, port the legacy velocity tracker
algorithm as it behaved prior to ICS.

Bug: 6413587
Change-Id: I7e8e56584dcdb1a3c660ca9d8f9c5bd5d868e449

12 years agoImplement a second order integrating VT strategy.
Jeff Brown [Mon, 4 Jun 2012 05:46:07 +0000 (22:46 -0700)]
Implement a second order integrating VT strategy.

Bug: 6413587
Change-Id: I51bc7b8cbff22b10b728fc84ee15370e9984dd55

12 years agoImplement a weighted least squares VelocityTracker strategy.
Jeff Brown [Sun, 3 Jun 2012 21:18:26 +0000 (14:18 -0700)]
Implement a weighted least squares VelocityTracker strategy.

No change to the default strategy.

Bug: 6413587
Change-Id: I08eb6f9a511e65ad637359b55b5993c26ba93b40

12 years agoFix build.
Dianne Hackborn [Mon, 4 Jun 2012 19:14:21 +0000 (12:14 -0700)]
Fix build.

Change-Id: Iccffe6dde6b96eaab4800e0bb0a9d46f740d686a

12 years agoFix build break.
Daniel Sandler [Mon, 4 Jun 2012 18:36:25 +0000 (14:36 -0400)]
Fix build break.

Change-Id: I3ce946740e0de0850f17c05b6701a7b070bfe8c9

12 years agoMerge "Fix build." into jb-dev
Dianne Hackborn [Mon, 4 Jun 2012 18:06:16 +0000 (11:06 -0700)]
Merge "Fix build." into jb-dev

12 years agoFix build.
Dianne Hackborn [Mon, 4 Jun 2012 17:51:17 +0000 (10:51 -0700)]
Fix build.

Change-Id: I41415fed99d98406bc033289428bde59475c2917

12 years agoMerge "Unused API should be hidden." into jb-dev
Daniel Sandler [Mon, 4 Jun 2012 17:49:53 +0000 (10:49 -0700)]
Merge "Unused API should be hidden." into jb-dev

12 years agoMerge "Work on issue #6579997: Mariner entrance animation" into jb-dev
Dianne Hackborn [Mon, 4 Jun 2012 17:29:32 +0000 (10:29 -0700)]
Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev

12 years agoMerge "Client app crashes if accessibility service uses invalid focus type." into...
Svetoslav Ganov [Mon, 4 Jun 2012 17:20:33 +0000 (10:20 -0700)]
Merge "Client app crashes if accessibility service uses invalid focus type." into jb-dev

12 years agoMerge "Fix bug 6558006: SystemUI native heap is huge. Fix memory leak" into jb-dev
Raph Levien [Mon, 4 Jun 2012 17:06:19 +0000 (10:06 -0700)]
Merge "Fix bug 6558006: SystemUI native heap is huge. Fix memory leak" into jb-dev

12 years agoClient app crashes if accessibility service uses invalid focus type.
Svetoslav Ganov [Mon, 4 Jun 2012 15:55:16 +0000 (08:55 -0700)]
Client app crashes if accessibility service uses invalid focus type.

1. If an accessibility service uses an invalid focus type argument
   when trying to find where focus is the queried application crashes.
   The same happens if the serivce calls focus search with an invalid
   derection. While we need the argument check in the controller that
   runs in the app process the accessibility service has to be the
   palace where an exception is thown for the invalid argument so
   the developer can fix his code.:

bug:6508797

Change-Id: Ib0d74f374fa60ee8fd6117f11c23af34f6c26ad3

12 years agoMerge "Focus search in AbsListView returns invisible views." into jb-dev
Svetoslav Ganov [Mon, 4 Jun 2012 15:17:26 +0000 (08:17 -0700)]
Merge "Focus search in AbsListView returns invisible views." into jb-dev

12 years agoDon't crash when scaling Bitmaps with private Bitmap.Configs
Jack Palevich [Mon, 4 Jun 2012 08:15:47 +0000 (16:15 +0800)]
Don't crash when scaling Bitmaps with private Bitmap.Configs

Bug: 6526197
Change-Id: I89f008f90888f0a679274c00293342ab0fb0e28e

12 years agoUnused API should be hidden.
Daniel Sandler [Mon, 4 Jun 2012 06:11:17 +0000 (02:11 -0400)]
Unused API should be hidden.

Change-Id: Ifed4d06e620c990ccecc1ee1aaf3adedbdc7c2da

12 years agoFocus search in AbsListView returns invisible views.
Svetoslav Ganov [Mon, 4 Jun 2012 04:45:16 +0000 (21:45 -0700)]
Focus search in AbsListView returns invisible views.

1. The focus search algorithm considers only visible
   views, specifically when adding focusables. Since
   AbsListView implements a custom focus search strategy
   for better user experience it also has to return
   only views that are visible.

bug:6543878

Change-Id: I6207c29402e4ac6190c1e65d042e04449aa75ef8

12 years agoMerge "Implement an integrating VelocityTracker strategy." into jb-dev
Jeff Brown [Mon, 4 Jun 2012 04:16:38 +0000 (21:16 -0700)]
Merge "Implement an integrating VelocityTracker strategy." into jb-dev

12 years agoMerge "Make velocity tracker strategy configurable." into jb-dev
Jeff Brown [Mon, 4 Jun 2012 04:16:18 +0000 (21:16 -0700)]
Merge "Make velocity tracker strategy configurable." into jb-dev

12 years agoMerge "Touch exploration gesture end not delivered to clients." into jb-dev
Svetoslav Ganov [Mon, 4 Jun 2012 03:30:12 +0000 (20:30 -0700)]
Merge "Touch exploration gesture end not delivered to clients." into jb-dev

12 years agoTouch exploration gesture end not delivered to clients.
Svetoslav Ganov [Mon, 4 Jun 2012 02:34:34 +0000 (19:34 -0700)]
Touch exploration gesture end not delivered to clients.

1. Touch exploration gestures are demarcated by start and end
   events. Due to a bug in the AccessibilityManagerService
   the gesture end event was not dispatched. This caused the
   AccessibilityNodeInfoCache to be off sync since it relies
   on getting such events not to mention that the clients were
   not getting the end but only the start event. The issue
   was that the notified service types variable was not reset
   after every event so when the manager sends the last hover
   exit it flags that the service type is already notified
   resulting in dropping on the floor the following gesture
   end event.

bug:6539306

Change-Id: I2b96bcecea3b2240199d67f01afa6a033afce1de

12 years agoImplement an integrating VelocityTracker strategy.
Jeff Brown [Fri, 1 Jun 2012 20:24:04 +0000 (13:24 -0700)]
Implement an integrating VelocityTracker strategy.

This algorithm better tolerates certain kinds of errors in the
touch input than the least squares strategy but it may underestimate
the velocity of accelerating movements.  This algorithm is
mainly of interest as a baseline for testing and comparison with the
least squares algorithm, which remains the default.

Bug: 6413587
Change-Id: I8ddb50084e44875e234717907e5b06d03f59788c

12 years agoMake velocity tracker strategy configurable.
Jeff Brown [Fri, 1 Jun 2012 19:39:25 +0000 (12:39 -0700)]
Make velocity tracker strategy configurable.

This change is very useful for testing purposes because it makes it
easy to compare different implementations to see how they behave.

There is no change to the current default strategy.

Bug: 6413587
Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749

12 years agoMerge "Double input focus and focus movement in list not working." into jb-dev
Svetoslav Ganov [Mon, 4 Jun 2012 01:52:20 +0000 (18:52 -0700)]
Merge "Double input focus and focus movement in list not working." into jb-dev

12 years agoFix ordering of product-specific strings
Adam Powell [Sun, 3 Jun 2012 21:46:43 +0000 (14:46 -0700)]
Fix ordering of product-specific strings

Change-Id: Ic825e13be639731380897b937d80938762fce5ce

12 years agoFix product-specific string declaration
Adam Powell [Sun, 3 Jun 2012 21:32:04 +0000 (14:32 -0700)]
Fix product-specific string declaration

Change-Id: Ib753995ed7bf47bb6724309370c9b05d65cfd81b

12 years agoMerge "Add MediaRouter API." into jb-dev
Adam Powell [Sun, 3 Jun 2012 21:11:43 +0000 (14:11 -0700)]
Merge "Add MediaRouter API." into jb-dev

12 years agoMerge "Fixing a crash in the TouchExplorer." into jb-dev
Svetoslav Ganov [Sun, 3 Jun 2012 19:38:57 +0000 (12:38 -0700)]
Merge "Fixing a crash in the TouchExplorer." into jb-dev

12 years agoMerge "Hide notifications until the device is provisioned." into jb-dev
Daniel Sandler [Sun, 3 Jun 2012 18:46:13 +0000 (11:46 -0700)]
Merge "Hide notifications until the device is provisioned." into jb-dev

12 years agoMerge "Revert change to correct animations." into jb-dev
Craig Mautner [Sun, 3 Jun 2012 07:57:23 +0000 (00:57 -0700)]
Merge "Revert change to correct animations." into jb-dev

12 years agoFixing a crash in the TouchExplorer.
Svetoslav Ganov [Sat, 2 Jun 2012 23:26:44 +0000 (16:26 -0700)]
Fixing a crash in the TouchExplorer.

1. If the runnable for performing a long press is not
   removed when all pointers are up and it is executed
   the explorer gets into delegating mode with no pointer
   down and the next down crashes the explorer. Added
   code to remove the long press runnable in a few places
   it was missing and also added a safety in the runnable
   to avoid executing it in case there are no active pointers.

bug:6557183

Change-Id: I9dab3de88fd08d8e2b38af18249ac551837c0736

12 years agoFix bug 6558006: SystemUI native heap is huge. Fix memory leak
Raph Levien [Sat, 2 Jun 2012 22:47:29 +0000 (15:47 -0700)]
Fix bug 6558006: SystemUI native heap is huge. Fix memory leak

TextLayoutCache was leaking HB_Face objects, not freeing them when
purging the mCachedHBFaces cache. More full analysis is in the bug.

Change-Id: Ie5cd8b00c36b9d31963183c601cde49cbb73fafb

12 years agoRevert change to correct animations.
Craig Mautner [Sat, 2 Jun 2012 22:31:33 +0000 (15:31 -0700)]
Revert change to correct animations.

Incorrect animation was introduced with CL 196207 (perhaps in
combination with a later CL). Reverting part of that CL fixes
the incorrect animation and so far has not reintroduced the jank
that was fixed by that CL. If the jank reappears it should be
fixed in a different fashion than in CL 196207.

Fixes bug 6597505.

Change-Id: Ie8012237a8d49810ede51bd8d78ef8c2fd91ddd4

12 years agoMerge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev
Michael Jurka [Sat, 2 Jun 2012 22:30:54 +0000 (15:30 -0700)]
Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev

12 years agoMerge "Reduce recents memory usage" into jb-dev
Michael Jurka [Sat, 2 Jun 2012 22:30:26 +0000 (15:30 -0700)]
Merge "Reduce recents memory usage" into jb-dev

12 years agoDouble input focus and focus movement in list not working.
Svetoslav Ganov [Sat, 2 Jun 2012 21:35:02 +0000 (14:35 -0700)]
Double input focus and focus movement in list not working.

1. The clearFocus routine in ViewGroup was clearing the pointer
   to the descendant which has focus after calling clear focus
   on that child. However, currently clearing the focus of a view
   causes the view that loses focus to try to give the focus to
   the first focusable which potentially sets the pointer to the
   child that has input focus in the ViewGroup but the ViewGruop
   essentially clears that pointer. This resulted in having two
   focused views at the same time in some cases.

2. AbsListView was not calling the super implementation of add
   focusables if the focus type was not accessibility.

bug:6559819

Change-Id: I478dfed000b5de3f9b15e12eb82aa3d34c2301e4

12 years agoMerge "Fix power manager issues." into jb-dev
Craig Mautner [Sat, 2 Jun 2012 18:24:29 +0000 (11:24 -0700)]
Merge "Fix power manager issues." into jb-dev

12 years agoMerge "Get a WebViewDatabaseClassic instance lazily. Do not merge." into jb-dev
Ben Murdoch [Sat, 2 Jun 2012 10:25:04 +0000 (03:25 -0700)]
Merge "Get a WebViewDatabaseClassic instance lazily. Do not merge." into jb-dev

12 years agoMerge "Fix 6592932: add means to replace assist icon from given package" into jb-dev
Jim Miller [Sat, 2 Jun 2012 03:34:43 +0000 (20:34 -0700)]
Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev

12 years agoMerge changes Id27ba241,I781fbe36 into jb-dev
Adrian Ludwig [Sat, 2 Jun 2012 03:08:12 +0000 (20:08 -0700)]
Merge changes Id27ba241,I781fbe36 into jb-dev

* changes:
  For JB, the READ_EXTERNAL_STORAGE permission is not enforced by default.  It may be enforced by default in future releases. Developers have the option of enabling enforcement to test their application and some may begin to include this permission on applications.  To avoid user confusion, the permission is placed in the development tools group.
  Update long strings to provide users with more information about permissions.

12 years agoFor JB, the READ_EXTERNAL_STORAGE permission is not enforced by default. It may...
Adrian Ludwig [Sat, 2 Jun 2012 02:57:57 +0000 (19:57 -0700)]
For JB, the READ_EXTERNAL_STORAGE permission is not enforced by default.  It may be enforced by default in future releases. Developers have the option of enabling enforcement to test their application and some may begin to include this permission on applications.  To avoid user confusion, the permission is placed in the development tools group.

Change-Id: Id27ba241db0253eac774401aaaa6e5c4340588d7

12 years agoMerge "Fix b/6575950 make shader program to support different precisions." into jb-dev
Ruei-sung Lin [Sat, 2 Jun 2012 02:42:22 +0000 (19:42 -0700)]
Merge "Fix b/6575950 make shader program to support different precisions." into jb-dev

12 years agoMerge "Calling the correct method when adding accessibility focusables." into jb-dev
Svetoslav Ganov [Sat, 2 Jun 2012 02:30:23 +0000 (19:30 -0700)]
Merge "Calling the correct method when adding accessibility focusables." into jb-dev

12 years agoUpdate long strings to provide users with more information about permissions.
Adrian Ludwig [Fri, 1 Jun 2012 00:26:16 +0000 (17:26 -0700)]
Update long strings to provide users with more information about permissions.

Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

12 years agoWork on issue #6579997: Mariner entrance animation
Dianne Hackborn [Sat, 2 Jun 2012 02:03:50 +0000 (19:03 -0700)]
Work on issue #6579997: Mariner entrance animation

Add a new variation of ActivityOptions that allows you to
supply custom animation resources and get a callback when the
animation starts.

Use this in SearchPanelView to determine when to start hiding
the search panel instead of having a fixed delay.

Fix some issues in the activity manager where we would cancel
the options in cases where we should actually keep them to give
to the window manager for a transition.  (Basically when the
activity being started is not actually ending up launched, but
just results in a shift in the activity stack.)

Note that this is not quite what the design calls for -- the
entire search UI is waiting and then disappearing when the
animation starts, instead of the ring first disappearing while
waiting for the time to fade out the circle.

Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f

12 years agoCalling the correct method when adding accessibility focusables.
Svetoslav Ganov [Sat, 2 Jun 2012 02:02:32 +0000 (19:02 -0700)]
Calling the correct method when adding accessibility focusables.

1. Since we added explicit accessibility focusable attribute when
   adding focusables views that do so should call this method. Some
   views were not updated to do so.

bug:6581924

Change-Id: Id64c0b2d76e5269ebf3fbe17203e73b174bdb843

12 years agoAdd MediaRouter API.
Adam Powell [Tue, 22 May 2012 17:05:00 +0000 (10:05 -0700)]
Add MediaRouter API.

This is just the initial state tracking. Still to go is
actually triggering Bluetooth A2DP correctly and tracking
process state in the system server.

Change-Id: I33031d52799d6e2d7208910da833831085cc3677

12 years agoMerge "Revert "Update long strings to provide users with more information about permi...
Adrian Ludwig [Sat, 2 Jun 2012 00:38:03 +0000 (17:38 -0700)]
Merge "Revert "Update long strings to provide users with more information about permissions."" into jb-dev

12 years agoRevert "Update long strings to provide users with more information about permissions."
Adrian Ludwig [Sat, 2 Jun 2012 00:33:38 +0000 (17:33 -0700)]
Revert "Update long strings to provide users with more information about permissions."

This reverts commit 714665c7a3bc4b4702e031448864d3d341f1f098

12 years agoMerge "Update long strings to provide users with more information about permissions...
Adrian Ludwig [Sat, 2 Jun 2012 00:32:44 +0000 (17:32 -0700)]
Merge "Update long strings to provide users with more information about permissions." into jb-dev

12 years agoUpdate long strings to provide users with more information about permissions.
Adrian Ludwig [Fri, 1 Jun 2012 00:26:16 +0000 (17:26 -0700)]
Update long strings to provide users with more information about permissions.

Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

Conflicts:

core/res/res/values/strings.xml

12 years agoFix build.
Adrian Ludwig [Fri, 1 Jun 2012 22:57:12 +0000 (15:57 -0700)]
Fix build.

Change-Id: I739102258739ceb9856b8867949fa7f53532189d

12 years agoFix power manager issues.
Craig Mautner [Fri, 1 Jun 2012 23:02:47 +0000 (16:02 -0700)]
Fix power manager issues.

1. If a new brightness animation is started while an unrelated one is
ongoing complete the old animation immediately. Unrelated means that
the old and new animations apply to different devices (button,
keyboard, or screen).

2. Do not interpret turning off the keyboard or button lights as
turning off the screen in isScreenTurningOffLocked().

Fixes bug 6519847.

Change-Id: I53a20951036bcdb793daeff84a9ebeed44be01fc

12 years agoMerge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev
Chet Haase [Fri, 1 Jun 2012 22:52:28 +0000 (15:52 -0700)]
Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev

12 years agoMerge "Update indeterminate progress bar assets" into jb-dev
Adam Powell [Fri, 1 Jun 2012 22:29:54 +0000 (15:29 -0700)]
Merge "Update indeterminate progress bar assets" into jb-dev

12 years agoUpdate indeterminate progress bar assets
Adam Powell [Fri, 1 Jun 2012 22:22:36 +0000 (15:22 -0700)]
Update indeterminate progress bar assets

Bug 6587381

Change-Id: I2154ab36d697d5cee098fa7134288c1b45ca1de4

12 years agoSkip LayoutTransition animations on objects of size (0,0)
Chet Haase [Fri, 1 Jun 2012 22:09:07 +0000 (15:09 -0700)]
Skip LayoutTransition animations on objects of size (0,0)

LayoutTransition runs changing animations on all objects that change between
now and the next layout. This works in most normal situations, but when a container
is becoming visible, or being added to its container, or other first-time situations,
then some of the views and parent hierarchy may be of size (0,0). The user really
shouldn't need to see an animation up from these nonsense values, so we just
skip running the animation on these objects and simply place the objects where they
need to go.

Issue #6597648 view should not animate up from size (0,0)

Change-Id: I2c355a68bf1ce3b41fbec01ad95c78d83562ba32

12 years agoMerge "Revert "Make the protectionLevel of framework permissions consistent and relat...
Adrian Ludwig [Fri, 1 Jun 2012 21:54:07 +0000 (14:54 -0700)]
Merge "Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."" into jb-dev

12 years agoMerge "Temporarily disable FakeOemFeatures from userdebug or higher builds" into...
Justin Ho [Fri, 1 Jun 2012 21:51:49 +0000 (14:51 -0700)]
Merge "Temporarily disable FakeOemFeatures from userdebug or higher builds" into jb-dev

12 years agoMerge "Be more discriminating when canceling notifications on changing packages....
Daniel Sandler [Fri, 1 Jun 2012 21:31:05 +0000 (14:31 -0700)]
Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev

12 years agoMerge "Present a one-time chooser when sharing screenshots." into jb-dev
Daniel Sandler [Fri, 1 Jun 2012 21:29:07 +0000 (14:29 -0700)]
Merge "Present a one-time chooser when sharing screenshots." into jb-dev

12 years agoHide notifications until the device is provisioned.
Daniel Sandler [Tue, 22 May 2012 19:44:08 +0000 (15:44 -0400)]
Hide notifications until the device is provisioned.

During Setup (0 == Settings.Secure.DEVICE_PROVISIONED)
there's no reason to show notifications, unless they're
coming from the platform (and therefore essential to the
setup process), like the IME switcher.

We also disable the settings button and ticker while the
device is not provisioned.

Bug: 6355011
Change-Id: I1522f0c0fed3f2f95a36bd71d051248e12f0a1f8