OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Better handles' visibility test" into ics-mr1
Gilles Debunne [Thu, 1 Dec 2011 23:03:27 +0000 (15:03 -0800)]
Merge "Better handles' visibility test" into ics-mr1

12 years agoMerge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1
Winson Chung [Thu, 1 Dec 2011 22:55:41 +0000 (14:55 -0800)]
Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1

12 years agoAdding a sound when you take a screenshot. (Bug 5617734)
Winson Chung [Thu, 1 Dec 2011 22:39:12 +0000 (14:39 -0800)]
Adding a sound when you take a screenshot. (Bug 5617734)

Change-Id: I7f253adddd09da65481081a4ca22f043d3325d65

12 years agoMerge "Fix free_cache to actually work" into ics-mr1
Kenny Root [Thu, 1 Dec 2011 22:14:22 +0000 (14:14 -0800)]
Merge "Fix free_cache to actually work" into ics-mr1

12 years agoam c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
Roman Nurik [Thu, 1 Dec 2011 21:42:23 +0000 (13:42 -0800)]
am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0

* commit 'c3998ced746ee97bc5f10a9de1b2848f85c8711e':
  Update widget design guidelines for padding and 8dp.

12 years agoMerge "Update widget design guidelines for padding and 8dp." into ics-mr0
Roman Nurik [Thu, 1 Dec 2011 21:40:38 +0000 (13:40 -0800)]
Merge "Update widget design guidelines for padding and 8dp." into ics-mr0

12 years agoMerge "Unlink the Binder DeathRecipient when removing a Bluetooth service record...
Matthew Xie [Thu, 1 Dec 2011 21:32:19 +0000 (13:32 -0800)]
Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service record" into ics-mr1

12 years agoUpdate widget design guidelines for padding and 8dp.
Roman Nurik [Tue, 29 Nov 2011 18:02:19 +0000 (10:02 -0800)]
Update widget design guidelines for padding and 8dp.

Instead of using layout_margin for widget margins, the recommendation is to
now use padding. Additionally, update all docs to mention an example default
padding of 8dp instead of 15 or 16dp.

Change-Id: I330aedc56986dbb31a70260279ad2f6668c67c92

12 years agoMerge "Fix memory leaks in the accessibility layer." into ics-mr1
Svetoslav Ganov [Thu, 1 Dec 2011 20:57:12 +0000 (12:57 -0800)]
Merge "Fix memory leaks in the accessibility layer." into ics-mr1

12 years agoMerge "Improve how we manage the previous app." into ics-mr1
Dianne Hackborn [Thu, 1 Dec 2011 20:47:43 +0000 (12:47 -0800)]
Merge "Improve how we manage the previous app." into ics-mr1

12 years agoImprove how we manage the previous app.
Dianne Hackborn [Thu, 1 Dec 2011 20:23:37 +0000 (12:23 -0800)]
Improve how we manage the previous app.

Setting it when a new activity is being resumed is too soon, because
things like an activity launching an exiting (without being seen by
the user) can knock out the real previous app that we want.

So now we set it when an activity is stopped.  At this point it is
going to move from the preceptible to background oom adj, so it is
a good point to determine whether it should be a previous app to
instead put it to that oom adj.  This also avoids things like
activities that start and immediately finish from impacting the
previous app.

Further, we keep track of the time each activity was last shown, and
use this to further filter what is set as the previous app.

Change-Id: I72d1cac4de0cc2d4598170296028f11b06918d4f

12 years agoMerge "Add copious navigation bar info to SystemUI dumps." into ics-mr1
Daniel Sandler [Thu, 1 Dec 2011 20:09:51 +0000 (12:09 -0800)]
Merge "Add copious navigation bar info to SystemUI dumps." into ics-mr1

12 years agoUnlink the Binder DeathRecipient when removing a Bluetooth service record
Jason Simmons [Wed, 16 Nov 2011 20:52:45 +0000 (12:52 -0800)]
Unlink the Binder DeathRecipient when removing a Bluetooth service record

The fix holds a reference to the Reaper objects, so that they don't get GCed
and cause the error - unlink not called on death recipients.
bug 5602314

Change-Id: Ib8a9e254d7c9ebe9d54f5c10b3daa31d062b4df0

12 years agoam 92ad16d3: Merge "Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc...
Bill Gruber [Thu, 1 Dec 2011 19:54:57 +0000 (11:54 -0800)]
am 92ad16d3: Merge "Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8 IAB doc update: CSV import feature Also fixed Bug 5221766" into ics-mr0

* commit '92ad16d342aa4d39bad33600161b3799b84716f3':
  Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8 IAB doc update: CSV import feature Also fixed Bug 5221766

12 years agoam 8f3993b1: Merge "docs: dashboard update for 12/1" into ics-mr0
Scott Main [Thu, 1 Dec 2011 19:54:55 +0000 (11:54 -0800)]
am 8f3993b1: Merge "docs: dashboard update for 12/1" into ics-mr0

* commit '8f3993b12b52ac5d94d84376ec4f42b130018429':
  docs: dashboard update for 12/1

12 years agoMerge "Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8...
Bill Gruber [Thu, 1 Dec 2011 19:53:23 +0000 (11:53 -0800)]
Merge "Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8 IAB doc update: CSV import feature Also fixed Bug 5221766" into ics-mr0

12 years agoMerge "docs: dashboard update for 12/1" into ics-mr0
Scott Main [Thu, 1 Dec 2011 19:53:17 +0000 (11:53 -0800)]
Merge "docs: dashboard update for 12/1" into ics-mr0

12 years agoFix memory leaks in the accessibility layer.
Svetoslav Ganov [Thu, 1 Dec 2011 19:48:21 +0000 (11:48 -0800)]
Fix memory leaks in the accessibility layer.

The AccessibilityServiceConnection chache should be shared
between all interrogating threads.

bug:5664337

Change-Id: I151041d0b358e87ac47ea5c1c258f90a8b252420

12 years agoCherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8
Bill Gruber [Wed, 3 Aug 2011 03:16:44 +0000 (20:16 -0700)]
Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8
IAB doc update: CSV import feature
Also fixed Bug 5221766

Change-Id: I40b8057dae10067c8cc9aa7506564c0033efc2fe

12 years agoMerge "No clicking on volume icon in volume dialog." into ics-mr1
Amith Yamasani [Thu, 1 Dec 2011 19:35:30 +0000 (11:35 -0800)]
Merge "No clicking on volume icon in volume dialog." into ics-mr1

12 years agoAdd copious navigation bar info to SystemUI dumps.
Daniel Sandler [Thu, 1 Dec 2011 19:34:23 +0000 (14:34 -0500)]
Add copious navigation bar info to SystemUI dumps.

Bug: 5549288
Change-Id: I8556584e6abd22912d55dccc27ccebb6602b1bcb

12 years agoam acf1038a: docs: remove broken link from renderscript docs bug: 5696178
Scott Main [Thu, 1 Dec 2011 19:20:03 +0000 (11:20 -0800)]
am acf1038a: docs: remove broken link from renderscript docs bug: 5696178

* commit 'acf1038a260d7b2a3bb6b36058da47041c8ec173':
  docs: remove broken link from renderscript docs bug: 5696178

12 years agodocs: remove broken link from renderscript docs
Scott Main [Thu, 1 Dec 2011 19:11:08 +0000 (11:11 -0800)]
docs: remove broken link from renderscript docs
bug: 5696178

Change-Id: I78285ac67749fb3936e359968d28bbeb539ea7dc

12 years agodocs: dashboard update for 12/1
Scott Main [Thu, 1 Dec 2011 18:50:50 +0000 (10:50 -0800)]
docs: dashboard update for 12/1

Change-Id: If5323832093a90cf151f4103df810281687407d0

12 years agoMerge "TextViews keep focus after Done" into ics-mr1
Gilles Debunne [Thu, 1 Dec 2011 18:22:15 +0000 (10:22 -0800)]
Merge "TextViews keep focus after Done" into ics-mr1

12 years agoMerge "Revert "IME action (done, next...) correctly handled"" into ics-mr1
Gilles Debunne [Thu, 1 Dec 2011 18:21:59 +0000 (10:21 -0800)]
Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1

12 years agoMerge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions...
Andreas Huber [Thu, 1 Dec 2011 18:18:19 +0000 (10:18 -0800)]
Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1

12 years agoFixes a typo in AVIExtractor that would advertise the wrong video dimensions
Andreas Huber [Thu, 1 Dec 2011 18:02:37 +0000 (10:02 -0800)]
Fixes a typo in AVIExtractor that would advertise the wrong video dimensions

Change-Id: I587a5ce259b04c973ed2d7614e874cb74c521aab
related-to-bug: 5696324

12 years agoMerge "Fix state synchronization problem." into ics-mr1
Robert Greenwalt [Thu, 1 Dec 2011 17:42:13 +0000 (09:42 -0800)]
Merge "Fix state synchronization problem." into ics-mr1

12 years agoBetter handles' visibility test
Gilles Debunne [Fri, 25 Nov 2011 09:23:38 +0000 (10:23 +0100)]
Better handles' visibility test

Checking if the hotspot position is visible instead
of checking if it is part of the clipped visible rectangle.

Bug 5638710

Patch set 2: synchronize static variables you will.
Patch set 3: renaming and refactored the while loop.
Patch set 4: synchronize you will (again)
Patch set 5: parent

Change-Id: I330510f491c85f910fc61598936113ad07d304e4

12 years agoFix free_cache to actually work
Kenny Root [Tue, 29 Nov 2011 23:54:55 +0000 (15:54 -0800)]
Fix free_cache to actually work

This broke with some other path-related changes, so it was scanning for
/data/*/cache instead of /data/data/*/cache

Also remove redundant call to restat

Bug: 5686310
Change-Id: Id1661f0f1337858fc9ead53c56ab7557f421c591

12 years agoMerge "Fix crash with HTML5 video." into ics-mr1
Ben Murdoch [Thu, 1 Dec 2011 17:03:22 +0000 (09:03 -0800)]
Merge "Fix crash with HTML5 video." into ics-mr1

12 years agoMerge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1
Daniel Sandler [Thu, 1 Dec 2011 14:29:53 +0000 (06:29 -0800)]
Merge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1

12 years agoFix crash with HTML5 video.
Ben Murdoch [Thu, 1 Dec 2011 11:49:43 +0000 (11:49 +0000)]
Fix crash with HTML5 video.

Add missing check for native HTTP stack inside
CookieManager.getCookie(WebAddress) and
CookieManager.setCookie(WebAddress) - private APIs that now
will throw an exception as the legacy cookie table no longer
exists with WebViewDatabase version 11.

Bug: 5690908
Change-Id: I51ae848d03b04d6021d314dda4a199675e38ab02

12 years agoMerge "fix position of WebTextView on scrolling layers" into ics-mr1
Bart Sears [Thu, 1 Dec 2011 06:29:16 +0000 (22:29 -0800)]
Merge "fix position of WebTextView on scrolling layers" into ics-mr1

12 years agoMerge "Working around issue where setting min height on RelativeLayout causes items...
Adam Cohen [Thu, 1 Dec 2011 05:10:27 +0000 (21:10 -0800)]
Merge "Working around issue where setting min height on RelativeLayout causes items to collapse. (Bug 5640357)" into ics-mr1

12 years agoMerge "Fix issue #5433192 and maybe #5433192" into ics-mr1
Dianne Hackborn [Thu, 1 Dec 2011 04:49:21 +0000 (20:49 -0800)]
Merge "Fix issue #5433192 and maybe #5433192" into ics-mr1

12 years agoFix issue #5433192 and maybe #5433192
Dianne Hackborn [Thu, 1 Dec 2011 02:41:15 +0000 (18:41 -0800)]
Fix issue #5433192 and maybe #5433192

5433192: Factory reset device: compatibility screen is the first...
...screen before setup wizard

Don't show compat mode dialog if compat mode is unknown (which happens
early in boot before an activity is shown for example).  Also make sure
to update status any time the current focus app token changes, so we
correctly update every time switching apps.

5651152 [Stingray] change zoom/strech setting icon won't go away

This is probably also fixed by updating when the app token changes.

Change-Id: Ibe9bd6277166230d5d96689741b78325ea099d57

12 years agoMerge "Fix ConcurrentModificationException in TextServicesManagerService" into ics-mr1
satok [Thu, 1 Dec 2011 01:37:52 +0000 (17:37 -0800)]
Merge "Fix ConcurrentModificationException in TextServicesManagerService" into ics-mr1

12 years agoWorking around issue where setting min height on RelativeLayout causes items to colla...
Winson Chung [Thu, 1 Dec 2011 01:33:30 +0000 (17:33 -0800)]
Working around issue where setting min height on RelativeLayout causes items to collapse. (Bug 5640357)

Change-Id: Ide1822e19045f093c0c1c088839caa5cc8aea287

12 years agoMerge "Fixing memory leaks in the accessiiblity layer." into ics-mr1
Svetoslav Ganov [Thu, 1 Dec 2011 00:56:41 +0000 (16:56 -0800)]
Merge "Fixing memory leaks in the accessiiblity layer." into ics-mr1

12 years agofix position of WebTextView on scrolling layers
Michael Kolb [Tue, 29 Nov 2011 23:29:03 +0000 (15:29 -0800)]
fix position of WebTextView on scrolling layers

    Bug: 5677828

    depends on CL: 152845

Change-Id: Ia6fce3ef64954d99fe044e801d7f083055c8b880

12 years agoTextViews keep focus after Done
Gilles Debunne [Wed, 30 Nov 2011 23:45:28 +0000 (15:45 -0800)]
TextViews keep focus after Done

Otherwise the ViewRoot tries to focus something else and as a result
it will scroll back to the top of a form with many fields, which is
annoying.

Change-Id: I1de10f76fe4b82bc4097fc13c629450d6f999fd0

12 years agoRevert "IME action (done, next...) correctly handled"
Gilles Debunne [Wed, 30 Nov 2011 23:40:28 +0000 (15:40 -0800)]
Revert "IME action (done, next...) correctly handled"

This reverts commit efbad5fb90fe990d42bf30c63e42558bd9bdb5d8.

12 years agoNo clicking on volume icon in volume dialog.
Amith Yamasani [Wed, 30 Nov 2011 00:32:17 +0000 (16:32 -0800)]
No clicking on volume icon in volume dialog.

Don't disable volume slider when it hits zero.
Show correct icon for Silent mode in Power menu.

Bug: 5586083
Change-Id: Iaa957fc08e314e0de1c007dfc967a1d960080aab

12 years agoFix state synchronization problem.
Robert Greenwalt [Wed, 30 Nov 2011 01:41:31 +0000 (17:41 -0800)]
Fix state synchronization problem.

Don't report that we're disconnected immediately if we're disconnecting when another
disconnect comes in.  Remove this behavior from the default handler and add a catch
all "yeah, we're disconnected already" to the inactive state.

bug:5568633
Change-Id: Iff7ccde2069b47f8ad8255f3bca0292b80041388

12 years agoMerge "Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?" into...
Dianne Hackborn [Wed, 30 Nov 2011 22:12:44 +0000 (14:12 -0800)]
Merge "Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?" into ics-mr1

12 years agoMerge "Turn off debug log." into ics-mr1
Dianne Hackborn [Wed, 30 Nov 2011 22:11:17 +0000 (14:11 -0800)]
Merge "Turn off debug log." into ics-mr1

12 years agoMerge "Cache drawable constant states instead of drawables Bug #5678369" into ics-mr1
Romain Guy [Wed, 30 Nov 2011 22:07:34 +0000 (14:07 -0800)]
Merge "Cache drawable constant states instead of drawables Bug #5678369" into ics-mr1

12 years agoMerge "add a way to access the version string of the h/w implementation of EGL" into...
Mathias Agopian [Wed, 30 Nov 2011 21:52:21 +0000 (13:52 -0800)]
Merge "add a way to access the version string of the h/w implementation of EGL" into ics-mr1

12 years agoPut screensavers back in the icebox for now. DO NOT MERGE.
Daniel Sandler [Wed, 30 Nov 2011 19:35:55 +0000 (14:35 -0500)]
Put screensavers back in the icebox for now. DO NOT MERGE.

Bug: 5689684
Change-Id: I3a5291c3520bb43e35d55714f1522e4ae7f6e63c

12 years agoMerge "Expanding NotificationManager's event logging." into ics-mr1
Daniel Sandler [Wed, 30 Nov 2011 19:54:17 +0000 (11:54 -0800)]
Merge "Expanding NotificationManager's event logging." into ics-mr1

12 years agoMerge "Avoid airplane mode labels when Wi-Fi enabled." into ics-mr1
Jeff Sharkey [Wed, 30 Nov 2011 19:44:54 +0000 (11:44 -0800)]
Merge "Avoid airplane mode labels when Wi-Fi enabled." into ics-mr1

12 years agoTurn off debug log.
Dianne Hackborn [Wed, 30 Nov 2011 19:31:29 +0000 (11:31 -0800)]
Turn off debug log.

Change-Id: I1d4612133580d493d81d0b15752e009202e95ce0

12 years agoFix issue #5679504: Device stuck and sudden reboot - Watchdog reset?
Dianne Hackborn [Wed, 30 Nov 2011 19:29:58 +0000 (11:29 -0800)]
Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?

Calls to get the display size no longer need to acquire the global
window lock.

Change-Id: I751ea6ed0e20f1f521783f4bd5a8f9c31cd43573

12 years agoAvoid airplane mode labels when Wi-Fi enabled.
Jeff Sharkey [Wed, 30 Nov 2011 19:02:27 +0000 (11:02 -0800)]
Avoid airplane mode labels when Wi-Fi enabled.

When refreshing network views, avoid setting airplane mode icon and
labels when connected to Wi-Fi network.

Bug: 5262367
Change-Id: Ib831ce06bab67fffcc14a8c3b1ba9e437a74761d

12 years agoCache drawable constant states instead of drawables
Romain Guy [Wed, 30 Nov 2011 18:34:07 +0000 (10:34 -0800)]
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

12 years agoMerge "NumberPicker incorrectly shown for the old theme." into ics-mr1
Svetoslav Ganov [Wed, 30 Nov 2011 18:25:42 +0000 (10:25 -0800)]
Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1

12 years agoMerge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings...
Dianne Hackborn [Wed, 30 Nov 2011 18:20:29 +0000 (10:20 -0800)]
Merge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data" into ics-mr1

12 years agoFix ConcurrentModificationException in TextServicesManagerService
satok [Wed, 30 Nov 2011 09:17:59 +0000 (18:17 +0900)]
Fix ConcurrentModificationException in TextServicesManagerService

Bug: 5687402
Change-Id: I59086f956b6ee618ff0e1b1034d767d9ae295848

12 years agoFix superfluous onError callbacks.
Narayan Kamath [Wed, 30 Nov 2011 12:23:40 +0000 (12:23 +0000)]
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

12 years agoExpanding NotificationManager's event logging.
Daniel Sandler [Wed, 30 Nov 2011 04:48:29 +0000 (23:48 -0500)]
Expanding NotificationManager's event logging.

Specifically, add the "tag" and "mustNotHaveFlags" columns.

(Hunting bug 5444859.)

Change-Id: Ic9ece44ed4697f7a8ef54e7870f72c9f94518cd9

12 years agoFixing memory leaks in the accessiiblity layer.
Svetoslav Ganov [Tue, 22 Nov 2011 02:41:59 +0000 (18:41 -0800)]
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

12 years agoNumberPicker incorrectly shown for the old theme.
Svetoslav Ganov [Wed, 30 Nov 2011 02:27:23 +0000 (18:27 -0800)]
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

12 years agoFix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data
Dianne Hackborn [Wed, 30 Nov 2011 02:01:50 +0000 (18:01 -0800)]
Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data

Need to make sure the "files" directory is created.

Change-Id: I8d5b374a5a03590a5ce7fafb5171705414f7b2f9

12 years agoadd a way to access the version string of the h/w implementation of EGL
Mathias Agopian [Wed, 30 Nov 2011 01:55:46 +0000 (17:55 -0800)]
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

12 years agoMerge changes I7e973a35,Ib3386fcc into ics-mr1
Mathias Agopian [Wed, 30 Nov 2011 01:46:35 +0000 (17:46 -0800)]
Merge changes I7e973a35,Ib3386fcc into ics-mr1

* changes:
  SurfaceTexture: add EGL_KHR_fence_sync option
  SurfaceTexture: add a blit-to-FBO test

12 years agoMerge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
Jamie Gennis [Wed, 30 Nov 2011 01:25:09 +0000 (17:25 -0800)]
Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1

12 years agoSurfaceTexture: add EGL_KHR_fence_sync option
Jamie Gennis [Mon, 14 Nov 2011 22:51:01 +0000 (14:51 -0800)]
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

12 years agoMerge "Send animation start notification back to webkit from ui thread" into ics-mr1
Chris Craik [Wed, 30 Nov 2011 00:55:47 +0000 (16:55 -0800)]
Merge "Send animation start notification back to webkit from ui thread" into ics-mr1

12 years agoMerge "Fix issue #5636525: ANR observed in setup wizard after changing language"...
Dianne Hackborn [Tue, 29 Nov 2011 23:28:41 +0000 (15:28 -0800)]
Merge "Fix issue #5636525: ANR observed in setup wizard after changing language" into ics-mr1

12 years agoSend animation start notification back to webkit from ui thread
Chris Craik [Tue, 29 Nov 2011 18:26:10 +0000 (10:26 -0800)]
Send animation start notification back to webkit from ui thread

bug:5239801

depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/152559/

Change-Id: I647b5a82680f570c918227dbf57521b862dcfe25

12 years agoSurfaceTexture: add a blit-to-FBO test
Jamie Gennis [Sat, 12 Nov 2011 02:05:11 +0000 (18:05 -0800)]
SurfaceTexture: add a blit-to-FBO test

This change adds a test for blitting (via GL rendering) from a
SurfaceTexture to an FBO.

Change-Id: Ib3386fcc3f37153277f3e37a26347441bb80ab58

12 years agoMerge "WebView animation support" into ics-mr1
Teng-Hui Zhu [Tue, 29 Nov 2011 22:18:27 +0000 (14:18 -0800)]
Merge "WebView animation support" into ics-mr1

12 years agoMerge "Improve screenshot animation performance Bug #5525888" into ics-mr1
Romain Guy [Tue, 29 Nov 2011 22:14:44 +0000 (14:14 -0800)]
Merge "Improve screenshot animation performance Bug #5525888" into ics-mr1

12 years agoMerge "Make sure we can properly shutdown even if" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:09:10 +0000 (14:09 -0800)]
Merge "Make sure we can properly shutdown even if" into ics-mr1

12 years agoMerge "If an error occurs that prevents us from reallocating buffers during a format...
Andreas Huber [Tue, 29 Nov 2011 22:09:03 +0000 (14:09 -0800)]
Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1

12 years agoMerge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:08:45 +0000 (14:08 -0800)]
Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1

12 years agoMerge "Finer granularity discontinuity support." into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:08:13 +0000 (14:08 -0800)]
Merge "Finer granularity discontinuity support." into ics-mr1

12 years agoImprove screenshot animation performance
Romain Guy [Tue, 29 Nov 2011 21:56:25 +0000 (13:56 -0800)]
Improve screenshot animation performance
Bug #5525888

Uses only 25% of the original amount of OpenGL API calls
Fillrate usage is now 1x the screen size instead of 5x

Change-Id: Icc7d2793f276fb7ce23c7f652079e54e3d4779d5

12 years agoFix issue #5636525: ANR observed in setup wizard after changing language
Dianne Hackborn [Tue, 29 Nov 2011 21:54:43 +0000 (13:54 -0800)]
Fix issue #5636525: ANR observed in setup wizard after changing language

We could sometimes allow a process to be killed while still waiting for
an activity in it to finish stopping.

Change-Id: Ibf89665c4ad6da6be22de04a82b19ef778a7fda0

12 years agoMerge "Fix application launch shortcuts." into ics-mr1
Jeff Brown [Tue, 29 Nov 2011 21:13:33 +0000 (13:13 -0800)]
Merge "Fix application launch shortcuts." into ics-mr1

12 years agoMerge "Another attempt at getting OOM reports to batch." into ics-mr1
Dianne Hackborn [Tue, 29 Nov 2011 21:05:26 +0000 (13:05 -0800)]
Merge "Another attempt at getting OOM reports to batch." into ics-mr1

12 years agoAnother attempt at getting OOM reports to batch.
Dianne Hackborn [Tue, 29 Nov 2011 19:29:02 +0000 (11:29 -0800)]
Another attempt at getting OOM reports to batch.

We now generate a stack-trace looking thing at the top of the report.

Also fix a bug I hit where the phone window manager was sending a
broadcast before the boot had completed.

Change-Id: I0cee16180e4d05c9bd3fe715212a28f504ec91ac

12 years agoFix application launch shortcuts.
Jeff Brown [Mon, 28 Nov 2011 20:59:11 +0000 (12:59 -0800)]
Fix application launch shortcuts.

Improved quick launch bookmarks to support category-based shortcuts
instead of hardcoding package and class names for all apps.

Added a set of Intent categories for typical applications on the
platform.

Added support for some of the HID application launch usages to
reduce reliance on quick launch for special purpose keys.  Some
keyboard vendors have hardcoded launch keys that synthesize
"Search + X" type key combos.  The goal is to encourage them
to stop doing this by implementing more of HID.

Bug: 5674723
Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593

12 years agoUpdated (internal) API for IStreamSource to signal discontinuities
Andreas Huber [Tue, 29 Nov 2011 19:57:35 +0000 (11:57 -0800)]
Updated (internal) API for IStreamSource to signal discontinuities

Change-Id: Idd4b9d8e7cec16b3e3c91c70e75144d42be30f96
related-to-bug: 5553055

12 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Tue, 29 Nov 2011 19:44:59 +0000 (11:44 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr1

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 29 Nov 2011 19:42:53 +0000 (11:42 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: Ia50fd44ea4492188f481e652caae940acaf961e2

12 years agoMerge "temporarily hardcode Nexus S refresh rate" into ics-mr1
Mathias Agopian [Tue, 29 Nov 2011 19:35:07 +0000 (11:35 -0800)]
Merge "temporarily hardcode Nexus S refresh rate" into ics-mr1

12 years agoMerge "Fix issue #5642121: Proximity sensor didn't turn the screen on in call" into...
Dianne Hackborn [Tue, 29 Nov 2011 18:16:11 +0000 (10:16 -0800)]
Merge "Fix issue #5642121: Proximity sensor didn't turn the screen on in call" into ics-mr1

12 years agoMerge "Cleanup references when turning BT off." into ics-mr1
Jaikumar Ganesh [Tue, 29 Nov 2011 18:05:27 +0000 (10:05 -0800)]
Merge "Cleanup references when turning BT off." into ics-mr1

12 years agoMerge "Cleanup static references when quitting." into ics-mr1
Jaikumar Ganesh [Tue, 29 Nov 2011 18:05:13 +0000 (10:05 -0800)]
Merge "Cleanup static references when quitting." into ics-mr1

12 years agoMerge "Extracted text problems" into ics-mr1
Gilles Debunne [Tue, 29 Nov 2011 17:59:00 +0000 (09:59 -0800)]
Merge "Extracted text problems" into ics-mr1

12 years agoMerge "IOOB in text selection." into ics-mr1
Gilles Debunne [Tue, 29 Nov 2011 17:56:58 +0000 (09:56 -0800)]
Merge "IOOB in text selection." into ics-mr1

12 years agoMerge "Quick fix for bug 5646217 blocking automation tests" into ics-mr1
Daniel Sandler [Tue, 29 Nov 2011 13:49:11 +0000 (05:49 -0800)]
Merge "Quick fix for bug 5646217 blocking automation tests" into ics-mr1

12 years agoMerge "Add the min fps option to set the min fps in the media recorder test. Add...
Yu Shan Emily Lau [Tue, 29 Nov 2011 03:53:58 +0000 (19:53 -0800)]
Merge "Add the min fps option to set the min fps in the media recorder test. Add the procmem log to the media memory stress test." into ics-mr1

12 years agoMerge "Add iteration-limited mode to FrameworkPerf" into ics-mr1
Christopher Tate [Tue, 29 Nov 2011 01:56:18 +0000 (17:56 -0800)]
Merge "Add iteration-limited mode to FrameworkPerf" into ics-mr1

12 years agoAdd the min fps option to set
Yu Shan Emily Lau [Thu, 24 Nov 2011 03:02:01 +0000 (19:02 -0800)]
Add the min fps option to set
the min fps in the media recorder test.
Add the procmem log to the media
memory stress test.

Change-Id: Icf82f12adeca7072a171991d1d6a994e4bb7764a

12 years agoAdd iteration-limited mode to FrameworkPerf
Christopher Tate [Sat, 19 Nov 2011 01:14:14 +0000 (17:14 -0800)]
Add iteration-limited mode to FrameworkPerf

You can run tests for exactly N iterations regardless of duration now,
in addition to the previous time-limited behavior.

(Clean cherry-pick to break a dependency on a previous patch that
needs work before being committed.)

Change-Id: I2e6cf511bbe968a6f95391567658722e87dfa1fe

12 years agoFix issue #5642121: Proximity sensor didn't turn the screen on in call
Dianne Hackborn [Tue, 29 Nov 2011 00:54:31 +0000 (16:54 -0800)]
Fix issue #5642121: Proximity sensor didn't turn the screen on in call

Turning animations back on exposed this.  The problem is that when the
screen brightness changes, it initiates a brightness animation.  When
we force the screen to black as we wait for it to be ready to display,
it sees that an animation is running so stops it and thinks this means
it should now turn the display off.

To fix this, don't modify the screen brightness while we are waiting
to show the screen.  This is good anyway because the whole point is to
avoid showing the screen until ready, and modifying the brightness at
that point would turn it on prematurely.

Change-Id: I84b296f8ca5705c2d237ea7741cdeb95c5521df9