73978 Commits

Author SHA1 Message Date
Eric Laurent
3d275af3c3 Merge "implemented synchronous audio capture" 2012-03-30 16:00:26 -07:00
Fabrice Di Meglio
4a5268857e Fix layout params resolution
- dont need to check if any parent as getResolvedLayoutDirection() is handling this case

Change-Id: I915b4a72e38d072005e47d3c5a3f63febbef6e60
2012-03-30 15:56:48 -07:00
James Dong
18a38b9f41 Merge "Removed obsolete opencore related comments" 2012-03-30 15:55:58 -07:00
Michael Kolb
7784d151c1 Merge "Prevent message being sent twice in onSavePassword" 2012-03-30 15:38:28 -07:00
Svetoslav Ganov
d06fa89b52 Merge "Replace increment/decrement with increase/decrease." 2012-03-30 15:27:30 -07:00
Dianne Hackborn
3a3a6cfd8e Add new feature to let apps layout over status bar / system bar.
The main change is a few new flags you can supply to
View.setSystemUiVisibility().  One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements.  This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
2012-03-30 15:22:04 -07:00
Svetoslav Ganov
5ee329f0da Merge "Set class name for WebView on A11y events and infos." 2012-03-30 15:13:47 -07:00
Romain Guy
2a841f4c08 Merge "Detect surface resizes" 2012-03-30 15:00:10 -07:00
alanv
ea0772122f Set class name for WebView on A11y events and infos.
Bug: 6209073
Change-Id: I08b2b0010e619ed9b3afaeb4f4fc92e3afbcffd1
2012-03-30 14:59:42 -07:00
Daisuke Miyakawa
792c067afe Merge "Add supportsAdn()" 2012-03-30 14:55:43 -07:00
Romain Guy
7687882800 Detect surface resizes
HardwareRenderer normally relies on the window manager to be notified of
surface dimension changes. It is however possible to execute a drawing pass
before receiving the window manager notification. We must therefore compare
the actual size of the target surface to the window size and perform a full
redraw when they are not the same.

Change-Id: Idccc8592f3f777edee1ef67a98a4c2a825dcfba7
2012-03-30 14:54:22 -07:00
Eric Fischer
5702ee6fa9 Merge "Import translations. DO NOT MERGE" 2012-03-30 14:49:19 -07:00
Victoria Lease
203a46e53b Merge "java-side enable/disable switch for link prefetch via WebSettings" 2012-03-30 14:45:42 -07:00
Gilles Debunne
9c5e144bc0 Merge "Spans added during a text change are broadcasted" 2012-03-30 14:18:25 -07:00
Danielle Millett
c9788774a6 Merge "Fix 6238404: Changed deleteGallery and deleteTempGallery to use broadcasts" 2012-03-30 14:09:03 -07:00
Victoria Lease
7a52f26543 java-side enable/disable switch for link prefetch via WebSettings
Bug: 5218987
Change-Id: Id59324ad372df76cff8d2cae8606201db6e8d636
2012-03-30 14:08:02 -07:00
alanv
a2ef47f1c6 Added "slide" to slide-to-unlock spoken instructions.
Change-Id: I73640fde77bd3840ab788f930f343ef3bdfe786a
2012-03-30 14:03:42 -07:00
alanv
7960fe0fa6 Replace increment/decrement with increase/decrease.
Change-Id: Ic9c0b1e27091c85e712f2a8a7e347e2e1ee2c3ea
2012-03-30 13:56:14 -07:00
Jeff Sharkey
bbd0df091a Merge "Migrate to shared MockWebServer." 2012-03-30 13:51:03 -07:00
Michael Kolb
d2bfdfdd3e Prevent message being sent twice in onSavePassword
Bug: 6256107

Change-Id: I1cdc7d49b6e479532385c29d759b8d4e4ab7aaa3
2012-03-30 13:48:01 -07:00
Gilles Debunne
fc1190b8f1 Spans added during a text change are broadcasted
More consistent with the SpanWatcher design.

Change-Id: I3a1e4d92fb422f4cc689dabcdef1473d93fef5ad
2012-03-30 13:43:37 -07:00
Gilles Debunne
2f59592474 Merge "Extracted text editing logic in a separate class" 2012-03-30 13:34:42 -07:00
Chia-chi Yeh
52bdfb9c9a Merge "RTP: refactor a little bit and fix few minor bugs." 2012-03-30 13:34:26 -07:00
Kenny Root
a8cc6a2c52 Merge "Wifi: change empty "engine" config to integer" 2012-03-30 13:32:58 -07:00
Chia-chi Yeh
e66950506c RTP: refactor a little bit and fix few minor bugs.
Change-Id: I063644507f26996ded462972afcb550a4528dac8
2012-03-30 13:32:16 -07:00
Craig Mautner
4185012ad3 Merge "Move variables into animation class." 2012-03-30 13:22:21 -07:00
Craig Mautner
a608b88232 Move variables into animation class.
Moved drawPending and commitDrawPending and associated methods from
WindowState to WindowStateAnimator.

Created mechanism for passing results from WindowAnimator to
WindowManagerService. Initial results passed are mUpdateRotation and
mWallpaperMayChange.

Change-Id: Ib03d28f921580ac9426ea9233bea6eafc9ea964c
2012-03-30 13:19:45 -07:00
Eric Fischer
2efa47b14a Import translations. DO NOT MERGE
Change-Id: I9caf479e5252fd34664a0604c6fe6bfad716d5ba
2012-03-30 12:57:51 -07:00
Danielle Millett
574e49ee16 Fix 6238404: Changed deleteGallery and deleteTempGallery to use broadcasts
Previously since these were starting an activity, if it was called from
outside an activity (for example when calling resetPassword() in
DevicePolicyManager) it throws a run time exception.  Since these don't
need UI, they have been changed to be broadcasts.

Change-Id: Id87e3dc868a01f0eed901e8e8007f91f74cd51fe
2012-03-30 14:59:37 -04:00
Gilles Debunne
d88876a72f Extracted text editing logic in a separate class
Editor specific method and fields are extracted to a dedicated Editor class.

Some private fields and methods had to be made package private so that the
Editor can see them. No change in the public API.

Other changes in this CL:
- The Blink class no longer has a WeakReference to the TextView
- EasyEditSpanController is no longer a field of ChangeWatcher.

Future work:
remove the getEditor() method in TextView and
clean whitespaces and indentation.
remove the EasyEditSpanController as a change watcher, fix spanWatcher

Change-Id: I1fbe0176b6bd27d90f556dc3a90469367f77437c
2012-03-30 11:10:36 -07:00
Amith Yamasani
0dedffd656 Dump the uid of a notification, for debugging.
Useful for multiuser testing.

Change-Id: I4aac8eda9b2f9c7ada07bd6a040260beb1acce87
2012-03-30 10:47:23 -07:00
Scott Main
3e06f2c0b1 docs: de-new a bunch of docs
Change-Id: I5ff761b6fe4958f8ef67fb2fa7af81c3e81cbda6
2012-03-30 10:33:20 -07:00
Martijn Coenen
5eeee5e0bb Merge "Fix permission documentation." 2012-03-30 09:43:44 -07:00
Joe Malin
75f6ad6cb2 am b821a1f9: am 21603cc6: am 6a04325d: DOC CHANGE: Spell Checker article
* commit 'b821a1f98082dbea1e4303ed6b079168b9ae5153':
2012-03-30 09:29:56 -07:00
Joe Malin
ab3b0e49ef am 6187ba50: am 136de4ea: am 6a04325d: DOC CHANGE: Spell Checker article
* commit '6187ba507601c88ef4464951f9d70ae8dc97973f':
  DOC CHANGE: Spell Checker article
2012-03-30 09:29:54 -07:00
John Reck
4da5c4ac6f Merge "Fix typo preventing layers from scrolling to top" 2012-03-30 09:20:14 -07:00
Michael Jurka
ecc395a510 Fix the build
Change-Id: Ib4ea7df5459d025903d00361eb0e9477be299c85
2012-03-30 05:31:46 -07:00
Michael Jurka
a3fabff985 Add frame counter to dumpGfxInfo
Change-Id: I016f706e32cbdbce014795d8fc537b15c389dc7a
2012-03-30 05:06:55 -07:00
Michael Jurka
50c69b5d8a Merge "Preload recents on phones with hard nav keys" 2012-03-30 05:02:57 -07:00
Chih-Chung Chang
6ef1eedac7 Merge "Fix b/5353417 Images downloaded from browser are showing incorrect details (Time is shown as dec 31 1969)" 2012-03-30 02:50:07 -07:00
Tony Chan
c95a74d301 sdk doc change: Added KeyChain API Demo
Change-Id: I8ea879bf30f933c745e33dafa6591fce77251eb6
2012-03-30 11:13:43 +08:00
Eric Laurent
505e5c8859 implemented synchronous audio capture
Added the infrastructure to support the synchronization of playback and
capture actions on specific events.
The first requirement for this feature is to synchronize the audio capture
start with the full rendering of a given audio content.
The applications can further be extended to other use cases
(synchronized playback start...) by adding new synchronization events and
new synchronous control methods on player or recorders.

Also added a method to query the audio session from a ToneGenerator.

Change-Id: I4e47f5108c7cbbd3bd334a7fad9b3b6c5ba55d88
2012-03-29 19:48:40 -07:00
Jeff Brown
b0b8df4a20 Merge "Improve responsiveness by always consuming batched events." 2012-03-29 19:04:52 -07:00
Jeff Brown
fa8b27c858 Improve responsiveness by always consuming batched events.
Change-Id: I2eb88f8fde97ce0cd820f39da4ebe8698a7db95c
2012-03-29 18:58:29 -07:00
John Reck
e72620c2ff Fix typo preventing layers from scrolling to top
Bug: 6215597

Change-Id: Ie58e3aef29444d1c8dea424953d1b8e71ddf770b
2012-03-29 18:10:31 -07:00
Craig Mautner
15d5a964fd Merge "Remove obsolete variable masking valid one." 2012-03-29 18:03:32 -07:00
Craig Mautner
d87946ba48 Remove obsolete variable masking valid one.
The mUpdateRotation variable was still in the WindowManagerService
mInnerFields object. This was masking the true mUpdateRotation found in
WindowAnimator.

Fixes Bug 6240025.

Change-Id: I6531002f870f30d22e19ba9af5cac86e1c7b9bcb
2012-03-29 18:00:19 -07:00
Jason Sams
c5f519c5ec Rename ioReceive and ioSend
First checkin of Allocation IO test

Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
2012-03-29 17:58:15 -07:00
Kenny Root
4e62fd3f95 Wifi: change empty "engine" config to integer
"engine" is specified as an integer in wpa_supplicant, so we have to
make sure we send an integer instead of a NULL when we want to disable
it.

Bug: 6250670
Change-Id: I693ccb49badbd400a5882e9df1bbd4febc847a6e
2012-03-29 17:25:24 -07:00
Daisuke Miyakawa
54e73321e5 Add supportsAdn()
Bug: 5487135
Change-Id: I52e570ef5d175ed8ae971c5f9889496e30f2c528
2012-03-29 17:19:06 -07:00