86240 Commits

Author SHA1 Message Date
Fabrice Di Meglio
6bf6eb7d5f Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
Part 2

- fix remaining UI widgets by asking layout params resolution when needed

Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
2012-10-10 18:38:23 -07:00
Fabrice Di Meglio
f6215e55df Fix the build
Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
2012-10-10 18:23:00 -07:00
Jason Sams
b2ae7a1a18 Update compatibility library tests
bug 7327728

Change-Id: If3f85fb8944d7217a4d5c035f522d1ecc7af3a07
2012-10-10 18:17:53 -07:00
Chris Wren
cea520747f resolve conflicting assumptions from the merge.
Bug: 7300843
Change-Id: I5894fba34550d1b98f6cbe5ca808820b70e19819
2012-10-10 21:06:11 -04:00
Tim Murray
b2d552259e Merge "Add DAG validation for ScriptGroups." into jb-mr1-dev 2012-10-10 17:35:12 -07:00
Fabrice Di Meglio
b8021a88e5 Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev 2012-10-10 17:26:41 -07:00
Svetoslav Ganov
02f0daa580 Merge "Fix WebView accessibility scripts." into jb-mr1-dev 2012-10-10 17:23:48 -07:00
Romain Guy
1460c8ca09 Merge "Prevent possible divide by 0 Bug #7307304" into jb-mr1-dev 2012-10-10 17:16:34 -07:00
Romain Guy
c37f349ecf Prevent possible divide by 0
Bug #7307304

Should never happen, but eh :))

Change-Id: Ic7a09fd5c7a3622e6b4963f9ee6920e232018e2e
2012-10-10 17:13:36 -07:00
Romain Guy
38a6424013 Merge "Allow 9patches to shrink Bug #7307304" into jb-mr1-dev 2012-10-10 17:10:24 -07:00
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
bcfc1ca8ab Merge "Don't play notifications during speech recognition" into jb-mr1-dev 2012-10-10 16:30:56 -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
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
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
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
c194016710 Merge "Use the original caller pid for computing visibility" into jb-mr1-dev 2012-10-10 15:11:24 -07:00
Svetoslav Ganov
33ee29000f Merge "Update to accessibility toggle message." into jb-mr1-dev 2012-10-10 15:02:44 -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
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
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
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
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
fa5bc08159 Merge "Increase window freeze timeout for bigger screens." into jb-mr1-dev 2012-10-10 12:42:18 -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
Casey Burkhardt
8af30c0ee5 Update to accessibility toggle message.
Change-Id: I9957b86f3424d800b1b9804dc77f5bc5b728922b
2012-10-10 10:51:56 -07:00
&& repo sync -j8
0b479e4379 Merge "Doc changes: misc GCM updates." into jb-dev-docs 2012-10-10 10:34:48 -07:00
Craig Mautner
7dfcb01820 Increase window freeze timeout for bigger screens.
More pixels take longer. Timeout was occurring before Status and
Navigation Bars were finished drawing causing them to animate in
during rotations.

Bug 7307718 fixed.

Change-Id: Iccf27b6172d0c9831690cc2fcf93027a40b705d8
2012-10-10 10:24:47 -07:00
Zhihai Xu
251445667c Merge "Bluetooth multi-user updates: change bluetooth manager system service to reject background user access. disable and enable Bluetooth when user is switched" into jb-mr1-dev 2012-10-10 09:52:33 -07:00
Ken Wakasa
1a5f387bcf Merge "Revert "Don't update the text services locale in the main thread"" into jb-mr1-dev 2012-10-10 09:32:36 -07:00
Geremy Condra
ba683efa41 am 3f542740: (-s ours) am c2e3be5a: Merge "DO NOT MERGE Control access to inherited methods of jsinterface objects" into jb-dev
* commit '3f542740065f3708f70acb48dd93651ed896e029':
  DO NOT MERGE Control access to inherited methods of jsinterface objects
2012-10-10 09:17:59 -07:00