26491 Commits

Author SHA1 Message Date
Daniel Sandler
d2cd1f7224 Merge "Lazily fetch the status bar service." into ics-mr0 2011-10-20 13:08:36 -07:00
Eric Fischer
7ec4284ab2 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-20 11:25:44 -07:00
Eric Fischer
0d00210f99 Import revised translations. DO NOT MERGE
Change-Id: I2f0393068bfeaaf7d751643355c6ce74a96a2419
2011-10-20 11:07:28 -07:00
Michael Chan
e1aef8ec04 Merge "Update comments for Calendar ExtendedProperties." 2011-10-20 10:51:58 -07:00
satok
87e87c210e am 1301f092: Merge "Update links for SampleSpellCheckerService for I938ba499" into ics-mr0
* commit '1301f092e5bd520821c54c788a07cbdfda49df7b':
  Update links for SampleSpellCheckerService for I938ba499
2011-10-20 08:44:39 -07:00
satok
1301f092e5 Merge "Update links for SampleSpellCheckerService for I938ba499" into ics-mr0 2011-10-20 08:42:50 -07:00
Jean Chalard
b5470d52a4 Merge "Fix a warning from the binder, step 2." 2011-10-20 05:36:26 -07:00
Jean Chalard
de9dbb05ce Fix a warning from the binder, step 2.
This patch fixes the following warning:
W/Binder: The following Binder class should be static or
  leaks might occur: android.view.inputmethod
  .InputMethodManager.ControlledInputConnectionWrapper

...in hope of removing a possible memory leaks.

Change-Id: I081d10fd839f2985d7081492f4f5cf0b4da42fd2
Bugs: 5481376, 5461066
2011-10-20 20:55:08 +09:00
Jean Chalard
a80838d9d6 Fix a warning from the binder.
This patch fixes the following warning:
W/Binder: The following Binder class should be static or
  leaks might occur: android.view.textservice
  .SpellCheckerSession.InternalListener

...in hope of removing a possible memory leaks.
However in my tests it does nothing at all for the memory leak
in bug 5461066, so it was probably unrelated.

Change-Id: Id776665e9483121d22cc91e8d2d9f32e3413ec96
Bugs: 5481376,5461066
2011-10-20 20:04:54 +09:00
Svetoslav Ganov
c397df7754 am 5dc30a77: Merge "DatePicker crashes when going from 2036 to 2035 via ▼" into ics-mr0
* commit '5dc30a770ab1b4f07ff10502f9de9ec39daac41d':
  DatePicker crashes when going from 2036 to 2035 via ▼
2011-10-19 21:17:14 -07:00
Svetoslav Ganov
5dc30a770a Merge "DatePicker crashes when going from 2036 to 2035 via ▼" into ics-mr0 2011-10-19 21:15:30 -07:00
Jim Miller
1aa1c9bc68 am 2f35281a: Merge "Fix 5485925: Fix crash in transport control view" into ics-mr0
* commit '2f35281ae0ae4471527e9286f022cb960384044e':
  Fix 5485925: Fix crash in transport control view
2011-10-19 20:50:45 -07:00
Jim Miller
2f35281ae0 Merge "Fix 5485925: Fix crash in transport control view" into ics-mr0 2011-10-19 20:49:33 -07:00
Svetoslav Ganov
6304b0d58e DatePicker crashes when going from 2036 to 2035 via ▼
1. Some obsolte logic was placing invalid index in the array of
   scroll wheel items which was resulting in failure to look its
   string representation from the cache causing a NPE.

2. While editing the current value via the IME the middle item
   of the scroll wheel was partially visible i.e. the user was
   able to see a dimmed version of the old value intermixed with
   the new one.

3. The logic for hiding the IME while poking a button i.e. starting
   to use another way of changing the current value, was incorrect.

bug:5480205

Change-Id: I1c2c96402bd38bac1dec64ccc6b550410332b9d7
2011-10-19 20:43:35 -07:00
Michael Chan
73bddfcdd3 Update comments for Calendar ExtendedProperties.
Change-Id: Id51fe946995b19f98f1745abd3c83c942779b5df
2011-10-19 18:21:49 -07:00
Svetoslav Ganov
12d1f09994 am 06044fe1: Merge "AccessibilityServiceInfo does not report properly the feedback type." into ics-mr0
* commit '06044fe114f7f07c15b0ba92740829cb8896766b':
  AccessibilityServiceInfo does not report properly the feedback type.
2011-10-19 18:18:44 -07:00
Svetoslav Ganov
06044fe114 Merge "AccessibilityServiceInfo does not report properly the feedback type." into ics-mr0 2011-10-19 18:15:52 -07:00
Jim Miller
a5ff5b482a Fix 5485925: Fix crash in transport control view
This fixes a crash where we weren't hiding the view when there's
no registered media player.  It now hides the view when AudioManager
tells it to clear the data.

It also avoids a possible race condition where a request can
come in from AudioManager before the callback is set.

Change-Id: I3360e775c75396e1eee11413d317df5b39ceb487
2011-10-19 18:07:58 -07:00
Daniel Sandler
22522289fc am 84e825a8: Merge "Add hasNavigationBar() to the window manager." into ics-mr0
* commit '84e825a84d7dde03042228c79638935c92d13c92':
  Add hasNavigationBar() to the window manager.
2011-10-19 18:07:18 -07:00
Daniel Sandler
84e825a84d Merge "Add hasNavigationBar() to the window manager." into ics-mr0 2011-10-19 18:05:20 -07:00
Svetoslav Ganov
bb1b9ea8a4 AccessibilityServiceInfo does not report properly the feedback type.
Since the feedback type is an integer the bits of which correspond to a given
feedback type, the AccessibilityNodeInfo#feedbackTypeToString should return a
string representation of all feedback types. The current implementation
incorrectly assumes that the argument had only one flag set. Note that this
is a new ICS API and we would like to have this fixed.

bug:5486933

Change-Id: I5e461c385e199cce4c3054907ff0acf5e9d92afc
2011-10-19 17:14:27 -07:00
Peter Ng
93eb09b877 Merge "Fixing blurry textfields" 2011-10-19 16:55:54 -07:00
Fabrice Di Meglio
a99ed6284e Fix compilation issue when DEBUG_GLYPHS define is activated
Change-Id: I61693952ffdc02f77058311fc982fbbf8df24c6c
2011-10-19 16:40:02 -07:00
Peter Ng
45ee4a41df Fixing blurry textfields
Bug: 5473811
Change-Id: I7ca62d78f2ffd433e15dbb6389a5af26438d0c18
2011-10-19 16:01:33 -07:00
Svetoslav Ganov
4a41cb3147 am 018cb119: Merge "AdapterView does not check for null adapter when initializing accessibility event." into ics-mr0
* commit '018cb119bca7a3a08dd59843e1fec9a3027a8133':
  AdapterView does not check for null adapter when initializing accessibility event.
2011-10-19 15:53:28 -07:00
Daniel Sandler
0c4ccff369 Add hasNavigationBar() to the window manager.
It is no longer sufficient to check the value of
internal.R.bool.config_showNavigationBar to determine if a
navigation bar (separate from the status bar) is shown on a
device, because the emulator needs to be able to override
this value (now possible by setting qemu.hw.mainkeys to "1"
or "0", for navbar or no navbar, respectively).

This logic is now contained in PhoneWindowManager, and any
clients wishing to know whether the system has a software
nav bar should consult the new hasNavigationBar() method.

Bug: 5404945
Change-Id: I119d32a8c84b88b2ef46f63244e7f11dc5de0359
2011-10-19 16:39:14 -04:00
Svetoslav Ganov
0e6fa8b60d AdapterView does not check for null adapter when initializing accessibility event.
The code that initializes accessibility events was assuming the AdapterView
always has an adapter and this caused NPE. Now the right method of the view
is called to get the item count.

bug:5474162

Change-Id: I6c330dc2894477df9447a4ecfddc7bd62c575d59
2011-10-19 12:38:08 -07:00
Gilles Debunne
0f4109e4ef Renaming of a hidden API: ShowSoftInputOnFocus
Change-Id: Ib0384815f5ed677547a42d456ee190d5ac2ef7bd
2011-10-19 11:26:21 -07:00
Dianne Hackborn
3585a3dfc6 am 47f8367a: Merge "Work on issue #5465917: Wakelock *overflow* held for very long times" into ics-mr0
* commit '47f8367ab79247501d5d204632a7797fa8a888e5':
  Work on issue #5465917: Wakelock *overflow* held for very long times
2011-10-19 11:10:18 -07:00
Dianne Hackborn
47f8367ab7 Merge "Work on issue #5465917: Wakelock *overflow* held for very long times" into ics-mr0 2011-10-19 11:07:34 -07:00
George Mount
f23e1679a2 Fixed spell check failing to change word.
Bug 5387838
 On WebView.rebuildWebTextView, setTextAndKeepSelection was
 being called, erasing the selections. Changed it so that
 when text is replaced with the exact same value, no replace
 is done. Also, on the Google search, when a spelling change
 was made, the final character was placed improperly. When
 a single character is added, the javascript events for the
 character are sent. When multiple characters are changed,
 the entire value is replaced with no javascript key events
 sent.

Change-Id: I791eeb3c96354cfe3cbfda7e8d05c81fcdeb152f
2011-10-19 10:38:32 -07:00
Gilles Debunne
5ac84423a2 Typo in ViewRootImpl
Change-Id: I4a5acfb091ce05f56cdbaa0a56809f377cbf9b39
2011-10-19 09:35:58 -07:00
satok
44619d3e08 Update links for SampleSpellCheckerService for I938ba499
Change-Id: I528fc5ee5f9971ecb3bf47ef1c8b999546724c1f
2011-10-19 23:52:03 +09:00
Kristian Monsen
0d491c1dce WebView part of fix for bug 5307956
JniUtil now returns empty string instead of crashing
when the OS can't find/create a cache directory. Have only
seen this happen when the whole file system was broken.

Change-Id: I867017d62dce83cae3e83959eac9e974433bbdc9
2011-10-19 11:48:06 +01:00
Dave Burke
2696d0520f am 70ac412b: Merge "Add a LayerScreenshot" into ics-mr0
* commit '70ac412b2fe7be2507189a9fdfb30c43b36d56ac':
  Add a LayerScreenshot
2011-10-18 23:00:08 -07:00
Dave Burke
70ac412b2f Merge "Add a LayerScreenshot" into ics-mr0 2011-10-18 22:58:09 -07:00
Daniel Sandler
9cbd360a67 Lazily fetch the status bar service.
Works around a timing issue in the lockscreen's connection
to the status bar.

Bug: 5479833
Change-Id: I043441b94db74df3e4319dd7bfb7635446cdc5d6
2011-10-19 01:41:29 -04:00
Mathias Agopian
0ab84ef507 Add a LayerScreenshot
A LayerScreenshot is a special type of layer that contains a screenshot of
the screen acquired when its created. It works just like LayerDim.

Make sure to call compositionComplete() after rendering into a FBO.

Bug: 5446982, 5467587, 5466259
Change-Id: I5d8a1b4c327f9973d950cd4f4c0bca7f62825cd4
2011-10-18 20:21:47 -07:00
Svetoslav Ganov
e261e283ea Add content description setter to RemoteViews
bug:5480389

Change-Id: I66616f379a244ba7f3552d766f3aaa77f207550a
2011-10-18 18:01:47 -07:00
Romain Guy
caabc81f0f Merge "Notify a Bitmap is has changed when calling copyPixelFromBuffer" 2011-10-18 17:57:22 -07:00
Romain Guy
2c183fa5bf Notify a Bitmap is has changed when calling copyPixelFromBuffer
Change-Id: Ibff1a162edfe11473c5c167e764405bf83ec5822
2011-10-18 17:56:06 -07:00
Jim Miller
90e4ad00a7 am 06398768: Merge "Fix 5288804: Make music trasports in lockscreen more closely match design" into ics-mr0
* commit '06398768ec048cf05717ee44b81cb357fdc896dd':
  Fix 5288804: Make music trasports in lockscreen more closely match design
2011-10-18 17:51:41 -07:00
Jim Miller
06398768ec Merge "Fix 5288804: Make music trasports in lockscreen more closely match design" into ics-mr0 2011-10-18 17:49:28 -07:00
John Reck
ee4ebb1081 am 49dfd814: Merge "Find on page asset update" into ics-mr0
* commit '49dfd814acef0c4b3bc9e408969d5ffa99883664':
  Find on page asset update
2011-10-18 16:39:39 -07:00
Dianne Hackborn
c24ab866b0 Work on issue #5465917: Wakelock *overflow* held for very long times
- Fix ordering problem in sync manager that would cause its wake
  locks to slightly appear in the system process when they should
  be fully accounted against the app.
- Allow the system process to have more wake lock names in its
  battery stats.
- In the bug report output, print totals of the wake locks for each
  process, to make it easier to parse what is being printed for things
  like the system process with a huge number of individual wake locks.

Change-Id: I3cf39330f22f3c51c11e65e4124150d73a7da2dd
2011-10-18 16:38:17 -07:00
John Reck
49dfd814ac Merge "Find on page asset update" into ics-mr0 2011-10-18 16:37:03 -07:00
Eric Fischer
af50cd94fe Merge "Import revised translations." 2011-10-18 16:27:32 -07:00
Scott Main
73606c2f60 am 35f78f30: Merge "docs: add package summary for spell checker services" into ics-mr0
* commit '35f78f30f39832ca8f6cd21140d501c53a2aa826':
  docs: add package summary for spell checker services
2011-10-18 15:55:33 -07:00
Scott Main
35f78f30f3 Merge "docs: add package summary for spell checker services" into ics-mr0 2011-10-18 15:54:04 -07:00
John Reck
5cbc7ba7ad Find on page asset update
Bug: 5452478

Change-Id: Iea11cbc7efda03887c5205fb6677f3f88c313737
2011-10-18 15:51:55 -07:00