OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "DOC CHANGE: IME subtype article" into ics-mr1
Joe Malin [Sun, 25 Mar 2012 20:02:53 +0000 (13:02 -0700)]
Merge "DOC CHANGE: IME subtype article" into ics-mr1

12 years agoDocs: Added efficient downloads Android U class
Reto Meier [Wed, 14 Mar 2012 16:27:11 +0000 (09:27 -0700)]
Docs: Added efficient downloads Android U class

Change-Id: I2a9484c5a224a7e0688fbd9afb16246db8f3ddf9

12 years agoDOC CHANGE: IME subtype article
Joe Malin [Sat, 10 Mar 2012 00:04:35 +0000 (16:04 -0800)]
DOC CHANGE: IME subtype article

Change-Id: Ie7addcc6155c275b247e15787fe226b43b0dee1a

12 years agoMerge "docs: Android SDK r17 (RC7) Release Notes (fix for build feature info)" into...
Joe Fernandez [Wed, 21 Mar 2012 23:41:19 +0000 (16:41 -0700)]
Merge "docs: Android SDK r17 (RC7) Release Notes (fix for build feature info)" into ics-mr1

12 years agodocs: Android SDK r17 (RC7) Release Notes (fix for build feature info)
Joe Fernandez [Wed, 21 Mar 2012 23:25:21 +0000 (16:25 -0700)]
docs: Android SDK r17 (RC7) Release Notes (fix for build feature info)

Change-Id: Id10c2d5eec9f81d1c6ce52067b7e25b7f411d91c

12 years agoFix 5960562: Show emergency button on PukUnlock screen
Jim Miller [Tue, 20 Mar 2012 22:30:43 +0000 (15:30 -0700)]
Fix 5960562: Show emergency button on PukUnlock screen

This fixes an issue where the device doesn't show the emergency button
on the SIM PUK unlock screen. The problem was introduced in I3127bfd5
where we allowed the button to be conditionally shown.

Change-Id: I3e2aae2bce89399a2564c3f8a726a8db99cdec86

12 years agoMerge "audioflinger: fix issue with camcorder and A2DP" into ics-mr1
Eric Laurent [Mon, 19 Mar 2012 15:32:35 +0000 (08:32 -0700)]
Merge "audioflinger: fix issue with camcorder and A2DP" into ics-mr1

12 years agoMerge "docs: Android SDK r17 (RC6) Release Notes" into ics-mr1
Joe Fernandez [Mon, 19 Mar 2012 15:25:48 +0000 (08:25 -0700)]
Merge "docs: Android SDK r17 (RC6) Release Notes" into ics-mr1

12 years agoMerge "DO NOT MERGE Revert "Increase line limit for summary text"" into ics-mr1
Justin Ho [Mon, 19 Mar 2012 15:08:56 +0000 (08:08 -0700)]
Merge "DO NOT MERGE Revert "Increase line limit for summary text"" into ics-mr1

12 years agoDO NOT MERGE Revert "Increase line limit for summary text"
Justin Ho [Sun, 18 Mar 2012 00:09:35 +0000 (17:09 -0700)]
DO NOT MERGE Revert "Increase line limit for summary text"

This reverts commit 90e3bcae6771df767c3377ca3bd6c08d99062ca3

12 years agoaudioflinger: fix issue with camcorder and A2DP
Eric Laurent [Sat, 17 Mar 2012 03:37:59 +0000 (20:37 -0700)]
audioflinger: fix issue with camcorder and A2DP

Some audio HALs do not support well a device selection of 0 (no device)
received on an input stream.

This can happen because of a problem in the audioflinger code that handles
the forwarding of the output device selection to the record thread for use by
the pre processing modules that need it. If the output device is 0 (meaning
no op, which happens when stopping playback over A2DP) audioflinger could not
detect it was an output device selection and would forward it to the input
stream (see AudioFlinger::setParameters() and RecordThread::checkForNewParameters_l().

Issue 6179641.

Change-Id: Idae534521866538e0d12ba259a2834f402a922e2

12 years agodocs: Android SDK r17 (RC6) Release Notes
Joe Fernandez [Fri, 16 Mar 2012 08:17:58 +0000 (01:17 -0700)]
docs: Android SDK r17 (RC6) Release Notes

Change-Id: I1e58b3827e4fe70310d2154e0f85b16b79d6a0d2

12 years agoMerge "MediaPlayerService: fix AudioSink latency" into ics-mr1
Eric Laurent [Fri, 16 Mar 2012 21:58:21 +0000 (14:58 -0700)]
Merge "MediaPlayerService: fix AudioSink latency" into ics-mr1

12 years agoMerge "AudioTrack: relax check on minimum buffer size" into ics-mr1
Eric Laurent [Fri, 16 Mar 2012 21:58:07 +0000 (14:58 -0700)]
Merge "AudioTrack: relax check on minimum buffer size" into ics-mr1

12 years agoIncrease line limit for summary text
Amith Yamasani [Fri, 16 Mar 2012 20:13:50 +0000 (13:13 -0700)]
Increase line limit for summary text

Doing this to accomodate some really long warning text in a
checkbox widget. Needs 5 lines for English. Probably a lot
more for German, etc., so increasing it to 10 lines.

Please don't abuse that. 4 lines is still a reasonable max.

Change-Id: Ife5858f2165cb2bc046ce606f29d31010d26ecc2

12 years agoMediaPlayerService: fix AudioSink latency
Eric Laurent [Tue, 6 Mar 2012 01:27:11 +0000 (17:27 -0800)]
MediaPlayerService: fix AudioSink latency

The AudioSink latency is currently cached when the associated AudioTrack
is created. However, the AudioTrack latency can change if the AudioTrack is moved
from one output stream to another.
The AudioPlayer must also periodically update its view of the latency
as it is needed to compensate the real audio time used for A/V sync.

This fixes an A/V sync problem seen when switching A2DP on and off while
playing a video.

Change-Id: I28b24049ca114e1af3e24791dcc900f463536ba4

Conflicts:

media/libmediaplayerservice/MediaPlayerService.cpp

12 years agoAudioTrack: relax check on minimum buffer size
Eric Laurent [Tue, 6 Mar 2012 01:06:40 +0000 (17:06 -0800)]
AudioTrack: relax check on minimum buffer size

Current AudioTrack implementation enforces that the requested audio
buffer size is at least corresponding the audio latency.
This requirement is too strong and leads to problems with current
stagefright and AudioSink implementations when playing over output
streams with long latency.

Ultimately, the AudioSink design should be changed to specify a minimum
buffer size in time or frames units but not in buffer count units.

Change-Id: I8ba603956f92ac49143a8249572665aa548f2f0f

Conflicts:

media/libmedia/AudioTrack.cpp

12 years agoMerge "Doc update: DDMS Network Traffic tool." into ics-mr1
Katie McCormick [Fri, 16 Mar 2012 19:09:59 +0000 (12:09 -0700)]
Merge "Doc update: DDMS Network Traffic tool." into ics-mr1

12 years agoDoc update: DDMS Network Traffic tool.
Katie McCormick [Mon, 5 Mar 2012 22:02:00 +0000 (14:02 -0800)]
Doc update: DDMS Network Traffic tool.

Change-Id: I9aa0d94e9bdc20681ec7be3f98233223c0e742d8

12 years agoMerge "Debugging code for #6169553: Make Phone launch faster" into ics-mr1
Dianne Hackborn [Fri, 16 Mar 2012 18:53:53 +0000 (11:53 -0700)]
Merge "Debugging code for #6169553: Make Phone launch faster" into ics-mr1

12 years agodocs: Emulator Hardware Acceleration docs for SDK r17
Joe Fernandez [Fri, 16 Mar 2012 07:53:41 +0000 (00:53 -0700)]
docs: Emulator Hardware Acceleration docs for SDK r17

Change-Id: I0714891d14db598f6c4acd29773975bd7754a912

12 years agoMerge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1
Scott Main [Thu, 15 Mar 2012 22:52:56 +0000 (15:52 -0700)]
Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1

12 years agoDebugging code for #6169553: Make Phone launch faster
Dianne Hackborn [Thu, 15 Mar 2012 22:48:38 +0000 (15:48 -0700)]
Debugging code for #6169553: Make Phone launch faster

The activity manager now has a tick when launching an app every
500ms, where it collects the current stack traces of the app if
it hasn't finished launching.  These traces are included as part
of dumpstate.

This is only done on non-user builds.

Change-Id: I7f09ea00aab821ac81795f48c9d68fcca65f89fe

12 years agoMerge "Remove fade animations from framework drawables." into ics-mr1
Dianne Hackborn [Thu, 15 Mar 2012 18:27:43 +0000 (11:27 -0700)]
Merge "Remove fade animations from framework drawables." into ics-mr1

12 years agoMerge "docs: update various SDK and AVD Manager screenshots and remove one from the...
Scott Main [Thu, 15 Mar 2012 17:21:00 +0000 (10:21 -0700)]
Merge "docs: update various SDK and AVD Manager screenshots and remove one from the licensing doc that's not necessary" into ics-mr1

12 years agoRemove fade animations from framework drawables.
Dianne Hackborn [Wed, 14 Mar 2012 23:46:59 +0000 (16:46 -0700)]
Remove fade animations from framework drawables.

Change-Id: Ic4115ba779e88a405b5d2cd927db99c43def3704

12 years agodocs: fix toc in search au class
Robert Ly [Wed, 14 Mar 2012 23:24:25 +0000 (16:24 -0700)]
docs: fix toc in search au class

Change-Id: I7c678a9091a5d2c7bdfcf5e104597d9c1986d5f0

12 years agodocs: update various SDK and AVD Manager screenshots
Scott Main [Wed, 14 Mar 2012 22:44:56 +0000 (15:44 -0700)]
docs: update various SDK and AVD Manager screenshots
and remove one from the licensing doc that's not necessary

Change-Id: I4b07446a8fd57449dfd9b605019143f543be5e14

12 years agoMerge "docs: android u search class" into ics-mr1
Robert Ly [Wed, 14 Mar 2012 22:41:02 +0000 (15:41 -0700)]
Merge "docs: android u search class" into ics-mr1

12 years agoMerge "docs: remove link from GP logo" into ics-mr1
Scott Main [Wed, 14 Mar 2012 06:09:09 +0000 (23:09 -0700)]
Merge "docs: remove link from GP logo" into ics-mr1

12 years agodocs: android u search class
Robert Ly [Fri, 3 Feb 2012 19:00:47 +0000 (11:00 -0800)]
docs: android u search class

Change-Id: I433cb5b82426c942af8f357180aeb7c947f2d9e1

12 years agoRemove the country detector logging
Daniel Lehmann [Tue, 13 Mar 2012 00:04:17 +0000 (17:04 -0700)]
Remove the country detector logging

Bug:6156714
Change-Id: Id0ff60b0530142e2bce055ee8cf8dde94e974aa5

12 years agoAllow CDMA on LTE devices to get data connections even if otasp is needed.
Wink Saville [Sat, 10 Mar 2012 21:23:35 +0000 (13:23 -0800)]
Allow CDMA on LTE devices to get data connections even if otasp is needed.

Bearer Independent Protocol (BIP) connections as defined in
ETSI TS 102 223 "Smart Cards; Card Application Toolkit (CAT) (Release 11)"
need to be able to establish data connections even when not provisioned.
This can occur when trying to provision on via and EVDO network.

Bug: 6110632
Change-Id: I85722e0ba2e2606ffcf2516b8f00be6ff5271adf

12 years agodocs: remove link from GP logo
Scott Main [Sat, 10 Mar 2012 03:12:53 +0000 (19:12 -0800)]
docs: remove link from GP logo

Change-Id: I6dff28e84b341054874995e78d20945e70d24cae

12 years agodocs: Fix a bunch of misc doc issues from external tracker
Scott Main [Fri, 9 Mar 2012 18:55:50 +0000 (10:55 -0800)]
docs: Fix a bunch of misc doc issues from external tracker

Change-Id: I03cae5bdb7b806e81cc6c983a014de212cb80c73

12 years agoMerge "A few updates for TVs." into ics-mr1
Megha Joshi [Thu, 8 Mar 2012 20:22:49 +0000 (12:22 -0800)]
Merge "A few updates for TVs." into ics-mr1

12 years agoMerge "Adding TV related updates." into ics-mr1
Megha Joshi [Thu, 8 Mar 2012 20:20:21 +0000 (12:20 -0800)]
Merge "Adding TV related updates." into ics-mr1

12 years agoA few updates for TVs.
Megha Joshi [Thu, 8 Mar 2012 00:09:05 +0000 (16:09 -0800)]
A few updates for TVs.

Change-Id: I2465cbfdfd3a5b9e22f94bd1c678aec33ab216d9

12 years agoAdding TV related updates.
Megha Joshi [Thu, 8 Mar 2012 01:11:12 +0000 (17:11 -0800)]
Adding TV related updates.

Change-Id: I631af8bec0c3178d2d03f9725afea548576cad77

12 years agodocs: add troido adk link
Scott Main [Wed, 7 Mar 2012 00:17:08 +0000 (16:17 -0800)]
docs: add troido adk link

Change-Id: Ib7cb1dd821dc17ffc8acd02843218e6d21e15295

12 years agoMerge "docs: move Android Design from static HTML to JD" into ics-mr1
Roman Nurik [Tue, 6 Mar 2012 22:39:54 +0000 (14:39 -0800)]
Merge "docs: move Android Design from static HTML to JD" into ics-mr1

12 years agoMerge "Fix badge generator URLs and images, and update script to generate different...
Scott Main [Tue, 6 Mar 2012 22:23:23 +0000 (14:23 -0800)]
Merge "Fix badge generator URLs and images, and update script to generate different alt text for the different button styles. Also change homepage announce link for blog post." into ics-mr1

12 years agodocs: move Android Design from static HTML to JD
Roman Nurik [Tue, 6 Mar 2012 20:26:15 +0000 (12:26 -0800)]
docs: move Android Design from static HTML to JD

Change-Id: I6e451599998cb8b69489cada482ab5db9d71d6f8

12 years agodocs: a few more Market -> Play strings
Scott Main [Tue, 6 Mar 2012 20:10:17 +0000 (12:10 -0800)]
docs: a few more Market -> Play strings

Change-Id: Icd09ec82362ff9aac511260f0fa295ddbc7e1369

12 years agoFix badge generator URLs and images, and update
Scott Main [Tue, 6 Mar 2012 19:23:36 +0000 (11:23 -0800)]
Fix badge generator URLs and images, and update
script to generate different alt text for the different button styles.
Also change homepage announce link for blog post.

Change-Id: Ibbdc2e8abad3c218d030299eb60ba5bee75db232

12 years agoUpdate build-a-button to use new assets.
Dirk Dougherty [Tue, 6 Mar 2012 09:48:26 +0000 (01:48 -0800)]
Update build-a-button to use new assets.

Change-Id: I2218af60519fa3adbe574aaedb1a72270ea3c1da

12 years agoMerge "Fix document." into ics-mr1
Pin Ting [Tue, 6 Mar 2012 08:55:49 +0000 (00:55 -0800)]
Merge "Fix document." into ics-mr1

12 years agoFix document.
Pin Ting [Fri, 2 Mar 2012 16:13:32 +0000 (00:13 +0800)]
Fix document.

Change-Id: I661b259c8438f9290d57fae29a828cf4495ce335

12 years agodocs: update homepage announcement for GP
Scott Main [Fri, 2 Mar 2012 23:49:34 +0000 (15:49 -0800)]
docs: update homepage announcement for GP
Still needs an update with proper blog link
(will probably do by hand for launch push)

Change-Id: I660082780ffd27cf591351e6b65be61a109a6d5d

12 years agoDoc change: String changes for Android Market
Dirk Dougherty [Sat, 28 Jan 2012 01:56:49 +0000 (17:56 -0800)]
Doc change: String changes for Android Market

Change-Id: I823812a4fd24021bec906ad856479c92a8d2a759

12 years agodocs: fix api dashboard
Scott Main [Tue, 6 Mar 2012 04:14:16 +0000 (20:14 -0800)]
docs: fix api dashboard

Change-Id: Ifbd596860f3368811e31494176682571be919459

12 years agodocs: fix expansion library package name
Scott Main [Tue, 6 Mar 2012 01:35:36 +0000 (17:35 -0800)]
docs: fix expansion library package name

Change-Id: I38303b5650fd924ac25281baf4a7da51aa939394

12 years agodocs: dashboard update for march 5
Scott Main [Mon, 5 Mar 2012 22:21:24 +0000 (14:21 -0800)]
docs: dashboard update for march 5

Change-Id: Ic71a478ad8afd818dfe9c0a2341e1d1937be5444

12 years agodocs: add note about declaring file sizes with sample app's code
Scott Main [Mon, 5 Mar 2012 21:22:56 +0000 (13:22 -0800)]
docs: add note about declaring file sizes with sample app's code

Change-Id: I7858956916c0db5a585228a890a20fb004155b8c

12 years agoMerge "docs: updates to OBB guide for naming; plus other edits" into ics-mr1
Scott Main [Mon, 5 Mar 2012 19:51:03 +0000 (11:51 -0800)]
Merge "docs: updates to OBB guide for naming; plus other edits" into ics-mr1

12 years agodocs: updates to OBB guide for naming; plus other edits
Scott Main [Mon, 5 Mar 2012 18:56:39 +0000 (10:56 -0800)]
docs: updates to OBB guide for naming; plus other edits

Change-Id: I0a3afa0388f89d7464471917fec7d767748a870e

12 years agodocs: fix misc bugs from external tracker
Scott Main [Fri, 24 Feb 2012 20:04:06 +0000 (12:04 -0800)]
docs: fix misc bugs from external tracker

Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a

12 years agodocs: add docs for market OBB
Scott Main [Thu, 7 Jul 2011 21:51:56 +0000 (14:51 -0700)]
docs: add docs for market OBB
includes splitting the Licensing dev guide into multiple pages;
Turned original licensing doc into a redirect to the new
files that are under guide/market/licensing/;
Fix all links pointing to app licensing

Change-Id: Ic49493f0e560db225dd7a382ffabc904a2fa1228

12 years agoMerge "docs: fixing bug 5942573" into ics-mr1
Robert Ly [Fri, 2 Mar 2012 17:04:16 +0000 (09:04 -0800)]
Merge "docs: fixing bug 5942573" into ics-mr1

12 years agoMerge "Make ResolverActivity update dynamically." into ics-mr1
Dianne Hackborn [Fri, 2 Mar 2012 16:30:36 +0000 (08:30 -0800)]
Merge "Make ResolverActivity update dynamically." into ics-mr1

12 years agoMake ResolverActivity update dynamically.
Dianne Hackborn [Fri, 2 Mar 2012 01:30:53 +0000 (17:30 -0800)]
Make ResolverActivity update dynamically.

Watches for package changes so it can dynamically adjust
to reflect the actual list of available activities.

Change-Id: I3a2fef3dac4d13d1b2a7ed6fc117a7b814679669

12 years agoMerge "extend timeout to allow for more time for the device to connect." into ics-mr1
Tsu Chiang Chuang [Fri, 2 Mar 2012 01:05:43 +0000 (17:05 -0800)]
Merge "extend timeout to allow for more time for the device to connect." into ics-mr1

12 years agoMerge "fix bug 5942522" into ics-mr1
Robert Ly [Thu, 1 Mar 2012 22:08:40 +0000 (14:08 -0800)]
Merge "fix bug 5942522" into ics-mr1

12 years agoMerge "docs: fix bug 5878445" into ics-mr1
Robert Ly [Thu, 1 Mar 2012 20:42:24 +0000 (12:42 -0800)]
Merge "docs: fix bug 5878445" into ics-mr1

12 years agoextend timeout to allow for more time for the device to connect.
Tsu Chiang Chuang [Wed, 29 Feb 2012 17:55:38 +0000 (09:55 -0800)]
extend timeout to allow for more time for the device to connect.

Change-Id: If3929ca69a5025c7048d57276813c270229a76db

12 years agoSet the video encoding bit rate for the media
Yu Shan Emily Lau [Wed, 29 Feb 2012 23:57:21 +0000 (15:57 -0800)]
Set the video encoding bit rate for the media
recorder stress test.

Change-Id: I1fa5965d2ba0e17be97ff3b9bd8df3df4e438087

12 years agoMark configuration strings as not translatable.
Eric Fischer [Wed, 29 Feb 2012 21:19:58 +0000 (13:19 -0800)]
Mark configuration strings as not translatable.

Change-Id: I041a6a951dfe70881a095d7ef085b0246a9d4c3b

12 years agodocs: Android Design downloads section, linkable H2s.
Roman Nurik [Wed, 29 Feb 2012 19:59:32 +0000 (11:59 -0800)]
docs: Android Design downloads section, linkable H2s.

Change-Id: I4ed3006117efd740ff5f3bc93df2ac75c2dfd2f9

12 years agoMerge "fix bug 5911175" into ics-mr1
Robert Ly [Tue, 28 Feb 2012 23:37:21 +0000 (15:37 -0800)]
Merge "fix bug 5911175" into ics-mr1

12 years agoMerge "Fix issue #6073913: onActivityResult() not getting called..." into ics-mr1
Dianne Hackborn [Tue, 28 Feb 2012 23:01:04 +0000 (15:01 -0800)]
Merge "Fix issue #6073913: onActivityResult() not getting called..." into ics-mr1

12 years agoFix issue #6073913: onActivityResult() not getting called...
Dianne Hackborn [Tue, 28 Feb 2012 22:44:19 +0000 (14:44 -0800)]
Fix issue #6073913: onActivityResult() not getting called...

...if the process is killed and restarted

Try to ensure that in all cases we deliver an activity result if one
was requested.

Change-Id: Id43e830d2ee782f98ed1e3b68e5e16f3258d4ad8

12 years agoDO NOT MERGE
felipeal [Mon, 27 Feb 2012 20:09:13 +0000 (12:09 -0800)]
DO NOT MERGE
(from master: Fixed minor typo on Javadoc)

Change-Id: I7d62e37011a7fd4d792fdfe5bd62022a850303a6

12 years agoMerge "Adding time lapse test to mediaframework stress suite." into ics-mr1
Jason Noguchi [Tue, 28 Feb 2012 19:47:46 +0000 (11:47 -0800)]
Merge "Adding time lapse test to mediaframework stress suite." into ics-mr1

12 years agoNumberPicker showing IME when its input field gains focus.
Svetoslav Ganov [Mon, 27 Feb 2012 23:53:32 +0000 (15:53 -0800)]
NumberPicker showing IME when its input field  gains focus.

1. The NumberPicker was showing the IME if the input field
   gets focus and hiding it when the the arrows are pressed.
   The leads to a nasty behavior when the input is the first
   focusable and the uses presser an arrow button. In such
   a case the IME shows and hides on every arrow press pushing
   the window content up and down - this looks pretty ugly.
   Now the IME is show on double tap of the input field.

2. The NumberPicker input now by default has an IME action
   done, hence after editing it the IME goes away.

3. The NumberPicker input now clears focus when it gets
   IME action done, so the last picker in a sequence
   does not show selection which is focus driven.

4. NumberPicker was incorrectly detecting double tap to
   begin edit and it was possble to start edit on singe tap
   if the user has double tapped before to start an edit.
   Now double tap detection is using the double tap timeout
   correctly.

bug:6071977

Change-Id: I0ff5a491064e51663b3abec675d839d0a65b986a

12 years agoMerge "docs: fix bug 5990526" into ics-mr1
Robert Ly [Mon, 27 Feb 2012 16:40:54 +0000 (08:40 -0800)]
Merge "docs: fix bug 5990526" into ics-mr1

12 years agoSupport rendering layout that use the new res-auto namespace.
Xavier Ducrohet [Sat, 25 Feb 2012 03:02:18 +0000 (19:02 -0800)]
Support rendering layout that use the new res-auto namespace.

Change-Id: I9b89c965dc8c9458e74c15ab8ff765e16e1b32c2

12 years agoMerge "Fix build." into ics-mr1
Dianne Hackborn [Sat, 25 Feb 2012 00:23:07 +0000 (16:23 -0800)]
Merge "Fix build." into ics-mr1

12 years agoFix build.
Dianne Hackborn [Sat, 25 Feb 2012 00:10:26 +0000 (16:10 -0800)]
Fix build.

Change-Id: Id3262bff0df598ecc81a4346dee9febd3aaa60c9

12 years agoMerge "Fix issue #6048808: sometimes auto-correct is inactive" into ics-mr1
Dianne Hackborn [Fri, 24 Feb 2012 23:36:33 +0000 (15:36 -0800)]
Merge "Fix issue #6048808: sometimes auto-correct is inactive" into ics-mr1

12 years agoFix issue #6048808: sometimes auto-correct is inactive
Dianne Hackborn [Fri, 24 Feb 2012 21:08:49 +0000 (13:08 -0800)]
Fix issue #6048808: sometimes auto-correct is inactive

My previous change to speed up the time the IME is dismissed was
fundamentally flawed.  That change basically switched the order
the application called the input method manager service from doing
startInput() and then windowGainedFocus(), to first windowGainedFocus()
and then startInput().

The problem is that the service relies on startInput() being done
first, since this is the mechanism to set up the new input focus,
and windowGainedFocus() is just updating the IME visibility state
after that is done.  However, by doing the startInput() first, that
means in the case where we are going to hide the IME we must first
wait for the IME to re-initialize editing on whatever input has
focus in the new window.

To address this, the change here tries to find a half-way point
between the two.  We now do startInput() after windowGainedFocus()
only when this will result in the window being hidden.

It is not as easy as that, though, because these are calls on to
the system service from the application.  So being able to do that
meant a fair amount of re-arranging of this part of the protocol
with the service.  Now windowGainedFocus() is called with all of
the information also needed for startInput(), and takes care of
performing both operations.  The client-side code is correspondingly
rearranged so that the guts of it where startInput() is called can
instead call the windowGainedFocus() entry if appropriate.

So...  in theory this is safer than the previous change, since it
should not be impacting the behavior as much.  In practice, however,
we are touching and re-arranging a lot more code, and "should" is
not a promise.

Change-Id: Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb

12 years agoMove the automatic namespace outside of the res namespace. do not merge.
Xavier Ducrohet [Fri, 24 Feb 2012 00:59:27 +0000 (16:59 -0800)]
Move the automatic namespace outside of the res namespace. do not merge.

(cherry picked from commit d9fe8018ffbf94f18a840005e688ad1d712f0225)

Change-Id: I48ca78d5fccc75392b3f1cf9525890e5145293c4

12 years agoFix for issue 9656 - custom xml attributes in Android Libraries. do not merge.
inazaruk [Sun, 22 May 2011 22:09:06 +0000 (15:09 -0700)]
Fix for issue 9656 - custom xml attributes in Android Libraries. do not merge.

Added support for predefined namespace http://schemas.android.com/apk/res/auto
that aapt tool recognizes and treats as namespace with package name
taken from current application's AndroidManifest.xml, //manifest/package attribute.

Signed-off-by: inazaruk <ievgenii.nazaruk@gmail.com>
(cherry picked from commit e348909c1966c3d192841cc131a32be6ed90da18)

Change-Id: I4bff836c42a309bac36e5d1ce1899131b3c4c194

12 years agoMerge "docs: NDK overview, remove x86 instruction set mention (b/6044027)" into ics-mr1
Joe Fernandez [Thu, 23 Feb 2012 22:22:41 +0000 (14:22 -0800)]
Merge "docs: NDK overview, remove x86 instruction set mention (b/6044027)" into ics-mr1

12 years agoDon't allow screen invalidations to go outside bounds of screen
Michael Jurka [Thu, 23 Feb 2012 08:02:49 +0000 (00:02 -0800)]
Don't allow screen invalidations to go outside bounds of screen

Fixes invalidation issue in Launcher

Change-Id: Iab32149489aed6884e917f0ac5a548d4ae26896e

12 years agodocs: fix bug 5878445
Robert Ly [Wed, 22 Feb 2012 19:15:53 +0000 (11:15 -0800)]
docs: fix bug 5878445

Change-Id: I603a3b8d92d855baa8f3557bddecb662af2cc1d7

12 years agoAdding time lapse test to mediaframework stress suite.
Jason Noguchi [Fri, 17 Feb 2012 23:23:00 +0000 (15:23 -0800)]
Adding time lapse test to mediaframework stress suite.

Change-Id: Ia244352cd16f77c090c4f1dad6f9b09a8b3e8f47

12 years agodocs: fixing bug 5942573
Robert Ly [Wed, 22 Feb 2012 18:59:12 +0000 (10:59 -0800)]
docs: fixing bug 5942573

Change-Id: I2479dc8916f98a8bf7dbec95dc29cbd871c51be5

12 years agofix bug 5942522
Robert Ly [Wed, 22 Feb 2012 17:29:15 +0000 (09:29 -0800)]
fix bug 5942522

Change-Id: Ice16e63b42d5e8c89994d0844f62adaefc8a92a1

12 years agoMerge "docs: fix broken link" into ics-mr1
Scott Main [Thu, 23 Feb 2012 00:20:49 +0000 (16:20 -0800)]
Merge "docs: fix broken link" into ics-mr1

12 years agodocs: NDK overview, remove x86 instruction set mention (b/6044027)
Joe Fernandez [Tue, 21 Feb 2012 23:30:14 +0000 (15:30 -0800)]
docs: NDK overview, remove x86 instruction set mention (b/6044027)

Change-Id: I37ee68fb78f2ed5edc1c34ff7198340b1ab5c49b

12 years agofix bug 5911175
Robert Ly [Wed, 22 Feb 2012 19:05:55 +0000 (11:05 -0800)]
fix bug 5911175

Change-Id: I528e7c30e81c85ec31a5abbd74e85cc364a8362f

12 years agoMerge "Make sure resource references are resolved." into ics-mr1
Xavier Ducrohet [Wed, 22 Feb 2012 18:47:32 +0000 (10:47 -0800)]
Merge "Make sure resource references are resolved." into ics-mr1

12 years agodocs: fix bug 5990526
Robert Ly [Wed, 22 Feb 2012 17:20:43 +0000 (09:20 -0800)]
docs: fix bug 5990526

Change-Id: Ife7e9a66c5fc23a9caa2c26046741880833f4b9a

12 years agoMerge "docs: Added Lint into Android Training and removed Layoutopt." into ics-mr1
Rich Hyndman [Wed, 22 Feb 2012 11:41:05 +0000 (03:41 -0800)]
Merge "docs: Added Lint into Android Training and removed Layoutopt." into ics-mr1

12 years agoMake sure resource references are resolved.
Xavier Ducrohet [Tue, 21 Feb 2012 22:26:32 +0000 (14:26 -0800)]
Make sure resource references are resolved.

XmlPullAttribute can query for attributes and return them in a given
format. We need to make sure they are first resolved before
trying to convert them to int/float/boolean/...

Change-Id: I2aaced022a0382e501978c396e49d6191d53bdc8

12 years agoFix issue #6037252: Screen shifts after all apps are upgraded
Dianne Hackborn [Tue, 21 Feb 2012 21:54:21 +0000 (13:54 -0800)]
Fix issue #6037252: Screen shifts after all apps are upgraded

Two things: (1) make sure the boot message is always positioned within
the entire unrestricted display, and (2) allow the dim background to go
on top of the nav bar when being used for the boot message (this latter
is really a hack that should be more generally fixed in the future).

Change-Id: I7261b044eb802a39cadff931b50a679ff18781d6

12 years agodocs: Added Lint into Android Training and removed Layoutopt.
Rich Hyndman [Wed, 15 Feb 2012 15:46:51 +0000 (16:46 +0100)]
docs: Added Lint into Android Training and removed Layoutopt.

Change-Id: Ib818ba3ab12fff79dbede69ebf543a8e4be6f3df

12 years agoMerge "fix NPE in race condition." into ics-mr1
Tsu Chiang Chuang [Fri, 17 Feb 2012 23:53:50 +0000 (15:53 -0800)]
Merge "fix NPE in race condition." into ics-mr1

12 years agoBug 6021294 - Contextual action bar animation tweaks
Adam Powell [Fri, 17 Feb 2012 23:18:01 +0000 (15:18 -0800)]
Bug 6021294 - Contextual action bar animation tweaks

Remove the right-to-left cascade effect from action mode menu
items. Animation time is now fixed at 300ms for scaling in menu items.

Change-Id: I8eef2ed9f93c2af804663dd5e6b3f4915ed45cb1

12 years agodocs: fix broken link
Scott Main [Fri, 17 Feb 2012 22:37:58 +0000 (14:37 -0800)]
docs: fix broken link

Change-Id: I13e29ec18bb503ea33ee59d187f588c5be8fd109