9573 Commits

Author SHA1 Message Date
Svetoslav Ganov
c0a0c7160a am 66a10964: am cc822a76: Merge "Touch exploration gesture end not delivered to clients." into jb-dev
* commit '66a10964b0aa56e07263005e6a41a87ecd2dd2d7':
  Touch exploration gesture end not delivered to clients.
2012-06-03 20:41:23 -07:00
Jeff Brown
42684c567a Merge "Clamp the minimum screen brightness." 2012-06-03 20:38:17 -07:00
Svetoslav Ganov
66a10964b0 am cc822a76: Merge "Touch exploration gesture end not delivered to clients." into jb-dev
* commit 'cc822a769e752c2845dc795f05b7b35b5b3f6614':
  Touch exploration gesture end not delivered to clients.
2012-06-03 20:32:43 -07:00
Svetoslav Ganov
cc822a769e Merge "Touch exploration gesture end not delivered to clients." into jb-dev 2012-06-03 20:30:12 -07:00
Svetoslav Ganov
cd94caf2bb Touch exploration gesture end not delivered to clients.
1. Touch exploration gestures are demarcated by start and end
   events. Due to a bug in the AccessibilityManagerService
   the gesture end event was not dispatched. This caused the
   AccessibilityNodeInfoCache to be off sync since it relies
   on getting such events not to mention that the clients were
   not getting the end but only the start event. The issue
   was that the notified service types variable was not reset
   after every event so when the manager sends the last hover
   exit it flags that the service type is already notified
   resulting in dropping on the floor the following gesture
   end event.

bug:6539306

Change-Id: I2b96bcecea3b2240199d67f01afa6a033afce1de
2012-06-03 19:34:38 -07:00
Svetoslav Ganov
e5b0bc2649 am dafffc35: am 778fa81f: Merge "Fixing a crash in the TouchExplorer." into jb-dev
* commit 'dafffc35023df8b22a1a7c294f79da89199dc4c2':
  Fixing a crash in the TouchExplorer.
2012-06-03 12:45:24 -07:00
Svetoslav Ganov
dafffc3502 am 778fa81f: Merge "Fixing a crash in the TouchExplorer." into jb-dev
* commit '778fa81f5da05dcc45260caa70c97971bdccf8bb':
  Fixing a crash in the TouchExplorer.
2012-06-03 12:40:53 -07:00
Svetoslav Ganov
778fa81f5d Merge "Fixing a crash in the TouchExplorer." into jb-dev 2012-06-03 12:38:57 -07:00
Craig Mautner
4d9d59ab45 am 547be2fc: am da652f6e: Merge "Revert change to correct animations." into jb-dev
* commit '547be2fc329c5d8e3fca38cbf17ee32d0e788ac9':
  Revert change to correct animations.
2012-06-03 01:02:22 -07:00
Craig Mautner
547be2fc32 am da652f6e: Merge "Revert change to correct animations." into jb-dev
* commit 'da652f6e51e5b255019ac020d56e262e477c2a46':
  Revert change to correct animations.
2012-06-03 00:59:17 -07:00
Craig Mautner
da652f6e51 Merge "Revert change to correct animations." into jb-dev 2012-06-03 00:57:23 -07:00
Svetoslav Ganov
ebac1b79c4 Fixing a crash in the TouchExplorer.
1. If the runnable for performing a long press is not
   removed when all pointers are up and it is executed
   the explorer gets into delegating mode with no pointer
   down and the next down crashes the explorer. Added
   code to remove the long press runnable in a few places
   it was missing and also added a safety in the runnable
   to avoid executing it in case there are no active pointers.

bug:6557183

Change-Id: I9dab3de88fd08d8e2b38af18249ac551837c0736
2012-06-02 16:26:59 -07:00
Craig Mautner
3aa7fcac1c Revert change to correct animations.
Incorrect animation was introduced with CL 196207 (perhaps in
combination with a later CL). Reverting part of that CL fixes
the incorrect animation and so far has not reintroduced the jank
that was fixed by that CL. If the jank reappears it should be
fixed in a different fashion than in CL 196207.

Fixes bug 6597505.

Change-Id: Ie8012237a8d49810ede51bd8d78ef8c2fd91ddd4
2012-06-02 15:31:33 -07:00
Craig Mautner
a99b4a1d8d am e184c05b: am d672b241: Merge "Fix power manager issues." into jb-dev
* commit 'e184c05b55335b733662f60acc85706f3fb6b419':
  Fix power manager issues.
2012-06-02 11:29:12 -07:00
Craig Mautner
e184c05b55 am d672b241: Merge "Fix power manager issues." into jb-dev
* commit 'd672b241f6720201e3b8f613363d71e4291b8597':
  Fix power manager issues.
2012-06-02 11:26:07 -07:00
Craig Mautner
d672b241f6 Merge "Fix power manager issues." into jb-dev 2012-06-02 11:24:29 -07:00
Daniel Sandler
0d3619860b am 90c31f8b: am 01827ce9: Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev
* commit '90c31f8b769b3e2f24441754c403cc07ca9e936d':
  Be more discriminating when canceling notifications on changing packages.
2012-06-02 08:20:49 -07:00
Svetoslav Ganov
97018140fe am b6001195: am 6acca244: Merge "Cannot double tap and hold outside of the input focused window." into jb-dev
* commit 'b6001195f38725cf151933a69633ac404949881d':
  Cannot double tap and hold outside of the input focused window.
2012-06-02 08:20:41 -07:00
Jeff Brown
271bc78a2c am 8363fb73: am 40ba4dad: Merge "Add a thread to handle the radio shutdown." into jb-dev
* commit '8363fb73b568d506645602c6489ce955cddde10d':
  Add a thread to handle the radio shutdown.
2012-06-02 08:20:24 -07:00
Dianne Hackborn
84375876fc Work on issue #6579997: Mariner entrance animation
Add a new variation of ActivityOptions that allows you to
supply custom animation resources and get a callback when the
animation starts.

Use this in SearchPanelView to determine when to start hiding
the search panel instead of having a fixed delay.

Fix some issues in the activity manager where we would cancel
the options in cases where we should actually keep them to give
to the window manager for a transition.  (Basically when the
activity being started is not actually ending up launched, but
just results in a shift in the activity stack.)

Note that this is not quite what the design calls for -- the
entire search UI is waiting and then disappearing when the
animation starts, instead of the ring first disappearing while
waiting for the time to fade out the circle.

Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f
2012-06-01 19:13:55 -07:00
Daniel Sandler
90c31f8b76 am 01827ce9: Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev
* commit '01827ce9f2d5f4441c7f7b0211d2739824320daf':
  Be more discriminating when canceling notifications on changing packages.
2012-06-01 19:01:53 -07:00
Svetoslav Ganov
b6001195f3 am 6acca244: Merge "Cannot double tap and hold outside of the input focused window." into jb-dev
* commit '6acca2442572a28b7d9428e5e2fc2aa4271e29f9':
  Cannot double tap and hold outside of the input focused window.
2012-06-01 19:01:40 -07:00
Jeff Brown
8363fb73b5 am 40ba4dad: Merge "Add a thread to handle the radio shutdown." into jb-dev
* commit '40ba4dad4c56b8a7fbae4a93a6e5385993301ad4':
  Add a thread to handle the radio shutdown.
2012-06-01 19:00:49 -07:00
Craig Mautner
d29568cf5f Fix power manager issues.
1. If a new brightness animation is started while an unrelated one is
ongoing complete the old animation immediately. Unrelated means that
the old and new animations apply to different devices (button,
keyboard, or screen).

2. Do not interpret turning off the keyboard or button lights as
turning off the screen in isScreenTurningOffLocked().

Fixes bug 6519847.

Change-Id: I53a20951036bcdb793daeff84a9ebeed44be01fc
2012-06-01 16:02:47 -07:00
Daniel Sandler
01827ce9f2 Merge "Be more discriminating when canceling notifications on changing packages." into jb-dev 2012-06-01 14:31:05 -07:00
Svetoslav Ganov
6acca24425 Merge "Cannot double tap and hold outside of the input focused window." into jb-dev 2012-06-01 14:19:05 -07:00
Svetoslav Ganov
238099c0db Cannot double tap and hold outside of the input focused window.
1. The long press routine was using the coordintates of the
   accessibility focused item in the input focused window.
   As a result double tap and hold did not work in a window
   that does not take input focus such as the system bar.
   Now the routine is using the last touch explored location
   if it cannot find accessibility focus in the last touched
   window.

bug:6584438

Change-Id: Ifd43adb20a066f389a9d4bd5716dd7ad834dd574
2012-06-01 13:59:28 -07:00
Daniel Sandler
26ece57dad Be more discriminating when canceling notifications on changing packages.
Specifically: don't do it if the package is enabled at the
time the PACKAGE_CHANGED broadcast is sent. (We only want to
cancel notifications when packages enter the disabled
state.)

Bug: 6589355
Change-Id: Iba754cef27e2bdff35a13e403a867933c996f562
2012-06-01 16:26:46 -04:00
Jeff Brown
40ba4dad4c Merge "Add a thread to handle the radio shutdown." into jb-dev 2012-06-01 12:47:07 -07:00
Dianne Hackborn
c3d808b3c0 am c3895253: am d53710ce: Merge "Extend process observer to be usable for media routing." into jb-dev
* commit 'c3895253bb833611df8c8f62347ede70153eb5b9':
  Extend process observer to be usable for media routing.
2012-05-31 19:11:26 -07:00
Dianne Hackborn
c3895253bb am d53710ce: Merge "Extend process observer to be usable for media routing." into jb-dev
* commit 'd53710ce644e7f1df417a8fe42ec26233a751b2e':
  Extend process observer to be usable for media routing.
2012-05-31 19:07:03 -07:00
Jeff Brown
f2ba13210e Clamp the minimum screen brightness.
Change-Id: Ief16f2b429f67cfb50877d24281401d7d4fcc4db
2012-05-31 19:00:01 -07:00
Dianne Hackborn
a93c2c117d Extend process observer to be usable for media routing.
It now has a new callback to report changes in the "importance"
of processes.  Rewrote the dispatching code to be a bit more
efficient now that we are sending more reports.

Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
2012-05-31 18:58:34 -07:00
Jeff Brown
b8203719bd Add a thread to handle the radio shutdown.
Protect the ShutdownThread from possible hangs in the telephony,
Bluetooth or NFC stack while turning off the radios.

Bug: 6585958
Change-Id: I6b448c854c5a0efb0eedd90437853ef2571e785b
2012-05-31 18:37:34 -07:00
Dianne Hackborn
d2cf399e5d am ce2907b1: am f0e96de8: Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev
* commit 'ce2907b1b6bf58cae681f1f009e4b308174c9a1e':
  Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
2012-05-31 18:06:07 -07:00
Dianne Hackborn
ce2907b1b6 am f0e96de8: Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev
* commit 'f0e96de863a06bbee2aaf2aeb0f586e2a434aa62':
  Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
2012-05-31 17:41:47 -07:00
Dianne Hackborn
f0e96de863 Merge "Maybe fix #6584979: Unable to launch share chooser activity from a Notification action" into jb-dev 2012-05-31 17:38:42 -07:00
Dianne Hackborn
a3a041d55b Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
Don't count an activity as a system dialog to be closed, if it is the
one that asked to have system dialogs closed.

Change-Id: I60bb194adde78dc3ac0a4d9b0c1dfbabd105e594
2012-05-31 16:18:21 -07:00
Craig Mautner
b138995f6c am 41efed0e: am 35c60c94: Merge "Use Surface layer for Surface operation." into jb-dev
* commit '41efed0ecc07e1d79ee9112c8f64325fbceab44c':
  Use Surface layer for Surface operation.
2012-05-31 15:43:52 -07:00
Craig Mautner
41efed0ecc am 35c60c94: Merge "Use Surface layer for Surface operation." into jb-dev
* commit '35c60c944a9350d6240673e157fe06a97fb24180':
  Use Surface layer for Surface operation.
2012-05-31 15:38:51 -07:00
Craig Mautner
35c60c944a Merge "Use Surface layer for Surface operation." into jb-dev 2012-05-31 15:35:56 -07:00
Craig Mautner
881656831c Use Surface layer for Surface operation.
Previous fix exposed an existing bug where we were using mAnimLayer to
determine the highest Surface layer. This fix uses mSurfaceLayer to set
the layer limits for making the screenshot.

Fixes bug 6586168.

Change-Id: Iaa3b43867aef795ca617ff4b8076428dfc91eaf2
2012-05-31 14:25:31 -07:00
Craig Mautner
225fef5e3e am c3dfaf8d: am a13b4da6: Merge "Fix initial brightness state after startup." into jb-dev
* commit 'c3dfaf8d587d3ea4ffd62377ec6041ad70fc152a':
  Fix initial brightness state after startup.
2012-05-31 13:13:23 -07:00
Craig Mautner
c3dfaf8d58 am a13b4da6: Merge "Fix initial brightness state after startup." into jb-dev
* commit 'a13b4da68d8df0977c8dec5001de7c9ecea71d9e':
  Fix initial brightness state after startup.
2012-05-31 13:09:48 -07:00
Craig Mautner
a13b4da68d Merge "Fix initial brightness state after startup." into jb-dev 2012-05-31 13:07:03 -07:00
Craig Mautner
af01fe0215 Fix initial brightness state after startup.
Setting of mInitialAnimation member was assuming that currentValue
member would only be 0 at boot. It also gets set to 0 when the
sensor goes dark. This fix removes mInitialValue reliance on
currentValue.

Fixes bug 6444319.

Change-Id: I27069f1b44f1f727533d34bbecad2e5aeaa7aab8
2012-05-31 10:03:32 -07:00
John Spurlock
b84814b279 am 60dbc3c0: am e857632a: Merge "Dock: Renable desk-dock apps" into jb-dev
* commit '60dbc3c05c644ae057c4946f1229387e60be8cb3':
  Dock: Renable desk-dock apps
2012-05-31 08:53:10 -07:00
John Spurlock
60dbc3c05c am e857632a: Merge "Dock: Renable desk-dock apps" into jb-dev
* commit 'e857632abd994bd1e4a649afb4231f3a97763828':
  Dock: Renable desk-dock apps
2012-05-31 08:49:24 -07:00
John Spurlock
e857632abd Merge "Dock: Renable desk-dock apps" into jb-dev 2012-05-31 08:44:47 -07:00
Eric Laurent
846890957d am c383b407: am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'c383b407ad24474b87de68f93ea95de495f6d2c1':
  Send device connection intents from AudioService
2012-05-31 08:29:29 -07:00