87474 Commits

Author SHA1 Message Date
alanv
df313699ba Fix WebView accessibility scripts.
Ensures A11y APIs are added to WebView before page loads. Prevents calls
to TTS before init and after shutdown. Ensures calls to TTS are thread-
safe. Activates and deactivates feedback from AndroidVox when view is
attached and detached. Adds a flag for logging debug output, as well as
a lot of debug output.

Bug: 7326781
Change-Id: I5d4ab7f9fb1669f98ef05ae207e897565d3086c9
2012-10-10 17:09:11 -07:00
Fabrice Di Meglio
2918ab6c32 Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
- rename to LayoutParams.resolveLayoutDirection(int)
- upate 17.txt too

Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
2012-10-10 16:47:51 -07:00
Chet Haase
c61d70ec46 Cache wallpaper bitmap to avoid re-loading on rotation
Screen rotations force static wallpapers to get recreated. One of the things
that happens is that the underlying bitmap resource is loaded. This can be quite
expensive for large bitmaps (which is the case on large-display devices).
A simple optimization is to retain the bitmap in the wallpaper process, to avoid
this re-loading step. We still re-draw and re-upload the texture, but at least
we don't re-load the thing.

Issue #7324823 Manta wallpaper decode performance is atrocious

Change-Id: I0748e275a55992d13704a7dec5910d2dbdc9e2a4
2012-10-10 16:33:31 -07:00
Jean-Michel Trivi
7e466e894a am bcfc1ca8: Merge "Don\'t play notifications during speech recognition" into jb-mr1-dev
* commit 'bcfc1ca8ab8bf057e20d9369af3d007d80ca83e4':
  Don't play notifications during speech recognition
2012-10-10 16:33:15 -07:00
Adam Powell
cd4802776d am fb901079: Merge "Fix MediaRouter prioritization around a2dp devices" into jb-mr1-dev
* commit 'fb9010798d9352fd4f9413f882ffd214d69610b5':
  Fix MediaRouter prioritization around a2dp devices
2012-10-10 16:31:33 -07:00
Brian Colonna
4d7576254f am 6b17799b: Merge "Suppressing FUL after user switch (fix b/7316467)" into jb-mr1-dev
* commit '6b17799b253dad55dc3df7929342d7effa3137ea':
  Suppressing FUL after user switch (fix b/7316467)
2012-10-10 16:31:29 -07:00
Jean-Michel Trivi
bcfc1ca8ab Merge "Don't play notifications during speech recognition" into jb-mr1-dev 2012-10-10 16:30:56 -07:00
Jeff Sharkey
89be4267d0 am 03bd101b: Merge "Move lockscreen to using haptic feedback setting." into jb-mr1-dev
* commit '03bd101b887d9741230ac6a7d296d90436020b8c':
  Move lockscreen to using haptic feedback setting.
2012-10-10 16:29:39 -07:00
Adam Powell
fb9010798d Merge "Fix MediaRouter prioritization around a2dp devices" into jb-mr1-dev 2012-10-10 16:28:29 -07:00
Brian Colonna
6b17799b25 Merge "Suppressing FUL after user switch (fix b/7316467)" into jb-mr1-dev 2012-10-10 16:28:29 -07:00
Jeff Sharkey
03bd101b88 Merge "Move lockscreen to using haptic feedback setting." into jb-mr1-dev 2012-10-10 16:26:49 -07:00
Katie McCormick
ed6059a292 am 1dbce5f1: am 05ab277c: am fa4865f6: resolved conflicts for merge of 0b479e43 to jb-dev
* commit '1dbce5f1e55bdc61a767cd82b59a3919a4683b5e':
  Doc changes: misc GCM updates.
2012-10-10 16:12:06 -07:00
Katie McCormick
1dbce5f1e5 am 05ab277c: am fa4865f6: resolved conflicts for merge of 0b479e43 to jb-dev
* commit '05ab277c21731ab11333c56d7d2266b9b1c4d46d':
  Doc changes: misc GCM updates.
2012-10-10 16:09:41 -07:00
Jeff Sharkey
5ed9d68040 Move lockscreen to using haptic feedback setting.
This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
2012-10-10 16:08:47 -07:00
Katie McCormick
05ab277c21 am fa4865f6: resolved conflicts for merge of 0b479e43 to jb-dev
* commit 'fa4865f680cc151ff051b7a82fb0e94145d70377':
  Doc changes: misc GCM updates.
2012-10-10 16:06:19 -07:00
Romain Guy
41d35aef06 Allow 9patches to shrink
Bug #7307304

Change-Id: I1fabf6df99c18c86ab1ec0e1e398a3d6d4098496
2012-10-10 16:06:04 -07:00
Craig Mautner
82314aeb55 am 0a75ed08: Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev
* commit '0a75ed0805dd7f97ff058623eb8e4f4b258c44ab':
  Revert "Remove debugging statements before final ROM."
2012-10-10 15:42:09 -07:00
Adam Powell
3f369684e1 Fix MediaRouter prioritization around a2dp devices
Most recently connected audio output gets priority. Wifi display will
dominate over everything.

Bug 7324334

Change-Id: I29b59570a2e9b5352be436dc5b7a0a6861dfae6b
2012-10-10 15:39:59 -07:00
Craig Mautner
0a75ed0805 Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev 2012-10-10 15:38:58 -07:00
Svetoslav Ganov
cafd061ae7 am f864401c: Merge changes I00665385,Ic76db232 into jb-mr1-dev
* commit 'f864401cfa1fdf863003f9d2d624fd742f7b5f4b':
  Send accessibility notification events only for the current user.
  No sound produced on global actions dialog pops up if no vibrator is present.
2012-10-10 15:38:57 -07:00
Svetoslav Ganov
f864401cfa Merge changes I00665385,Ic76db232 into jb-mr1-dev
* changes:
  Send accessibility notification events only for the current user.
  No sound produced on global actions dialog pops up if no vibrator is present.
2012-10-10 15:36:30 -07:00
Chris Craik
63b57ef1f6 am c1940167: Merge "Use the original caller pid for computing visibility" into jb-mr1-dev
* commit 'c1940167109098b5748cde025e49575c6515e490':
  Use the original caller pid for computing visibility
2012-10-10 15:14:04 -07:00
Chris Craik
c194016710 Merge "Use the original caller pid for computing visibility" into jb-mr1-dev 2012-10-10 15:11:24 -07:00
Svetoslav Ganov
3c409d5bfa am 33ee2900: Merge "Update to accessibility toggle message." into jb-mr1-dev
* commit '33ee29000f4411265d975b5910ed94a5e0f10edf':
  Update to accessibility toggle message.
2012-10-10 15:05:29 -07:00
Svetoslav Ganov
33ee29000f Merge "Update to accessibility toggle message." into jb-mr1-dev 2012-10-10 15:02:44 -07:00
Fabrice Di Meglio
ee65e1d356 am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit '7573b1ee8997709eae23f5b3bdee849de7380e34':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-10 15:00:05 -07:00
Svetoslav Ganov
c31ed39e7a Send accessibility notification events only for the current user.
1. The notification manager service is firing accessibility events
   for notification for a background user. Events for the current
   user's notifications should be sent.

bug:7326302

Change-Id: I00665385ba2106f161928dad1b76536c93c17f27
2012-10-10 14:58:33 -07:00
Fabrice Di Meglio
7573b1ee89 Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev 2012-10-10 14:57:08 -07:00
Chris Craik
3198ef3f97 Use the original caller pid for computing visibility
bug:7325771

Make Strict mode violations flicker the screen for visible app correctly.

Change-Id: I293dc9e945cb0366a1cd7b63a5b746159aab7c74
2012-10-10 14:52:30 -07:00
Jeff Sharkey
21973701af am 0dd0b144: Merge "Include all accounts in dumpsys." into jb-mr1-dev
* commit '0dd0b1447c28f095265c6c108ccb7cdb4f87832c':
  Include all accounts in dumpsys.
2012-10-10 14:32:00 -07:00
Jeff Sharkey
0dd0b1447c Merge "Include all accounts in dumpsys." into jb-mr1-dev 2012-10-10 14:29:32 -07:00
Tim Murray
2a603897c6 Add DAG validation for ScriptGroups.
bug 7318821

Change-Id: If13cfe7a9f214ab253236bd52dd96df7b07aa14e
2012-10-10 14:21:46 -07:00
Fabrice Di Meglio
fbc21e126f Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
- fix LayoutParams resolution for LinearLayout only
- apply onResolveLayoutDirection() in both measureHorizontal() and
measureVertical()

Change-Id: I5fcded9a79cd9aaeb0e12da7fd14176b71ba2fb6
2012-10-10 14:19:12 -07:00
Svetoslav Ganov
743c0eb6c0 am 9ea6343f: Merge "The active window for accessibility purposes can be miscomputed." into jb-mr1-dev
* commit '9ea6343fa4dc6c0e2144880594fa7a80f94c31f3':
  The active window for accessibility purposes can be miscomputed.
2012-10-10 14:18:12 -07:00
Svetoslav Ganov
96179213ba No sound produced on global actions dialog pops up if no vibrator is present.
1. If the global gesture to enable accessibility is enabled there should
   be a haptic or auditory feedback after the global actions dialog pops up
   as a result of a long press on power. On devices with no vibrator an
   attempt to vibrate was performed evne if not hardware support exists
   As a result no sound was played because the it was assumed a haptic
   feedback was provided.

bug:7324903

Change-Id: Ic76db232d761a2899c1ca5f59ca55ff15ae575dd
2012-10-10 14:17:50 -07:00
Svetoslav Ganov
9ea6343fa4 Merge "The active window for accessibility purposes can be miscomputed." into jb-mr1-dev 2012-10-10 14:15:14 -07:00
Jeff Sharkey
6eb9620ff2 Include all accounts in dumpsys.
Allow accounts to be loaded when a user is stopped, but always
validate accounts against a freshly queried PMS cache when the user
actually starts.

Bug: 7276595
Change-Id: I0382064c73123c243bc6f6e5da8fc3d0a8b73442
2012-10-10 14:06:23 -07:00
Baligh Uddin
57899f83d7 Import translations. DO NOT MERGE
Change-Id: I498e980ee2d318ae66848a36786e435f2c09412b
Auto-generated-cl: translation import
2012-10-10 13:34:12 -07:00
Baligh Uddin
b9ef3c682c Import translations. DO NOT MERGE
Change-Id: I2a6865b2b088d0fcd9a5e8b24c0f9095ecbb3c68
Auto-generated-cl: translation import
2012-10-10 13:33:19 -07:00
Craig Mautner
64ecc0e101 Revert "Remove debugging statements before final ROM."
The bug cropped up again. Need these statements to pin it down.

This reverts commit f1f3b49b949af72692f7f85a1c1ef220e8630e30

Change-Id: Ie0548232daff32ee2541249b0950e23bd98c08d2
2012-10-10 13:22:10 -07:00
Baligh Uddin
521da7ec67 Import translations. DO NOT MERGE
Change-Id: I57efb052a4003b16c6901ea8af12efcd535d1e4c
Auto-generated-cl: translation import
2012-10-10 13:15:41 -07:00
Baligh Uddin
83eb230666 Import translations. DO NOT MERGE
Change-Id: I5cde3287681f3fa85ad68b0f7b26ed3f289255d7
Auto-generated-cl: translation import
2012-10-10 13:13:43 -07:00
Svetoslav Ganov
6ae8a24fc0 The active window for accessibility purposes can be miscomputed.
1. The active window is the one that the user touches or the one
   that has input focus. We recognize the user touching a window
   by the received accessibility hover events and the user not
   touching the screen by a call from the touch explorer. It is
   possible that the user touches window that does not have
   input focus and as soon as he lifts finger the active one
   will become the window that has input focus but now we get
   he hover accessibility events from the touched window which
   incorrectly changes the active window to be the touched one.
   Note that at this point the user is not touching the screen.

bug:7298484

Change-Id: Ife035a798a6e68133f9220eeeabdfcd35a431b56
2012-10-10 13:09:04 -07:00
Craig Mautner
2b02564bfd am fa5bc081: Merge "Increase window freeze timeout for bigger screens." into jb-mr1-dev
* commit 'fa5bc081593891959c143e0de9e59dd076a47b42':
  Increase window freeze timeout for bigger screens.
2012-10-10 12:44:23 -07:00
Craig Mautner
fa5bc08159 Merge "Increase window freeze timeout for bigger screens." into jb-mr1-dev 2012-10-10 12:42:18 -07:00
Matthew Xie
e8d275392d am ccf9ef60: Merge "Reduce android.bluetooth package debug messages" into jb-mr1-dev
* commit 'ccf9ef605e1195d3748459cc3d4dc3baa953252e':
  Reduce android.bluetooth package debug messages
2012-10-10 12:16:14 -07:00
Matthew Xie
ccf9ef605e Merge "Reduce android.bluetooth package debug messages" into jb-mr1-dev 2012-10-10 12:14:08 -07:00
Jean-Michel Trivi
d677054ca6 Don't play notifications during speech recognition
Add support for querying AudioManager to know whether speech
 recognition is currently underway.

Don't play a notification if speech recognition is underway.

Bug 7314859

Change-Id: I1bd013a3168cfe1a6b6dcfd28565e1c3c512eb6a
2012-10-10 12:03:41 -07:00
Daniel Sandler
c13107046a Remove Dream windows immediately.
Ensures that onDetachedFromWindow happens before onDestroy.

Bug: 7295929
Change-Id: Ic4ac2552bfce75a5dc43dc840e6ef0182369e24b
2012-10-10 11:34:44 -07:00
Katie McCormick
fa4865f680 resolved conflicts for merge of 0b479e43 to jb-dev
Change-Id: I04bc45425f11b3562a4219719716c55eaff2228e
2012-10-10 11:09:03 -07:00