86444 Commits

Author SHA1 Message Date
Craig Mautner
417b05912a Merge "Revert app freeze timeout delay." into jb-mr1-dev 2012-10-16 13:39:47 -07:00
Jeff Sharkey
0487631751 Merge "Lock SyncQueue when user starting, copy RSC list." into jb-mr1-dev 2012-10-16 13:32:28 -07:00
Jeff Sharkey
a706e2fd00 Lock SyncQueue when user starting, copy RSC list.
Document SyncQueue locking policy and protect in onUserStarting()
and clearAllBackoffs().  Return copy of ServiceInfo list from
RegisteredServicesCache instead of exposing locking externally.

Bug: 7357776, 7352537
Change-Id: I6a32ca98a355b639d4207a88bde572179beae359
2012-10-16 13:27:12 -07:00
Baligh Uddin
e34e22059f Import translations. DO NOT MERGE
Change-Id: Id817c53af8178179b7b2a434d45f0f87457b042c
Auto-generated-cl: translation import
2012-10-16 13:25:15 -07:00
Jason Sams
61759d99e6 Merge "Convert one more bind() -> setVar()." into jb-mr1-dev 2012-10-16 13:25:06 -07:00
Irfan Sheriff
939caef712 Fix NPE
Bug: 7357742
Change-Id: I4d12d137b9d5ebf5c6739cbd4405de3f90a3d846
2012-10-16 13:24:19 -07:00
Fabrice Di Meglio
b858ecd3a9 Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev 2012-10-16 13:23:37 -07:00
Chet Haase
2f20081f9f Avoid redundant wallpaper loading/drawing
Switching users causes wallpapers to get recreated 3 times. Other operations
like startup and rotation cause similar redundant load/draw operations. This change
tracks the various attributes that tell us when we really need to reload
and redraw, causing only one of these expensive operation per one of these
switches.

Issue #7334664 Wallpaper draws several times when switching users

Change-Id: Ic3072ef3a7eaf622d8632e87e34f50999f716c39
2012-10-16 13:21:04 -07:00
Stephen Hines
5b4f8f90fd Convert one more bind() -> setVar().
Bug: 7318821
Change-Id: I215c70a99c81e560a73412b2263fed39a0fdae03
2012-10-16 13:19:23 -07:00
Matthew Xie
a3d5b688cf Merge "Add serial port profile support and allow to connect to rfcomm channel without sdp discovery" into jb-mr1-dev 2012-10-16 12:57:53 -07:00
Craig Mautner
a13a41dc0e Perform all layouts within first loop.
Do not begin animation while layout requests are still
outstanding.

Bug: 7333622 fixed.
Change-Id: I77c2cdc123c1e26f9661feade0d9a1843c75d5f6
2012-10-16 12:54:48 -07:00
Fabrice Di Meglio
f37df1b6c2 Fix bug #7345139: The First Volume Down Click looses its place on the volume slider
- make SeekBar follow layout direction changes
- also fix onSizeChanged() missing call to super class

Change-Id: Ide036e673c5f104b12e7321648ac027547e04065
2012-10-16 11:38:26 -07:00
Romain Guy
d43b22da29 Always use the correct pixel store size
Bug #7357394

When a bitmap is reused it may change configuration which can lead
to a different pixel store alignment. Our current texture cache
implementation assumes this never happens and keeps the old alignment
which can lead to distorted texture (if the bitmap goes from
ARGB8888 to RGB565 for instance.)

Change-Id: Ic57acf2403411ae4d0924e92f221298350612617
2012-10-16 11:25:06 -07:00
Svetoslav Ganov
55468c64bc Occasionally triple tap on the keyboard toggles screen magnification.
1. Sometimes unlocking the device when the IME is up and triple tapping on the keyboard
   toggles screen magnification. The core reason is that when the kayguard window is
   shown we hide all other windows and when it is hidden we show these windows. We did
   not notify the screen magnifier for windows being shown and hidden. Also when the
   windows are shown we may reassign layers to put the IME or the wallpaper in the
   right Z order. The screen magnifier is now notified upon such layer reassignment
   since window layers are used when computing the magnified region.

bug:7351531

Change-Id: I0931f4ba6cfa565d8eb1e3c432268ba1818feea6
2012-10-16 11:11:39 -07:00
Romain Guy
a92bb4dc96 Support clipping in Canvas.drawBitmapMesh()
Bug #7354162

Change-Id: Ifd1d0b365e8a4d88e0ff0629c9ee13f27e1a7331
2012-10-16 11:09:26 -07:00
Svetoslav Ganov
40b7ea4436 Merge "Accessibility focus drawing does not take into account view's transformation matrix." into jb-mr1-dev 2012-10-16 11:03:46 -07:00
Steven Ross
9a9f4ce1e2 Stopping Face Unlock immediately on detaching from window fixes 7338808
The refactoring broke my fix for 7222226.  We need to stop Face Unlock without
any messaging delay when the window is detached to avoid it starting with an
invalid window, or stopping right after it restarts.

Change-Id: Iea23989ec2ab3ad7d1a57e2d1fb85163a6396024
2012-10-16 13:56:37 -04:00
Jason Sams
009d5413b2 Merge "Fix bugs in scriptGroup." into jb-mr1-dev 2012-10-16 10:50:19 -07:00
Justin Ho
8c8596e8e7 Merge "Add new tablet sound set Bug: 7351672" into jb-mr1-dev 2012-10-16 10:28:38 -07:00
Baligh Uddin
4682cf02b4 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 09:15:14 -07:00
Justin Ho
0fcc2977d0 Merge "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457" into jb-mr1-dev 2012-10-16 09:13:48 -07:00
Justin Ho
5d7c089cab Update alarm sounds and tune some ringtones
Bug: 7351672
Bug: 5502770
Bug: 7312457

Change-Id: Iea0d674431b0fabbf7e9c4b30d9f08a6235cdc64
2012-10-16 09:12:19 -07:00
Justin Ho
4add743111 Merge "Revert "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457"" into jb-mr1-dev 2012-10-16 09:08:22 -07:00
Baligh Uddin
75e861b689 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 09:08:22 -07:00
Justin Ho
c1188696b6 Revert "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457"
This reverts commit 04fe8723e48644bf5e1afc098f2117cbec6ba68d

Change-Id: I28ed23ad75ced96b66cc4dcce0faaf667c2d5d08
2012-10-16 09:07:39 -07:00
Craig Mautner
a4942c9fb9 Revert app freeze timeout delay.
Speed up of wallpaper loading on Manta means this workaround is no
longer necessary.

Bug 7354440 fixed.

Change-Id: Ic0ad3c689abb5342fb29c824857db9d5c2d45008
2012-10-16 09:06:53 -07:00
Justin Ho
81314ae077 Add new tablet sound set
Bug: 7351672

Change-Id: I9228d3f87729862f94727f99a179538551449881
2012-10-16 08:59:30 -07:00
Justin Ho
08876d1992 Merge "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457" into jb-mr1-dev 2012-10-16 08:51:40 -07:00
Daniel Sandler
18ea8f2990 Merge "Flipping quick settings!" into jb-mr1-dev 2012-10-16 07:42:48 -07:00
Daniel Sandler
101784e560 Flipping quick settings!
Bug: 7348917 ╰(°□°╰)
Change-Id: I16923d6d920913a4bd0d78666587ac579ac18da5
2012-10-16 02:34:09 -04:00
zzy
b49a896359 Add serial port profile support and allow to connect to rfcomm channel without sdp discovery
bug 7272974

Change-Id: Idc10edc056b48da2fd96bea84eba3fb73b97bab1
2012-10-15 22:30:29 -07:00
Daniel Sandler
1f0752993f Merge "Allow any user to clear a notification targeted at USER_ALL." into jb-mr1-dev 2012-10-15 22:23:29 -07:00
Craig Mautner
f6dbd61b10 Merge "Always layout Keyguard on config change." into jb-mr1-dev 2012-10-15 22:05:55 -07:00
Mathias Agopian
6868d6f349 Revert "Revert "Fix for bug 6050753.""
Emergency revert -- fix reboot loop.

This reverts commit 8e63bcc63fd002231f8391af8982eeb235d096c8.

Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
2012-10-15 20:45:01 -07:00
Jamie Gennis
809bb404da Merge "Flag window animation transactions as animations." into jb-mr1-dev 2012-10-15 19:52:05 -07:00
Jamie Gennis
b6ce6e42cc Flag window animation transactions as animations.
This change makes WindowManager use the new eAnimation flag when animating
windows.  This prevents some of the window updates from being combined with
updates from prior animation frames.

Bug: 7353840
Change-Id: I5a9f8fa2c1a2f5f08363a45cd9f28bb97cd77080
2012-10-15 19:19:50 -07:00
Svetoslav Ganov
78bd9835eb Accessibility focus drawing does not take into account view's transformation matrix.
1.  We are using the view drawing bounds but did not take into account the transformation
    matrix. This leads to showing ugly artifacts on the launcher's hotseat which is
    pretty much the first thing we see.

2. Updated the documentation of View.getDrawingRect to be more explicit that the
   results does not have the transformation matrix applied.

bug:7354033

Change-Id: Ief2e0ea8da05471d71e215ce4497d94ff6e92d1a
2012-10-15 19:13:29 -07:00
Romain Guy
69fbc3c089 Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev 2012-10-15 18:45:03 -07:00
Romain Guy
edefaa25db Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev 2012-10-15 18:43:59 -07:00
Romain Guy
dec26f2011 Merge "Add missing layout_width/height Bug #7334849" into jb-mr1-dev 2012-10-15 18:43:12 -07:00
Jeff Brown
0e082155ef Merge "Stop dreaming if the battery not charging effectively." into jb-mr1-dev 2012-10-15 18:41:11 -07:00
Jeff Brown
322de60657 Merge "Cleanup some internal documentation." into jb-mr1-dev 2012-10-15 18:40:05 -07:00
Jim Miller
3398752832 Merge "Fix inoperative "Forgot pattern" button when face unlock enabled" into jb-mr1-dev 2012-10-15 18:37:00 -07:00
Jeff Sharkey
7789c9bbfc Merge "Support pm clear as --user." into jb-mr1-dev 2012-10-15 18:24:34 -07:00
Raph Levien
6f8c1bad8a Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev 2012-10-15 18:19:50 -07:00
Jim Miller
63f9b81795 Fix inoperative "Forgot pattern" button when face unlock enabled
This fixes a bug where the forgot pattern button wasn't working because
the logic for face unlock was interfering with determining the proper
backup to use.

The fix:
- adds a new state to SecurityMode so we have an initial condition
we can check for.
- passes the current mode to SecurityModel.getBackupSecurityMode() so
it relies on the current state.
- prevents face unlock from invoking callbacks that change state
once we're no longer showing face unlock.

Fixes bug 7346989

Change-Id: I4e64515efbbad712f11c820e690b458f352bf46c
2012-10-15 18:16:24 -07:00
Romain Guy
8efca54693 Ensure we always request conformant OpenGL ES 2.0 contexts
Change-Id: I6b9d6f2dace02ad28baef6811007302b8e552a54
2012-10-15 18:09:49 -07:00
Justin Ho
04fe8723e4 Update alarm sounds and tune some ringtones
Bug: 7351672
Bug: 5502770
Bug: 7312457

Change-Id: Icb89cdbadc0e06b4a845b1cad16560f66d5b2bdd
2012-10-15 17:40:57 -07:00
Raph Levien
f5c1a8798f Fix for bug 7344916 text view flickers when you hit enter
The flickering was caused by trying to scroll to the cursor position
while the view was in an inconsistent state (text updated to change the
number of lines, but layout not done yet). This patch defers the actual
setting of the cursor until layout is done, when layout is pending.

Change-Id: I8ed3a402beb8058ac7a7f3935afeb946a23308ab
2012-10-15 17:22:26 -07:00
Jeff Brown
df409231a7 Merge "Update wifi display device name when renamed." into jb-mr1-dev 2012-10-15 17:21:20 -07:00