77227 Commits

Author SHA1 Message Date
Adam Powell
a7aeb61c1f Update ProgressBar assets
Bug 6602341

Change-Id: I1279b26c37a89b7d04fb626574502a3c365b4d4f
2012-06-04 14:33:50 -07:00
Dianne Hackborn
433927c52f Fix build.
Change-Id: Iccffe6dde6b96eaab4800e0bb0a9d46f740d686a
2012-06-04 12:14:21 -07:00
Daniel Sandler
f756e495d5 Fix build break.
Change-Id: I3ce946740e0de0850f17c05b6701a7b070bfe8c9
2012-06-04 14:36:25 -04:00
Dianne Hackborn
dd251cab5b Merge "Fix build." into jb-dev 2012-06-04 11:06:16 -07:00
Dianne Hackborn
bb47cf66ec Fix build.
Change-Id: I41415fed99d98406bc033289428bde59475c2917
2012-06-04 10:51:17 -07:00
Daniel Sandler
7a394abb54 Merge "Unused API should be hidden." into jb-dev 2012-06-04 10:49:53 -07:00
Dianne Hackborn
6593be0c20 Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev 2012-06-04 10:29:32 -07:00
Svetoslav Ganov
7b4799cafa Merge "Client app crashes if accessibility service uses invalid focus type." into jb-dev 2012-06-04 10:20:33 -07:00
Raph Levien
6e3301dcfa Merge "Fix bug 6558006: SystemUI native heap is huge. Fix memory leak" into jb-dev 2012-06-04 10:06:19 -07:00
Svetoslav Ganov
2ef6905003 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
2012-06-04 09:33:05 -07:00
Svetoslav Ganov
30384653d2 Merge "Focus search in AbsListView returns invisible views." into jb-dev 2012-06-04 08:17:26 -07:00
Daniel Sandler
a90513d5f4 Unused API should be hidden.
Change-Id: Ifed4d06e620c990ccecc1ee1aaf3adedbdc7c2da
2012-06-04 02:11:17 -04:00
Svetoslav Ganov
b1fa98bb1c 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
2012-06-03 22:04:44 -07:00
Jeff Brown
1fbbc0716f Merge "Implement an integrating VelocityTracker strategy." into jb-dev 2012-06-03 21:16:38 -07:00
Jeff Brown
f47e76e2c7 Merge "Make velocity tracker strategy configurable." into jb-dev 2012-06-03 21:16:18 -07:00
Svetoslav Ganov
cc822a769e Merge "Touch exploration gesture end not delivered to clients." into jb-dev 2012-06-03 20:30:12 -07:00
Svetoslav Ganov
cd94caf2bb 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
2012-06-03 19:34:38 -07:00
Jeff Brown
53dd12a668 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
2012-06-03 19:23:58 -07:00
Jeff Brown
9eb7d86181 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
2012-06-03 19:21:49 -07:00
Svetoslav Ganov
b6585d1931 Merge "Double input focus and focus movement in list not working." into jb-dev 2012-06-03 18:52:20 -07:00
Adam Powell
757b3c274e Fix ordering of product-specific strings
Change-Id: Ic825e13be639731380897b937d80938762fce5ce
2012-06-03 14:46:43 -07:00
Adam Powell
9b12b4edce Fix product-specific string declaration
Change-Id: Ib753995ed7bf47bb6724309370c9b05d65cfd81b
2012-06-03 14:32:04 -07:00
Adam Powell
7c86958d73 Merge "Add MediaRouter API." into jb-dev 2012-06-03 14:11:43 -07:00
Svetoslav Ganov
778fa81f5d Merge "Fixing a crash in the TouchExplorer." into jb-dev 2012-06-03 12:38:57 -07:00
Daniel Sandler
a764816b1a Merge "Hide notifications until the device is provisioned." into jb-dev 2012-06-03 11:46:13 -07:00
Craig Mautner
da652f6e51 Merge "Revert change to correct animations." into jb-dev 2012-06-03 00:57:23 -07:00
Svetoslav Ganov
ebac1b79c4 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
2012-06-02 16:26:59 -07:00
Raph Levien
75394d6d1b 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
2012-06-02 15:47:29 -07:00
Craig Mautner
3aa7fcac1c 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
2012-06-02 15:31:33 -07:00
Michael Jurka
1f3c11b795 Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev 2012-06-02 15:30:54 -07:00
Michael Jurka
e766e1f57b Merge "Reduce recents memory usage" into jb-dev 2012-06-02 15:30:26 -07:00
Svetoslav Ganov
b552d89e90 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
2012-06-02 14:35:13 -07:00
Craig Mautner
d672b241f6 Merge "Fix power manager issues." into jb-dev 2012-06-02 11:24:29 -07:00
Ben Murdoch
dba86e2dc1 Merge "Get a WebViewDatabaseClassic instance lazily. Do not merge." into jb-dev 2012-06-02 03:25:04 -07:00
Jim Miller
94a8ae09be Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev 2012-06-01 20:34:43 -07:00
Adrian Ludwig
2aeaf2345e 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.
2012-06-01 20:08:12 -07:00
Adrian Ludwig
361dfebc94 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
2012-06-01 19:57:57 -07:00
Ruei-sung Lin
56f6c7ff09 Merge "Fix b/6575950 make shader program to support different precisions." into jb-dev 2012-06-01 19:42:22 -07:00
Svetoslav Ganov
cba5e879e8 Merge "Calling the correct method when adding accessibility focusables." into jb-dev 2012-06-01 19:30:23 -07:00
Adrian Ludwig
8f78694fc4 Update long strings to provide users with more information about permissions.
Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa
2012-06-01 19:19:54 -07:00
Dianne Hackborn
84375876fc 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
2012-06-01 19:13:55 -07:00
Svetoslav Ganov
a90e4512ab 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
2012-06-01 19:02:42 -07:00
Adam Powell
9a1de308ce 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
2012-06-01 18:19:20 -07:00
Adrian Ludwig
6d4d35e382 Merge "Revert "Update long strings to provide users with more information about permissions."" into jb-dev 2012-06-01 17:38:03 -07:00
Adrian Ludwig
1869440378 Revert "Update long strings to provide users with more information about permissions."
This reverts commit 714665c7a3bc4b4702e031448864d3d341f1f098
2012-06-01 17:33:38 -07:00
Adrian Ludwig
c16a199eac Merge "Update long strings to provide users with more information about permissions." into jb-dev 2012-06-01 17:32:44 -07:00
Adrian Ludwig
714665c7a3 Update long strings to provide users with more information about permissions.
Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

Conflicts:

	core/res/res/values/strings.xml
2012-06-01 17:20:20 -07:00
Adrian Ludwig
4bc97b54f4 Fix build.
Change-Id: I739102258739ceb9856b8867949fa7f53532189d
2012-06-01 16:03:04 -07:00
Craig Mautner
d29568cf5f 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
2012-06-01 16:02:47 -07:00
Chet Haase
faa3233ecd Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev 2012-06-01 15:52:28 -07:00