63064 Commits

Author SHA1 Message Date
Svetoslav Ganov
ddd51fdb71 am 4661a05b: am 2f504d9e: Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1
* commit '4661a05bef8c98b18698202c758067ac9c965f77':
  NumberPicker incorrectly shown for the old theme.
2011-11-30 10:51:31 -08:00
Dianne Hackborn
27a7b13666 am 9c83b6ff: am db904b47: Merge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data" into ics-mr1
* commit '9c83b6ffca5d23257a99c805d8e4540ac80e53c3':
  Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data
2011-11-30 10:51:29 -08:00
Narayan Kamath
4f9787d6f4 am 7dfb3e61: am cc084f1d: Fix superfluous onError callbacks.
* commit '7dfb3e611a9b4db4ffadcaa18a833de083647159':
  Fix superfluous onError callbacks.
2011-11-30 10:51:10 -08:00
Mathias Agopian
993b2099ce am 55d3880e: am bb1e7d43: Merge changes I7e973a35,Ib3386fcc into ics-mr1
* commit '55d3880eed3450748eb7b97281e030902ee29c2a':
  SurfaceTexture: add EGL_KHR_fence_sync option
  SurfaceTexture: add a blit-to-FBO test
2011-11-30 10:50:52 -08:00
Jamie Gennis
df96385b9a am c040e1e7: am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
* commit 'c040e1e77923d81050f2d3dbdac5d07e01be72f6':
  SurfaceMediaSource: use the vid enc usage bit
2011-11-30 10:50:49 -08:00
Chris Craik
267a4b0627 am c649180d: am f296ee69: Merge "Send animation start notification back to webkit from ui thread" into ics-mr1
* commit 'c649180d7c12b0b4bc3c183a6431da26cff74819':
  Send animation start notification back to webkit from ui thread
2011-11-30 10:50:42 -08:00
Romain Guy
39fe17c8fb Cache drawable constant states instead of drawables
Bug #5678369

Caching drawables directly in a static map was responsible for runtime
restarts. If two different UI threads requested the same drawable, the
first thread to issue the request would be given a drawable callback
belonging to the second thread. This would cause an exception in
ViewRootImpl on invalidate.

The solution is to store the drawable states and to create a new
drawable instance every time a drawable is requested from the
cache. This is similar to how preloaded resources are handled.

Change-Id: I47e24e2a168cf67a3589185c6cd77b70f9a1c7cf
2011-11-30 10:34:07 -08:00
Svetoslav Ganov
4661a05bef am 2f504d9e: Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1
* commit '2f504d9ea8aa18cd8dbaa2dcc3f3959252b414cc':
  NumberPicker incorrectly shown for the old theme.
2011-11-30 10:27:45 -08:00
Svetoslav Ganov
2f504d9ea8 Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1 2011-11-30 10:25:42 -08:00
Dianne Hackborn
9c83b6ffca am db904b47: Merge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data" into ics-mr1
* commit 'db904b4782a4dfc9d81d5d0616dea3656893b539':
  Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data
2011-11-30 10:22:37 -08:00
Dianne Hackborn
db904b4782 Merge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data" into ics-mr1 2011-11-30 10:20:29 -08:00
Jeff Sharkey
cf5b90b45c Merge "Clean up InterfaceConfiguration flags." 2011-11-30 10:20:07 -08:00
Steve Block
6a8c48f6aa Merge "Clean up JavaDoc for GeolocationPermissions" 2011-11-30 10:04:37 -08:00
Steve Block
7351adf76a Clean up JavaDoc for GeolocationPermissions
Much of the current JavaDoc for GeolocationPermissions exposes implementation
details which are of no interest to a Java developer. Move these comments out
of the JavaDoc and clean up the text.

Bug: 5461416
Change-Id: I95a68fe15016fadc729d8d857fd69b2c927a5ea9
2011-11-30 18:03:30 +00:00
Dianne Hackborn
ed032e7873 am 500862b4: am 1808f214: Merge "Fix issue #5636525: ANR observed in setup wizard after changing language" into ics-mr1
* commit '500862b44c8ecbb867144781239bd55b6d3c9489':
  Fix issue #5636525: ANR observed in setup wizard after changing language
2011-11-30 09:58:18 -08:00
Teng-Hui Zhu
0e9f0c3e13 am e9dc400c: am d3788b97: Merge "WebView animation support" into ics-mr1
* commit 'e9dc400c080577b74a59085f9c2428c92ee21e16':
  WebView animation support
2011-11-30 09:58:02 -08:00
Romain Guy
9e81c791af am 7e6077c7: am a9a91ad3: Merge "Improve screenshot animation performance Bug #5525888" into ics-mr1
* commit '7e6077c73999d906aa84b8dd4344bab996c75080':
  Improve screenshot animation performance Bug #5525888
2011-11-30 09:57:57 -08:00
Andreas Huber
7ba11ef4a0 Merge "resolved conflicts for merge of 3d630e86 to master" 2011-11-30 09:55:47 -08:00
Nick Kralevich
cdc8a01e26 Merge "allow dumpstate to work with dmesg_restrict=1" 2011-11-30 09:55:06 -08:00
Andreas Huber
db85b54395 resolved conflicts for merge of 3d630e86 to master
Change-Id: I9eb7b7c1668b5f0de85ec8b1e9257cf1ec4d8b9e
2011-11-30 09:53:40 -08:00
The Android Automerger
127c35553d merge in ics-mr1-release history after reset to ics-mr1 2011-11-30 06:46:17 -08:00
satok
4c3fa642ef Fix ConcurrentModificationException in TextServicesManagerService
Bug: 5687402
Change-Id: I59086f956b6ee618ff0e1b1034d767d9ae295848
2011-11-30 22:46:16 +09:00
Narayan Kamath
7dfb3e611a am cc084f1d: Fix superfluous onError callbacks.
* commit 'cc084f1d734c1e332d6acc1f89204036ee82bd0c':
  Fix superfluous onError callbacks.
2011-11-30 04:57:10 -08:00
Narayan Kamath
cc084f1d73 Fix superfluous onError callbacks.
When stop() is called twice or after done().This relates
to bug 5662598 because users using the old deprecated API
will see two calls to onUtteranceCompleted.

bug:5662598
Change-Id: I5d59cf66b4f4c8650d3f8f9e503ac3f33132c0d0
2011-11-30 12:32:15 +00:00
Narayan Kamath
7a44d68249 Merge "Allow multiple TextToSpeech instances per calling app." 2011-11-30 02:45:22 -08:00
Narayan Kamath
492b7f0d51 Allow multiple TextToSpeech instances per calling app.
We now use an IBinder object as an identity token of the
caller instead of Context#getPackageName.

bug:5680696
Change-Id: I1ca29e7161f709d2a85218206f3f117dfa620282
2011-11-30 10:42:03 +00:00
Wu-cheng Li
12f3e28544 Merge "Add a method to get empty camera parameters." 2011-11-30 00:47:01 -08:00
Daniel Sandler
b64cb88c32 Expanding NotificationManager's event logging.
Specifically, add the "tag" and "mustNotHaveFlags" columns.

(Hunting bug 5444859.)

Change-Id: Ic9ece44ed4697f7a8ef54e7870f72c9f94518cd9
2011-11-29 23:48:29 -05:00
Wu-cheng Li
020975236c Fix compile error in android_hardware_Camera.cpp.
Change-Id: I06b187deaacb98e01813dbfb8d92a332bfc08fc4
2011-11-30 11:07:08 +08:00
Svetoslav Ganov
d116d7c78a Fixing memory leaks in the accessiiblity layer.
1. AccessibilityInteractionConnections were removed from the
   AccessiiblityManagerService but their DeathRecipents were
   not unregistered, thus every removed interaction connection
   was essentially leaking. Such connection is registered in
   the system for every ViewRootImpl when accessiiblity is
   enabled and inregistered when disabled.

2. Every AccessibilityEvent and AccessiilbityEventInfo obtained
   from a widnow content querying accessibility service had a
   handle to a binder proxy over which to make queries. Hoewever,
   holding a proxy to a remote binder prevents the latter from
   being garbage collected. Therefore, now the events and infos
   have a connection id insteand and the hindden singleton
   AccessiiblityInteaction client via which queries are made
   has a registry with the connections. This class looks up
   the connection given its id before making an IPC. Now the
   connection is stored in one place and when an accessibility
   service is disconnected the system sets the connection to
   null so the binder object in the system process can be GCed.
   Note that before this change a bad implemented accessibility
   service could cache events or infos causing a leak in the
   system process. This should never happen.

3. SparseArray was not clearing the reference to the last moved
   element while garbage collecting thus causing a leak.

bug:5664337

Change-Id: Id397f614b026d43bd7b57bb7f8186bca5cdfcff9
2011-11-29 18:51:30 -08:00
Wu-cheng Li
b4123ef0f9 Merge "Add camera focus move callback." 2011-11-29 18:45:06 -08:00
Svetoslav Ganov
9f086d812f NumberPicker incorrectly shown for the old theme.
1. NumberPicker is trying to greedily grow to its max size
   but if the max size is not specified the default value
   was the max integer which makes the widget get quite
   tall in some cases. Now the widget tries to reach the
   max size only if it has been specified.

2. NumberPicker was not computing its min width when the array
   of display values is set.

3. DatePicker' layout for the old Theme was adding a margin on
   the right of the group of spinners and if the calendar view
   is not shown the spinners were not centered. Added the spinners
   right margin to the left margin of the calendar view.

4. TimePickerDialog was using the wrong conext and was not dismissable
   on an outside touch. Same for the DatePickerDialog context.

bug:5646161

Change-Id: Ic15f9b3e6291b76493604230ceb4f783a04d4ac7
2011-11-29 18:40:05 -08:00
Jeff Sharkey
ddba10622d Clean up InterfaceConfiguration flags.
Offer modifier methods for interface flags instead of mutating
directly, and remove square brackets.

Change-Id: I4cce719dccedfb3f0e8448c111e65b93c0008cbb
2011-11-29 18:37:04 -08:00
Steven Ross
f0f2d2438c Merge "Display max retry lockout message on backup lock fixes 5462647" 2011-11-29 18:34:50 -08:00
Dianne Hackborn
ebac48c6ad Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data
Need to make sure the "files" directory is created.

Change-Id: I8d5b374a5a03590a5ce7fafb5171705414f7b2f9
2011-11-29 18:01:50 -08:00
Mathias Agopian
cadd325aff add a way to access the version string of the h/w implementation of EGL
we use a hidden egl extension. the version string is printed
in SF's dumpsys log.

Change-Id: I123eb4bde6de462bb2404c67b74d6d6219a48d6a
2011-11-29 18:00:35 -08:00
James Dong
44ddd1ff88 Fix the broken build
Change-Id: Ib508514891474d24f14ac69d721b0c9c700a0c3f
2011-11-29 18:00:03 -08:00
Gilles Debunne
8a439ac7a3 Performance improvement in TextView
Using a SpanSet to minimize the number the calls to getSpans.

This is a cherry pick of 145653 in ICS-MR1

Change-Id: I0a6e1fc7bd7a89325c2925bf98d59626d5e12995
2011-11-29 17:53:40 -08:00
Steven Ross
b9430d2a1c Display max retry lockout message on backup lock fixes 5462647
Change-Id: I75e51f45f821542ae380e4ec4e3232b3fbe660f4
2011-11-29 20:49:08 -05:00
Gilles Debunne
70b34a1e05 Scroll performance improved in multiline TextEdit
Measuring line widths, glyph by glyph slows down the scrolling
process for long text (for some reason, width measure efficiency
is affectedi by text length, maybe because the whole text has to
be passed to JNI layers).

This optimization avoids this computation in the case where there
is no possible horizontal scroll.

This is a cherry pick of 145957 into ICS-MR1

Change-Id: I2082e3d0eedace1a86122a03e4b21f90f3bc8522
2011-11-29 17:48:19 -08:00
Mathias Agopian
55d3880eed am bb1e7d43: Merge changes I7e973a35,Ib3386fcc into ics-mr1
* commit 'bb1e7d4324ff43491c526c77f405bbbf0cece611':
  SurfaceTexture: add EGL_KHR_fence_sync option
  SurfaceTexture: add a blit-to-FBO test
2011-11-29 17:48:01 -08:00
Mathias Agopian
bb1e7d4324 Merge changes I7e973a35,Ib3386fcc into ics-mr1
* changes:
  SurfaceTexture: add EGL_KHR_fence_sync option
  SurfaceTexture: add a blit-to-FBO test
2011-11-29 17:46:35 -08:00
Jamie Gennis
c040e1e779 am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
* commit '6f1dd757cb158d17c76baeb170f7db2271802ef8':
  SurfaceMediaSource: use the vid enc usage bit
2011-11-29 17:26:32 -08:00
Jamie Gennis
6f1dd757cb Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1 2011-11-29 17:25:09 -08:00
Jamie Gennis
77cec6132a SurfaceTexture: add EGL_KHR_fence_sync option
This change adds a compile-time option for SurfaceTexture to use the
EGL_KHR_fence_sync extension to synchronize access to Gralloc buffers.

Bug: 5122031
Change-Id: I7e973a358631fff5308acf377581b811911fe790
2011-11-29 17:09:01 -08:00
Chris Craik
c649180d7c am f296ee69: Merge "Send animation start notification back to webkit from ui thread" into ics-mr1
* commit 'f296ee697409b4b55bef17d534edbc24a4619f0f':
  Send animation start notification back to webkit from ui thread
2011-11-29 16:57:29 -08:00
Chris Craik
f296ee6974 Merge "Send animation start notification back to webkit from ui thread" into ics-mr1 2011-11-29 16:55:47 -08:00
Andreas Huber
e7b3e09a5e am 52607c53: am d12dc284: Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1
* commit '52607c5364446df6ac5b2f55cb50e146e6023a4f':
  If an error occurs that prevents us from reallocating buffers during a format change
2011-11-29 16:33:04 -08:00
Andreas Huber
848bffd8fa am 074133b2: am 351143fb: Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1
* commit '074133b260f8d12e484e93b9aa5a33a4983b7349':
  Updated (internal) API for IStreamSource to signal discontinuities
2011-11-29 16:33:02 -08:00
Andreas Huber
baeda5135b Merge "resolved conflicts for merge of 998a929a to master" 2011-11-29 16:31:17 -08:00