78118 Commits

Author SHA1 Message Date
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
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
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
Brian Colonna
bad20898f5 Fix 6449259: FUL no longer overlaps music controls
When Face Unlock was used with pattern backup on a Prime, it was
partially covering the lockscreen music controls that appear when
music is playing.

This makes Face Unlock take up slightly less area when using pattern
backup on phones in portrait layout, regardless of whether the music
controls are showing.  Eventually I would like to make it still use
the full area when the music controls aren't showing, but this is the
safest possible fix for JB and looks ok.

Change-Id: Ib2af440ed0f2729dfff9b58cd154efad43ef5499
2012-05-23 16:33:08 -04:00
Chris Wren
b72ac9dd6e Merge "BigPicture notifications for screenshots." into jb-dev 2012-05-23 13:32:53 -07:00
Chris Wren
e820b18ffa Merge "Leave less space between notificaitons." into jb-dev 2012-05-23 13:32:34 -07:00
Svetoslav Ganov
4074e8a3f4 System accessibility state update postponed if UI test autmation is running.
1. If a UI test automation accessibility service is connected to the
   system we pospone state updates in the AccessibilityManagerService
   for the moment the UI automations service dies or is disconnected.

bug:6540522

Change-Id: I48ddf603b53d2158a00edcf8ad05cfe2575d4d75
2012-05-23 13:12:13 -07:00
Craig Mautner
b53437c51b am 53d003f0: Merge "Modify auto brightness to return to dim level." into jb-dev
* commit '53d003f0e77291e7382c4871e0828014b470ab9f':
  Modify auto brightness to return to dim level.
2012-05-23 11:24:38 -07:00
Craig Mautner
53d003f0e7 Merge "Modify auto brightness to return to dim level." into jb-dev 2012-05-23 11:22:04 -07:00
Daniel Sandler
79934c0048 am 81de5a0b: Merge "Stop animating when not showing." into jb-dev
* commit '81de5a0b11df08b603693b6d3b381ac9f89ebc67':
  Stop animating when not showing.
2012-05-23 11:07:42 -07:00
Daniel Sandler
81de5a0b11 Merge "Stop animating when not showing." into jb-dev 2012-05-23 11:05:02 -07:00
Craig Mautner
4d7b752ee9 am 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev
* commit '85aea3664992cd1e16ef4497c3450b26bdef06b0':
  Remove Popup immediately rather than defer it.
2012-05-23 10:52:04 -07:00
Craig Mautner
85aea36649 Merge "Remove Popup immediately rather than defer it." into jb-dev 2012-05-23 10:47:46 -07:00
Craig Mautner
b82d074038 Remove Popup immediately rather than defer it.
Delaying the popup by using removeView instead of removeViewImmediate
caused an error when the removal was actually executed after the parent
window was deleted along with the popup.

Fixes bug 6407801.

Change-Id: Ieb17d58467aaf16e1a24f47187f52766d694ba32
2012-05-23 10:15:09 -07:00
Chris Wren
956beaf956 Leave less space between notificaitons.
Bug: 6507482
Change-Id: I9244fcabe423ec59e1856f5fddcd948ea7b3374d
2012-05-23 11:14:19 -04:00
Marco Nelissen
ec1d16bf72 am 101fb9fe: Merge "Handle _ and % in paths" into jb-dev
* commit '101fb9fe2b5001e8122e2965c115688c1f42bd63':
  Handle _ and % in paths
2012-05-23 07:46:14 -07:00
Marco Nelissen
101fb9fe2b Merge "Handle _ and % in paths" into jb-dev 2012-05-23 07:43:20 -07:00
Daniel Sandler
aa0a3b6923 Stop animating when not showing.
We were eating too many jelly beans even when the screen was
off.

Also clean up touch offsets, rotation on fling, and main
platlogo asset.

Bug: 6541052
Change-Id: I34e49b8b7a95ce6daab929885130426a5ae58dc4
2012-05-23 01:38:26 -04:00
Svetoslav Ganov
f608140b13 am ed82973e: Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev
* commit 'ed82973e616b1cbcab873dfb9c0191e63b34c821':
  Interaction model of KeyboarView should be same as latimIME
2012-05-22 20:32:48 -07:00
Svetoslav Ganov
1eab75b9ba am 321a56c8: Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev
* commit '321a56c8481577f812c2ba0a10df7d43503a9314':
  Clearing accessibility focus of a view did not update the global state.
2012-05-22 20:28:55 -07:00
Svetoslav Ganov
ed82973e61 Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev 2012-05-22 20:28:23 -07:00
Svetoslav Ganov
321a56c848 Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev 2012-05-22 20:26:29 -07:00
Svetoslav Ganov
b6a0b09bf5 Interaction model of KeyboarView should be same as latimIME
1. In latin IME key up types in - now the keyboad view does the same.

bug:6534935

Change-Id: I91cd40c5cd541199f3fb43e4d0bf26be511dcd09
2012-05-22 19:47:02 -07:00
Jeff Sharkey
5640e6a937 am 44fc8d5e: Merge "Add media directory, hidden for now." into jb-dev
* commit '44fc8d5e20a7b202a7916bfa56a2b91c33e605c2':
  Add media directory, hidden for now.
2012-05-22 19:12:39 -07:00
Jeff Sharkey
44fc8d5e20 Merge "Add media directory, hidden for now." into jb-dev 2012-05-22 19:10:32 -07:00
Svetoslav Ganov
c00d00865d Clearing accessibility focus of a view did not update the global state.
1. The code in clear accessibility focus was not updaing the global
   accessibility focus reference in view root if the view not a
   descendant has accessibility focus.

bug:6382856

Change-Id: I0c99578b5afd1f1f5d0df5bba05b0a03b5951a43
2012-05-22 18:43:11 -07:00
Svetoslav Ganov
d52a4f68ea am 64a03875: Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev
* commit '64a03875897afe07b731eaf66969e87362a1a740':
  Perform an action in AccessibilityManagerSerivce using wrong process id.
2012-05-22 18:29:50 -07:00
Svetoslav Ganov
64a0387589 Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev 2012-05-22 18:26:44 -07:00
Dianne Hackborn
7a26eefcc5 am 89604931: Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev
* commit '89604931a85edd82c6b4a8c798fc1af610ba706e':
  Fix issue #6521829: Sometimes action bar disappears in gallery
2012-05-22 18:26:11 -07:00
Jeff Sharkey
d525baa3a8 Add media directory, hidden for now.
Bug: 6539384
Change-Id: I8f3f7b92d27f15e82a43bb2fec02f2d9ed0280e1
2012-05-22 18:25:37 -07:00
Dianne Hackborn
89604931a8 Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev 2012-05-22 18:23:41 -07:00
Jim Miller
8f20814f86 am 23d69f5c: Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev
* commit '23d69f5c5edd8f0308aa83e6eba24b3783e79789':
  Fix 6539117: Fix layout issues on 600dp device.
2012-05-22 18:11:09 -07:00
Svetoslav Ganov
9bf21873c9 Perform an action in AccessibilityManagerSerivce using wrong process id.
1. We are passing the interrogating process id in the remote
   accessibility requests to catch the query from the same
   thread. While all other methods were doing this correctly
   somehow the perform action is using the incorrect process id.

bug:6534935

Change-Id: Icef50833903c562758d51ef316b60c53c7a336c0
2012-05-22 18:08:02 -07:00
Jim Miller
23d69f5c5e Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev 2012-05-22 18:07:08 -07:00
Dianne Hackborn
80d55065b1 Fix issue #6521829: Sometimes action bar disappears in gallery
Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e
2012-05-22 18:03:20 -07:00
Chris Craik
9970bbac1f am 3534e134: Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev
* commit '3534e13486a0081b1229e698f13bd3a37efa3fb0':
  Avoid crash if onDetachedFromWindow called after destroy
2012-05-22 17:22:19 -07:00
Chris Craik
3534e13486 Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev 2012-05-22 17:20:07 -07:00
Dianne Hackborn
ddf573d609 am 2d243bc6: Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev
* commit '2d243bc62a899f7af77886a2a2a82872d63226bb':
  Fix issue #5680541: onStartInputView called upon focus loss
2012-05-22 17:10:31 -07:00
Dianne Hackborn
2d243bc62a Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev 2012-05-22 17:07:50 -07:00
Jim Miller
3d0083b3f8 Fix 6539117: Fix layout issues on 600dp device.
This fixes two issues:
1. The pattern view was shown too low on the device due to shared layout
with 720dp device.
2. The time was showing on top of the transport control view (music playback widget)

Change-Id: Id8a5809f96cfbda7eb55fa91b1bea826d483373a
2012-05-22 17:05:13 -07:00
Craig Mautner
9441a930ff am 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev
* commit '208236dd9600efb125639bf7ca5715fb341ee8d8':
  Pull showStrictModeViolation off of local threads.
2012-05-22 16:56:50 -07:00
Craig Mautner
208236dd96 Merge "Pull showStrictModeViolation off of local threads." into jb-dev 2012-05-22 16:54:09 -07:00
Chris Craik
9e08012869 Avoid crash if onDetachedFromWindow called after destroy
This also removes the temporary logging from commit
f8dafa14e058cdc2f408b59be7911abaceb73c47.

bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
2012-05-22 16:52:00 -07:00
Craig Mautner
196943fb51 Modify auto brightness to return to dim level.
Previous auto brightness policy was to only ratchet screen brightness
up and never return to dim levels until the device was turned off. This
caused the screen to be very bright in dim areas and reduced battery
life. This change allows the screen to dim down over the course of
a minute to the desired brightness level.

Fixes bug 6422464.

Change-Id: I5592c06a495650c6496ec2fc9846d7a10fac4b16
2012-05-22 16:36:12 -07:00