66436 Commits

Author SHA1 Message Date
Mathias Agopian
0589e58236 Merge "update GLES headers and add support for corresponding new extensions." 2012-01-29 22:03:19 -08:00
Mathias Agopian
c0e32a47d5 Merge "added a few more commands to SF's dumpsys" 2012-01-29 22:02:36 -08:00
Mathias Agopian
b19e06f3e5 Merge "remove unused code" 2012-01-29 22:01:41 -08:00
Mathias Agopian
8d1b5e3c0b added a few more commands to SF's dumpsys
--latency-clear [name]
clears the latency data for the specified layer or for
all layers if none is specified

--list
prints the list of all layers regardless of their visibility

Change-Id: I7c07ae020f838c173b98ee50f3fb3e93da78acbb
2012-01-28 22:31:55 -08:00
Mathias Agopian
780018ded1 update GLES headers and add support for corresponding new extensions.
Change-Id: I554d9659113b4721b748ee5c1a3b1ca82b11d75e
2012-01-28 20:41:35 -08:00
Mathias Agopian
34e0491313 remove unused code
Change-Id: If900fcc50f9ffc424e270cb6063b16a2d7bc04d3
2012-01-28 18:47:13 -08:00
Jean-Baptiste Queru
eecc515d91 am 0e1ad89c: am 27d2ab8b: am dc8668c8: am 97818704: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
* commit '0e1ad89ca5487babb39c52abcff9da41e0b84462':
  Wi-Fi: Handle disconnect in middle of DHCP operation
2012-01-27 21:12:24 -08:00
Roman Nurik
52adbe026b am d28ce214: am 5525a43a: am 639b25ea: Merge "docs: add NOTICE to action bar icon pack and sprinkle download links" into ics-mr1
* commit 'd28ce2140f060f020712efe687b1183b1e1c47ca':
  docs: add NOTICE to action bar icon pack and sprinkle download links
2012-01-27 21:12:20 -08:00
Roman Nurik
120ba9a927 am 479c96c5: am 9d9c7189: am 00b3ceb4: Merge "docs: Update designing-navigation training class to link to Android Design" into ics-mr1
* commit '479c96c5758ddd4bb92473bc22b6e366fdfc3114':
  docs: Update designing-navigation training class to link to Android Design
2012-01-27 21:12:17 -08:00
Jean-Baptiste Queru
0e1ad89ca5 am 27d2ab8b: am dc8668c8: am 97818704: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
* commit '27d2ab8b27e7e1927e18869e898fa556e5da3d43':
  Wi-Fi: Handle disconnect in middle of DHCP operation
2012-01-27 21:09:20 -08:00
Roman Nurik
d28ce2140f am 5525a43a: am 639b25ea: Merge "docs: add NOTICE to action bar icon pack and sprinkle download links" into ics-mr1
* commit '5525a43a9c814faba22adfafc6517fb64259966f':
  docs: add NOTICE to action bar icon pack and sprinkle download links
2012-01-27 21:08:59 -08:00
Roman Nurik
479c96c575 am 9d9c7189: am 00b3ceb4: Merge "docs: Update designing-navigation training class to link to Android Design" into ics-mr1
* commit '9d9c718925e8ec189ba4615f93c2fe8e7d0ab23d':
  docs: Update designing-navigation training class to link to Android Design
2012-01-27 21:08:50 -08:00
Gilles Debunne
2e37d62926 Remove onPreDrawListeners earlier in TextView
Bug 5556478

Launcher pre-populates its all apps and widget pages with their
content, which includes text. The layout calls some onMeasure methods
that trigger TextView's registerForPreDraw(), which in turns adds a
listener in the ViewTreeObserver.

However, some of these pages may never be actually displayed, leaving
the listeners in the list since onDraw() is never called.

As a result, every frame displayed by launcher is slowned down by this
array copy of 6-18 listeners.

The problem is not Launcher specific since other applications may use
a similar caching mechanism.

The solution is to unsubscribe the listener in onPreDraw.

The drawback is that several successive calls to registerForPreDraw() will
add/remove the some listener object. However, these calls are rare and are
relatively cheap since we're just adding the object in and out of an
ArrayList which should not need to change its size.

Change-Id: Ifb65655a27e302d31a2ad622d18f839aec99689e
2012-01-27 18:39:07 -08:00
Jim Miller
c131e9e9a9 am 118bb2bd: Fix 5906830: Don\'t crash on lock screens that lack a clock.
* commit '118bb2bd86194454452655345846c85ec59ba547':
  Fix 5906830: Don't crash on lock screens that lack a clock.
2012-01-27 18:13:06 -08:00
Jim Miller
118bb2bd86 Fix 5906830: Don't crash on lock screens that lack a clock.
This fixes a crash seen in SIM unlock screen where the
layout doesn't have a clock to update.

Change-Id: Ic1473b60f6d32f3feae9e7aa4510f6e435fa9a73
2012-01-27 17:59:49 -08:00
Jim Miller
479cb61760 am b90559a6: Merge "Fix 5906830: Update the clock earlier when lock screen comes back from suspend."
* commit 'b90559a6066965debe173e2ea94bbffb87ad2d6a':
  Fix 5906830: Update the clock earlier when lock screen comes back from suspend.
2012-01-27 17:43:57 -08:00
Jim Miller
b90559a606 Merge "Fix 5906830: Update the clock earlier when lock screen comes back from suspend." 2012-01-27 17:42:26 -08:00
Jeff Brown
25d2fc2ca9 am cb0af4f1: Merge "Improve watchdog monitor for InputReader and InputDispatcher."
* commit 'cb0af4f1b0709b236a030f41c75edd97cf0bf1fd':
  Improve watchdog monitor for InputReader and InputDispatcher.
2012-01-27 17:38:56 -08:00
Jeff Brown
40d4036adb am 2d2d7d6f: Merge "Implement a cancelation mechanism for queries."
* commit '2d2d7d6f42fe22ecc2b1dc8bb96a19e503a61a20':
  Implement a cancelation mechanism for queries.
2012-01-27 17:38:53 -08:00
Jeff Brown
cb0af4f1b0 Merge "Improve watchdog monitor for InputReader and InputDispatcher." 2012-01-27 17:37:31 -08:00
Jeff Brown
2d2d7d6f42 Merge "Implement a cancelation mechanism for queries." 2012-01-27 17:37:24 -08:00
Jeff Brown
112b5f52c5 Improve watchdog monitor for InputReader and InputDispatcher.
Try harder to test for liveness.  There are situations where
the lock might not be held but the input system is stuck in
a callback into the window manager policy that has hung.

Bug: 5094994
Change-Id: Iff88655512a5dc8bbb4615be65f4115e975c020b
2012-01-27 17:33:42 -08:00
Jeff Brown
75ea64fc54 Implement a cancelation mechanism for queries.
Added new API to enable cancelation of SQLite and content provider
queries by means of a CancelationSignal object.  The application
creates a CancelationSignal object and passes it as an argument
to the query.  The cancelation signal can then be used to cancel
the query while it is executing.

If the cancelation signal is raised before the query is executed,
then it is immediately terminated.

Change-Id: If2c76e9a7e56ea5e98768b6d4f225f0a1ca61c61
2012-01-27 17:33:21 -08:00
Siva Velusamy
4c4d501205 gltrace: Use Unix Domain Socket rather than INET Socket
Export trace information via abstract Unix Domain Socket (UDS).
This allows tracing of applications without INTERNET permission,
and should be faster as well.

Change-Id: Iabb67fcc2bc2484afd8128af07dca723b81c52c6
2012-01-27 17:24:18 -08:00
Jim Miller
ce4a0c6f16 Fix 5906830: Update the clock earlier when lock screen comes back from suspend.
This attempts to fix an issue where sometimes the time shown on lock
screen was really old.  The code now sets the time immediately when the
screen turns on.

Change-Id: Ic4649ea342499aea82f997ba488bc2cb45987739
2012-01-27 17:15:18 -08:00
Glenn Kasten
e5b0d07827 am 30c918ce: Use final on new member variables
* commit '30c918ce7fbe171944b28fc91b3f22b3d631872d':
  Use final on new member variables
2012-01-27 16:25:54 -08:00
Glenn Kasten
30c918ce7f Use final on new member variables
Use final for member fields initialized to a new and that are never modified.

Change-Id: I042352c7bc21879613e7a50b1205b6923f8083cf
2012-01-27 16:13:00 -08:00
Alex Sakhartchouk
d3474b79ee Merge "Better constant names, removed unused code, general cleanup." into graphics-dev 2012-01-27 15:29:09 -08:00
Marco Nelissen
ca78f3d9af Handle adding/removing/renaming nomedia paths
b/5849015
Change-Id: I3ec7419498d1ecc83db6d4605b3d7610349231f7
2012-01-27 15:10:14 -08:00
Alex Sakhartchouk
4bda82de0b Better constant names, removed unused code, general cleanup.
Change-Id: Iebf6d6c930c146e83d6963674d63ee322e831f3e
2012-01-27 15:00:34 -08:00
Jean-Michel Trivi
ae5da54ebe am cf0c7d10: Merge "Bug 5567648 Request and abandon audio focus in calls"
* commit 'cf0c7d1031ea213c1b728aca972522afcd4a92c3':
  Bug 5567648 Request and abandon audio focus in calls
2012-01-27 14:53:22 -08:00
Jean-Michel Trivi
cf0c7d1031 Merge "Bug 5567648 Request and abandon audio focus in calls" 2012-01-27 14:50:28 -08:00
Fabrice Di Meglio
59b352164a am 39d18f53: Merge "Code cleaning: centralize use of #if USE_TEXT_LAYOUT_CACHE"
* commit '39d18f53b3ec721ecc5cc629b71f902b33504bea':
  Code cleaning: centralize use of #if USE_TEXT_LAYOUT_CACHE
2012-01-27 14:44:02 -08:00
Fabrice Di Meglio
39d18f53b3 Merge "Code cleaning: centralize use of #if USE_TEXT_LAYOUT_CACHE" 2012-01-27 14:42:06 -08:00
Fabrice Di Meglio
a731b082b2 Code cleaning: centralize use of #if USE_TEXT_LAYOUT_CACHE
- also clean some destructors (was not quite compulsory because
they are related to some Singletons)

Change-Id: I3091cac7b38628cda593d72570ba7a5d7ea2a15c
2012-01-27 14:24:46 -08:00
Jean-Michel Trivi
4ed37ea81a Bug 5567648 Request and abandon audio focus in calls
Up to now, audio focus was implicitly requested and abandoned
 when changing the audio mode. This is no longer the case so the
 behavior with regards to audio focus can be indepently set by
 the CallManager.
The logic implemented here is the same as the one previously used
 in AudioService:
  - only request audio focus when the ring volume index is > 0
    when ringing,
  - request focus before setting the audio mode to a mode other
    than normal
  - abandon audio focus after setting the audio mode to normal

Change-Id: Ia543dc779563dbff09414771fee60e589dfaab9d
2012-01-27 14:20:27 -08:00
Jean-Michel Trivi
dbbb0f8a7a am 11001c34: Merge "Bug 5567648 disassociate audio mode and audio focus"
* commit '11001c344a37ac515328133f46b80a2c92e61b6c':
  Bug 5567648 disassociate audio mode and audio focus
2012-01-27 14:17:55 -08:00
Jean-Michel Trivi
11001c344a Merge "Bug 5567648 disassociate audio mode and audio focus" 2012-01-27 14:15:37 -08:00
Glenn Kasten
ad73e8dee8 am b975ae45: Merge "Remove optional LVMX service"
* commit 'b975ae45cb246457c350863975a3ef5b3baa7fb4':
  Remove optional LVMX service
2012-01-27 14:12:42 -08:00
Glenn Kasten
b975ae45cb Merge "Remove optional LVMX service" 2012-01-27 14:11:16 -08:00
Jean-Baptiste Queru
27d2ab8b27 am dc8668c8: am 97818704: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
* commit 'dc8668c8a727a065cbe48c89c900d2fe98e12ab3':
  Wi-Fi: Handle disconnect in middle of DHCP operation
2012-01-27 13:58:03 -08:00
Gilles Debunne
d32003a974 am 566e8baf: Merge "Fix for IOOB when suggestions have disappeared"
* commit '566e8baf43a08b1000b8c4c24fb14fe94e46394d':
  Fix for IOOB when suggestions have disappeared
2012-01-27 13:57:16 -08:00
Gilles Debunne
fc361a01ca am ea118122: Merge "Handle tap and move cursor before showing suggestions"
* commit 'ea1181220deaf1820fb5cc13247d5e976b5543d4':
  Handle tap and move cursor before showing suggestions
2012-01-27 13:57:14 -08:00
Jean-Baptiste Queru
dc8668c8a7 am 97818704: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
* commit '9781870491f4f33403f8d518879a88c20180d7cb':
  Wi-Fi: Handle disconnect in middle of DHCP operation
2012-01-27 13:55:56 -08:00
Gilles Debunne
566e8baf43 Merge "Fix for IOOB when suggestions have disappeared" 2012-01-27 13:54:50 -08:00
Gilles Debunne
ea1181220d Merge "Handle tap and move cursor before showing suggestions" 2012-01-27 13:54:42 -08:00
Teng-Hui Zhu
88a94f1458 am 91391744: Merge "Revert "Hack to workaround the fact that the EGL context can be""
* commit '913917449d4b5da28056a02b81fb49e73f98d9a1':
  Revert "Hack to workaround the fact that the EGL context can be"
2012-01-27 13:50:07 -08:00
Teng-Hui Zhu
913917449d Merge "Revert "Hack to workaround the fact that the EGL context can be"" 2012-01-27 13:48:25 -08:00
Jean-Baptiste Queru
9781870491 Merge "Wi-Fi: Handle disconnect in middle of DHCP operation" 2012-01-27 13:36:49 -08:00
Jean-Michel Trivi
4dd3674e51 Bug 5567648 disassociate audio mode and audio focus
Don't automatically change the audio focus when
 the audio mode changes. This is best handled by the
 applications that change the audio mode so they
 can address their usecases as they please (for
 instance to define the behavior when switching calls).
Replaced the implicit "mode to focus" behavior with
 two methods to request and abandon audio focus. These
 methods are only to be used by the framework, and maintain
 the logic in AudioService to prevent other apps to request
 audio focus during a call.
A susequent change will update com.android.internal.telephony.CallManager
 to take advantage of these two methods.

Change-Id: If84ebd508e985083e8cac82ece44940c72b5c669
2012-01-27 13:32:45 -08:00