Commit Graph

23651 Commits

Author SHA1 Message Date
Dianne Hackborn
92bc9393e6 am 5a70063f: am 6593be0c: Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev
* commit '5a70063f7ea8c910eefb025018ef02e84ff319f0':
  Work on issue #6579997: Mariner entrance animation
2012-06-04 10:38:48 -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
5a71617014 am cdb2a216: am 7b4799ca: Merge "Client app crashes if accessibility service uses invalid focus type." into jb-dev
* commit 'cdb2a2167d0f0676cc613a358073267d86d2851c':
  Client app crashes if accessibility service uses invalid focus type.
2012-06-04 10:27:42 -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
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
904db5b4e7 am f3873333: am 30384653: Merge "Focus search in AbsListView returns invisible views." into jb-dev
* commit 'f3873333e014219601e8dc4e6bee364c50390c5d':
  Focus search in AbsListView returns invisible views.
2012-06-04 08:26:35 -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
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
94456bb32c am 7d3fa093: am f47e76e2: Merge "Make velocity tracker strategy configurable." into jb-dev
* commit '7d3fa093bbd34e19f6b580b6258c8ea4e138c777':
  Make velocity tracker strategy configurable.
2012-06-03 21:23:29 -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
f47e76e2c7 Merge "Make velocity tracker strategy configurable." into jb-dev 2012-06-03 21:16:18 -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
bc595b798e am b59d0618: am b6585d19: Merge "Double input focus and focus movement in list not working." into jb-dev
* commit 'b59d06186130921c02b6a4b0c98d0c43379df6d4':
  Double input focus and focus movement in list not working.
2012-06-03 18:59:50 -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
a55a94bfb3 am 58e29c06: am 7c86958d: Merge "Add MediaRouter API." into jb-dev
* commit '58e29c06610054419339bb0a75c44ab30d6fe89a':
  Add MediaRouter API.
2012-06-03 14:19:07 -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
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
Svetoslav Ganov
665ef836b5 am 40404f43: am cba5e879: Merge "Calling the correct method when adding accessibility focusables." into jb-dev
* commit '40404f435c17dfbbedfdf358c48f0f91df91b84f':
  Calling the correct method when adding accessibility focusables.
2012-06-02 08:40:16 -07:00
Ben Murdoch
37f4acde89 am dba86e2d: Merge "Get a WebViewDatabaseClassic instance lazily. Do not merge." into jb-dev
* commit 'dba86e2dc1e89760670817f16da1d1db04ca85f7':
  Get a WebViewDatabaseClassic instance lazily. Do not merge.
2012-06-02 08:35:36 -07:00
Svetoslav Ganov
40404f435c am cba5e879: Merge "Calling the correct method when adding accessibility focusables." into jb-dev
* commit 'cba5e879e825fe37bc1eb092c14f3a5c4d7a29d1':
  Calling the correct method when adding accessibility focusables.
2012-06-02 08:35:24 -07:00
Chet Haase
479255ee8a am 5d666b94: am faa3233e: Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev
* commit '5d666b9494b38bc02ea0289e1ba9613ca6e67ef6':
  Skip LayoutTransition animations on objects of size (0,0)
2012-06-02 08:21:06 -07:00
Dianne Hackborn
cbc5e0aae4 am 3522225d: am ea01e4a2: Merge "Survey says: NIET!" into jb-dev
* commit '3522225dba19e77defaf56f0e70c0382c2cbb0a2':
  Survey says: NIET!
2012-06-02 08:20:36 -07:00
Jean-Baptiste Queru
c96132ff53 Revert "Clean up layout direction APIs for Drawable"
This reverts commit c1da65187a.
2012-06-02 05:46:20 -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
Svetoslav Ganov
cba5e879e8 Merge "Calling the correct method when adding accessibility focusables." into jb-dev 2012-06-01 19:30:23 -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
Chet Haase
5d666b9494 am faa3233e: Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev
* commit 'faa3233ecdf543381d2d5e3f61829a58e7f4ef49':
  Skip LayoutTransition animations on objects of size (0,0)
2012-06-01 19:02:41 -07:00
Dianne Hackborn
3522225dba am ea01e4a2: Merge "Survey says: NIET!" into jb-dev
* commit 'ea01e4a2d5cc28093e9fd720055082b2d3f708d9':
  Survey says: NIET!
2012-06-01 19:01:33 -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
Chet Haase
faa3233ecd Merge "Skip LayoutTransition animations on objects of size (0,0)" into jb-dev 2012-06-01 15:52:28 -07:00
Chet Haase
66ef1a201e 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
2012-06-01 15:09:07 -07:00
Dianne Hackborn
ea01e4a2d5 Merge "Survey says: NIET!" into jb-dev 2012-06-01 14:13:08 -07:00
Dianne Hackborn
4034bc431d Survey says: NIET!
Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
2012-06-01 13:38:48 -07:00
Fabrice Di Meglio
7806882541 Merge "Clean up layout direction APIs for Drawable" 2012-06-01 11:41:58 -07:00
Fabrice Di Meglio
c1da65187a Clean up layout direction APIs for Drawable
- see bug #6427629

Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
2012-06-01 11:39:10 -07:00
Svetoslav Ganov
6604496b53 am dd5543a6: am ac483ac4: Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev
* commit 'dd5543a6ffb2f543d9a45b541808561370c34f86':
  AccessibilityInteractionController crash with IndexOutOfBoundException.
2012-06-01 11:20:43 -07:00
Svetoslav Ganov
dd5543a6ff am ac483ac4: Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev
* commit 'ac483ac41f19b9956069eebdc0275ccf90d4e01d':
  AccessibilityInteractionController crash with IndexOutOfBoundException.
2012-06-01 11:16:21 -07:00
Svetoslav Ganov
ac483ac41f Merge "AccessibilityInteractionController crash with IndexOutOfBoundException." into jb-dev 2012-06-01 11:14:12 -07:00
Svetoslav Ganov
30ac645210 AccessibilityInteractionController crash with IndexOutOfBoundException.
1. The findAccessibilityNodeInfosByTextUiThread was reusing an ArrayList
   instance also used by the logic to initialize an AccessibilityNodeInfo.
   Hence, if the find method got some view and creates the infos for them
   the method creating the info was reusing the same array list and was
   nuking its contents.

bug:6556585

Change-Id: I1d013bf7b1f715f8b4c4ba60c677233bec40647c
2012-06-01 09:10:30 -07:00
Svetoslav Ganov
2a086877a4 am 570ad8c2: am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
* commit '570ad8c2b6f89f6ca9f2dfeb33d0eca19278e739':
  Accessibility focus traversal of lists inconsistent.
2012-06-01 08:58:35 -07:00
Svetoslav Ganov
570ad8c2b6 am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
* commit '00ca7a88271916f6022b2aa16acfb415fc1b5247':
  Accessibility focus traversal of lists inconsistent.
2012-06-01 08:54:38 -07:00
Svetoslav Ganov
00ca7a8827 Merge "Accessibility focus traversal of lists inconsistent." into jb-dev 2012-06-01 08:52:19 -07:00
Chet Haase
fbe8857237 am d0140062: am 561ff8a7: Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev
* commit 'd0140062db85ae17e807e514fe14d2d0581645fb':
  Skip eglSwapBuffers() call when we do not draw to GL
2012-06-01 07:37:56 -07:00
Chet Haase
d0140062db am 561ff8a7: Merge "Skip eglSwapBuffers() call when we do not draw to GL" into jb-dev
* commit '561ff8a74e3d9ea15f58d9b6534da9ea5a63d84b':
  Skip eglSwapBuffers() call when we do not draw to GL
2012-06-01 07:32:39 -07:00