79051 Commits

Author SHA1 Message Date
Craig Mautner
1fb5b3d4e6 am 270db713: am 9cf5831f: Merge "Fix jank when launching apps that show wallpaper." into jb-dev
* commit '270db71381e107e3b3bc81890b3f34424403ef9b':
  Fix jank when launching apps that show wallpaper.
2012-05-23 18:34:35 -07:00
Craig Mautner
ca414550d3 am 67e6070f: Merge "Change method of tracking moving AppWindowTokens." into jb-dev
* commit '67e6070fa10bbd313c8ebe0de4e0440b688c569e':
  Change method of tracking moving AppWindowTokens.
2012-05-23 18:34:19 -07:00
Craig Mautner
270db71381 am 9cf5831f: Merge "Fix jank when launching apps that show wallpaper." into jb-dev
* commit '9cf5831f2b94f5e2edd7fd87abef4e9fac8aa82d':
  Fix jank when launching apps that show wallpaper.
2012-05-23 18:31:25 -07:00
Craig Mautner
67e6070fa1 Merge "Change method of tracking moving AppWindowTokens." into jb-dev 2012-05-23 18:30:25 -07:00
Craig Mautner
9cf5831f2b Merge "Fix jank when launching apps that show wallpaper." into jb-dev 2012-05-23 18:29:39 -07:00
Wu-cheng Li
dd850c7903 am a039119e: am c1cabdfb: Merge "Fix bad aspect ratios for recorded effects" into jb-dev
* commit 'a039119e6806d17e0cc9d0e0e249f66525853935':
  Fix bad aspect ratios for recorded effects
2012-05-23 18:02:49 -07:00
Wu-cheng Li
a039119e68 am c1cabdfb: Merge "Fix bad aspect ratios for recorded effects" into jb-dev
* commit 'c1cabdfbbb5de2c286fc9a4fe995b7b630a74a0d':
  Fix bad aspect ratios for recorded effects
2012-05-23 17:59:22 -07:00
Wu-cheng Li
c1cabdfbbb Merge "Fix bad aspect ratios for recorded effects" into jb-dev 2012-05-23 17:57:23 -07:00
Adam Powell
b24f0c99d6 am 7c485c38: am 75ac4e84: Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev
* commit '7c485c38045dd5a94f80d7eec05931afafd6579c':
  Fix a bug with deferred position scrolling in lists while data changes are pending
2012-05-23 17:54:55 -07:00
Adam Powell
7c485c3804 am 75ac4e84: Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev
* commit '75ac4e8479a415b4bec657b8f333e38d160b6b3e':
  Fix a bug with deferred position scrolling in lists while data changes are pending
2012-05-23 17:51:15 -07:00
Adam Powell
75ac4e8479 Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev 2012-05-23 17:49:21 -07:00
Adam Powell
161abf3d44 Fix a bug with deferred position scrolling in lists while data changes
are pending

Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.

Bug 6547649

Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b
2012-05-23 17:24:27 -07:00
Craig Mautner
ef25d7a019 Change method of tracking moving AppWindowTokens.
Stop trying to keep track of the AppTokens that have been moved
to the top and bottom and then try and match the WindowStates when
transitions are goodToGo. Instead rebuild the WindowState order based
on the AppToken order when we are goodToGo.

When moving AppWindowTokens lower in mAppTokens create a new ArrayList
of AppWindowTokens to keep track of the apps in Z order while
animating.

Fixes bug 6481078.

Change-Id: I29b33a507b45752f15feb10a9f4b47a3f5eb9f0e
2012-05-23 17:07:36 -07:00
Craig Mautner
8e4df6c1e2 Fix jank when launching apps that show wallpaper.
Do not create a StartingWindow for apps that show wallpaper.
Fix handling of obscure case where found wallpaper is hidden.

Fixes bug 6484034.

Change-Id: I07181c4aea56fa9e530df0c95d886fe8ad61ec9d
2012-05-23 16:57:23 -07:00
Pannag Sanketi
58acf44b9f Fix bad aspect ratios for recorded effects
Fix b/6530189
Fix b/6535207
Change-Id: I6ef09bd619acc31af53d9991335cda33b7c08908
2012-05-23 16:40:31 -07:00
Fabrice Di Meglio
13fe2a5330 Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
- use an ID instead of a String for StorageVolume description
- use this ID for getting the correct localized version of the description string

Change-Id: I30f3080fce2c889be38bfdf9f5121dffcf8a99e8
2012-05-23 16:38:09 -07:00
Svetoslav Ganov
db120c4dd2 am 1de7af86: am a587b890: Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev
* commit '1de7af86d720accda08df4c5bcf0b55da90f9208':
  ActivityChooser view not handling its removal and relayout properly.
2012-05-23 16:12:15 -07:00
Romain Guy
425f126a0f am a865d7d7: am df3633b3: Merge "Make it harder for apps to mess up ViewGroup\'s internal state Bug #6421288" into jb-dev
* commit 'a865d7d7d3612d99e3b1407793610056c7df163c':
  Make it harder for apps to mess up ViewGroup's internal state Bug #6421288
2012-05-23 16:08:53 -07:00
Svetoslav Ganov
762932396a am 97490bc6: am 2205d204: Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev
* commit '97490bc65a1307e276b341601cb5894568ac350a':
  System accessibility state update postponed if UI test autmation is running.
2012-05-23 16:08:51 -07:00
Svetoslav Ganov
1de7af86d7 am a587b890: Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev
* commit 'a587b890bb0c2f800fe4dfd3267f26366d00d32c':
  ActivityChooser view not handling its removal and relayout properly.
2012-05-23 16:08:49 -07:00
Svetoslav Ganov
a587b890bb Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev 2012-05-23 16:06:47 -07:00
Romain Guy
a865d7d7d3 am df3633b3: Merge "Make it harder for apps to mess up ViewGroup\'s internal state Bug #6421288" into jb-dev
* commit 'df3633b38969e134c5370449b8247827c705ac1e':
  Make it harder for apps to mess up ViewGroup's internal state Bug #6421288
2012-05-23 16:05:15 -07:00
Svetoslav Ganov
97490bc65a am 2205d204: Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev
* commit '2205d20421994d4e31994c298a22cb8fd9232fb6':
  System accessibility state update postponed if UI test autmation is running.
2012-05-23 16:05:07 -07:00
Stephen Hines
4776aead5b Merge "Revert "Large matrix test"" 2012-05-23 16:02:26 -07:00
Stephen Hines
9fc54f3d85 Revert "Large matrix test"
This reverts commit 4af866511bad19f2fec1aee6d10d58242ae40087
2012-05-23 16:02:17 -07:00
Manuel Roman
bb5a8fd908 am 9d98a089: Check result handler is not null
* commit '9d98a089756b692eefeae7f92cca15e121196e0c':
  Check result handler is not null
2012-05-23 16:00:37 -07:00
Romain Guy
df3633b389 Merge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288" into jb-dev 2012-05-23 15:49:50 -07:00
Jason Sams
27637173bb Merge "Large matrix test" 2012-05-23 15:23:32 -07:00
Svetoslav Ganov
748ee2e82a ActivityChooser view not handling its removal and relayout properly.
1. ActivityChooserView did not hide the popup window when detached.

bug:6544220

2. ActivityChooserView was calling show popup when it was already
   showing it resulting in an incrrect update and losing one item
   per rotation.

bug:6522041

Change-Id: Iec1682ca5d27e38caf57214fa86060edf82a2166
2012-05-23 15:21:16 -07:00
Svetoslav Ganov
2205d20421 Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev 2012-05-23 15:19:04 -07:00
George Mount
cf73e52825 am 5354a327: am 8871403a: Merge "Show caret handle when clicking in the middle of text." into jb-dev
* commit '5354a3277736b57daa0003409ce37c5b5f3b2236':
  Show caret handle when clicking in the middle of text.
2012-05-23 15:00:47 -07:00
Chet Haase
8c5f7616be am ad26d4d6: am 38330ec3: Merge "Avoid running layout transitions on unattached views and windows" into jb-dev
* commit 'ad26d4d6ece6a1aeac208d5b4ac18814fabad034':
  Avoid running layout transitions on unattached views and windows
2012-05-23 14:56:39 -07:00
George Mount
5354a32777 am 8871403a: Merge "Show caret handle when clicking in the middle of text." into jb-dev
* commit '8871403ad2ea885dc9e773b3fb476b54bbf25412':
  Show caret handle when clicking in the middle of text.
2012-05-23 14:55:27 -07:00
Jean-Baptiste Queru
85f99ac13f am f222c03d: am cb57f4f6: (-s ours) am 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"
* commit 'f222c03dfa4f8f017843324a991b8dc4ff2a7f37':
  Add a new API on DRM Framework for streaming
2012-05-23 14:52:59 -07:00
Chet Haase
ad26d4d6ec am 38330ec3: Merge "Avoid running layout transitions on unattached views and windows" into jb-dev
* commit '38330ec3b11aec64c549a71fb12fd9b8f63d3730':
  Avoid running layout transitions on unattached views and windows
2012-05-23 14:51:21 -07:00
George Mount
8871403ad2 Merge "Show caret handle when clicking in the middle of text." into jb-dev 2012-05-23 14:50:23 -07:00
Chet Haase
38330ec3b1 Merge "Avoid running layout transitions on unattached views and windows" into jb-dev 2012-05-23 14:48:43 -07:00
Jean-Baptiste Queru
f222c03dfa am cb57f4f6: (-s ours) am 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"
* commit 'cb57f4f6b8057b2208fac9f2bea497e03ebeec46':
  Add a new API on DRM Framework for streaming
2012-05-23 14:48:39 -07:00
Romain Guy
393a52c9f6 Make it harder for apps to mess up ViewGroup's internal state
Bug #6421288

Change-Id: I8c2c597f45391d3c1ae40c8341a68bb25d8ad4d9
2012-05-23 14:32:16 -07:00
Jean-Baptiste Queru
cb57f4f6b8 am 7a52ba8a: Merge "Add a new API on DRM Framework for streaming"
* commit '7a52ba8a0277f4b0c98e581115abc4a13cb47251':
  Add a new API on DRM Framework for streaming
2012-05-23 14:31:19 -07:00
Manuel Roman
9d98a08975 Check result handler is not null
If caller passes a null result handler to the proxy methods, we need
to check it when getting the result. Otherwise we try to invoke a method
on a null object

Change-Id: Ic2f456c36cb542b782b6a6d0d4d607ccf0987496
2012-05-23 14:25:31 -07:00
Rich Cannings
9a69c5fce7 Merge "Added code to log the current value of the "allow unknown sources" setting after successful package installation." 2012-05-23 14:21:34 -07:00
Chris Wren
5462508f05 Squelch the logs from SizeAdaptiveLayout.
Bug: 6540109
Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3
2012-05-23 17:15:34 -04:00
Chet Haase
ab3a776827 Avoid running layout transitions on unattached views and windows
LayoutTransition causes artifacts in some situations where a window is just
becoming visible or a container is just being added to the view tree when animations
are kicked off in LayoutTransition due to the normal automatic mechanism of running
animations when views are added/removed/etc. The problem is that containers in these
situations may have children with positions and sizes of (0, 0), causing the animation to
animate from this default/nonsense value to whatever is appropriate for the views when
they are first laid out and drawn. The end result is correct, but the animation is
superfluous and silly.

The fix is to avoid running any kind of transition animation on windows that are not
currently visible or containers that are not currently atached to the view hierarchy.
This should avoid the situation by only allowing the animations to run after the containers
and windows are visible and set up correctly.

Issue #6544410 issue with layout transition when first showing the activity

Change-Id: I737b2598887ef806dec3b02a483a8e8ff2c3d4e2
2012-05-23 14:09:30 -07:00
Jean-Baptiste Queru
7a52ba8a02 Merge "Add a new API on DRM Framework for streaming" 2012-05-23 14:06:54 -07:00
George Mount
c2813fa759 Show caret handle when clicking in the middle of text.
Bug 6545325

Change-Id: Ibea6daca1da12eec38b05f7f451561d31bb3c983
2012-05-23 14:04:54 -07:00
Chris Wren
e1ee12650e am 7ecc8974: am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
* commit '7ecc89743d43adeaf3d80c8d630fe37b23f8346e':
  BigPicture notifications for screenshots.
2012-05-23 13:39:36 -07:00
Chris Wren
ac13e5d5ae am 969cf617: am e820b18f: Merge "Leave less space between notificaitons." into jb-dev
* commit '969cf617d494f1551a1cc0065765bc55c4a0bbc9':
  Leave less space between notificaitons.
2012-05-23 13:39:31 -07:00
Chris Wren
7ecc89743d am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
* commit 'b72ac9dd6eb649d6f0583a5782b1780cf4efa088':
  BigPicture notifications for screenshots.
2012-05-23 13:35:56 -07:00
Chris Wren
969cf617d4 am e820b18f: Merge "Leave less space between notificaitons." into jb-dev
* commit 'e820b18ffa9dc3ece742d137e5c3e4cf82e406df':
  Leave less space between notificaitons.
2012-05-23 13:35:53 -07:00