24735 Commits

Author SHA1 Message Date
Jim Miller
7bd926c9ba am 5de47b6a: Fix 6398209: Fix glitch in chevron animation in MultiWaveView
* commit '5de47b6ad9d72476302f8a3732b639d3d413ef77':
  Fix 6398209: Fix glitch in chevron animation in MultiWaveView
2012-05-16 18:26:15 -07:00
Svetoslav Ganov
044d40ad87 am 824aa860: Merge "Accessibility service needs to request permission to be bound to." into jb-dev
* commit '824aa860cd0b38b09779aab417612b115fd495a3':
  Accessibility service needs to request permission to be bound to.
2012-05-16 17:58:00 -07:00
Jim Miller
5de47b6ad9 Fix 6398209: Fix glitch in chevron animation in MultiWaveView
This fixes a glitch caused by clearing the array of chevrons before
stopping the associated animations. The old animations were allowed to
complete which caused chevrons to move around erratically because they
were being controlled by multiple animators.

Change-Id: Iec1450dd83077a721930eb3cac19a621e7356980
2012-05-16 17:56:59 -07:00
Svetoslav Ganov
824aa860cd Merge "Accessibility service needs to request permission to be bound to." into jb-dev 2012-05-16 17:52:59 -07:00
Adam Powell
f53952a9a7 am 648337b3: Merge "Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl" into jb-dev
* commit '648337b3a8024b22a77977024cdf171f83999d56':
  Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl
2012-05-16 17:50:47 -07:00
Carlos Valdivia
9a824f07a3 am 86401950: Merge "Streamline the logic to add account." into jb-dev
* commit '864019503c20350393fa1fbaecc36f0577ca45bb':
  Streamline the logic to add account.
2012-05-16 17:47:21 -07:00
Adam Powell
8afcf70531 am 7fde8e2b: Merge "Be more tolerant in TaskStackBuilder" into jb-dev
* commit '7fde8e2ba27942ed61a1d57f63f3b4eea3e0bbc8':
  Be more tolerant in TaskStackBuilder
2012-05-16 17:47:18 -07:00
Adam Powell
648337b3a8 Merge "Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl" into jb-dev 2012-05-16 17:46:10 -07:00
Carlos Valdivia
864019503c Merge "Streamline the logic to add account." into jb-dev 2012-05-16 17:44:34 -07:00
Adam Powell
7fde8e2ba2 Merge "Be more tolerant in TaskStackBuilder" into jb-dev 2012-05-16 17:44:25 -07:00
Jeff Brown
7ce7fe3b61 am 33ebe8c8: Merge "Add systrace method tags for measure and layout." into jb-dev
* commit '33ebe8c8c2179af371514b9c7a7d88faf531b18b':
  Add systrace method tags for measure and layout.
2012-05-16 17:43:37 -07:00
Jeff Brown
4fcef3c694 am 6dc23b8e: Merge "Add a label for the new video trace tag." into jb-dev
* commit '6dc23b8e70e421cff46aa60c91ad1ba9d0bc4064':
  Add a label for the new video trace tag.
2012-05-16 17:43:34 -07:00
Carlos Valdivia
cf0a881f1c Streamline the logic to add account.
This cl ensures that we immediately route the user to the add account
activity if they don't have an account and their is only one relevant
account type. Also reordered the setContent logic to reduce flicker.

Note that as of this CL there is still some flicker remaining when
launching G+ without an account. But it appears to be fixed in other
apps.

Bug: 6455975
Change-Id: I91e33b4fb9618a31765b4a8651334b1c52640828
2012-05-16 17:43:17 -07:00
Jeff Brown
33ebe8c8c2 Merge "Add systrace method tags for measure and layout." into jb-dev 2012-05-16 17:40:03 -07:00
Jeff Brown
6dc23b8e70 Merge "Add a label for the new video trace tag." into jb-dev 2012-05-16 17:39:29 -07:00
John Reck
cd471e95c8 am b27a4f9b: Merge "Remove custom scrollbar logic" into jb-dev
* commit 'b27a4f9b0e29d4fd4722c9152a39269aba527ef6':
  Remove custom scrollbar logic
2012-05-16 17:37:22 -07:00
John Reck
b27a4f9b0e Merge "Remove custom scrollbar logic" into jb-dev 2012-05-16 17:35:08 -07:00
Adam Powell
3e3c4ee047 Fix a bug where late-invalidating views with animations would be held
for too long by ViewRootImpl

Change-Id: I1e32bf2683b50f8834f215a753f881b5d4b8dbc9
2012-05-16 17:34:21 -07:00
Jeff Brown
c8d2668bc4 Add systrace method tags for measure and layout.
Change-Id: I739f6384b390d1b34b09b622ca0f752de1dd7304
2012-05-16 17:27:24 -07:00
Jeff Brown
f558780c20 Add a label for the new video trace tag.
Change-Id: Ie296b4b5ca73987cdea7766f8698fc43704b2e81
2012-05-16 17:27:24 -07:00
Jeff Brown
046c861916 am 0d28cdf1: Merge "Fix a possible starvation issue related to vsync." into jb-dev
* commit '0d28cdf1c870ade242250ec1a82c710885982b4b':
  Fix a possible starvation issue related to vsync.
2012-05-16 16:27:03 -07:00
Jeff Brown
0d28cdf1c8 Merge "Fix a possible starvation issue related to vsync." into jb-dev 2012-05-16 16:25:05 -07:00
Adam Powell
b00b8b0d53 Be more tolerant in TaskStackBuilder
Let callers try to get a parent stack for an activity class with no
parent declared.

Bug 6503702

Change-Id: Iec1bc7a8d9e5b65b756a8ebd0e53d63506796aa3
2012-05-16 16:23:03 -07:00
Mathias Agopian
44d3513ccf am 128c89cd: Merge "fix SensorManager.getAngleChange() documentation" into jb-dev
* commit '128c89cd08bde1a4cf160885ce0fb57ba0134bb0':
  fix SensorManager.getAngleChange() documentation
2012-05-16 16:15:24 -07:00
Mathias Agopian
128c89cd08 Merge "fix SensorManager.getAngleChange() documentation" into jb-dev 2012-05-16 16:12:27 -07:00
Svetoslav Ganov
53e184d34e Accessibility service needs to request permission to be bound to.
1. Every accessibility services targeting JellyBean or higher has
   to request a special permission for the system to bind to it.

Change-Id: I6e579326bdf3597f148d6c67317455701ec8af68
2012-05-16 15:57:15 -07:00
Svetoslav Ganov
dcf56b2dea am 6467f94b: Merge "Make AbsSeekBar widget adjustable via accessibility actions." into jb-dev
* commit '6467f94b371e1af1b5e0ab63eb3b39671e04ff8d':
  Make AbsSeekBar widget adjustable via accessibility actions.
2012-05-16 15:56:42 -07:00
Svetoslav Ganov
6467f94b37 Merge "Make AbsSeekBar widget adjustable via accessibility actions." into jb-dev 2012-05-16 15:53:35 -07:00
Mathias Agopian
fb89097099 fix SensorManager.getAngleChange() documentation
Bug: 6442517

Change-Id: I4b22540817560bdff134d2cc3274e3b39c92d3b1
2012-05-16 15:31:07 -07:00
John Reck
3d672d3fc9 am c43db491: Merge "Fix android:focusableInTouchMode support" into jb-dev
* commit 'c43db491a6867c22ddfd1189a66995312af6fb11':
  Fix android:focusableInTouchMode support
2012-05-16 15:22:57 -07:00
John Reck
7c2e329ef2 Remove custom scrollbar logic
Bug: 6505722
 When we scroll the base layer we do so by calling scrollTo on the view,
 which handles all the scrollbar logic for us. Remove the custom keep alive
 code which floods the handler queue, as well as remove the unnecessary
 invalidate and awakenScrollbar calls (View does that for us)

Change-Id: Ia2503c549a22ec71d99295fe62b676fecc367ea3
2012-05-16 15:21:18 -07:00
John Reck
c43db491a6 Merge "Fix android:focusableInTouchMode support" into jb-dev 2012-05-16 15:19:22 -07:00
John Reck
435e6f5fd2 Fix android:focusableInTouchMode support
Bug: 6448106

Change-Id: I17161754eaf08145623466a6db25893e3e5b2e16
2012-05-16 14:56:20 -07:00
Jim Miller
9a40e307dc am c1c14065: Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev
* commit 'c1c140657633cc5b0ff26da1f122fab305d21e01':
  Fix 6398209: Lots of improvements to gesture search from navbar
2012-05-16 14:19:22 -07:00
alanv
c826b7d8fa Make AbsSeekBar widget adjustable via accessibility actions.
Change-Id: I559da3cea139c2d5a4c82e2854921de173fbfa4f
2012-05-16 14:19:21 -07:00
Jim Miller
c1c1406576 Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev 2012-05-16 14:17:33 -07:00
Adam Cohen
6340b3f028 am e0bb6fe3: Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev
* commit 'e0bb6fe33355f9eeed1273a3614624286a0911ce':
  Cap widget bitmap usage by screen size (issue 6464700)
2012-05-16 13:47:39 -07:00
Adam Cohen
e0bb6fe333 Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev 2012-05-16 13:43:27 -07:00
Svetoslav Ganov
c2f6411741 am c5fb5805: Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
* commit 'c5fb5805c92429b08ca715df37e949f31591466a':
  Accessiblity focus not following input focus and text nav broken.
2012-05-16 13:30:22 -07:00
Svetoslav Ganov
c5fb5805c9 Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev 2012-05-16 13:26:54 -07:00
Jeff Brown
b080660dfd Fix a possible starvation issue related to vsync.
This makes a noticeable improvement in cases where applications
post messages that need to be processed between animation frames.

Bug: 6418353
Change-Id: If225742e37aeaf3f0ca9710f9bf43dbb03bcde12
2012-05-16 12:50:41 -07:00
Chris Wren
626a16651c am b46f3f67: Merge "Defensively reset the default state of layout elements." into jb-dev
* commit 'b46f3f6743f015cd6e0cfd21639b82fcdb5e6983':
  Defensively reset the default state of layout elements.
2012-05-16 12:04:20 -07:00
Chris Wren
b46f3f6743 Merge "Defensively reset the default state of layout elements." into jb-dev 2012-05-16 12:01:44 -07:00
Daniel Sandler
f39bc2690f am 70334ac2: Merge changes If0b865ac,Ie0c61300 into jb-dev
* commit '70334ac231c7b4bbb57d430377acec4d4c3b2561':
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:21:35 -07:00
Daniel Sandler
70334ac231 Merge changes If0b865ac,Ie0c61300 into jb-dev
* changes:
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:19:15 -07:00
Daniel Sandler
8680bf865a Action button improvements:
- Horizontal layout
  - At most 2 are shown
  - Tombstones are now shown (if the intent is null, the
    button is disabled; use it for quick feedback of an
    action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
2012-05-16 01:27:54 -04:00
Chris Wren
67dc9a02cf Defensively reset the default state of layout elements.
Bug: 6500945
Change-Id: Idf7300c44955413e2db26ecbabdef9f67f12f360
2012-05-16 01:03:20 -04:00
Svetoslav Ganov
64899e5c8f Accessiblity focus not following input focus and text nav broken.
1. View is checking if the accessibility focus is its
   descendant it clears the accessibility focus state
   in ViewRootImpl. The check in View was missing the
   case that the descendant may be the view itself. In
   such a case we want the normal clearing code to run.

2. The check whether a view has iterable text for
   accessibility was inverted and text nav was not
   working.

Change-Id: I1a13b6809fb7f205fff76ca09cd449179d06e530
2012-05-15 21:14:10 -07:00
Jim Miller
20830421fe Fix 6398209: Lots of improvements to gesture search from navbar
- Added ability to postpone animations until after window is shown
to ensure the animation is visible on slower devices.
- Fixed layout bug that prevented targets from being located on
outer ring.
- Fixed bug where some motion events were being ignored when handle
wasn't captured.
- Reduced temp object generation in several methods.
- Added containers to start all animations together and to facilitate
delayed start.
- Increased radius of outer ring on phones to closer match mocks.
- Decreased sensitivity of swipe up gesture on navbar so it's harder to false.

Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
2012-05-15 21:10:12 -07:00
Romain Guy
9e981d83f1 am d44a1686: Merge "Don\'t draw onto a hw surface using the software renderer Bug #6485955" into jb-dev
* commit 'd44a16864d549e08506d0f80198031f05a03bd15':
  Don't draw onto a hw surface using the software renderer Bug #6485955
2012-05-15 20:30:21 -07:00