66392 Commits

Author SHA1 Message Date
Siva Velusamy
67590f0d48 am b0931673: Merge "gltrace: Use Unix Domain Socket rather than INET Socket"
* commit 'b09316736fe7b721d92900ad901894fd5ce2b854':
  gltrace: Use Unix Domain Socket rather than INET Socket
2012-01-30 09:09:33 -08:00
Siva Velusamy
b09316736f Merge "gltrace: Use Unix Domain Socket rather than INET Socket" 2012-01-30 09:08:27 -08:00
Chet Haase
4efb0920e1 am c7685d6d: Merge "Fix bug in LayoutTransition for INVISIBLE views"
* commit 'c7685d6d6e4a7e3fe5b00d2420a66d1560a911dc':
  Fix bug in LayoutTransition for INVISIBLE views
2012-01-30 08:30:13 -08:00
Marco Nelissen
d9cd8fe132 am f3a3b9ec: Merge "Handle adding/removing/renaming nomedia paths"
* commit 'f3a3b9ec9ce6cb087dd3f4358684c00be23feec1':
  Handle adding/removing/renaming nomedia paths
2012-01-30 08:30:10 -08:00
Chet Haase
c7685d6d6e Merge "Fix bug in LayoutTransition for INVISIBLE views" 2012-01-30 08:28:18 -08:00
Marco Nelissen
f3a3b9ec9c Merge "Handle adding/removing/renaming nomedia paths" 2012-01-30 08:27:57 -08:00
Chet Haase
0d29936ec3 Fix bug in LayoutTransition for INVISIBLE views
When a view is becoming VISIBLE or INVISIBLE in a container with a
LayoutTransition, animations run to fade the view in and out and also
to run 'changing' animations on the view's other siblings. This logic
also cancels any running 'changin' animations to account for new ones
running.

However, in the specific case of INVISIBLE changes, there will be no
layout changes in the container - layout has already accounted for that
view (unlike in the case of GONE views); the visibility is just a matter of
drawing the view (or not). Therefore, we're canceling 'changing' animations
that should continue running and not replacing them with any other animations,
since new animations would only be started on layout chnages which are not
forthcoming.

One artifact seen from this bug is that the navigation bar buttons sometimes
disappear when changing orientation. This is because the menu button may
toggle between VISIBLE and INVISIBLE, causing animations on the other
buttons to get canceled, which leaves those views in a completely wrong
state.

The right thing to do is to avoid canceling in-process 'changing' animations
and to skip the logic of setting up new 'changing' animations which won't fire
anyway.

There is some minor API work in here because we did not previously have the
necessary information in LayoutTransition to know whether a view was being
hidden or shown to/from the INVISIBLE state.

Issue #5911213: LayoutTransitions ending in an odd state

Change-Id: I5c60c8583c8ea08965727b4ef17b550c40a3882c
2012-01-30 07:53:59 -08:00
Mathias Agopian
7bc45c743f am acabf488: remove unneeded code
* commit 'acabf488674e0f5a6d0fa6d1da5e36b417a681a0':
  remove unneeded code
2012-01-29 23:17:04 -08:00
Mathias Agopian
acabf48867 remove unneeded code
Change-Id: I07e2fca7274d2e12bf5b4aee0050794bdb97a8b3
2012-01-29 23:11:06 -08:00
Mathias Agopian
be124027db am dfbcee6c: fix build
* commit 'dfbcee6cb8ab9cf89b9052eb7498e453afdb1463':
  fix build
2012-01-29 22:24:52 -08:00
Mathias Agopian
dfbcee6cb8 fix build
Change-Id: Ibdc45f1794e7ef60dc1ca0ff85c5cc4dff84c3fa
2012-01-29 22:22:08 -08:00
Mathias Agopian
a03b13c8b0 am 0589e582: Merge "update GLES headers and add support for corresponding new extensions."
* commit '0589e582361432f12848fdd59f8c408b7a31c35b':
  update GLES headers and add support for corresponding new extensions.
2012-01-29 22:06:23 -08:00
Mathias Agopian
b74ab37a4c am c0e32a47: Merge "added a few more commands to SF\'s dumpsys"
* commit 'c0e32a47d5e31b81df5731952656be02d2dd8758':
  added a few more commands to SF's dumpsys
2012-01-29 22:04:22 -08:00
Mathias Agopian
e582b2bb08 am b19e06f3: Merge "remove unused code"
* commit 'b19e06f3e53cf011a04d9e0f0529c2a94a7c3780':
  remove unused code
2012-01-29 22:04:19 -08:00
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
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