26222 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Brian Colonna
2c4c6dfa8d am 2720cfae: Merge "Fix 5433466 - FU out of position during orientation change" into ics-mr0
* commit '2720cfae624770674122640f2d4a3f55702d80ff':
  Fix 5433466 - FU out of position during orientation change
2011-10-18 15:49:12 -07:00
Brian Colonna
2720cfae62 Merge "Fix 5433466 - FU out of position during orientation change" into ics-mr0 2011-10-18 15:46:54 -07:00
Jim Miller
02c4c8a700 Fix 5288804: Make music trasports in lockscreen more closely match design
This fixes three issues;
- Make the background black while the transport is showing.
- Show scrim sandwiched between artwork and overlapping UI.
- Remove gaps in sides of background assets.

Change-Id: I563fc680c4c042d8b25ec37332aeab528cf838ca
2011-10-18 15:21:20 -07:00
Joe Fernandez
be3ffd56bf am 3f70aa78: Merge "docs: Camera JavaDoc - added xref to Camera DevGuide" into ics-mr0
* commit '3f70aa783cca9f4c331c2a1b390bb7bebc6e248c':
  docs: Camera JavaDoc - added xref to Camera DevGuide
2011-10-18 15:03:23 -07:00
Eric Fischer
b0d150aa53 Import revised translations.
Change-Id: I83ab00ec220b7c0ba0d37e7f4c91e945e35aab39
2011-10-18 15:03:21 -07:00
Joe Fernandez
3f70aa783c Merge "docs: Camera JavaDoc - added xref to Camera DevGuide" into ics-mr0 2011-10-18 15:02:00 -07:00
Joe Fernandez
6c5c3c392b docs: Camera JavaDoc - added xref to Camera DevGuide
Change-Id: I4b5faa154a63f0830717a9156b617a0199604547
2011-10-18 14:57:05 -07:00
Fred Quintana
a4cba2922e am 6d076a42: Merge "fix bug where the instance saving of the ChooseTypeAndAccountActivity would only work in the case where onSaveInstanceState was called." into ics-mr0
* commit '6d076a425ab10441996ebe194b0c181d16912ece':
  fix bug where the instance saving of the ChooseTypeAndAccountActivity would only work in the case where onSaveInstanceState was called.
2011-10-18 14:45:35 -07:00
Michael Chan
e6fbf65de6 Update the comment for Calendar Events required fields again.
Change-Id: I3f795ecb68a80d59e87e2fe0fc8cdcea67999354
2011-10-18 14:43:11 -07:00
Fred Quintana
6d076a425a Merge "fix bug where the instance saving of the ChooseTypeAndAccountActivity would only work in the case where onSaveInstanceState was called." into ics-mr0 2011-10-18 14:43:06 -07:00
Michael Chan
1ad8347db5 Update comment on required fields for an event
Change-Id: Id06c1442776c99912e65acd9b7db114a82da9042
2011-10-18 14:15:28 -07:00
Brian Colonna
9d20405e51 Fix 5433466 - FU out of position during orientation change
If you turn the device from portrait to landscape mode and immediately
invoke the lockscreen, it will come up in landscape mode and switch to
the desired portrait mode within a couple of seconds.  Previously,
Face Unlock would come up in landscape mode, but its position would
not change once lockscreen corrected itself, causing Face Unlock to be
partly off the screen.

This has been fixed by checking if we are already bound to Face Unlock
when the layout is created.  If this is true, then the layout is being
created due to a change in orientation, and we stop Face Unlock, and
restart it at the new position.

This commit also adds a fix where we now use INVISIBLE for the Face
Unlock area when it is not showing instead of using GONE.  The
dimensions of the Face Unlock area is 0-by-0 when set to GONE, and we
want to avoid the possibility for the Face Unlock service being
assigned a zero area.  I'm not sure if this was ever causing problems,
but it certainly is not the intended behavior.

Also cleaned up some comments and logging.

Change-Id: I68deb49cb26dafb5c238167d0c23f0eed2cfb75a
2011-10-18 17:04:21 -04:00
Chet Haase
841d79497d am 87bc53de: Merge "Make notification panel delete-all animation smoother" into ics-mr0
* commit '87bc53de2adf479ad5a5e226bf3d8fd31af6dc21':
  Make notification panel delete-all animation smoother
2011-10-18 13:46:45 -07:00
Chet Haase
87bc53de2a Merge "Make notification panel delete-all animation smoother" into ics-mr0 2011-10-18 13:45:00 -07:00
Jim Miller
7c3a18398f am 8e6d75af: Merge "Fix 5473038: workaround for fd leak in lockscreen" into ics-mr0
* commit '8e6d75affa1a802b01aa38ad765d1ae9f998c0ab':
  Fix 5473038: workaround for fd leak in lockscreen
2011-10-18 13:12:10 -07:00
Jim Miller
8e6d75affa Merge "Fix 5473038: workaround for fd leak in lockscreen" into ics-mr0 2011-10-18 13:10:24 -07:00
Chet Haase
2f2022afa1 Make notification panel delete-all animation smoother
Making the notfication delete-all animation smoother by carefully
choreographing the various parts of it. The problem with the previous
animation was that there was simply too much going on at the
same time, causing things like layout and recreating display-lists
in the middle of animations that became choppy as a result. This
approach swipes all items off quickly, then scrolls the shade up to the
top, making both sets of animations smoother as a result.

Fixes #5431207: Notification delete-all should be smoother

Change-Id: Iefe8ab5d661e05adcd10379dab85227d17904450
2011-10-18 13:05:28 -07:00
Eric Fischer
3c44e8d22c Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-18 11:29:34 -07:00