59014 Commits

Author SHA1 Message Date
Amith Yamasani
2d43d283fc Handle the case of Preference lists that have header views inserted at the top.
Without this change, wrong Preference is returned when you select one.
Subtract the number of headers from the index before querying the adapter.
Needed for:
Bug: 5203189

Change-Id: Iba7277789ebbd7e3e9954931b1ea06c7e34f3c15
2011-09-29 15:16:16 -07:00
Guang Zhu
2452ad3028 Merge "Revert "log stack trace when finish() or onDestroy() is called"" 2011-09-29 10:14:27 -07:00
Marco Nelissen
d94a7b60cc Merge "Release MediaPlayer before letting it go out of scope." 2011-09-29 10:11:34 -07:00
Marco Nelissen
e1bd048cf2 Release MediaPlayer before letting it go out of scope.
Change-Id: Ib2b727146f6cba91b131e66d218251f5a3206fac
2011-09-29 09:59:03 -07:00
Jean-Michel Trivi
cc3fbb7b69 Merge "Fix bug 5357295 NPE on display when remote control client dies" 2011-09-29 09:09:37 -07:00
Justin Ho
b9c13d091e Merge "Re-adding missing lockscreen drawable" 2011-09-29 08:58:50 -07:00
Justin Ho
aebd1e0823 Re-adding missing lockscreen drawable
Change-Id: I895b36b77ea35ffacdfe4a2b9b4c58de9bd01472
2011-09-29 08:53:45 -07:00
Chet Haase
253f694981 Merge "Fixed ProgressBar logic for AnimationDrawables" 2011-09-29 07:47:16 -07:00
Steve Block
29af074436 Merge "Fix HTML5Audio to call WebView.isPrivateBrowsingEnabled() on the UI thread" 2011-09-29 04:09:45 -07:00
Luca Zanolin
83e8ced91a Merge "Change the width of the suggestion item to match the one of the suggestion pop-up" 2011-09-29 01:09:47 -07:00
Adam Powell
636da63854 Merge "Fix bug 5385274 - tabs in browser can't be scrolled" 2011-09-28 23:51:50 -07:00
Adam Powell
f6a6c97062 Fix bug 5385274 - tabs in browser can't be scrolled
Fix a regression related to optimizing invalidation in scrolling
views.

Change-Id: I6a39075dc830d78436a274935a904a32084defac
2011-09-28 23:48:10 -07:00
Adam Powell
8f84765385 Merge "Fix bug 5386915 - Action mode is intercepting touches it shouldn't be" 2011-09-28 22:47:08 -07:00
Chih-Chung Chang
bdb38c14b9 Merge "Fix 5389072: NPE in MediaController.updateFloatingWindowLayout()." 2011-09-28 22:14:06 -07:00
Adam Powell
e0b6cd14ac Fix bug 5386915 - Action mode is intercepting touches it shouldn't be
Standalone action mode windows should not be touch modal.

Change-Id: Ia3bab69b3ac344837093a17c4b58451bcc3471bf
2011-09-28 22:06:39 -07:00
Chih-Chung Chang
02dd17da36 Fix 5389072: NPE in MediaController.updateFloatingWindowLayout().
There was another constructor which we didn't add the call to
initialize the layout.

Change-Id: I1519c9afd7d6333736fe19d256f55a2f4cdc60c3
2011-09-29 12:49:04 +08:00
Scott Main
43e7972f41 Merge "docs: add some more info to Time javadocs" 2011-09-28 21:48:41 -07:00
Scott Main
31e04656e7 docs: add some more info to Time javadocs
Change-Id: I3c5ca668acda734f8a0da0ffbbc1bfa77ed72c2a
2011-09-28 21:36:51 -07:00
Guang Zhu
c5daa17928 Revert "log stack trace when finish() or onDestroy() is called"
We are already clear on why it's happening (phantom touches) so reverting this log.

This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
2011-09-28 20:06:56 -07:00
Svetoslav Ganov
a53d19dc6d Merge "Revamping of the NumberPicker widget for improved usablility." 2011-09-28 19:43:55 -07:00
Adam Powell
28bbc8254f Merge "Fully qualify javadoc links and make the tools happy" 2011-09-28 18:59:26 -07:00
Adam Powell
2fcbbd0363 Fully qualify javadoc links and make the tools happy
Change-Id: I2ad839be71b550a2bcfb90f67627afdd10d3ae14
2011-09-28 18:56:43 -07:00
Brian Colonna
a50d662552 Merge "Fix 5385186 - Face Unlock no longer shown when first booted" 2011-09-28 18:56:08 -07:00
Romain Guy
f678dd56a7 Merge "Don't build display lists for views with a layer." 2011-09-28 18:27:13 -07:00
Chet Haase
a79803c092 Fixed ProgressBar logic for AnimationDrawables
There are problems in ICS using custom ProgressBar indeterminate drawables when
those drawables are AnimationDrawables. Code that determines appropriate aspect-ratio
sizing should not kick in for this case; the animation drawables know what size
they should be.

Change-Id: I7c35e0dc0f2719f698551f197c688e6156a3f5bd
2011-09-28 17:51:53 -07:00
Eric Fischer
f865f16b6d am d908b40d: (-s ours) Merge "Import revised translations." into ics-factoryrom
* commit 'd908b40d0b0ed1e7e0b0f41e5060a26465b5cb99':
  Import revised translations.
2011-09-28 17:39:35 -07:00
Eric Fischer
d908b40d0b Merge "Import revised translations." into ics-factoryrom 2011-09-28 17:35:18 -07:00
Mathias Agopian
3c19901674 Merge "may fix the build" 2011-09-28 17:34:12 -07:00
Mathias Agopian
acde31e124 may fix the build
Change-Id: I065b1e6652f0e800ba5674a6d9aa954c3ac6c790
2011-09-28 17:33:11 -07:00
Eric Fischer
9e2e026ff2 Import revised translations.
Bug 5384730

Change-Id: I796fdb4e953595d8dc6a8577f4a633b5d4ff91ca
2011-09-28 17:29:42 -07:00
Brian Colonna
cfdd6242eb Fix 5385186 - Face Unlock no longer shown when first booted
Face Unlock used to show on first boot via an onScreenTurnedOn()
callback.  At some point something changed and this no longer gets
called at boot time.  This left us in the state where the black box
was covering the backup method, but Face Unlock was not starting.

Instead of finding a new way to make Face Unlock start at boot, it
was decided that it is probably best for it not to start at boot
anyway.  So much is happening at boot time, including camera
initialization, that trying to make this work right might cause more
problems than it solves.

This fix moves the code that makes the black box cover the backup
method.  Instead of happening when the layout is originally created,
it now happens in the show() function, which gets called not only
when the screen is turned on, but also before the screen turns off,
such that it is ready to go when the screen turns back on.  This not
only keeps the black box from displaying on boot (because show()
doesn't get called at boot time), but also makes sure the black box is
already there before the screen is turned on, preventing any glitches
that may briefly show the underlying backup method.

Change-Id: I99bdae561a70918b5f12ea5badff08b07d74403c
2011-09-28 20:20:55 -04:00
Eric Fischer
4f217d5ace am a94489b4: Merge "Don\'t lose product variant strings that also vary between locales." into ics-factoryrom
* commit 'a94489b4394350b1727437818cd4f6d845e97dc0':
  Don't lose product variant strings that also vary between locales.
2011-09-28 17:03:07 -07:00
Eric Fischer
a94489b439 Merge "Don't lose product variant strings that also vary between locales." into ics-factoryrom 2011-09-28 17:01:39 -07:00
Eric Fischer
2a9e1a2812 am 5c12c039: (-s ours) Merge "Import revised translations. DO NOT MERGE." into ics-factoryrom
* commit '5c12c039310ddde6dcea6694a9d3d8c5904aadc2':
  Import revised translations.  DO NOT MERGE.
2011-09-28 16:59:02 -07:00
Svetoslav Ganov
b80a3fcad1 Revamping of the NumberPicker widget for improved usablility.
1. Now if the widget is not interacted with shows a smaller selector
   wheel with the increment and decrement arrows at the top and bottom
   respectively.

2. Tapping an arrow button now animates the widget to the new value. i.e.
   rotates the selector whell to the next value.

3. Fixed a bug that double tapping on the input shows the IME but then
   after pressing an arrow button the IME is not hidden.

4. Fixed a bug that was exposed via late changes in the framework or the
   graphics and was manifested of the selector wheel not having fading
   edges.

bug:5251980
bug:5383502

Change-Id: I4a089dc69b07a3b28a514017cddf786cb9f4af16
2011-09-28 16:58:05 -07:00
Eric Fischer
5c12c03931 Merge "Import revised translations. DO NOT MERGE." into ics-factoryrom 2011-09-28 16:55:33 -07:00
Romain Guy
2a9fa89643 Don't build display lists for views with a layer.
This could cause the draw() code of views to be invoked too often
or worse, called with the wrong canvas. For instance, a view backed
by a software layer could get its draw() method called to record a
display list. Using a software layer is the recommended way to use
drawing operations not supported in hardware. Since we would
sometimes call the draw() method with the hardware backend anyway,
the app could crash by executing an unsupported operation.

Change-Id: Ib5f9a3a4c6f3efff5e0162ecd73d2dffe06e30a6
2011-09-28 16:50:02 -07:00
Justin Ho
eec55f0f9f Merge "Updated lockscreen assets Bug: 5380966" 2011-09-28 16:33:20 -07:00
Eric Fischer
6cbc7d6ad9 Import revised translations. DO NOT MERGE.
Change-Id: Ic1c1290adfac7dd0eabba74e8d290bcc8567d91e
2011-09-28 16:32:06 -07:00
Justin Ho
940a725424 Updated lockscreen assets
Bug: 5380966

Change-Id: I5a74e33a75abfbc921f1fd37f1423f5449fbec03
2011-09-28 16:31:06 -07:00
Brian Colonna
d90172e05f Merge "Pulled out part of onScreenTurnedOn() into show() function" 2011-09-28 16:29:48 -07:00
Andreas Huber
0044a15eb9 Merge "Support multiple NAL fragments per .mkv payload" 2011-09-28 16:08:59 -07:00
Roman Nurik
cbbecdfdad Merge "Update Widget Design guidelines for ICS" 2011-09-28 16:04:30 -07:00
Adam Powell
8917838b53 Merge "Fix bug 5386180 - Wire up action bar home/up for dialogs" 2011-09-28 16:02:13 -07:00
Adam Powell
915ce0d917 Fix bug 5386180 - Wire up action bar home/up for dialogs
Action bars in dialogs are largely an undocumented "feature" but they
do work - with the exception of this since it previously relied on the
host being an Activity. Make it work.

Change-Id: I52ae24c3bfdd9766e4c0f035183e7f148a4e0162
2011-09-28 15:53:55 -07:00
Roman Nurik
2b15c001fa Update Widget Design guidelines for ICS
Change-Id: I1b7b8f9c091d38ec1400ce3d8b06e644803544de
2011-09-28 15:49:09 -07:00
Justin Ho
edb8b62707 am 24664c00: Merge "Updated menu icon Bug: 5388009" into ics-factoryrom
* commit '24664c0003f964ffe9f4fc98d69c802cddd0d7b0':
  Updated menu icon Bug: 5388009
2011-09-28 15:25:49 -07:00
Justin Ho
68e07840c0 am 3b5a379d: Merge "Updated overflow menu icon Bug: 5388009" into ics-factoryrom
* commit '3b5a379dda952faa6266c8fa794c6f0d3a192c13':
  Updated overflow menu icon Bug: 5388009
2011-09-28 15:25:48 -07:00
Justin Ho
24664c0003 Merge "Updated menu icon Bug: 5388009" into ics-factoryrom 2011-09-28 15:24:09 -07:00
Justin Ho
3b5a379dda Merge "Updated overflow menu icon Bug: 5388009" into ics-factoryrom 2011-09-28 15:23:57 -07:00