7238 Commits

Author SHA1 Message Date
Michael Jurka
577ad3f14d am e4046724: am c8179e78: Merge "Improve transition out of recents" into jb-dev
* commit 'e4046724f6de620d0660dec32c70808fb94abc99':
  Improve transition out of recents
2012-05-14 08:37:59 -07:00
Jeff Brown
ac592fb3b6 am a4881637: am 58770232: Merge "Move power HAL interactions to PowerManagerService." into jb-dev
* commit 'a48816375f68a8b4a945efcb68e405308a50adc9':
  Move power HAL interactions to PowerManagerService.
2012-05-14 08:37:26 -07:00
Craig Mautner
cf462d65d2 am ba523324: am ab1c5456: Merge "Keep launcher screen from flashing over lockscreen" into jb-dev
* commit 'ba523324f32ca55221e07e31b2d0699826daa2fe':
  Keep launcher screen from flashing over lockscreen
2012-05-14 08:36:05 -07:00
Jeff Sharkey
d640d0641a am f2fe4cb1: am cd586258: Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev
* commit 'f2fe4cb11b2b93acf1a983e856efe26b6bb79683':
  Enforce READ_EXTERNAL through Settings.Secure.
2012-05-14 08:35:42 -07:00
Jeff Brown
179817387b am f4df93ce: am 2f095760: Rename kcm attribute to keyboardLayout.
* commit 'f4df93cec62861e3f185979612360c27dd80e043':
  Rename kcm attribute to keyboardLayout.
2012-05-14 07:47:52 -07:00
Michael Jurka
e4046724f6 am c8179e78: Merge "Improve transition out of recents" into jb-dev
* commit 'c8179e78052af3d68725e1160214a736f143f8a2':
  Improve transition out of recents
2012-05-12 14:03:56 -07:00
Michael Jurka
c8179e7805 Merge "Improve transition out of recents" into jb-dev 2012-05-12 14:01:43 -07:00
Michael Jurka
d5895a7e8a Improve transition out of recents
- During the transition, fade the bg to black
- Exiting activity fades to black
- Recents background no longer fades away, because
then it would fight against the fade to black
happening behind it
2012-05-12 13:24:58 -07:00
Jeff Brown
a48816375f am 58770232: Merge "Move power HAL interactions to PowerManagerService." into jb-dev
* commit '58770232216cd735afdfd3dd53151070e06de5ce':
  Move power HAL interactions to PowerManagerService.
2012-05-11 19:35:23 -07:00
Jeff Brown
5877023221 Merge "Move power HAL interactions to PowerManagerService." into jb-dev 2012-05-11 19:32:56 -07:00
Jeff Brown
7304c34382 Move power HAL interactions to PowerManagerService.
This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server.  Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
2012-05-11 18:42:42 -07:00
Craig Mautner
ba523324f3 am ab1c5456: Merge "Keep launcher screen from flashing over lockscreen" into jb-dev
* commit 'ab1c5456b789205ef305b19e5a7682b6561aacac':
  Keep launcher screen from flashing over lockscreen
2012-05-11 16:09:31 -07:00
Craig Mautner
ab1c5456b7 Merge "Keep launcher screen from flashing over lockscreen" into jb-dev 2012-05-11 16:07:10 -07:00
Jeff Sharkey
f2fe4cb11b am cd586258: Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev
* commit 'cd5862586ab555b53ffd0a62488843838d1aa94d':
  Enforce READ_EXTERNAL through Settings.Secure.
2012-05-11 15:49:00 -07:00
Jeff Sharkey
cd5862586a Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev 2012-05-11 15:47:01 -07:00
Jeff Sharkey
f53857716a Enforce READ_EXTERNAL through Settings.Secure.
Always defers to user-defined setting, when present.

Bug: 6389556
Change-Id: I079d2a41b772facfdac74eefc4c8072fc9284f97
2012-05-11 15:31:39 -07:00
Robert Greenwalt
68ea9b08ef Add logging for Tethering.
Hard to repro bug doesn't have enough info in the logs to understand.

bug:6469121
Change-Id: I31734f4e891e9b23197f2d5adb931e3891393cdd
2012-05-11 13:57:32 -07:00
Jeff Brown
f4df93cec6 am 2f095760: Rename kcm attribute to keyboardLayout.
* commit '2f0957607411b99810226ad38d59cf18718b86d0':
  Rename kcm attribute to keyboardLayout.
2012-05-11 12:59:32 -07:00
Jeff Brown
2f09576074 Rename kcm attribute to keyboardLayout.
Bug: 6478076
Change-Id: I7fc0d8eb36d03a628d070f8fd6ea1e1464b1a163
2012-05-11 12:32:56 -07:00
Craig Mautner
35d0e1d11c Keep launcher screen from flashing over lockscreen
Extend the force hide period to include the animation.

Fixes bug b6471929.

Change-Id: I91daf9dc678723be4c69913aa5a3aa0e265d103e
2012-05-11 11:50:58 -07:00
Svetoslav Ganov
3ec2e1b94a Remove activation gestures form reported and add a touch explore requesting flag.
1. Delegating activation gestures has several issues that we should
   decide how to handle if possible before allowing an accessibility
   service to take over them:

   A) It is needed that every view than can be clicked or long pressed on
      reacts to such as a response to calling performClick and performLongPress
      which is not necessary true since the view may watch the touch
      events and do its own click long click detection. As a result it may
      be possible that there are view a user cannot interact with in
      touch exploration mode but can if not in that mode.

   B) Clicking or long pressing on a different location in a view may yield
      different results, for example NumberPicker. Ideally such views have
      to implement AccessibilityNodeProvide which provider handles correctly
      the request for click long press on virtual nodes. Some apps however
      just fire different hover accessibility events when the user is over
      a specific semantic portion of the view but do not provide virtual
      nodes. Hence, a user will not be able to interact with such semantic
      regions but the system can achieve that by sending the click/long click
      at the precise location in the view that was last touch explored.

2. Adding a flag on accessibility service info to request explore by touch
   mode. There is no need to put the device in this mode if node of the currently
   enabled accessibility services supports it. Now the problem is inverted and
   the service has to explicitly state its capability.

3. Fixing a bug where includeImportantViews was ignored for automation
   services.

Change-Id: I3b29a19f24ab5e26ee29f974bbac2197614c9e2a

Conflicts:

	api/current.txt
2012-05-10 12:57:46 -07:00
Svetoslav Ganov
86ba4aaa71 am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.
* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
  Adding scroll actions to accessibility node info.
2012-05-10 12:43:12 -07:00
Svetoslav Ganov
37fd797699 am a1dc761c: Adding scroll actions to accessibility node info.
* commit 'a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f':
  Adding scroll actions to accessibility node info.
2012-05-10 12:39:55 -07:00
Svetoslav Ganov
a1dc761c83 Adding scroll actions to accessibility node info.
1. Scrolling actions are crucial for enabling a gesture based
   traversal of the UI and specifically scrollable containers
   especially lists and anything backed by an adapter. Since
   accessibility focus can land only attached views, it cannot
   visit views for adapter items not shown on the screen.
   Auto scrolling the list as a result of putting access focus
   ot a list item does not work well since the user may get
   trapped in a long list. Adding an accessibility node provider
   to emit virtual views for one view before the first and one
   after the last is complex and suffers the limitation of trapping
   the user. Accessibility service need an explicit scroll actions
   which may be performed upon an explicit user action. Hence,
   the user is informed for the start/end of the visible part of
   the list and he makes a deliberate choice to scroll. This will
   benefit also people developing Braille devices since they can
   scroll the content without telling the user to stop using the
   Braille controller and take the device out of his pocket to scroll
   and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
    hard to access since users will have to touch and explore to
    find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
2012-05-10 12:28:04 -07:00
Craig Mautner
a515097d2c am 3c52b43f: am 4fe5ebcc: Merge "Update DimAnimator layer when its window changes." into jb-dev
* commit '3c52b43f4f3b3ed0302a1a194e9d3e8b07a78e1a':
  Update DimAnimator layer when its window changes.
2012-05-10 11:58:15 -07:00
Mike Lockwood
402cc125a2 am 378d05a9: am b86bc105: Merge "UsbService: Fix problem detecting audio accessory mode when connected at boot" into jb-dev
* commit '378d05a9182a2011f1d387b5597d83c415383757':
  UsbService: Fix problem detecting audio accessory mode when connected at boot
2012-05-10 11:58:03 -07:00
Chet Haase
cc52dc688f am b43c85fe: am 6b16286f: Merge "Notify windows when window animations complete" into jb-dev
* commit 'b43c85fef1d03e4237fd67b3de7ae83ca9328e02':
  Notify windows when window animations complete
2012-05-10 11:57:51 -07:00
Jeff Sharkey
6474dc987a am 0af3e957: am ca90d6da: Merge "Avoid updating thresholds during shutdown." into jb-dev
* commit '0af3e95717a659c578a89570ae3225ff49ddfce5':
  Avoid updating thresholds during shutdown.
2012-05-10 11:57:36 -07:00
Michael Jurka
e5c511a1cc am bf1b5fa9: am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit 'bf1b5fa944158044a595706924b935b5577ec0f0':
  Making transition out of recents look better
2012-05-10 11:57:33 -07:00
Daniel Sandler
cb1830cf96 am 5a062e61: am a25079e6: Show the ADB icon in the status bar again.
* commit '5a062e6107973dad91a2747c8782b7aa893ce6ac':
  Show the ADB icon in the status bar again.
2012-05-10 11:39:25 -07:00
Kenny Root
84a8f2bc66 am c4cbbb13: am 8c3906d9: Merge "Use the right flag types when creating InstallArgs" into jb-dev
* commit 'c4cbbb131ff419100a4901a856edf3469efef74b':
  Use the right flag types when creating InstallArgs
2012-05-10 11:39:03 -07:00
Dianne Hackborn
169c3d4dd7 am 7ab16751: am 2c2864f6: Merge "Add new API to find total RAM." into jb-dev
* commit '7ab1675111954814ebaa32dd82084929df1b390e':
  Add new API to find total RAM.
2012-05-10 11:38:56 -07:00
Craig Mautner
13a0dfefdc am e6499097: am b4ffa66d: Merge "Fix wallpaper glitch and moving window animation." into jb-dev
* commit 'e64990972713c7df02e20c167985b02d1a845cbd':
  Fix wallpaper glitch and moving window animation.
2012-05-10 11:38:46 -07:00
Dianne Hackborn
ba83ac0093 am e6f6cd69: am 78fd4a14: Merge "Remove auto-brightness adjustment knob." into jb-dev
* commit 'e6f6cd69ff683ec6663bf004a08edcaa456c7ea5':
  Remove auto-brightness adjustment knob.
2012-05-10 11:38:42 -07:00
Craig Mautner
3c52b43f4f am 4fe5ebcc: Merge "Update DimAnimator layer when its window changes." into jb-dev
* commit '4fe5ebcc962ad7edb205bf988dd463854dea1044':
  Update DimAnimator layer when its window changes.
2012-05-10 11:35:10 -07:00
Craig Mautner
4fe5ebcc96 Merge "Update DimAnimator layer when its window changes." into jb-dev 2012-05-10 11:30:53 -07:00
Mike Lockwood
378d05a918 am b86bc105: Merge "UsbService: Fix problem detecting audio accessory mode when connected at boot" into jb-dev
* commit 'b86bc1058b8b9bce045ae94f7cd703d4bfecccb3':
  UsbService: Fix problem detecting audio accessory mode when connected at boot
2012-05-10 11:04:28 -07:00
Mike Lockwood
b86bc1058b Merge "UsbService: Fix problem detecting audio accessory mode when connected at boot" into jb-dev 2012-05-10 11:02:20 -07:00
Chet Haase
b43c85fef1 am 6b16286f: Merge "Notify windows when window animations complete" into jb-dev
* commit '6b16286f653f9f8a1c17a8dffebbe6cee4e5afca':
  Notify windows when window animations complete
2012-05-10 10:52:54 -07:00
Chet Haase
6b16286f65 Merge "Notify windows when window animations complete" into jb-dev 2012-05-10 10:50:29 -07:00
Jeff Sharkey
0af3e95717 am ca90d6da: Merge "Avoid updating thresholds during shutdown." into jb-dev
* commit 'ca90d6dad572c6aaad3b0a314df200d1762c23af':
  Avoid updating thresholds during shutdown.
2012-05-10 10:45:32 -07:00
Michael Jurka
bf1b5fa944 am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit '421dceb0a4fd8f20349a0de277f82b56e71cb90b':
  Making transition out of recents look better
2012-05-10 10:45:30 -07:00
Craig Mautner
acafd19c5e Update DimAnimator layer when its window changes.
Prior to this fix once dimming had been turned on it stayed at the
same layer and associated with the same window until it was turned
off. Now the DimAnimator layer is updated if either the window layer
changes or the dimming window changes.

Fixes bug 6467865.

Change-Id: I3e1765b92b51be26e3718c8a87e2583041a36af9
2012-05-10 10:41:02 -07:00
Jeff Sharkey
ca90d6dad5 Merge "Avoid updating thresholds during shutdown." into jb-dev 2012-05-10 10:35:45 -07:00
Michael Jurka
421dceb0a4 Merge "Making transition out of recents look better" into jb-dev 2012-05-10 10:35:19 -07:00
Mike Lockwood
bf91046872 UsbService: Fix problem detecting audio accessory mode when connected at boot
Change-Id: Ie0e23b8ec88f1dd29bb956bc1d21c241f3545059
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-05-10 10:09:12 -07:00
Chet Haase
198e564c9a Notify windows when window animations complete
Drawing in windows is suppressed during window animations, to make window
animations smoother. This means that drawing activities that the activity
requested are dropped on the floor. There is no call at the end of window
animations to tell the windows that they may now draw, which leaves the windows
and activities in an uncertain state, especially with respect to some of the
dirty flags that we use internally to know when we have requested (and satisfied)
invalidations on views.

The fix is to notice, on the WindowManager side, when we've finished window
animations and to schedule a traversal on the WindowManager, which will then send
out appropriate messages to the affected windows.

Issue #6461113 EventInfo is stuck in day view

Change-Id: I364c9c472531c467d44801698cfb453970173bb3
2012-05-10 09:55:15 -07:00
Daniel Sandler
5a062e6107 am a25079e6: Show the ADB icon in the status bar again.
* commit 'a25079e6bafcfd77135a852f0e838738d80606ef':
  Show the ADB icon in the status bar again.
2012-05-10 09:26:44 -07:00
Kenny Root
c4cbbb131f am 8c3906d9: Merge "Use the right flag types when creating InstallArgs" into jb-dev
* commit '8c3906d920f55ec0d42252ef8f460e6066b1d4b6':
  Use the right flag types when creating InstallArgs
2012-05-10 09:26:13 -07:00
Dianne Hackborn
7ab1675111 am 2c2864f6: Merge "Add new API to find total RAM." into jb-dev
* commit '2c2864f65c5cec6aebcb1b5612331f3946893042':
  Add new API to find total RAM.
2012-05-10 09:26:09 -07:00