58283 Commits

Author SHA1 Message Date
Andreas Huber
86d7db52bf Fix androidGetThreadPriority for non-pthread configurations.
related-to-build

Change-Id: Ic865af0865906f96fd615a56a030c8e3adaf13c4
2011-09-16 11:47:13 -07:00
Eino-Ville Talvala
44895fe865 am ebdcae73: Merge "Add third video to default system videos." into ics-factoryrom
* commit 'ebdcae732f648871dd0df6586a5ba57aae015bd4':
  Add third video to default system videos.
2011-09-16 10:53:21 -07:00
Eino-Ville Talvala
ebdcae732f Merge "Add third video to default system videos." into ics-factoryrom 2011-09-16 10:52:15 -07:00
Andreas Huber
9e7a6fc149 Merge "Various improvements to nuplayer playback" 2011-09-16 10:50:51 -07:00
Andreas Huber
d679098937 Merge "A new API "androidGetThreadPriority"" 2011-09-16 10:50:43 -07:00
Andreas Huber
115cac8131 Various improvements to nuplayer playback
- Drastically cut down the number of times we supply the AudioSink with data
by estimating the time until the sink would run out of data and then scheduling
a refill in advance of that.

- Use a dedicated looper for video decoders since they are currently taking
too long to return from OMX_FillThisBuffer (bug 5325201)

- Revise thread priorities for the OMX dispatcher and software codecs, instead
of running them at ANDROID_PRIORITY_AUDIO, they now only run at
ANDROID_PRIORITY_FOREGROUND

- Since threads created by pthread_create inherit all of the parent threads
attributes including thread priority, briefly reset thread priority to
ANDROID_PRIORITY_FOREGROUND before instantiating OMX components and then
restore it.

Change-Id: If9332a3a20dad5485333d68c11de0d2d5d3fffc3
2011-09-16 10:44:02 -07:00
John Reck
5dd1916c24 Merge "Fix text selection drawing on SW" 2011-09-16 10:39:16 -07:00
Andreas Huber
bcba155942 A new API "androidGetThreadPriority"
Change-Id: I6baeead8c70460863343fd557250635fb1e6a170
2011-09-16 09:33:22 -07:00
Kenny Root
5908eaef12 am 1f9a9288: Merge "Be more forgiving in parsing verifier IDs" into ics-factoryrom
* commit '1f9a928864be7cfc76c99b8f69706e739e6a7b08':
  Be more forgiving in parsing verifier IDs
2011-09-16 09:09:30 -07:00
Kenny Root
1f9a928864 Merge "Be more forgiving in parsing verifier IDs" into ics-factoryrom 2011-09-16 09:07:52 -07:00
Justin Ho
5c84527fcb am 6a7ea58e: Merge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom
* commit '6a7ea58e826587aad89791affa29fe51d5c2e58b':
  Updated Clock and Roboto fonts Bug: 5243711
2011-09-16 07:35:43 -07:00
Justin Ho
6a7ea58e82 Merge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom 2011-09-16 07:32:52 -07:00
Justin Ho
81db33af1e Updated Clock and Roboto fonts
Bug: 5243711

Change-Id: I1c54bab0107edc56fbdf75269a70881031384833
2011-09-16 07:29:24 -07:00
Brian Colonna
68a8cf4a8e Merge "Properly laying out FaceLock on lockscreen" 2011-09-16 06:08:22 -07:00
Mark Brophy
1d8cac89aa Merge "Fix typo in SearchManager javadoc." 2011-09-16 05:47:49 -07:00
Mark Brophy
de2ba4c868 Fix typo in SearchManager javadoc.
Change-Id: I40e1879779e51414f9a5b937209b9decbfb11693
2011-09-16 12:27:20 +01:00
Kenny Root
c11bc8d224 Be more forgiving in parsing verifier IDs
RFC 4648's Base32 is made to be forgiving for users doing manual entry
of the digits. For this reason we want to be able to parse lowercase
letters as uppercase and number 0 (zero) as letter O along with number
1 (one) as letter I.

Cherry-pick into ics-factoryrom

Change-Id: I149d8e947ff8b36305c1e61d8a1d80ff0b317cda
2011-09-15 21:04:57 -07:00
Dianne Hackborn
09bd49a8a7 Fix issue #5328235: Wrong values for smallestScreenWidthDp
Maybe.

Change-Id: I88dfde1626376b3003bdd7a8068c55545255851e
2011-09-15 19:12:01 -07:00
Svetoslav Ganov
fd4d90b820 am 4e3bee76: Merge "MiltiWaveView accessibility improvement." into ics-factoryrom
* commit '4e3bee760a7f00e6ef3c89b937558df1ee6fcda0':
  MiltiWaveView accessibility improvement.
2011-09-15 18:54:15 -07:00
Svetoslav Ganov
4e3bee760a Merge "MiltiWaveView accessibility improvement." into ics-factoryrom 2011-09-15 18:52:40 -07:00
Svetoslav Ganov
c5fccd0125 am 2a6798ad: Merge "Touch explorer does not perform tap with the right pointer." into ics-factoryrom
* commit '2a6798ada499dc1dc33db36a15a6ce07e72968ae':
  Touch explorer does not perform tap with the right pointer.
2011-09-15 18:50:38 -07:00
Svetoslav Ganov
2a6798ada4 Merge "Touch explorer does not perform tap with the right pointer." into ics-factoryrom 2011-09-15 18:47:49 -07:00
Svetoslav Ganov
2a671ac905 MiltiWaveView accessibility improvement.
Now hover events behave s motion events in touch exploration mode.
The use no longer needs to find the handle and tap + hold to engage.
It is enough to move on top of it.

Now the handle is engaged, i.e. can be dragged, when the user passes
on top of it for both accessibility enabled and disabled.

bug:5253968

Change-Id: If70b44cb6db8a38432216b46ecddefb3e2bc3825
2011-09-15 18:21:37 -07:00
Eino-Ville Talvala
9e15be985e Add third video to default system videos.
Bug: 5216945
Change-Id: I1704e6043ea67677fb81b81ff3080faf9f14907a
2011-09-15 18:08:01 -07:00
Dianne Hackborn
86c2fe4741 New dalvik heap config for xhdpi devices.
Change-Id: Id56fc9140c3a7d576b5d89042cad583702564f48
2011-09-15 17:52:04 -07:00
Svetoslav Ganov
bd206d129f Touch explorer does not perform tap with the right pointer.
The touch explorer was using the id of the last pointer that
went up while injecting up and down to tap through the last
touch explore event incorrectly assuming that the last up
pointer did touch explore. This was leading to a system crash.

bug:5319315

Change-Id: Iffe8ef753795ad685abe6f493cc09adac8bfea94
2011-09-15 17:46:32 -07:00
Ying Wang
9f3f71a7de am 070e7ee2: Merge "Use the correct dependency" into ics-factoryrom
* commit '070e7ee285792a2cc59e7ed1db17832e8c829275':
  Use the correct dependency
2011-09-15 17:38:46 -07:00
Gloria Wang
963a7ca0e6 am 91849473: (-s ours) Merge "If media player has died already, do not dec the old surface texture reference. Otherwise segfault will occur. For bug 5327664. Do not merge." into ics-factoryrom
* commit '918494732741c1fdceda6d2e4ea8930b559f26a4':
  If media player has died already, do not dec the old surface texture reference. Otherwise segfault will occur. For bug 5327664. Do not merge.
2011-09-15 17:38:39 -07:00
Gloria Wang
7eaedf93ca am 62c24d7b: (-s ours) Merge "Cherry-pick from master. Do not merge. Do not need to reset surface as NULL in MediaPlayer\'s _release. Related to bug 5252296." into ics-factoryrom
* commit '62c24d7bfa5a88655ba9981dba2a565c1136a255':
  Cherry-pick from master. Do not merge. Do not need to reset surface as NULL in MediaPlayer's _release. Related to bug 5252296.
2011-09-15 17:38:36 -07:00
Ying Wang
070e7ee285 Merge "Use the correct dependency" into ics-factoryrom 2011-09-15 17:19:37 -07:00
Dianne Hackborn
5adea623ee Merge "Fix issue #5300880: setSystemUiVisibility() always triggers a surface reallocation" 2011-09-15 17:09:01 -07:00
Dianne Hackborn
b59d270df7 Merge "Fix issue #5317970: Removing active wallpaper from manifest crashes phone" 2011-09-15 17:08:07 -07:00
Gloria Wang
9184947327 Merge "If media player has died already, do not dec the old surface texture reference. Otherwise segfault will occur. For bug 5327664. Do not merge." into ics-factoryrom 2011-09-15 17:04:27 -07:00
Gloria Wang
62c24d7bfa Merge "Cherry-pick from master. Do not merge. Do not need to reset surface as NULL in MediaPlayer's _release. Related to bug 5252296." into ics-factoryrom 2011-09-15 17:04:02 -07:00
Gloria Wang
152f7b3985 Merge "If media player has died already, do not dec the old surface texture reference. Otherwise segfault will occur. For bug 5327664." 2011-09-15 16:56:41 -07:00
Christopher Tate
b851f15ee2 Merge "Don't do full backup/restore before setup" 2011-09-15 16:48:42 -07:00
Fred Quintana
569584be0e Merge "Add a generic account chooser/add account flow for apps." 2011-09-15 16:44:53 -07:00
Fred Quintana
89e063113c Add a generic account chooser/add account flow for apps.
The activity is launched as follows:
  Account account1 = new Account("account1@gmail.com", "com.google")
  Account account2 = new Account("account2@gmail.com", "com.google")
  ArrayList<Account> accounts = new ArrayList<Account>();
  accounts.add(account1);
  accounts.add(account2);
  String[] accountTypes = new String[]{"com.google", "com.android.exchange"};
  Bundle addAccountOptions = null;
  Intent intent = AccountManager.newChooseAccountIntent(account1, accounts,
    accountTypes, addAccountOptions);
  startActivityForResult(intent, 0);

Change-Id: I05a467bdc3552a2e39397b0182879351f4324389
2011-09-15 16:39:50 -07:00
Ed Heyl
cb1610c82b Merge branch 'master' of ssh://android-git:29418/platform/frameworks/base 2011-09-15 16:18:27 -07:00
Ying Wang
b1f57728d9 Use the correct dependency
$(LOCAL_BUILT_MODULE) of the module framework points to a
product-specific file (required by dex-preopt), which is nuked by installclean.
While the result of $(java-lib-deps) points to a file in the common
directory.

This change reduces the incremental build time significantly:
It takes around 7 minutes to run "make instalclean && make" without this
change v.s. 3 minutes with this change.
So it will save lots of build time when switching between user, userdebug
and eng builds on the build server.

Change-Id: I832bafca04677af561bb0c28e2e0260f633b96a1
2011-09-15 16:16:45 -07:00
Christopher Tate
d2c0cd4313 Don't do full backup/restore before setup
On the restore side, there's a bunch of one-time setup, device
provisioning, etc that we're very much not prepared to do in
lieu of running setup wizard, at least at this time.

On the backup side, it simply doesn't make sense to back up
stuff before the device has been set up.

Part of bug 5290261

Change-Id: If1c65e88e2da589d6204232d2b59c3e994f4ed3f
2011-09-15 15:51:29 -07:00
Gloria Wang
81b37d8bde If media player has died already, do not dec the old surface texture reference.
Otherwise segfault will occur.
For bug 5327664.
Do not merge.

Change-Id: I03ea7bc047aa99a106f1e010dac74f75a833ef84
2011-09-15 15:38:36 -07:00
Gloria Wang
e828beb386 If media player has died already, do not dec the old surface texture reference.
Otherwise segfault will occur.
For bug 5327664.

Change-Id: I03ea7bc047aa99a106f1e010dac74f75a833ef84
2011-09-15 15:36:02 -07:00
Dianne Hackborn
4f59f8be0e Fix issue #5300880: setSystemUiVisibility() always triggers a surface reallocation
Change-Id: Ia0a9d8acba6b62ef095e4c615099466c52eec8e4
2011-09-15 15:27:59 -07:00
Dianne Hackborn
80b902ffbe Fix issue #5317970: Removing active wallpaper from manifest crashes phone
Clean up a bunch of stuff about dealing with failures in applying
the wallpaper.

Change-Id: Ib0c7ec6cc00936dd00c752991be068dc75fc24c9
2011-09-15 15:15:27 -07:00
Adam Powell
1451f1821d Merge "Update docs for RelativeLayout to better explain its interpretation of gravity." 2011-09-15 15:02:55 -07:00
Gilles Debunne
a0383f7212 Merge "Bug 5319091: Completions delayed in AutoComplete in landscape" 2011-09-15 14:51:35 -07:00
Adam Powell
1fec24e0ff Update docs for RelativeLayout to better explain its interpretation of
gravity.

Change-Id: Ie52dc23458c73dfb7fdbf929b802f968ef905557
2011-09-15 14:49:19 -07:00
Ashish Sharma
2e4a560f29 Merge "Add packet counts to uid and iface stats. Needed to add Ethernet overhead to uid_stats (IP level) to compare with interface stats (Ethernet level)." 2011-09-15 14:30:40 -07:00
Brian Colonna
4d7cee1e4b Properly laying out FaceLock on lockscreen
- FaceLock area now specified in layout files instead of trying to
  grab an existing view, which was only practical if pattern was
  backup method

- Now fills area it is supposed to and works with pin as well as
  pattern backup

- Backup method is no longer exposed behind FaceLock just before it
  starts or just after it tells the lockscreen to unlock

- Added synchronized blocks so FaceLock cannot be told to stopUI by
  two different threads at the same time

Change-Id: I3bfad6b44dbe0e3c2ea3c87d2978451c22a7484c
2011-09-15 17:18:56 -04:00