9686 Commits

Author SHA1 Message Date
Svetoslav Ganov
cab5b8a91d Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev 2012-06-05 15:55:42 -07:00
Svetoslav Ganov
e47957a0bb Nodes with contentDescription should always be important for accessibility.
1. Now after setting the content description on a view we mark is as
   important for accessibility of the current important for accessibility
   mode of that view is auto.

2. Minor tweak to a touch explorer coefficient to make performing double
   tapping easier.

bug:6615353

Change-Id: I3b477f533a3ebde85d425caf32ace5e851240f88
2012-06-05 14:48:58 -07:00
Craig Mautner
221354f8e7 am 35b691f0: Merge "Eliminate wallpaper exposure during transition." into jb-dev
* commit '35b691f056159e938a256420f6d3dec1ebf8bfd9':
  Eliminate wallpaper exposure during transition.
2012-06-05 13:43:29 -07:00
Craig Mautner
35b691f056 Merge "Eliminate wallpaper exposure during transition." into jb-dev 2012-06-05 13:40:14 -07:00
Craig Mautner
ad5725d798 Eliminate wallpaper exposure during transition.
Make sure that the wallpaper target exists and is visible before
exposing the wallpaper.

Fixes bug 6570335.

Change-Id: I1dddfe26683e84fd813e7bee884ba2bd4bb85272
2012-06-05 10:20:56 -07:00
Svetoslav Ganov
e56f9633d8 am ccf97dc1: Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev
* commit 'ccf97dc1afc1b0f99ced0b5324e383edd5ee8246':
  Global accessibility action to open recent apps shows the old dialog style.
2012-06-04 23:09:40 -07:00
Svetoslav Ganov
ccf97dc1af Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev 2012-06-04 23:06:42 -07:00
Irfan Sheriff
e7884dbb55 am 5751f816: Merge "Add contentobserver for nsd_on setting" into jb-dev
* commit '5751f816f06454ea48bc25f56051878e0ce82dc1':
  Add contentobserver for nsd_on setting
2012-06-04 22:55:21 -07:00
Irfan Sheriff
5751f816f0 Merge "Add contentobserver for nsd_on setting" into jb-dev 2012-06-04 22:53:00 -07:00
Irfan Sheriff
919aca5663 Add contentobserver for nsd_on setting
Bug: 6606274
Change-Id: I863b9e2a2446d697f3c9c49f24dcdc2b599f091e
2012-06-04 15:54:30 -07:00
Daniel Sandler
04b2a978a5 am ab886f58: Don\'t do closing animation on an opening app.
* commit 'ab886f588d4086214e66eed548ea3edd77f8d2ba':
  Don't do closing animation on an opening app.
2012-06-04 14:09:36 -07:00
Svetoslav Ganov
c682fc965d Global accessibility action to open recent apps shows the old dialog style.
1. The global action to open recent apps shows the old dialog style rent apps
   panel. Apparently the key code to open recent apps is not opening the new
   UI so the AccessibilityManagerService is calling directly the method on
   the IStatusBarSerivce to do so.

bug:6607664

Change-Id: I94c1963b07947776bf1c2448903b26f3603f9a59
2012-06-04 14:06:45 -07:00
Daniel Sandler
ab886f588d Don't do closing animation on an opening app.
Check to make sure that the closing wallpaper animation isn't used on
an opening app token. This can happen when a previous animation hasn't
completed when the next animation is starting.

Fixes bug 6557751.

Change-Id: Ib8bd4dd7de1e361f6fc0cab11d0997e70f9ddd0b
2012-06-04 13:57:49 -07:00
Dianne Hackborn
5a70063f7e am 6593be0c: Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev
* commit '6593be0c200f69d932e40e05e9df54b89c157c48':
  Work on issue #6579997: Mariner entrance animation
2012-06-04 10:34:24 -07:00
Dianne Hackborn
6593be0c20 Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev 2012-06-04 10:29:32 -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
jaiyoung.park
15415f57a3 Fix dumpPowerState method
dumpPowerState method shows the current power manger service state but,
BUTTON_BRIGHT_BIT is omitted.

Add a routine of checking BUTTON_BRIGHT_BIT
Signed-off-by: jaiyoung.park <jaiyoung.park@lge.com>

Change-Id: I00484fb384963bafdc58ce89b3251a1f5585d992
2012-06-04 09:33:54 +09: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
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
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
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
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
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
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
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
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
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