28087 Commits

Author SHA1 Message Date
John Reck
be0786ae0b am b746febc: Merge "Center text selection point to avoid rounding glitches" into jb-mr1-dev
* commit 'b746febca2e3f21704556647cd987fdf902fb779':
  Center text selection point to avoid rounding glitches
2012-10-11 18:27:56 -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
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
1984e8c096 am 3da6c219: Merge "Do not launch Somnambulator as a dock app." into jb-mr1-dev
* commit '3da6c219a8b1acebbfd8a56ee31b5d91d0425dc4':
  Do not launch Somnambulator as a dock app.
2012-10-11 17:23:55 -07:00
Svetoslav Ganov
407ce197e8 am 3003bada: Merge "Check whether ChromeVox is ready before attempting to call it." into jb-mr1-dev
* commit '3003bada607b64ecf3a405b48da3528c4331e7c6':
  Check whether ChromeVox is ready before attempting to call it.
2012-10-11 17:23:52 -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
50cf95fc7d am 87c6f9a5: Merge "This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch." into jb-mr1-dev
* commit '87c6f9a528aa921520da596805607caad76143b4':
  This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch.
2012-10-11 17:14:06 -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
clchen
6f3feefee7 am 4574df0c: Merge "Reducing WebView navigation timeout for accessibility." into jb-mr1-dev
* commit '4574df0c1561609785b3ce994c0135276e4d1b4b':
  Reducing WebView navigation timeout for accessibility.
2012-10-11 16:19:35 -07:00
clchen
4574df0c15 Merge "Reducing WebView navigation timeout for accessibility." into jb-mr1-dev 2012-10-11 16:16:56 -07:00
clchen
2203cf3f72 Reducing WebView navigation timeout for accessibility.
Reducing the amount of time that WebView will wait before treating
a navigation attempt as failed. This is needed to recover from
cases where the user is attempting to linearly navigate a WebView
that is immediately switched out right as it starts to read.
A good example of this problem is AdMob's WebViews which are
continuously being swapped.

Change-Id: Ib9b4a9b99a35d42920e34e0acbe8ab45e1d47871
2012-10-11 16:13:00 -07:00
Jonathan Dixon
207b5e1722 am 402099f7: Merge "Unhide setPictureListener" into jb-mr1-dev
* commit '402099f7861f306c2dd7c561bdc19b8f65d79b65':
  Unhide setPictureListener
2012-10-11 15:44:17 -07:00
Jonathan Dixon
402099f786 Merge "Unhide setPictureListener" into jb-mr1-dev 2012-10-11 15:41:39 -07:00
Winson Chung
a58800d153 am 4cce397c: Merge "Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)" into jb-mr1-dev
* commit '4cce397c0dab44cf7b1b657d0e5410b5970eef55':
  Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)
2012-10-11 14:58:47 -07:00
Winson Chung
4cce397c0d Merge "Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)" into jb-mr1-dev 2012-10-11 14:56:56 -07:00
Adam Powell
4e5efaef79 am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev
* commit '49dbc1617c5e0ea56d5568fdcbfe9a771671567a':
  Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
2012-10-11 14:37:02 -07:00
Adam Powell
49dbc1617c Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev 2012-10-11 14:32:50 -07:00
Winson Chung
6611988429 Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)
Change-Id: I4da99c259df51f8f66d3ade1156040bd0360ca5d
2012-10-11 14:27:03 -07:00
Adam Powell
77ace2ef69 Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
This reverts commit b49e4d63d1976b673b4763bc012d152833609688.

This produced problems with app compatibility. The boolean array
introduced in this patch is never resized and can cause applications
expecting different behavior to crash with index out of bounds
exceptions.

This looks like a good path but it will need to be revisted later.

Bug 7221618
2012-10-11 14:26:21 -07:00
Fabrice Di Meglio
39b0c29e4f am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit 'ec139240480702e80cd56c0309394f7549a993f3':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-11 14:15:00 -07:00
Fabrice Di Meglio
ec13924048 Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev 2012-10-11 14:10:02 -07:00
Jonathan Dixon
96a1b3cf67 Unhide setPictureListener
The replacement isn't available yet, so we need to leave this in for now.

BUG: 7332831
Change-Id: I311c44c45ef71461572afbe4060d134cdaefd3ae
2012-10-11 14:00:50 -07:00
Jeff Sharkey
1cf5bd2aeb am 26e3f3df: Merge "Database cleanup needs to happen for all users." into jb-mr1-dev
* commit '26e3f3df8761ee3c75155ca848d29cfe820a2a8c':
  Database cleanup needs to happen for all users.
2012-10-11 11:15:33 -07:00
Jeff Sharkey
26e3f3df87 Merge "Database cleanup needs to happen for all users." into jb-mr1-dev 2012-10-11 11:13:30 -07:00
Jeff Sharkey
8f55d11298 Database cleanup needs to happen for all users.
Bug: 6970084
Change-Id: I9a6f1cbaf095b245ec9707a90c518256e0aa1f5f
2012-10-11 11:00:28 -07:00
Svetoslav Ganov
a1489d3022 am 9aefa145: Merge "Send accessibility event for content change upon setting content description." into jb-mr1-dev
* commit '9aefa1457967b52f1865173aa70896db84f111f1':
  Send accessibility event for content change upon setting content description.
2012-10-11 11:00:26 -07:00
Svetoslav Ganov
9aefa14579 Merge "Send accessibility event for content change upon setting content description." into jb-mr1-dev 2012-10-11 10:57:41 -07:00
Dianne Hackborn
ff363aa967 am 2a3e1ffd: Merge "More on issue #7318666: hide developer options from user build" into jb-mr1-dev
* commit '2a3e1ffd0f1c369a39f5321a54206d36beab31b9':
  More on issue #7318666: hide developer options from user build
2012-10-11 10:46:34 -07:00
Satoshi Kataoka
6a1d4b998c am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
* commit '8e767115a888b78c5732fe935bd811a7db6bf2e1':
  Don't update the text services locale in the main thread
2012-10-11 10:44:55 -07:00
Dianne Hackborn
2a3e1ffd0f Merge "More on issue #7318666: hide developer options from user build" into jb-mr1-dev 2012-10-11 10:44:37 -07:00
Satoshi Kataoka
1eac6b7b05 Don't update the text services locale in the main thread
This is a revised version of I9f8a81d3c9261a6cfc00292b9f5cb06053b9112d

Bug: 6761326
Change-Id: I43a0a65df6e4b6941bd0dca548c4af20b7e5bf58
2012-10-12 00:58:24 +09:00
Jeff Brown
d2d7d5c890 am 60fa4617: Merge changes I50eb7dcf,I7ae92ce1,Icb22db1c into jb-mr1-dev
* commit '60fa4617bc4be292a9e0ae10cf259153dec07aa9':
  Don't enable input dispatch until the screen is visible.
  Dejank electron beam.
  Don't process UEvents in Dalvik unless they match a pattern.
2012-10-10 23:26:05 -07:00
Daniel Sandler
cd70a4c23c am 6918d9f9: Merge "Remove Dream windows immediately." into jb-mr1-dev
* commit '6918d9f970989f1e5ca5a03b04d10a4c890721e9':
  Remove Dream windows immediately.
2012-10-10 23:25:58 -07:00
Jeff Brown
60fa4617bc Merge changes I50eb7dcf,I7ae92ce1,Icb22db1c into jb-mr1-dev
* changes:
  Don't enable input dispatch until the screen is visible.
  Dejank electron beam.
  Don't process UEvents in Dalvik unless they match a pattern.
2012-10-10 23:06:15 -07:00
Daniel Sandler
6918d9f970 Merge "Remove Dream windows immediately." into jb-mr1-dev 2012-10-10 22:58:59 -07:00
Amith Yamasani
c97332cb87 am 31cee479: Merge "Fix a runtime restart when cycling between 4 users" into jb-mr1-dev
* commit '31cee479fc43fc422b481f6360fa499a7b4fc70a':
  Fix a runtime restart when cycling between 4 users
2012-10-10 22:40:01 -07:00
Amith Yamasani
9535c915b6 Fix a runtime restart when cycling between 4 users
Some refactoring in Sync Manager caused mUserManager to be initialized too late.
Make sure this is initialized in the constructor now.

Bug: 7328386
Change-Id: Ic67915e172c3b8ef368852147667287e38c0213b
2012-10-10 21:48:33 -07:00
Jeff Brown
9cf36b7a77 Don't process UEvents in Dalvik unless they match a pattern.
On some devices, vsync is delivered from the kernel to userspace
over a netlink socket via UEvent.  The result is that a thread wakes
up, reads a message, creates a new String then searches it for matches
against a pattern on every single frame.

Reduce the overhead by performing the initial pattern matching in
native code.

Bug: 7326329
Change-Id: Icb22db1c38330694207bec1153840e0c06f502d6
2012-10-10 21:46:55 -07:00
Svetoslav Ganov
b708f7703b Send accessibility event for content change upon setting content description.
1. Since the content description is generated dynamically we need to notify
   clients when it changes so they can drop cached state to get the most
   recent content. This really is used by the caching we do to optimize
   the window query APIs. Otherwise, the user does not see the current
   content.

bug:7327556

Change-Id: I9be46508e86864566e027c64565eb1d787ec9363
2012-10-10 21:25:59 -07:00
Dianne Hackborn
8d866e52b2 More on issue #7318666: hide developer options from user build
The action to launch the developer settings panel is now required
by the platform.

Add a new hidden API to LauncherActivity so I can better integrate
these into the existing Dev Tools app.

Change-Id: I9c082622fd4c8f4a5be51cabb664741a3782ece1
2012-10-10 18:39:45 -07:00
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
9162296117 am f6215e55: Fix the build
* commit 'f6215e55df1ab4f6cda33dd081c0a91062a1be63':
  Fix the build
2012-10-10 18:28:02 -07:00
Fabrice Di Meglio
f6215e55df Fix the build
Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
2012-10-10 18:23:00 -07:00
Fabrice Di Meglio
5b04d0320b am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
* commit 'b8021a88e5c00ebd985a348b56af29c95a178a90':
  Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
2012-10-10 17:29:52 -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
e34b32430a am 02f0daa5: Merge "Fix WebView accessibility scripts." into jb-mr1-dev
* commit '02f0daa580a3d97f64e126198e42c3247ee37517':
  Fix WebView accessibility scripts.
2012-10-10 17:26:17 -07:00