24487 Commits

Author SHA1 Message Date
Romain Guy
b166539a47 am 0064c032: am e79e8758: Merge "Remove ViewTreeObserver allocations" into jb-dev
* commit '0064c032f4a890970c285567520c057976909ea9':
  Remove ViewTreeObserver allocations
2012-05-09 10:07:52 -07:00
Adam Powell
c1e8244f72 am c5967ab8: am e601efd3: Merge "Fix a bug in Activity Up navigation dispatching" into jb-dev
* commit 'c5967ab8defdb199b95317a3c67957f8d7a0aacb':
  Fix a bug in Activity Up navigation dispatching
2012-05-09 10:07:46 -07:00
Jeff Brown
012c9ed9ce am 1f455691: am 2fd54c41: Merge "Improve animation timing." into jb-dev
* commit '1f455691fe344e9dd44b092036f0dc8b8b00cce1':
  Improve animation timing.
2012-05-09 10:07:43 -07:00
Adam Powell
8ca0ca9ad5 am 06aedd01: am 6392a360: Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev
* commit '06aedd01c146fdbe59efb0923d8049a37df9968b':
  Fix misc. bugs in AbsListView smooth scrolling.
2012-05-09 10:07:40 -07:00
Romain Guy
0064c032f4 am e79e8758: Merge "Remove ViewTreeObserver allocations" into jb-dev
* commit 'e79e87581280f4f3b26b1d4496b34cbb9aa39ae5':
  Remove ViewTreeObserver allocations
2012-05-09 01:45:18 -07:00
Adam Powell
c5967ab8de am e601efd3: Merge "Fix a bug in Activity Up navigation dispatching" into jb-dev
* commit 'e601efd375e79ae016593617f08d6a09a536f719':
  Fix a bug in Activity Up navigation dispatching
2012-05-09 01:45:12 -07:00
Jeff Brown
1f455691fe am 2fd54c41: Merge "Improve animation timing." into jb-dev
* commit '2fd54c416b6f648e93bfa9dcb34fe8c6e4847a0f':
  Improve animation timing.
2012-05-09 01:44:57 -07:00
Adam Powell
06aedd01c1 am 6392a360: Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev
* commit '6392a3609cb6457aec715804e15b51fa498141c6':
  Fix misc. bugs in AbsListView smooth scrolling.
2012-05-09 01:44:55 -07:00
Dianne Hackborn
709d138d2f am eef61216: am 8e11051a: Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev
* commit 'eef61216183b77842d06533fcc661020c0032d2d':
  Tweak anim API to automatically call Intent.setSourceBounds().
2012-05-08 15:02:13 -07:00
Glenn Kasten
1f3899d418 am cceaf8d8: am ebd6016b: Merge "Add audio tag to systrace" into jb-dev
* commit 'cceaf8d80d29879c3ce045b8bed92181aaee9d8e':
  Add audio tag to systrace
2012-05-08 15:01:46 -07:00
Dianne Hackborn
2a8650bdca am 009e6e6b: am bae365c1: Merge "Fix issue #6319312: Consecutive call to Activity\'s onCreate()/onResume()..." into jb-dev
* commit '009e6e6b5e83f18cd691d69dc5f08e04bfccf059':
  Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
2012-05-08 15:01:27 -07:00
Jim Miller
6dfe7d937f am 07e1f123: am a482f942: Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev
* commit '07e1f12350819cc8fa93dbfe9e8655594b859e64':
  Fix 6397736: Fix issue with MultiWaveView in incoming call screen.
2012-05-08 11:33:38 -07:00
Matthew Xie
88dcbda03b am 87d7c1d7: am ac8a61b6: Merge "When turning off, broadcast STATE_OFF in the last HotOff state" into jb-dev
* commit '87d7c1d740c93147a762595fd7e415dbebfb182f':
  When turning off, broadcast STATE_OFF in the last HotOff state
2012-05-08 11:33:35 -07:00
Jim Miller
56f895a2fc am 8676726d: am 06e8d664: Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
* commit '8676726dcfa54e4fecb0c0676d9945ad49f079c5':
  Fix 6397736: Swipe up to search layout fixes
2012-05-08 11:33:22 -07:00
Robert Greenwalt
1fee5ef1aa am d760beb7: am 2321301f: Merge "Bring up the ethernet interface when detected" into jb-dev
* commit 'd760beb735538d61d78584722352a888629b670a':
  Bring up the ethernet interface when detected
2012-05-08 11:32:41 -07:00
Philip Milne
3ed259a43c am 2a52d26c: am 7bb66c9c: Hide optical bounds feature for JB.
* commit '2a52d26c0b917de8b1e4d20ebad87b9b3825f6ca':
  Hide optical bounds feature for JB.
2012-05-08 11:32:06 -07:00
Amith Yamasani
988b832b34 am 503b2e5a: am 44e3f88f: Merge "Javadoc improvements in SearchView per API review." into jb-dev
* commit '503b2e5ae1b83e5595b47a8d376db6b89b059b87':
  Javadoc improvements in SearchView per API review.
2012-05-08 11:29:57 -07:00
John Reck
2eeec7189e am 462ee95f: am a09b06ef: Merge "Remove heldMotionless disabling native scroll mode" into jb-dev
* commit '462ee95ff0cfb01d295c0b7e34bf995a50edb313':
  Remove heldMotionless disabling native scroll mode
2012-05-08 11:29:54 -07:00
Gilles Debunne
bb5971a78f am 8779c022: am 0caf421e: Merge "Final fix in SpannableStringBuilder." into jb-dev
* commit '8779c022b401b2a269e058c2c27b885694b696f3':
  Final fix in SpannableStringBuilder.
2012-05-08 11:29:49 -07:00
Romain Guy
e79e875812 Merge "Remove ViewTreeObserver allocations" into jb-dev 2012-05-07 17:45:33 -07:00
Adam Powell
e601efd375 Merge "Fix a bug in Activity Up navigation dispatching" into jb-dev 2012-05-07 17:40:09 -07:00
Adam Powell
07304f5299 Fix a bug in Activity Up navigation dispatching
Propagate the return value from onNavigateUp as the result of
onMenuItemSelected. This fixes a bug where the action bar Up nav
button clicks would not be propagated to support lib FragmentActivity
or other activity subclasses that rely on processing otherwise
unhandled onMenuItemSelected events.

Change-Id: Id879dd1756ed06b8a7b720ebf0eae2a8ddc66ca8
2012-05-07 17:32:44 -07:00
Jeff Brown
2fd54c416b Merge "Improve animation timing." into jb-dev 2012-05-07 17:12:27 -07:00
Adam Powell
6392a3609c Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev 2012-05-07 17:10:42 -07:00
Jeff Brown
59bbef0cd7 Improve animation timing.
Detect when a vsync message was significantly delayed which may
indicate that a frame was skipped.  When this happens, update
the frame time to reflect the approximate start time of the
current frame instead of the start time of the frame that was
skipped a long time ago.

Removed an unnecessary call to getCurrentPlayTime() in the
animator framework.  The result was always zero and the call
just made the code confusing.

Bug: 6443611
Change-Id: I92b24f7ffd74c59b75a727b6bfc0bb51fc92a73a
2012-05-07 16:49:42 -07:00
Adam Powell
e69370e168 Fix misc. bugs in AbsListView smooth scrolling.
Handle the edge cases a bit better. Deal with padding. If a smooth
scroll begins, the list is empty, but a data change is pending, try
again on the next looper pass.

Bug 6453837
Bug 6434713

Change-Id: I53f22ebacdcbc5d981a6c8055c4fd3fc1ef140f6
2012-05-07 16:48:32 -07:00
Romain Guy
b999cc118f Remove ViewTreeObserver allocations
This change replaces CopyOnWriteArrayList with a custom CopyOnWriteArray.
The new CopyOnWriteArray only allocates when a concurrent modification
is detected. Only one loop can iterate over CopyOnWriteArray at any
given time and the class is not thread safe.

Change-Id: Ie67a1ec20ff095350bf3c5d4f87cdb231ad57221
2012-05-07 16:30:54 -07:00
Dianne Hackborn
eef6121618 am 8e11051a: Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev
* commit '8e11051a06b3362b7d7cda654f8dcb5ca3760494':
  Tweak anim API to automatically call Intent.setSourceBounds().
2012-05-07 16:15:25 -07:00
Dianne Hackborn
8e11051a06 Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev 2012-05-07 16:12:44 -07:00
Dianne Hackborn
d367ca88ee Tweak anim API to automatically call Intent.setSourceBounds().
Also don't retain the source bounds in recent tasks, since it
has no meaning there and it would be better when relaunching an
activity to have a new bounds set based on wherever it is now
being launched from.

Change-Id: Ia90c04ee98a888a7f725b038abe23d71e2b12800
2012-05-07 15:54:58 -07:00
Glenn Kasten
cceaf8d80d am ebd6016b: Merge "Add audio tag to systrace" into jb-dev
* commit 'ebd6016b8c6faf70b44283c59461023cda1ca6b0':
  Add audio tag to systrace
2012-05-07 15:48:43 -07:00
Glenn Kasten
ebd6016b8c Merge "Add audio tag to systrace" into jb-dev 2012-05-07 15:45:03 -07:00
Dianne Hackborn
009e6e6b5e am bae365c1: Merge "Fix issue #6319312: Consecutive call to Activity\'s onCreate()/onResume()..." into jb-dev
* commit 'bae365c166538d5c2319bf42aaf1715a1fb749e7':
  Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
2012-05-07 15:14:50 -07:00
Dianne Hackborn
bae365c166 Merge "Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()..." into jb-dev 2012-05-07 15:12:33 -07:00
Dianne Hackborn
755c8bfbff Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
...without onPause() in between

There was a bug in the handling of "always finish activities" where we
would go through destroying activities while in the middle of updating
the activity stack.  This would result in the activity behind the
non-full-screen activity being created and then immediately destroyed,
which things were not expecting.

Change-Id: Idaa89089f7b1af7eb747d7b8f9f394beeb2d23fa
2012-05-07 15:06:09 -07:00
Jim Miller
07e1f12350 am a482f942: Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev
* commit 'a482f942dae90211540c856664ca71ba29297309':
  Fix 6397736: Fix issue with MultiWaveView in incoming call screen.
2012-05-07 14:51:19 -07:00
Jim Miller
a482f942da Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev 2012-05-07 14:48:19 -07:00
Matthew Xie
87d7c1d740 am ac8a61b6: Merge "When turning off, broadcast STATE_OFF in the last HotOff state" into jb-dev
* commit 'ac8a61b6d47e737794b2aaeaf629d87e493413b8':
  When turning off, broadcast STATE_OFF in the last HotOff state
2012-05-07 14:41:41 -07:00
Jim Miller
72b26c1fa2 Fix 6397736: Fix issue with MultiWaveView in incoming call screen.
This fixes a bug where the incoming call screen sometimes had
misplaced icons. The code previously relied on an additional layout
pass that doesn't happen in the incoming call screen in some cases.

Change-Id: If7c39994c1bdadbd3e97f4b9ebb45f68893fd9bd
2012-05-07 14:39:31 -07:00
Matthew Xie
ac8a61b6d4 Merge "When turning off, broadcast STATE_OFF in the last HotOff state" into jb-dev 2012-05-07 14:38:42 -07:00
Jim Miller
8676726dcf am 06e8d664: Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
* commit '06e8d6647db54aa76dda92a5a785737e66d262de':
  Fix 6397736: Swipe up to search layout fixes
2012-05-07 14:37:39 -07:00
Jim Miller
06e8d6647d Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev 2012-05-07 14:34:00 -07:00
Robert Greenwalt
d760beb735 am 2321301f: Merge "Bring up the ethernet interface when detected" into jb-dev
* commit '2321301fe75f945b002372d6d35c597191564452':
  Bring up the ethernet interface when detected
2012-05-07 13:42:53 -07:00
Robert Greenwalt
2321301fe7 Merge "Bring up the ethernet interface when detected" into jb-dev 2012-05-07 13:39:34 -07:00
Philip Milne
2a52d26c0b am 7bb66c9c: Hide optical bounds feature for JB.
* commit '7bb66c9cae7847e3d58f412a73d54ee5d4bcaba0':
  Hide optical bounds feature for JB.
2012-05-07 13:09:14 -07:00
Robert Greenwalt
198bc11d09 Bring up the ethernet interface when detected
We don't get link status info if it's down.  If the device has been configured
for ethernet and we see the interface appear, we should make it active.

bug:6444395
Change-Id: Ibc233ab12942b069d7db9c0671936798c5161659
2012-05-07 12:34:26 -07:00
Philip Milne
7bb66c9cae Hide optical bounds feature for JB.
Change-Id: I1fe38e9c64515acd550baa930ebc0af4c139bf40
2012-05-07 11:42:57 -07:00
Amith Yamasani
503b2e5ae1 am 44e3f88f: Merge "Javadoc improvements in SearchView per API review." into jb-dev
* commit '44e3f88f2f80c7dfbe36c22878d129251ba13165':
  Javadoc improvements in SearchView per API review.
2012-05-07 11:35:47 -07:00
John Reck
462ee95ff0 am a09b06ef: Merge "Remove heldMotionless disabling native scroll mode" into jb-dev
* commit 'a09b06effff87f9c073cdc7729884adc41286fe1':
  Remove heldMotionless disabling native scroll mode
2012-05-07 11:35:44 -07:00
Amith Yamasani
44e3f88f2f Merge "Javadoc improvements in SearchView per API review." into jb-dev 2012-05-07 11:33:16 -07:00