Commit Graph

39550 Commits

Author SHA1 Message Date
Mathias Agopian
118d0245ee 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
Mathias Agopian
3a3cad30c4 Don't call hwc set() if there is nothing new to do
there was situations where SF's main loop would run (as if there was
an invalidate), but the dirty region was empty (so no new buffers
were retired). In this case we return early and don't swap, which
would cause drawing artifacts.

Bug: 5476838
Change-Id: Id3b7bf4b7aabec7919c50d9278eb2165973a4c3d
2011-10-18 17:39:09 -07:00
Mathias Agopian
c492e67810 Make sure set GL state properly
when taking a screenshot, in particular, we could end up
with stale GL state when drawing LayerDim which resulted
in incortect rendering.

Bug: 5467587
Change-Id: Id9fbed2843481d31063620f3662b364c7e3ac781
2011-10-18 15:32:57 -07:00
Jake Hamby
5884e9eb26 Merge "Add wrapper method to GsmAlphabet for API compatibility." into ics-mr0 2011-10-18 12:22:39 -07:00
Svetoslav Ganov
74f938195e Merge "TouchExplorer crashes if there is incative pointer while dragging." into ics-mr0 2011-10-18 11:51:29 -07:00
Michael Jurka
39667a648a Merge "Visual changes to recent apps" into ics-mr0 2011-10-18 11:49:57 -07:00
Robert Ly
b2268411c0 Merge "docs: fix mistakes" into ics-mr0 2011-10-18 11:30:35 -07:00
Eric Fischer
e43599500d Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-18 11:29:34 -07:00
Winson Chung
eff86b1bae Merge "Updating screenshot animation and behaviour. (Bug: 5333706)" into ics-mr0 2011-10-18 11:17:24 -07:00
Robert Ly
20920c2f07 Merge "cherrypick from master - docs: nfc updates Change-Id: Iaa782911f14b11bc896ac9ef06db2c43104d1dac" into ics-mr0 2011-10-18 11:11:05 -07:00
Mangesh Ghiware
c10f4e6a0d Merge "Fix null ptr exception in getReadingLevelScale()" into ics-mr0 2011-10-18 10:31:15 -07:00
Robert Greenwalt
286eac4d26 Merge "Send availability info more reliably" into ics-mr0 2011-10-18 09:42:33 -07:00
Justin Ho
9bd394e596 Merge "Removing Testudo and adding Themos ringtone Bug: 5416299" into ics-mr0 2011-10-18 09:31:01 -07:00
satok
1ec66ecde1 Merge "Add documents for the spell checker framework and the input method subtype" into ics-mr0 2011-10-18 09:15:48 -07:00
Irfan Sheriff
a59376f762 Merge "Disconnect without CTRL-EVENT-DISCONNECTED" into ics-mr0 2011-10-17 20:31:50 -07:00
Eric Laurent
7e821f7624 Merge "Fix issue 5462427: Volume should never be 0 ..." into ics-mr0 2011-10-17 19:48:31 -07:00
Chih-Chung Chang
14d1c00b9c Merge "Fix 5468644: Use the proper audio stream type to play sound." into ics-mr0 2011-10-17 19:40:12 -07:00
Dave Burke
e982fb4cde Merge "Don't hold onto the lock while reconnecting to the server" into ics-mr0 2011-10-17 18:35:11 -07:00
Jim Miller
0e8f850f43 Merge "Fix 5466678: use new setSystemUiVisibility() API to enable clock in statusbar" into ics-mr0 2011-10-17 18:03:38 -07:00
John Reck
e1aefe1a0b Merge "Fix onFirstLayout path for saved pages" into ics-mr0 2011-10-17 17:48:58 -07:00
Peter Ng
828bf0fea4 Merge "Bullet points updated and permission colors are not orange" into ics-mr0 2011-10-17 17:24:32 -07:00
Justin Ho
112e0f16ea Merge "Update unlock halo asset" into ics-mr0 2011-10-17 17:21:47 -07:00
Justin Ho
0609c4108d Merge "Update text select handles" into ics-mr0 2011-10-17 17:21:30 -07:00
Justin Ho
6f017898b2 Merge "Update stat_sys icons with different resize method" into ics-mr0 2011-10-17 17:21:22 -07:00
Justin Ho
b1bc49e495 Merge "Update spinner assets" into ics-mr0 2011-10-17 17:21:15 -07:00
Justin Ho
3d8326a8ba Merge "Update scrubber assets" into ics-mr0 2011-10-17 17:21:06 -07:00
Justin Ho
30f9f5da38 Merge "Update rating stars" into ics-mr0 2011-10-17 17:20:57 -07:00
Justin Ho
4371799735 Merge "Update lockscreen assets" into ics-mr0 2011-10-17 17:20:49 -07:00
Justin Ho
b89f1b2fce Merge "Update lockscreen assets" into ics-mr0 2011-10-17 17:20:40 -07:00
Justin Ho
a1cd120b7b Merge "Update fastscroll assets" into ics-mr0 2011-10-17 17:20:32 -07:00
Justin Ho
cf440ee987 Merge "Update checkboxes" into ics-mr0 2011-10-17 17:20:22 -07:00
Justin Ho
75de2880dd Merge "Update stars" into ics-mr0 2011-10-17 17:17:31 -07:00
Justin Ho
5c30ab9c4b Merge "Update Settings Storage app icon" into ics-mr0 2011-10-17 15:57:39 -07:00
Justin Ho
37f6d02a3a Merge "Update default app icon" into ics-mr0 2011-10-17 15:53:00 -07:00
Robert Ly
bbe47330c6 Merge "docs: adt and tools filesizes and md5sums" into ics-mr0 2011-10-17 15:52:51 -07:00
Mathias Agopian
0ee55fd4e5 Merge "SensorManager reconnects to sensor service when the later dies" into ics-mr0 2011-10-17 15:50:36 -07:00
Jeff Sharkey
24a0b87227 Merge "Validate commands and arguments." into ics-mr0 2011-10-17 15:29:25 -07:00
Dianne Hackborn
5ac9271214 Merge "Fix stupid bug breaking touch on devices without a nav bar." into ics-mr0 2011-10-17 15:26:18 -07:00
Jamie Gennis
56e96c8c88 Merge "MediaPlayer: properly handle released surfaces" into ics-mr0 2011-10-17 12:38:36 -07:00
Peter Ng
9495156871 Merge "Layout changes to recents" into ics-mr0 2011-10-17 11:57:38 -07:00
Scott Main
690676d72e Merge "docs: revisions to api overview" into ics-mr0 2011-10-17 11:26:59 -07:00
Jamie Gennis
8e42e48f4e Merge "SurfaceTexture: report binder transaction failures" into ics-mr0 2011-10-17 11:25:46 -07:00
Dianne Hackborn
15e298bb05 Merge "Fix issue #5445666: bunch of com.android.server.TextServicesManagerService crashes" into ics-mr0 2011-10-17 11:16:57 -07:00
Daniel Sandler
cc55fd4fee Merge "Turn off chatty logging." into ics-mr0 2011-10-17 10:50:18 -07:00
Chet Haase
b871b0855c Merge "Issue 5432115: Speed up notification scrolling" into ics-mr0 2011-10-17 10:50:16 -07:00
Winson Chung
fa0b9fab79 Merge "Showing notifications after taking a screenshot (Bug: 5333706)" into ics-mr0 2011-10-17 10:20:46 -07:00
Amith Yamasani
c8845c16a5 Merge "Add alarm volume to the list of volumes in the volume overlay." into ics-mr0 2011-10-17 09:42:52 -07:00
Mathias Agopian
e9800c8311 Revert "Add a LayerScreenshot"
This reverts commit d6809f40cf61203573ec5dbc437f695cd132cc18.
2011-10-16 23:54:25 -07:00
Mathias Agopian
1a2b83a17d SensorManager reconnects to sensor service when the later dies
if system process ever restarted, processes using a SensorManager
would loose the ability to use it, resulting to a crash.
we now listen for sensor service death and reconnected if necessary.

Bug: 5445240
Change-Id: Ia47f8b26cdcecb729fa22bf11d55e10fcaef8cfc
2011-10-16 22:15:23 -07:00
Mathias Agopian
1d011ec8dd Merge "we need to guarantee that h/w comp set() is called when a buffer has been retired" into ics-mr0 2011-10-16 21:08:00 -07:00