65287 Commits

Author SHA1 Message Date
Glenn Kasten
08d5eb9885 Merge "Make AudioTrack control block volume field private" 2012-02-03 07:18:06 -08:00
Stephen Hines
cc2daede56 Merge "Properly recover from failed compilation." 2012-02-02 21:25:19 -08:00
Jim Miller
c7aab1a9f1 Merge "Fix 5907223: Fix lock screen glitch caused on devices with a system bar" 2012-02-02 19:25:06 -08:00
Jeff Brown
ec99f609cc Merge "Rename CancellationSignal using preferred spelling." 2012-02-02 18:50:55 -08:00
Jeff Brown
4c1241df8f Rename CancellationSignal using preferred spelling.
Bug: 5943637
Change-Id: I12a339f285f4db58e79acb5fd8ec2fc1acda5265
2012-02-02 18:02:16 -08:00
Xavier Ducrohet
c445ed701a Merge "Make Layoutlib compile on Java 6." 2012-02-02 17:47:08 -08:00
Xavier Ducrohet
46d43ccfd8 Make Layoutlib compile on Java 6.
Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
2012-02-02 17:45:45 -08:00
Romain Guy
8d13ef3c59 Merge "Separate interface definition and implementation of Snapshot" 2012-02-02 17:33:47 -08:00
Romain Guy
ada4d53d50 Separate interface definition and implementation of Snapshot
The Snapshot class is getting complicated enough that its implementation
should now live in a separate .cpp file. This will become particularly
useful when support for clip regions and paths will be added later on.

Change-Id: I050fac5683a9f7a0ff2f7a6beec3dd28aa5eb0d8
2012-02-02 17:31:16 -08:00
Mathias Agopian
b545eaa9cb Merge "separate transactions from updates" 2012-02-02 16:28:05 -08:00
Mathias Agopian
5122453f9c Merge "fix an issue where SF would spin if /sys/power/wait_for_fb_xxx don't exist" 2012-02-02 16:27:37 -08:00
Jeff Sharkey
34c4d2e249 Merge "Support snoozing of data warning notification." 2012-02-02 16:26:41 -08:00
Jeff Sharkey
0e2e5f8b56 Support snoozing of data warning notification.
Introduce second snooze timestamp to support dismissal of data usage
warning notification.  Also explicitly set notification "when" to
avoid fighting with other notifications, such as ongoing downloads.

Bug: 5443756, 5262414
Change-Id: I03342c25b0410b1b2db84de9a40884f04cb1d8ae
2012-02-02 16:22:33 -08:00
Jim Miller
bf032650e3 Fix 5907223: Fix lock screen glitch caused on devices with a system bar
This fixes a regression caused by making the lock screen window slippery where
dragging the target over the system bar would incorrectly cause it to
snap to an invisible target.  It now interprets MotionEvent.ACTION_CANCEL
the same as an "up" event and resets to the initial state.

Change-Id: I9a3c195371d64e1a4613f6f1fb0a043e9a47a601
2012-02-02 16:22:29 -08:00
Mathias Agopian
deb1e6c6e5 fix an issue where SF would spin if /sys/power/wait_for_fb_xxx don't exist
we now exit the Display thread on any error happening on these files.
also refactor the code and remove a lot of unused stuff.

Change-Id: I8d080c35b211890ca20ae09fa36fbdccdf5669a8
2012-02-02 16:20:27 -08:00
James Dong
96d4f4d8d8 Merge "Unhide AAC_ADTS file format" 2012-02-02 16:15:16 -08:00
Wink Saville
8e195a20d8 Merge "Telephony: Fix get_imsi and icc_io" 2012-02-02 16:04:17 -08:00
James Dong
874d1f1f65 Unhide AAC_ADTS file format
o also actually decprecated RAW_AMR file format

Change-Id: Ic8ef5b0dca6f793fddf9e79d431e79f5083f7bff
2012-02-02 15:50:24 -08:00
Dianne Hackborn
c69acaef0b Merge "New global setting for developer options." 2012-02-02 15:17:16 -08:00
Romain Guy
bc18f28907 Merge "Disable debugging code in the font renderer" 2012-02-02 15:16:30 -08:00
Romain Guy
b629490ffb Disable debugging code in the font renderer
Change-Id: I92463057ff4ae712bb25789db1667ff1ecfd389f
2012-02-02 15:13:18 -08:00
Alex Sakhartchouk
7042613c65 Merge "Fix an incorrect assert that doesn't account for element array size." 2012-02-02 14:54:32 -08:00
Chet Haase
229e25d404 Merge "Fix bug in LayoutTransition that caused views to stay invisible" 2012-02-02 14:35:58 -08:00
Dianne Hackborn
895f99e9ca New global setting for developer options.
Change-Id: I3f60538e9f858858501c5b063b0da97675d445a6
2012-02-02 14:13:08 -08:00
Chet Haase
a553113a1f Fix bug in LayoutTransition that caused views to stay invisible
LayoutTransition side-effects the alpha property on View to fade views
in and out. This works fine if the layout transition is always used on
those views' container. But if you fade out a disappearing view and then
set the transition to null on the container and set that view to VISIBLE,
there is no transition logic to restore the alpha value to 1 (opaque).

The fix is to always restore alpha to its pre-animation value when fading
the view out.

Also, added extra info to alpha and the various View transform properties
to help hierarchyviewer debugging.

Issue #5958434: LayoutTransition temporary disablement may leave some views invisible

Change-Id: I3c21b0e7334dc29c10c5e372b589f0e2b59c2883
2012-02-02 13:41:44 -08:00
Glenn Kasten
b2305815f0 Merge "Fix const sp<>& in parameter list and return value" 2012-02-02 13:31:23 -08:00
James Dong
72a52e7bb7 Merge "Removed a loop for buffer lookup" 2012-02-02 13:30:51 -08:00
Glenn Kasten
225400f710 Merge "Unconditional delete" 2012-02-02 13:30:48 -08:00
Glenn Kasten
91a7b145df Merge "More audio_stream_type_t" 2012-02-02 13:26:12 -08:00
Fabrice Di Meglio
ca050ab273 Merge "Update BiDiTest app" 2012-02-02 13:25:30 -08:00
Glenn Kasten
ac1748ce33 Merge "Thread::getTid returns pid_t gettid() after run" 2012-02-02 13:24:52 -08:00
Stephen Hines
862dadb7a7 Properly recover from failed compilation.
BUG=5955072

We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.

Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
2012-02-02 13:23:20 -08:00
Jeff Sharkey
2c5674aa7b Merge "Avoid NDC deadlock when re-arming network alert." 2012-02-02 13:19:37 -08:00
Fabrice Di Meglio
2b9ac31db4 Update BiDiTest app
- update basic layout for being scrollable
- add more test strings

Change-Id: Iec1b495619cdd76639f127fb1ac4e4f41d0726d8
2012-02-02 13:16:51 -08:00
Jeff Sharkey
25ce9ed57f Avoid NDC deadlock when re-arming network alert.
When NDC delivers limitReached() event, NMS re-arms the alert, which
makes another call back to NDC.  If NDC already started processing
another call, this causes deadlock.

Fix this by re-arming on a handler thread.

Bug: 5879848
Change-Id: I46fa78fe1f1122c5f31dd6020483e5ae89a9f39d
2012-02-02 13:09:52 -08:00
Marco Nelissen
8ca8a69d58 Merge "Enable media scanner bulk inserts" 2012-02-02 10:48:01 -08:00
Chet Haase
659793bcd0 Merge "Add Developer Option setting for Animator scaling." 2012-02-02 10:42:44 -08:00
Dianne Hackborn
306eed22e5 Merge "Use Choreographer for window manager animation timing." 2012-02-02 10:41:50 -08:00
Marco Nelissen
d6b3e0cc36 Enable media scanner bulk inserts
Change-Id: I357162d0fe498a182ccb14630fe565daaa8bb0c1
2012-02-02 10:35:22 -08:00
James Dong
99b252a440 Removed a loop for buffer lookup
o used the nInputPortIndex and nOutputPortIndex from header instead
  of assuming that the # of ports == 2

Change-Id: I4b615912b088b4e2bac9c00e89986e811a5c58bb
2012-02-02 10:24:25 -08:00
Scott Main
14e655f93f am 1e148f50: am 2adfc9de: am 633de7ba: docs: fix meta description tag for homepage
* commit '1e148f509eda581b8ef7cf77acad7f9216034891':
2012-02-02 10:03:43 -08:00
Scott Main
73673121c6 am c019983a: am c78a300c: am 6aaa27fb: docs: fix broken link
* commit 'c019983a21f3887945cceb2024f3b5002aea7185':
2012-02-02 10:03:42 -08:00
Scott Main
4e921c554e am 4e133702: am be09298e: am 633de7ba: docs: fix meta description tag for homepage
* commit '4e133702acc81ac72a23aa9784c05deec5be59b6':
  docs: fix meta description tag for homepage
2012-02-02 10:03:25 -08:00
Alex Sakhartchouk
bf3c3f2ab1 Fix an incorrect assert that doesn't account for element array size.
Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
2012-02-02 09:47:26 -08:00
Eric Laurent
175df11561 Merge "modifications for new webrtc modules" 2012-02-02 09:39:28 -08:00
Chet Haase
c38fa1f636 Add Developer Option setting for Animator scaling.
This new setting allows users to set a scale factor for the
duration and startDelay of all Animator-based animations. This
setting is very similar to the Transition animation scale and
Window animation scale settings, except this one applies specifically
to Animator animations. The property is only accessible by users
through the Settings UI, not programmatically. The value applies
system-wide and is picked up per-process at the time of the first
ValueAnimator construction.

This is an update to a previous CL; this approach uses the WindowManager
to store the animator scale settings, instead of SystemProperties.

Change-Id: I8295fab060aa6d597ae507ded8f9c9d6077be966
2012-02-02 08:40:44 -08:00
Mathias Agopian
9a9dbd5921 separate transactions from updates
with this changes, SF transactions are handled as soon as possible
but do not trigger updates. the update is delayed until the next
vsync.

this allows us to work much better without requiring triple-buffering.

Change-Id: I1fa10794d0cf742129f0877698b7b1e1f2ec7401
2012-02-01 20:43:06 -08:00
James Dong
26daa02bdb Merge "Remove the restriction that the width must be a multiple of 4 or 2 for thumbnail generation" 2012-02-01 18:53:50 -08:00
Svetoslav Ganov
4e921197e2 Merge "Update the comment for View#clearFocus" 2012-02-01 18:08:01 -08:00
Adam Powell
80ec4ab7f5 Merge "Fix bug 5339708 - edge case in ListView focus restoration" 2012-02-01 17:46:55 -08:00