75667 Commits

Author SHA1 Message Date
Jamie Gennis
b40696cc21 Surface: add JNI plumbing for setActiveRect.
Bug: 6299171
Change-Id: If26e63ebe7def645626af251bed899ff9389f8e5
2012-04-30 15:35:37 -07:00
Jamie Gennis
459e459ef9 Merge "TextureView: don't call onSTAvailable due to setST" into jb-dev 2012-04-30 15:29:33 -07:00
Eric Fischer
6113ce3be4 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:48:35 -07:00
Adam Cohen
a2c37665d9 Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev 2012-04-30 14:42:23 -07:00
Eric Fischer
e572fb10d0 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:40:42 -07:00
Dianne Hackborn
1e945c4fda Merge "Add system insets to windows." into jb-dev 2012-04-30 14:04:36 -07:00
Robert Greenwalt
5f610b7359 Merge "Fix data roaming notification." into jb-dev 2012-04-30 13:55:43 -07:00
Jamie Gennis
8a34d6800e TextureView: don't call onSTAvailable due to setST
This change makes TextureView skip calling the onSurfaceTextureAvailable
callback when setSurfaceTexture is used to change the TextureView's
SurfaceTexture.

Change-Id: Ie08f72f157c3bfce3215076b21994026ef66d88d
2012-04-30 13:54:38 -07:00
John Reck
9e2b578fff Merge "never attach null functor" into jb-dev 2012-04-30 13:37:05 -07:00
Svetoslav Ganov
8e01ee57c3 Merge "Removing action arguments checks." into jb-dev 2012-04-30 13:30:13 -07:00
Adam Cohen
c88d11f949 Pushing widget resize callback responsibility to AppWidgetHost
Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
2012-04-30 13:25:59 -07:00
Chris Craik
1266692b30 never attach null functor
bug:6412902

Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
2012-04-30 13:15:55 -07:00
Eric Fischer
7e69d2a989 Import translations. DO NOT MERGE
Change-Id: I6296e47e9d38e51ec634f8595ff2bfc782f40c8a
2012-04-30 12:48:16 -07:00
Dave Burke
f1790eb595 Merge "Added support for HE-AAC recording." into jb-dev 2012-04-30 12:45:49 -07:00
Svetoslav Ganov
2f87014ea2 Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev 2012-04-30 12:41:15 -07:00
Svetoslav Ganov
0e8fd5eddb Merge "Populating accessibility node info with supported actions." into jb-dev 2012-04-30 12:40:49 -07:00
Svetoslav Ganov
9cb3e96af9 Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev 2012-04-30 12:40:04 -07:00
Svetoslav Ganov
10890607f8 Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev 2012-04-30 12:39:25 -07:00
Svetoslav Ganov
18dcf2f1cd Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev 2012-04-30 12:38:06 -07:00
Eric Fischer
14ff8c0084 Import translations. DO NOT MERGE
Change-Id: Icc783beaa23278f07fc5fed64b7631c1d088208c
2012-04-30 12:31:45 -07:00
Svetoslav Ganov
07b726c86b Enabling accessibility focus only if explore by touch is on.
1. Now we will enable the accessibility focus only if Explore by
   Touch is enabled. Enabling this feature allows a blind user to
   touch the screen and set the accessibility focus at this
   location as well as get spoken feedback. Also an accessibility
   service can move the accessibility as a result of user gestures
   detected only if Explore by Touch is enabled. Since we will
   handle some gestures by default if not accessibility service
   does so to provide reasonable built-in navigation of the UI
   by "objects" we need the accessibility focus functionality.

bug:6383361

Change-Id: I13ce6072a90f5838c7656379788144c99a772bf0
2012-04-30 12:25:31 -07:00
Dianne Hackborn
5c58de3a52 Add system insets to windows.
This will be used to determine which parts of a window a completely
hidden by system UI elements (status bar, nav bar, system bar) so
that they can be clipped out from rendering.

Change-Id: I2c6c6ac67dbdfeed82d2c089ef806fb483165bd9
2012-04-30 12:11:43 -07:00
Svetoslav Ganov
c85015cd04 CheckedTextView should be reported to accessibility as checkable.
bug:6219528

Change-Id: I7b57f69c29f20c8a9466c56226407b51b9bf3b3a
2012-04-30 11:37:50 -07:00
John Reck
3ea8761974 Merge "Fix crash in setNewPicture" into jb-dev 2012-04-30 11:31:27 -07:00
Svetoslav Ganov
afe8cf2623 Removing action arguments checks.
1. The checks for action arguments are not needed since they
   may cause trouble for developers if we add more args to
   an action.

bug:6414006

Change-Id: Ia4212b52be183b1ef1cfd2561ce618cef2b015e4
2012-04-30 11:29:58 -07:00
Chris Craik
02d7e489b2 Merge "check for null ViewRootImpl" into jb-dev 2012-04-30 11:27:35 -07:00
Daniel Sandler
c40db82a12 Fix build
Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
2012-04-30 14:24:01 -04:00
Chris Craik
a59558f476 check for null ViewRootImpl
bug:6412902
Change-Id: I36b5ee48fb94ed0f8222f9ec41ee9fc3730ceed0
2012-04-30 11:06:46 -07:00
Robert Greenwalt
4dafaf117e Fix data roaming notification.
We shouldn't tell people we're not connected due to roaming if it's really because
of data-disabled.

Use the data-disabled setting to decide if we should inform people about
data-discon due to roaming.  Note this doesn't effect other notifications about roaming.

Also fix the data-enable/disable code to take roaming into account and clear/set the
roaming notification as needed (if data is enabled while we can't get on due to roaming
we should put up the roaming notifcation..  if data is disabled while that notification is
up we should take it down).

bug:5805666
Change-Id: I5c925dfdca4abc27e0034b113508df5719f04fae
2012-04-30 10:59:56 -07:00
Daniel Sandler
5599b9fc2a Merge changes Ie09b6222,I90a0ac21 into jb-dev
* changes:
  Fix a longstanding bug in the shade pulldown trajectory.
  All Status in a Window.
2012-04-30 10:54:46 -07:00
John Reck
579f4e93fb Fix crash in setNewPicture
Bug: 6412902

Change-Id: I65d8f65839c6e84440cb9d0393c35a8c488c9781
2012-04-30 10:50:04 -07:00
Michael Jurka
d6be37d4d9 Merge "Don't show a blue glow when swiping recents" into jb-dev 2012-04-30 10:28:21 -07:00
Dave Burke
ec3f31f621 Added support for HE-AAC recording.
Not unhiding HE-AACv2 since that requires stereo mics.

Bug: 6275957

Change-Id: I953a6d21e615c8fd23f9390e3c86d63089f5fb75
2012-04-30 09:24:01 -07:00
Daniel Sandler
1fac1fdd79 Fix a longstanding bug in the shade pulldown trajectory.
Two parts to this:

1. We were looking at the measured height of the close view
   for a lot of our computations, which---particularly with
   recent changes that dispense with the old 3-window
   implementation---is increasingly unreliable

2. We were overestimating the minY that the panel must be
   pulled down before animation starts. It was enforced
   jankiness!

Bug: 5359178
Change-Id: Ie09b62226b7b0977527348b5527478665ece1df8
2012-04-30 12:13:37 -04:00
Daniel Sandler
a310af88be All Status in a Window.
Bug: 5907042 (jank on pulldown)
Bug: 6347684 (hardware acceleration)
Change-Id: I90a0ac21db493cccf6913cbc271a21a130276991
2012-04-30 12:12:39 -04:00
Svetoslav Ganov
cfcff98ab3 Populating accessibility node info with supported actions.
1. The system does not allow performing an accessibility action
   on an accessibility node info unless it explicitly states it
   supports that action. Adding the new accessibility actions
   to the info emitted by a view.

bug:6407647

Change-Id: I8dad1dc60ec68b4da5ed2349a1366a88820175a1
2012-04-28 15:31:15 -07:00
Svetoslav Ganov
d7910dd42a Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent
1. There was a double call to recycle of a pooled instance
   which was causing an exception. Removed an unnecessary call.

bug:6408689

Change-Id: Ic74b743c6be28ca95ab84b15f28edb5bc95f0a88
2012-04-28 15:23:51 -07:00
Svetoslav Ganov
1d74df2266 Fixing crash when drawing accessibility focus indicator.
1. Added a lacking null check for the accessibility node
   info returned by an accessibility node provider. If
   the provider implementation is not correct this may
   happen.

2. Added clearing of the current accessibility focused
   node when the window focus changes. Now it is cleared
   in every case and if it happens that accessibility is
   enabled when the window gets focus, the accessibility
   focus will be properly set.

bug:6381296

Change-Id: Ieea1b07762745e6d932fc4ed4febfe77760b25b7
2012-04-28 15:14:30 -07:00
Mike Lockwood
427db9b3d1 Merge "UsbService: Add support for accessory initiating USB audio support" into jb-dev 2012-04-28 12:00:02 -07:00
Irfan Sheriff
83a708e6ad Merge "Handle null SSID cleanly" into jb-dev 2012-04-28 10:51:34 -07:00
Irfan Sheriff
00a10a1494 Handle null SSID cleanly
Bug: 6411912
Change-Id: I12f9df403c9633d928d898ae675ce36303dda1a8
2012-04-27 21:24:17 -07:00
John Reck
47f88d6b52 Merge "Revert "add null check on ViewRootImpl"" into jb-dev 2012-04-27 18:05:39 -07:00
John Reck
7658e53073 Revert "add null check on ViewRootImpl"
This reverts commit 67a1c8e3d5a88f776f09b6e61410ebcd5615a46b
2012-04-27 18:04:14 -07:00
James Dong
6d6f233a62 Merge "Unhide APIs for timed text and multiple audio track switch APIs" into jb-dev 2012-04-27 17:49:28 -07:00
John Reck
04144a8b34 Merge "add null check on ViewRootImpl" into jb-dev 2012-04-27 17:47:10 -07:00
Dianne Hackborn
79c6346100 Merge "When a window is first shown only draw once while animating." into jb-dev 2012-04-27 17:42:48 -07:00
Michael Jurka
890c9fe026 Don't show a blue glow when swiping recents
Bug: 5908113
2012-04-27 17:37:54 -07:00
Jeff Brown
a36b7ab046 Merge "Work around build break in layoutlib." into jb-dev 2012-04-27 17:31:56 -07:00
Jeff Brown
ffd6ea4523 Merge "Resample touch events on frame boundaries." into jb-dev 2012-04-27 17:31:50 -07:00
Jeff Brown
96ff709fe2 Work around build break in layoutlib.
Bug: 6413563
Change-Id: Ia7101fba87f3784fd8159c75e4289f642913d099
2012-04-27 17:18:06 -07:00