60931 Commits

Author SHA1 Message Date
Svetoslav Ganov
a840462feb Folding Accessibility Service sample into ApiDemos.
1. Moving Accerssibility Service sample into ApiDemos since
   we are putting all accessibility samples there.

Change-Id: If2deec7f6ad49b0d50112300eda0f7cb48660450
2011-10-28 19:16:24 -07:00
Scott Main
5079909b8b am 8dbe177c: Merge "docs: fix spell checker client location" into ics-mr0
* commit '8dbe177c5dda205086f7a353dd1fa09a0c7ab24c':
  docs: fix spell checker client location
2011-10-29 02:16:15 +00:00
Joe Fernandez
74b2b95473 am 09848bc8: Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0
* commit '09848bc89de999416e2de82a7693b2deec6bf802':
  docs: add developer guide cross references, Project ACRE, round 3
2011-10-29 02:16:10 +00:00
Justin Ho
76756a42dd am c1cf3b16: Merge "Vertically center the landscape navigation bar." into ics-mr0
* commit 'c1cf3b160b4852e021a45806d496a9f9a76d6683':
  Vertically center the landscape navigation bar.
2011-10-29 02:16:08 +00:00
Amith Yamasani
69e640ee84 Merge "Bring back the old-style Ring/Vibrate/Silent states when using volume keys." into ics-mr0 2011-10-28 18:59:11 -07:00
Amith Yamasani
c696a53d1f Bring back the old-style Ring/Vibrate/Silent states when using volume keys.
In order to completely mute the ringer (no vibrate), introduce an extra
state beyond mute, which mutes the vibrator as well, if it was enabled.

Bug: 5530217

Change-Id: Ib1f299ee6bbca56c1aa7e1100662591362d08307
2011-10-28 18:40:43 -07:00
satok
4a6d087946 Merge "Add a flag for recommended suggestions of the spell checker" into ics-mr1 2011-10-28 18:26:40 -07:00
satok
f0fd595f0f Merge "Hide ime switcher when the screen is turned off." into ics-mr1 2011-10-28 18:25:28 -07:00
Jeff Brown
2d280f754e Merge "Improve the slow query instrumentation." into ics-mr0 2011-10-28 18:21:05 -07:00
Dianne Hackborn
7801612b4f Merge "Add some IO tests." into ics-mr1 2011-10-28 17:33:39 -07:00
Eric Fischer
2cc1c5d067 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-28 17:29:12 -07:00
Dianne Hackborn
e02c88af79 Work on process management.
Introduce a new concept of "B" services.  All running services are
classified as either A or B.  B services are later in the LRU list.
Their oom_adj is after the home app.  This allows us to better pick
services to kill based on how long they have running, and should
reduce the amount that we end up killing the home app.

This temporarly turns on a debug log when the oom_adj of a process
is changed.  Sorry, I know it is noisy.  This is needed to try to
track down why some processes are being killed.

Also add a flag to the SyncManager's service binding to allow the
syncing process to be more aggressively killed if it has done UI.
This is to address cases we have seen where sync is causing an 80MB
gmail process to be kept around, preventing other process from running.
Now what will happen is that the syncing process will aggressively be
killed by the system, and can then be restarted in a much lighter-weight
state.

Do a little tweak in the power manager to allow us to still do smooth
brightness changes even when the fancy TV off animation is in use.

And get rid of a debug log in the window manager that was accidentally
left in.

Change-Id: I64a8eeaaa1f096bab29c665fbff804c7f1d029e2
2011-10-28 17:15:08 -07:00
Dianne Hackborn
2e9562ad76 Add some IO tests.
Change-Id: Iacd5798a539781b67637cbbcc49cc8dec344e17b
2011-10-28 17:12:12 -07:00
Eric Fischer
9853b74653 Import revised translations. DO NOT MERGE
Change-Id: I1aaff923057636af5f68cc730d889adb201f9fc8
2011-10-28 17:02:44 -07:00
Svetoslav Ganov
ff35661b5d Merge "Fixing the build breakage due to bad merge." 2011-10-28 16:42:06 -07:00
Svetoslav Ganov
f31aba7346 Fixing the build breakage due to bad merge.
Change-Id: I2804bccc44e061229c3f7b2ad9e00b9e0a0ba916
2011-10-28 16:41:13 -07:00
Michael Jurka
9edd58e950 HorizontalScrollView should delay child presses
In Recents in landscape, we were seeing blue flashes when scrolling; generally, almost every scrolling container should be delaying child presses to prevent this problem
2011-10-28 16:40:07 -07:00
Peter Ng
876e700841 resolved conflicts for merge of e10462e3 to master
Change-Id: I1c5a4fd1573583cd365b375835038e7e4a34f201
2011-10-28 16:09:36 -07:00
Scott Main
8dbe177c5d Merge "docs: fix spell checker client location" into ics-mr0 2011-10-28 15:57:45 -07:00
Scott Main
2323e9bcdc docs: fix spell checker client location
Change-Id: Ic94eab2720cd96b1130869d2071c635b4acb27f5
2011-10-28 15:55:39 -07:00
Peter Ng
17cfc6ee37 am 146d018f: Merge "Checkbox and radio button assets are sharper and blue" into ics-mr1
* commit '146d018f2083ec435ad76c18302cd9e2496ef4d8':
  Checkbox and radio button assets are sharper and blue
2011-10-28 22:44:18 +00:00
Chet Haase
59d04a0ce4 am d568bba5: Merge "Optimize handling of scrolled wallpapers" into ics-mr1
* commit 'd568bba507b0f66d4d57c67b08ade894d2c75e53':
  Optimize handling of scrolled wallpapers
2011-10-28 22:44:16 +00:00
Svetoslav Ganov
f79f476fd1 resolved conflicts for merge of c00d2ddc to master
Change-Id: I075cc5b5df2909152ee463f8a0c7534344b47c62
2011-10-28 15:40:32 -07:00
Joe Fernandez
09848bc89d Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0 2011-10-28 15:40:11 -07:00
Jesse Wilson
0f28af209a Interpret '+' as a space char in the URL query params.
This changes Uri.decode() to use libcore's implementation
of the same behavior.

Bug: http://code.google.com/p/android/issues/detail?id=21064
Change-Id: If81005492b12d3aaecc745471e0a28679544a391
2011-10-28 18:31:52 -04:00
Eric Fischer
5b9c79f27e am 220d2b0a: (-s ours) Merge "Import revised translations. DO NOT MERGE" into ics-mr1
* commit '220d2b0aa126fbe09dee9e7e9afa1999521cf5d2':
  Import revised translations.  DO NOT MERGE
2011-10-28 22:27:54 +00:00
Gilles Debunne
19b51382a5 am a068e2f1: am 4eec98ed: Merge "Text handles do not handle scroll correctly" into ics-mr0
* commit 'a068e2f1d9532e6f005a162adfa295c553873ca5':
  Text handles do not handle scroll correctly
2011-10-28 22:27:50 +00:00
The Android Open Source Project
edd6ad8cd4 am 58ba1b61: Reconcile with ics-mr0-release
* commit '58ba1b6121a9f11bc1ba40eb5b267033bbf2fafb':
  Revert "Clean up CursorWindow code."
  Revert "Restore broken CursorWindow.getType behavior."
  Revert "Clean up CursorWindow lifetime."
  Revert "Fix regression in CursorWindow.copyStingToBuffer."
  Revert "Fix regression in CursorWindow.getString()"
  Revert "Clean up handrolled Binder proxies."
  Revert "Fix ownership of CursorWindows across processes."
  Revert "Use ashmem for CursorWindows."
2011-10-28 22:27:47 +00:00
Jeff Sharkey
195ffd3a13 am cc16024f: Merge "Differentiate between system_server and unknown." into ics-mr1
* commit 'cc16024f101c0fca211fcd069b3917becf7a3c00':
  Differentiate between system_server and unknown.
2011-10-28 22:27:38 +00:00
Daniel Sandler
056f4ea6b7 am 4c7926fa: Merge "Tuning parameters for mobile RSSI." into ics-mr1
* commit '4c7926fa27dacb92c8c7f3d57c4a3713dc0e3867':
  Tuning parameters for mobile RSSI.
2011-10-28 22:27:37 +00:00
Raphael
b53aab7d81 am 48ba4139: (-s ours) am fe9a2a54: (-s ours) Cherry-pick f51125d from master to ics-mr0. do not merge.
* commit '48ba4139b9dc1f53f996b71f509a9d0c6fd2d72b':
  Cherry-pick f51125d from master to ics-mr0. do not merge.
2011-10-28 22:27:22 +00:00
Peter Ng
d714e3a1ff am 63dd319e: Merge "Lockscreen on tablet is now using the same waveview widget as phone" into ics-mr1
* commit '63dd319ebeea0421f8bf901b85b753dde1de74d7':
  Lockscreen on tablet is now using the same waveview widget as phone
2011-10-28 22:27:13 +00:00
Adam Powell
1bc7d4b192 am 65793dc0: Merge "Add API for deferring fragment start." into ics-mr1
* commit '65793dc043eee43790137f79beeba7ed8b123902':
  Add API for deferring fragment start.
2011-10-28 22:27:12 +00:00
Adam Powell
678ed0c5a3 Bug 5275928 - Don't try to open an overflow menu under invalid circumstances.
Change-Id: I62ea1e982f0d3c92cb504efbae95bce238b12f72
2011-10-28 15:26:50 -07:00
Gilles Debunne
e03ba026c6 Merge "Performance improvement in TextView" 2011-10-28 15:26:22 -07:00
Gilles Debunne
4e13ebed6b Merge changes I2082e3d0,Ibf8e9827
* changes:
  Scroll performance improved in multiline TextEdit
  Performance improvements for long text edition.
2011-10-28 15:26:07 -07:00
Peter Ng
e10462e384 Merge "Stat_notify visual asset updates" into ics-mr1 2011-10-28 15:20:56 -07:00
Peter Ng
146d018f20 Merge "Checkbox and radio button assets are sharper and blue" into ics-mr1 2011-10-28 15:20:27 -07:00
Mark Wagner
73563ca81b Merge "bugfix 5513340 Insertion pointer (vertical beam) behaves oddly in Talk's message composition field" 2011-10-28 15:16:37 -07:00
Chet Haase
d568bba507 Merge "Optimize handling of scrolled wallpapers" into ics-mr1 2011-10-28 15:13:27 -07:00
Justin Ho
c1cf3b160b Merge "Vertically center the landscape navigation bar." into ics-mr0 2011-10-28 15:01:19 -07:00
Jeff Brown
89101cd9d9 Improve the slow query instrumentation.
On user-debug and eng builds, you can set the
"db.log.slow_query_threshold" system property to queries that
take longer than the specified number of milliseconds.
Set it to 0 to log all queries.

This property has been around for a while but it was implemented
poorly.  In particular, it *changed* the behavior of the query
by calling getCount() while holding the Db connection.
In normal operation, the query will not actually run until later.

By putting the timing logic into fillWindow() instead, we ensure
that we only measure queries that actually ran.  We also capture
cases where the cursor window gets filled multiple times.

Bug: 5520301
Change-Id: I174f5e1ea15831a1d22a36e9a804d7755f230b38
2011-10-28 14:58:39 -07:00
Mark Wagner
f818511dda bugfix 5513340 Insertion pointer (vertical beam) behaves oddly in Talk's message composition field
Seems like we should be calling makeBlink from setEnabled

Change-Id: I5b0433ba438a693f53d29e8ff7d4d853acc96bba
2011-10-28 14:50:36 -07:00
Chet Haase
a8e5a2bcd6 Optimize handling of scrolled wallpapers
Swiping the home screen causes the WindowManagerService to do
a bunch of work to keep the wallpapers in sync. First, it lays out
and places all windows. Also, it notifies the SystemUI process that
the wallpaper position has changed.

The layout/place operation is too much work - we only need to set
the position values for the wallpaper, not relayout the whole system.

The notification mechanism must exist, but should be optional. Most
wallpapers don't care (especially static ImageWallpapers). So we'll
give them a new API (WallpaperService.Engine.setWantsOffsets()) to
allow wallpapers to opt out of this process and avoid the performance
overhead.

Change-Id: I66c38375438937f14f6f5550565b28eb204b1e06
2011-10-28 14:49:23 -07:00
Jack Palevich
b50e2afd67 Destroy and recreate the EGL surface when the surface size changes.
Details:
+ Split EGLHelper.createSurface into two methods.
+ Add a separate flag for specifying when to create the GlInterface.
+ destroy and recreate the EGL surface when the surface size changes
+ Remove no-longer-needed work-around for b/2263168.

This fixes b/2263168

Change-Id: I0d2596527e3c8dabacdd8a8e427531eaefe7d266
2011-10-28 14:38:53 -07:00
Romain Guy
e707859415 Load identity matrix when calling Canvas.setMatrix(null)
Bug #5446826

Change-Id: I3a7817f266b17e9abe948500816d629edd9a2822
2011-10-28 14:32:20 -07:00
Joe Fernandez
61fd1e8d8c docs: add developer guide cross references, Project ACRE, round 3
Change-Id: I6125315ecdf0f78dd947c514a9944729d723e95d
2011-10-28 14:23:23 -07:00
Svetoslav Ganov
c00d2ddcc3 Merge "Fixing a memory leak in accessibility enteraction APIs." into ics-mr1 2011-10-28 14:20:52 -07:00
Peter Ng
eb5766ca60 Checkbox and radio button assets are sharper and blue
Bug: 5527462
Change-Id: Ib3efd5c54ce060319ab5692f74f7002f7c874ee1
2011-10-28 14:15:55 -07:00
Peter Ng
bad9ac70da Stat_notify visual asset updates
Change-Id: If2a5d50801cda32a13890880583611d480be32f9
2011-10-28 14:07:19 -07:00