35032 Commits

Author SHA1 Message Date
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
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
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
Romain Guy
8efca54693 Ensure we always request conformant OpenGL ES 2.0 contexts
Change-Id: I6b9d6f2dace02ad28baef6811007302b8e552a54
2012-10-15 18:09:49 -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
Romain Guy
42b0c70a31 Add missing layout_width/height
Bug #7334849

Change-Id: Ie4bbe5905bec1d410b8b51e0194bb1c8c2b84680
2012-10-15 16:47:16 -07:00
Romain Guy
f2e28abb13 Merge "Update javadoc" into jb-mr1-dev 2012-10-15 14:19:29 -07:00
Romain Guy
8e63bcc63f Revert "Fix for bug 6050753."
This reverts commit c29f031598811486d83f418fd08fbfe1fc41788a.
2012-10-15 13:24:58 -07:00
Romain Guy
edc9005289 Update javadoc
Some View.post*() methods can be invoked from arbitrary thread
independently of whether the View is attached to a window.

Change-Id: I587b5909ab8b06665978d001548d56c8c22043c1
2012-10-15 12:31:57 -07:00
Jeff Sharkey
52801aae89 Protect more service dump() methods.
Bug: 6406965
Change-Id: Ia45a580c1e6f403308e7e540f18f2c0505af0f29
2012-10-15 10:59:51 -07:00
Chris Wren
4a01f2b5dc Merge "delay onDreamingStarted() to work around asynchrony." into jb-mr1-dev 2012-10-15 09:06:37 -07:00
Jim Miller
87d57952af Minor layout tweaks and bug fix in keyguard
- fix wrong string in SIM PUK unlock
- use buttonBar style for "emergency" and "forgot pattern" buttons

Bug 7341237

Change-Id: Id5593b54c345e3f869b6febc8554da01e7cb319e
2012-10-15 02:10:57 -07:00
Adam Cohen
6f131416ba Fixing issues with pattern recovery / account view (issue 7341237):
-> Recovery button should only appear if account present
-> Recovery button should appear at bottom
-> Account view should have emergency call button
-> Account view should not show the clock / status area

Change-Id: Id12e8219f3fc6ecb14e82c5ec6ea4b3e28ed772d
2012-10-14 21:25:08 -07:00
Adam Powell
70bc9f24ce Fix keyguard dimensions; IME state for password view; layouts
Fix a bug where ordering during inflation caused us not to set a
keyguard callback early enough to properly modify window flags. Add a
gross hack to work around this for now.

Fix status layouts to scale a bit more gracefully in the presence of
an IME.

Fix password layouts to scale more gracefully in the presence of an
IME

Bug 7343312
Bug 7341795
Bug 7342963
Bug 7343089

Change-Id: Ifb2c06defef11e8f7f9d0e09855632ed491bb31c
2012-10-13 01:25:51 -07:00
Adam Powell
308b1a66b2 Merge "Fix offsets for glowpad on keyguard" into jb-mr1-dev 2012-10-12 19:57:15 -07:00
Adam Powell
f8b93b5503 Fix offsets for glowpad on keyguard
Bug 7342491

Change-Id: Id9733070c28a85c47ac8b982768e47a4254bd825
2012-10-12 19:33:49 -07:00
Fabrice Di Meglio
f9307c5c00 Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev 2012-10-12 18:25:55 -07:00
Fabrice Di Meglio
84ebb35f39 Fix bug #7334966 Padding is still broken in RTL languages
- do correct resolution and reset propagation for all RTL properties (padding and drawables included)
- fix CheckedTextView padding too

Change-Id: Ie603683a2324b2a6ef2c03633d01d5726c883b90
2012-10-12 15:54:10 -07:00
Guang Zhu
90619816d9 use BufferedInputStream in readTextFile
With FileInputStream, using assumption of bytes read (as
returned by read function) not matching buffer size as EOF is
not correct, we hit this when reading from /proc in some cases.

BufferedInputStream's behavior matches that assumption due to
its implementation.

Bug: 7342759
Change-Id: Ibb06dbe1fbe33f6f880524f7555ff5542889ea50
2012-10-12 15:50:44 -07:00
Chris Wren
f434d23a16 delay onDreamingStarted() to work around asynchrony.
Bug: 7328682
Change-Id: I86144b0b34eade332543244bb3aff5f9695ff7f7
2012-10-12 18:37:02 -04:00
Adam Powell
8dd3aaddba Merge "Align carrier info for glowpad keyguard screen" into jb-mr1-dev 2012-10-12 15:11:51 -07:00
Jeff Sharkey
95cccb9d61 Merge "Make all lockscreen widgets follow haptic flag." into jb-mr1-dev 2012-10-12 14:59:30 -07:00
Adam Powell
ba48a39e17 Align carrier info for glowpad keyguard screen
Bug 7317728

Change-Id: I0788c6555e2443026d0533e14b544a5daf810937
2012-10-12 14:41:04 -07:00
Jeff Sharkey
723a725e79 Make all lockscreen widgets follow haptic flag.
Bug: 7337006
Change-Id: I782e498b7528e612c4b06a75b77f5521c951cbd6
2012-10-12 14:26:31 -07:00
Charles Chen
4c38e24afb Merge "Don't alter accessibility JS APIs unless a page is about to load." into jb-mr1-dev 2012-10-12 13:46:09 -07:00
Keun young Park
c378656d5e Merge "fix wrong read size in ToColor_S4444_Opaque" into jb-mr1-dev 2012-10-12 13:41:19 -07:00
Amith Yamasani
fe49af266e Merge "Temporarily disable multiuser for specific builds" into jb-mr1-dev 2012-10-12 13:13:25 -07:00
Amith Yamasani
ff54920ed2 Temporarily disable multiuser for specific builds
Enable switching through power menu for other builds

Change-Id: I0bd8450583e078b0a83fb639337427ab84db5ab8
2012-10-12 12:44:49 -07:00
alanv
03e636f33d Don't alter accessibility JS APIs unless a page is about to load.
Previously we were adding and removing the APIs on window attach and
detach, but a page's life cycle is not related to attach/detach. This
patch also ensures that ChromeVox is not null before calling. Includes
formatting fixes and extra comments in the waitForResultTimedLocked
method to improve readability. Fixes parsing of integer resultId, which
was being parsed using Long.

Bug: 7328348
Change-Id: I6b81a8e4d8209f8e99419da9b8250abe57e25048
2012-10-12 11:42:37 -07:00
Fabrice Di Meglio
6ffbe60069 Merge "Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware" into jb-mr1-dev 2012-10-12 11:39:23 -07:00
Keun young Park
038953da05 fix wrong read size in ToColor_S4444_Opaque
- S4444 takes 16bits, not 32bits
- This caused sporadic failure in CTS BitmapFactoryTest#testDecodeStream4

Bug: 7179389
Change-Id: Ib36a3a569b3149d74f36ae67a069a7b65a72e895
2012-10-12 11:36:13 -07:00
Mike Cleron
732d88e14e Merge "Change keyguard to use single-stage unlock." into jb-mr1-dev 2012-10-12 11:07:52 -07:00
Baligh Uddin
5650d86aa3 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-12 09:29:55 -07:00
Jim Miller
0ff7f010f8 Change keyguard to use single-stage unlock.
Change-Id: Ica175a90ef4400941c7c4f05a494003b85d5e88c
2012-10-12 03:53:57 -07:00
Christopher Tate
a3f33309d7 Merge "DOCUMENTATION ONLY: try to clarify gravity vs layout_gravity" into jb-mr1-dev 2012-10-11 19:23:07 -07:00
Fabrice Di Meglio
3cc10f420f Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware
- add horizontal gravity support
- use gravity for doing layout depending on layout direction

Change-Id: I562e824d15da9b00e1392f125b293aee21f8ee16
2012-10-11 19:17:39 -07:00
Baligh Uddin
40ad86e026 Import translations. DO NOT MERGE
Change-Id: I4ef6935d25a8428069225adb3648701e93fd9c17
Auto-generated-cl: translation import
2012-10-11 18:30:04 -07:00
John Reck
b746febca2 Merge "Center text selection point to avoid rounding glitches" into jb-mr1-dev 2012-10-11 18:25:55 -07:00
Christopher Tate
39944808b5 DOCUMENTATION ONLY: try to clarify gravity vs layout_gravity
Based on 3rd party developer observation, this is a source of much
confusion and layout mistakes.

Change-Id: I2cb6ae1540fe2444582403d9100478ebe02df985
2012-10-11 18:14:23 -07:00
John Reck
9fcef3d023 Center text selection point to avoid rounding glitches
Bug: 7313424

Change-Id: I5356bec61e3d1244b506486300f059aa0bba6d9e
2012-10-11 18:08:03 -07:00
Jeff Brown
3da6c219a8 Merge "Do not launch Somnambulator as a dock app." into jb-mr1-dev 2012-10-11 17:17:06 -07:00
Svetoslav Ganov
3003bada60 Merge "Check whether ChromeVox is ready before attempting to call it." into jb-mr1-dev 2012-10-11 17:14:34 -07:00
Svetoslav Ganov
87c6f9a528 Merge "This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch." into jb-mr1-dev 2012-10-11 17:12:07 -07:00
alanv
d8faf74662 Check whether ChromeVox is ready before attempting to call it.
Calls to performAction will immediately return false if ChromeVox is not
loaded. Also adds additional debugging output.

Bug: 7328657
Change-Id: I5bd7c69ccc9500cebaa4a8c1bf023794f4eebe2e
2012-10-11 16:48:32 -07:00
Svetoslav Ganov
d1821cc06f This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch.
Revert "Reducing WebView navigation timeout for accessibility."

This reverts commit 2203cf3f725220e6dc930ee77dbcde4ff7d885b6

Change-Id: I5b2d999851af98acb953529ebfcda608ce27799d
2012-10-11 16:46:33 -07:00
Jeff Brown
11159e9a78 Do not launch Somnambulator as a dock app.
Fixes a black flash that occurred when the device was docked
because the UiModeManagerService was launching the Somnambulator
to start the dream when docked.  This caused an unnecessary
activity transition and could in fact make dreaming less
reliable than if the UiModeManagerService started the dream itself.

Moved common code from UiModeManagerService and Somnambulator
to Sandman to ensure it is kept in sync.

Bug: 7328545
Change-Id: I46102784e2ab1acc0241d43a48abf0581278af24
2012-10-11 16:29:41 -07:00