40647 Commits

Author SHA1 Message Date
Vasu Nori
ce3b35a7b0 Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb 2011-01-27 12:46:00 -08:00
Vasu Nori
a017edace7 bug:3398527 return List insttead of ArrayList from public API
Change-Id: Idbdcb59fe860a9168c9ef6c00eb128b05fce84ff
2011-01-27 11:47:28 -08:00
Daniel Sandler
74d39bd902 Merge "Correct the translationY of the empty notification panel." into honeycomb 2011-01-27 11:11:37 -08:00
Gilles Debunne
315f386598 Merge "CustomSelectionActionModeCallback can prevent selection mode from starting." into honeycomb 2011-01-27 11:07:16 -08:00
Gilles Debunne
bbdd9d3fbc Merge "Refresh the list of preloaded drawables and color state lists" into honeycomb 2011-01-27 11:07:04 -08:00
Chet Haase
246bf85aaa Merge "Fix NPE with display lists when view not attached" into honeycomb 2011-01-27 10:41:26 -08:00
Chet Haase
f4ac547f86 Fix NPE with display lists when view not attached
There was logic in ViewGroup that assumed that an accelerated
view must always be able to get a display list for any child
that it was drawing. One situation occurred, however, that
caused a problem with this - a contacts activity was started
and not yet attached, but was being asked to render into an
accelerated canvas. We assumed that the child would have a display
list and simply called getDisplayList(). But since that call
returned null, we later deref'd the null object.

The fix is to check whether a child can have a display list
instead of assuming that it can just because the container view
is accelerated.

Change-Id: I7de62fd597ad50720c9585d621bec02e77c171df
2011-01-27 10:30:25 -08:00
Gilles Debunne
c446bdf886 Refresh the list of preloaded drawables and color state lists
Bug 3266751

The boot time is 43 compared to 44 seconds, which is within the precision of the measure.

Starting 15 activities in a sequence takes 20-24 seconds with the old version and 17-18
seconds with the new pre-load (12/13 when ran a second time, all apps being loaded).
The standard deviation is high, but it seems consistently better.

Change-Id: Ieac3cb93be03e8186979b894adda29f0549b9734
2011-01-27 09:57:41 -08:00
Gil Dobjanschi
eea200a96a Bug fix: 3398192 NPE at android.media.videoeditor.VideoEditorImpl.clearSurface
Change-Id: Ib7cb994e995d934cf896b856da462c9240fcb5f0
2011-01-27 09:51:46 -08:00
Gilles Debunne
ddd6f39287 CustomSelectionActionModeCallback can prevent selection mode from starting.
Bug 3381317

Change-Id: I9fb52077216ed56c101ed58f8897478343369528
2011-01-27 09:49:41 -08:00
Justin Ho
bbc1d355f8 Updated stat_sys for battery and bluetooth and USB in hdpi, mdpi and xlarge-hdpi
Change-Id: I02f644287847ca8b7d0246c7eba303bfd2088086
2011-01-27 07:48:50 -08:00
Chet Haase
e38ba4acbe Fix gmail crossfade artifacts.
Display lists could not handle custom views that did their
own draw dispatching, as is the case with gmail. This fix makes that
possible and display lists handle this case robustly. Now the
crossfade works because the display lists contain the right content.

Change-Id: Iea7d6e99239b24f833701d546fe083aa00e2b31b
2011-01-27 01:25:18 -08:00
Jeff Brown
da910fd5ea Merge "Handle ActivityNotFoundException in the WM policy." into honeycomb 2011-01-26 23:52:41 -08:00
Chet Haase
a45c056e62 Merge "Fix display List bugs" into honeycomb 2011-01-26 23:49:23 -08:00
Jeff Brown
f02853f211 Merge "Fix down arrow in AutoCompleteTextView." into honeycomb 2011-01-26 23:45:59 -08:00
Vasu Nori
d529d0df8f Merge "bug:3396894 (HC branch) remove STOPSHIP code" into honeycomb 2011-01-26 23:43:17 -08:00
Vasu Nori
4b92aeec3f bug:3396894 (HC branch) remove STOPSHIP code
Change-Id: Iad8790b7c2efa3a9b35e07429ea47d4e9f72081b
2011-01-26 23:24:05 -08:00
Daniel Sandler
641a499bb2 Correct the translationY of the empty notification panel.
This also restores the proper slide-in animation. Yay!

Bug: 3391683
Change-Id: Id38b4bdf2bad88084db47b3fa4ef7d1d81f94aff
2011-01-27 02:21:51 -05:00
Svetoslav Ganov
c291a7bf7a Merge "The calendar view widget was jumping incorrectly to the next week while selectiong the last day of the week." into honeycomb 2011-01-26 22:59:23 -08:00
Basavapatna Dattaguru
89378fd166 Merge "Revert "Video editor CTS: Framework modifications"" into honeycomb 2011-01-26 22:50:59 -08:00
Svetoslav Ganov
58f51255eb The calendar view widget was jumping incorrectly to the next week
while selectiong the last day of the week.

The NumberPicker widget was getting into an inconsitent state when
reaching the end of the range (non wrapping selector wheel) and
the user touches the location of the hidden increment/decrement
button.

Change-Id: Id54103295dd2574030e2c29996061faa659a5bb7
2011-01-26 22:50:55 -08:00
Basavapatna Dattaguru
3b728ca70a Merge "Revert "Fixes Issue ID: 3396697"" into honeycomb 2011-01-26 22:50:50 -08:00
Chet Haase
678e0adbdb Fix display List bugs
Various property setters in View need to invalidate the parent's
cache to get redrawn properly when accelerated with display lists.

Also, fix logic around display lists and old-style Animations in
ViewGroup.

Change-Id: I70e1c2fa49e62228ee4a1301a006ce50bda4c305
2011-01-26 22:44:52 -08:00
Romain Guy
7c53a0d607 Merge "Don't draw the same triangles several times. Bug #3388197" into honeycomb 2011-01-26 22:44:02 -08:00
Romain Guy
4f09f5417b Don't draw the same triangles several times.
Bug #3388197

Change-Id: Ief1dfd9447f144e9992340a173d2893e5e049129
2011-01-26 22:45:16 -08:00
Adam Cohen
3b52ca3bbc Merge "Fixing some ugly StackView relayouts on rotation" into honeycomb 2011-01-26 22:41:43 -08:00
Basavapatna Dattaguru
d36b1f0739 Revert "Video editor CTS: Framework modifications"
This reverts commit eb6d6ecf4ba7a3965ce6ab178dce48eb9416bfc7.
2011-01-26 22:38:47 -08:00
Basavapatna Dattaguru
4b9969af57 Revert "Fixes Issue ID: 3396697"
This reverts commit 8b9ba616444a265df6cd2b4f4a0a39d808c65ade.
2011-01-26 22:36:10 -08:00
Adam Cohen
53838d265e Fixing some ugly StackView relayouts on rotation
Change-Id: Ic4b11637ed73e60e1af1fcd27e5610d8f84a31fe
2011-01-26 22:25:14 -08:00
Joe Onorato
e193c4688f Merge "Fix 3388705: Explicitly check for low battery level" into honeycomb 2011-01-26 22:21:26 -08:00
Joe Onorato
ea1fbe9c8c Merge "Revert "getRingtone is causing an anr. Turn it off for now."" into honeycomb 2011-01-26 22:00:07 -08:00
Jim Miller
b92e18e2df Fix 3388705: Explicitly check for low battery level
This fixes a bug in StatusView believed to be caused by
seeing "invalid charger" update from BatteryService.

The code normally relies on "interesting events", as determined
by KeyguardUpdateMonitor.  I believe something else is
triggering an update (perhaps a SimStateChanged event) that updates
the status without also updating StatusView.mShowingBatteryInfo
and mPluggedIn.

The safer way to do this is to explicitly check the battery
level before telling the user the device needs to be charged.

Change-Id: Ic39ed86c78a157dc9fbdef4d76a9c3db39ccafca
2011-01-26 21:58:28 -08:00
Basavapatna Dattaguru
9af5da5258 Merge "Video editor CTS: Framework modifications" into honeycomb 2011-01-26 21:48:02 -08:00
Basavapatna Dattaguru
643e8476e1 Merge "Fixes Issue ID: 3396697" into honeycomb 2011-01-26 21:47:40 -08:00
Justin Ho
08006286b4 Merge "New stat_sys_download/upload icons" into honeycomb 2011-01-26 21:37:22 -08:00
Justin Ho
3af3719615 New stat_sys_download/upload icons
Change-Id: I8f2f8e2a097ea4b52e95429aa8bbd29177385c3d
2011-01-26 21:34:14 -08:00
Jeff Brown
8d6d3b83fb Fix down arrow in AutoCompleteTextView.
Bug: 3337416
Change-Id: I572d55c973b9adc68765ba02197e84f3558e65bc
2011-01-26 21:08:53 -08:00
Basavapatna Dattaguru
eb6d6ecf4b Video editor CTS: Framework modifications
Fixes Issue ID: 3396697

Copyright changed to 2011

Change-Id: I1b69c6903bb6b0434eb93337783f93c92fd20899
2011-01-26 20:58:56 -08:00
James Dong
3b1fd35c68 Merge "Eliminate duplicated code in export method" into honeycomb 2011-01-26 20:42:18 -08:00
Basavapatna Dattaguru
8b9ba61644 Fixes Issue ID: 3396697
Updated with annotation LargeTest

Copyright changed to 2011

Review reworked and with new test contents

Video Editor CTS Test code

Change-Id: Ia37956ef39fafcc5d969996c1791fce8663aa0fe
2011-01-26 20:31:11 -08:00
Kenny Root
5d506fa727 Merge "Add API for preferred Launcher icon size and density" into honeycomb 2011-01-26 20:16:31 -08:00
James Dong
20586a128c Eliminate duplicated code in export method
bug - 3385135

Change-Id: I26b8113b457bf08bf8a89cef25cf45cdba79c08d
2011-01-26 20:15:49 -08:00
Xavier Ducrohet
62461d128f Merge "LayoutLib: put a default image on the quickcontactbadge." into honeycomb 2011-01-26 19:54:46 -08:00
Kenny Root
5ef44b7566 Add API for preferred Launcher icon size and density
Applications that create an icon for launcher to use couldn't determine
which size or density the icon should be created.

Bug: 3224340
Change-Id: Iee96113a4092696a9bd18eecbd2593b38f952a16
2011-01-26 19:43:27 -08:00
Jim Miller
57d472a5b1 Merge "Fix 3381324: Restart ripples when the user moves away from the edge." into honeycomb 2011-01-26 19:39:23 -08:00
Justin Ho
597e644d7a Merge "Integrating xlarge mdpi battery charging assets" into honeycomb 2011-01-26 19:34:50 -08:00
Jeff Brown
f0a3cc5a5f Handle ActivityNotFoundException in the WM policy.
When invoking a registered shortcut for which the activity was not
found, the startActivity throws ActivityNotFoundException.  If this
exception is not caught and handled, then the shortcut key is
dispatched to the application instead of being suppressed as it
should have been.

Found while fixing Bug: 3396233

Change-Id: I0e8e9e3ba09dd403a901d5eae12839734be467ed
2011-01-26 19:32:07 -08:00
Justin Ho
c0e8565298 Integrating xlarge mdpi battery charging assets
Change-Id: Iec541ec384fcf69d7de0c2a75031714d0d232f2a
2011-01-26 19:31:45 -08:00
Michael Kolb
85fd2c9102 Merge "fix incognito url loading" into honeycomb 2011-01-26 19:21:49 -08:00
Michael Kolb
2c8b1f77a3 fix incognito url loading
http://b/issue?id=3349090
    removed the loading of the "browser:incognito" url

Change-Id: I47f952d372b4d69e91d4b29b3b5e5ec46a4f4fc3
2011-01-26 19:16:11 -08:00