78503 Commits

Author SHA1 Message Date
Dianne Hackborn
fcd738240a am dd251cab: Merge "Fix build." into jb-dev
* commit 'dd251cab5b6e5b590cc0aeae8be8f885a7794e72':
  Fix build.
2012-06-04 11:09:00 -07:00
Dianne Hackborn
dd251cab5b Merge "Fix build." into jb-dev 2012-06-04 11:06:16 -07:00
Daniel Sandler
5bf8f01be1 am 7a394abb: Merge "Unused API should be hidden." into jb-dev
* commit '7a394abb549ecbb9ac510d1b62e60b0ad03438df':
  Unused API should be hidden.
2012-06-04 10:52:08 -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
5a70063f7e am 6593be0c: Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev
* commit '6593be0c200f69d932e40e05e9df54b89c157c48':
  Work on issue #6579997: Mariner entrance animation
2012-06-04 10:34:24 -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
cdb2a2167d am 7b4799ca: Merge "Client app crashes if accessibility service uses invalid focus type." into jb-dev
* commit '7b4799cafa6624862a172aaf2ececf661850b03c':
  Client app crashes if accessibility service uses invalid focus type.
2012-06-04 10:23:46 -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
108df9dbf2 am 6e3301dc: Merge "Fix bug 6558006: SystemUI native heap is huge. Fix memory leak" into jb-dev
* commit '6e3301dcfa4dce889fdce1db6ac6803cac11cc46':
  Fix bug 6558006: SystemUI native heap is huge. Fix memory leak
2012-06-04 10:09:45 -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
f3873333e0 am 30384653: Merge "Focus search in AbsListView returns invisible views." into jb-dev
* commit '30384653d2fc4d497ab3124c998c7d516f1bd25f':
  Focus search in AbsListView returns invisible views.
2012-06-04 08:22:30 -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
767bc6d26c am 1fbbc071: Merge "Implement an integrating VelocityTracker strategy." into jb-dev
* commit '1fbbc0716f9b70c6dcee00c4550757077ef7f7b5':
  Implement an integrating VelocityTracker strategy.
2012-06-03 21:19:16 -07:00
Jeff Brown
7d3fa093bb am f47e76e2: Merge "Make velocity tracker strategy configurable." into jb-dev
* commit 'f47e76e2c78e78e26110786e99548d718d177c32':
  Make velocity tracker strategy configurable.
2012-06-03 21:19:13 -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
66a10964b0 am cc822a76: Merge "Touch exploration gesture end not delivered to clients." into jb-dev
* commit 'cc822a769e752c2845dc795f05b7b35b5b3f6614':
  Touch exploration gesture end not delivered to clients.
2012-06-03 20:32:43 -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
b59d061861 am b6585d19: Merge "Double input focus and focus movement in list not working." into jb-dev
* commit 'b6585d19311f13ec28fa38a3c849589dba8c293a':
  Double input focus and focus movement in list not working.
2012-06-03 18:55:22 -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
dd0a64a9ba am 757b3c27: Fix ordering of product-specific strings
* commit '757b3c274ef0df765bcbc351a64367ed39e69369':
  Fix ordering of product-specific strings
2012-06-03 14:52:59 -07:00
Adam Powell
757b3c274e Fix ordering of product-specific strings
Change-Id: Ic825e13be639731380897b937d80938762fce5ce
2012-06-03 14:46:43 -07:00
Adam Powell
bdc177271a am 9b12b4ed: Fix product-specific string declaration
* commit '9b12b4edcea9a66357b0483a81b79630d83dc6d9':
  Fix product-specific string declaration
2012-06-03 14:40:30 -07:00
Adam Powell
9b12b4edce Fix product-specific string declaration
Change-Id: Ib753995ed7bf47bb6724309370c9b05d65cfd81b
2012-06-03 14:32:04 -07:00
Adam Powell
58e29c0661 am 7c86958d: Merge "Add MediaRouter API." into jb-dev
* commit '7c86958d73e7216a92bdfd84fce4440e1def7eaa':
  Add MediaRouter API.
2012-06-03 14:14:29 -07:00
Adam Powell
7c86958d73 Merge "Add MediaRouter API." into jb-dev 2012-06-03 14:11:43 -07:00
Svetoslav Ganov
dafffc3502 am 778fa81f: Merge "Fixing a crash in the TouchExplorer." into jb-dev
* commit '778fa81f5da05dcc45260caa70c97971bdccf8bb':
  Fixing a crash in the TouchExplorer.
2012-06-03 12:40:53 -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
419c7c3d0d am a764816b: Merge "Hide notifications until the device is provisioned." into jb-dev
* commit 'a764816b1ae961218bd7c628ab9f0ad384eab8cd':
  Hide notifications until the device is provisioned.
2012-06-03 11:48:34 -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
547be2fc32 am da652f6e: Merge "Revert change to correct animations." into jb-dev
* commit 'da652f6e51e5b255019ac020d56e262e477c2a46':
  Revert change to correct animations.
2012-06-03 00:59:17 -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
Michael Jurka
0962d3729b am 1f3c11b7: Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev
* commit '1f3c11b7952d92ebbafa71bf0904b8137edfd440':
  Add more logging for bug 6499508 (getting warmer!)
2012-06-02 15:32:50 -07:00
Michael Jurka
586a119c6f am e766e1f5: Merge "Reduce recents memory usage" into jb-dev
* commit 'e766e1f57b00910442b52d7d11ba808a6b212459':
  Reduce recents memory usage
2012-06-02 15:32:49 -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
e184c05b55 am d672b241: Merge "Fix power manager issues." into jb-dev
* commit 'd672b241f6720201e3b8f613363d71e4291b8597':
  Fix power manager issues.
2012-06-02 11:26:07 -07:00
Craig Mautner
d672b241f6 Merge "Fix power manager issues." into jb-dev 2012-06-02 11:24:29 -07:00
Jean-Baptiste Queru
5daa08df5e am 3df4e1a2: am 0748a569: Merge "aapt: Remove terminal pointer incrementaion"
* commit '3df4e1a2f1b4f0eb110c8983107b7c7fa21ed338':
  aapt: Remove terminal pointer incrementaion
2012-06-02 10:00:47 -07:00