74647 Commits

Author SHA1 Message Date
Steve Block
b187d52f8a Merge "Minor clean-up in DeviceOrientation and DeviceMotion" 2012-04-12 11:02:29 -07:00
Teng-Hui Zhu
3d7f0cb3d9 Update header for forward compatibility
Change-Id: Idf38142dc073dce14741e8da005e7d2eaf9242de
2012-04-12 10:59:57 -07:00
Amith Yamasani
7463adacbd Make dumpsys activity services work again.
Due to the step to query the users, dumpsys was crashing when run
as non-root. Clearing the calling identity after checking perms
fixes this.

Bug: 6311443
Change-Id: I0b0bca5c7305cea19adc772b3bfec34c16bb24c4
2012-04-12 10:41:19 -07:00
Jeff Brown
bf68a02b5f Merge "HID usage should take precedence over scan code." 2012-04-12 10:24:31 -07:00
Jeff Brown
cc11698319 HID usage should take precedence over scan code.
Change-Id: Ibd8988e3dcc0d64f4019ffe491d9789733f9d243
2012-04-12 10:05:41 -07:00
John Reck
a3fab1cbd2 Merge "Cleanup unused code" 2012-04-12 09:54:28 -07:00
Brian Colonna
28705f4a96 Merge "Changed FUL calls to more general biometric sensor calls" 2012-04-12 08:36:20 -07:00
Chet Haase
c299a33841 Fix AnimatorSet duration issue
Setting the duration on an AnimatorSet should propagate that value
to its children. This works, but only if all children are added to the set
before setDuration() is called. This fix delays that propagation until
the set is started, making it possible to have a more flexible order of when
the children are added and when the duration is set.

Issue #6324904 AnimatorSet durations too long

Change-Id: I797971c2310eb2e3fe931b4aa35de505f2a519f7
2012-04-12 07:51:50 -07:00
Jonathan Dixon
9f21c1c73f Add deprecated tag and note StrictMode violation
This method is already @deprecated in docs anyway.
StrictMode.noteSlowCall can help apps discover the error.

Change-Id: Ie131d938b0dd32f85ec1886e2139ce3c3f511209
2012-04-12 11:14:20 +01:00
Steve Block
5ba2efeb9f Minor clean-up in DeviceOrientation and DeviceMotion
No functional change.

See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700

Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
2012-04-12 11:08:13 +01:00
Wu-cheng Li
6574539bae Unhide camera autofocus move callback.
Camera autofocus move callback tells the clients when
continuous aufofocus is moving. Applications can show
autofocus animation based on this.

bug:5687212
Change-Id: I3191fd447b1e9de0ccf939eb346344f0be9bcf1a
2012-04-12 18:07:16 +08:00
Jonathan Dixon
39edeeefe7 Merge "Hide WebView.getZoomControls()" 2012-04-12 02:29:50 -07:00
Jeff Sharkey
ce4c103492 am 2cec767b: (-s ours) am 3d33c68f: am d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '2cec767b8a90fcb913f7689bb20d1fe6f437cced':
2012-04-11 21:24:53 -07:00
Jeff Sharkey
2cec767b8a am 3d33c68f: am d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '3d33c68f9e0ddc3b022e027e7644e908cfc9725e':
2012-04-11 21:15:01 -07:00
Jeff Brown
4d27ed44f9 Merge "Refactor key code mapping." 2012-04-11 20:29:32 -07:00
Jeff Brown
49ccac530b Refactor key code mapping.
Added handling for EV_MSC / MSC_SCAN which typically reports
the HID usage associated with a key.  This will enable key maps
to map keys with HID usages that Linux does not natively recognize.

Removed keyCode and flags fields from EventHub RawEvent since
they don't necessarily make sense in isolation now that we
pay attention to HID usage codes too.

Removed the fallback code for mapping keys and axes.  In practice,
an input device should be self-sufficient.  We should not ever
need to look at the built-in keyboard's key map.  In fact, there
usually isn't a built-in keyboard anyhow.  This code was originally
working around a problem where we weren't loading the key map
for touch screens with virtual keys, which has long since been fixed.

Change-Id: I0a319bdec44be9514f795526347397e94d53a127
2012-04-11 20:28:09 -07:00
Jeff Sharkey
cfece60347 am f6e42953: (-s ours) am 88d97104: am d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit 'f6e429531620688fa00bfae0cda4ec04d9c7d4ec':
2012-04-11 19:27:58 -07:00
Jeff Sharkey
443d375536 am 63de4562: (-s ours) am d9818244: (-s ours) Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '63de4562950f57fd0dc99ad16767264303345141':
  DO NOT MERGE: Make component names visible in javadoc.
2012-04-11 19:24:41 -07:00
Jeff Sharkey
f6e4295316 am 88d97104: am d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '88d9710483c07c6fe985018e276532a2c480df81':
  DO NOT MERGE: Make component names visible in javadoc.
2012-04-11 19:24:25 -07:00
Jeff Sharkey
88d9710483 am d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit 'd9818244f9bf47b9e2981df7866b1ace01392fa9':
  DO NOT MERGE: Make component names visible in javadoc.
2012-04-11 19:21:27 -07:00
Jeff Sharkey
63de456295 am d9818244: (-s ours) Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit 'd9818244f9bf47b9e2981df7866b1ace01392fa9':
  DO NOT MERGE: Make component names visible in javadoc.
2012-04-11 19:21:15 -07:00
Jeff Sharkey
3d33c68f9e am d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit 'd9818244f9bf47b9e2981df7866b1ace01392fa9':
  DO NOT MERGE: Make component names visible in javadoc.
2012-04-11 19:21:12 -07:00
Jeff Sharkey
d9818244f9 Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1 2012-04-11 19:18:45 -07:00
Jeff Sharkey
aa0a453a7a DO NOT MERGE: Make component names visible in javadoc.
Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
2012-04-11 19:15:42 -07:00
Jeff Sharkey
a11236bf09 Merge "Include enforcement state in dumpsys." 2012-04-11 19:11:35 -07:00
Jeff Sharkey
1c27576aff Include enforcement state in dumpsys.
Bug: 6323087
Change-Id: I6d779798538c114ea9816d3bdbbff5552c285df6
2012-04-11 19:07:08 -07:00
Brett Chabot
5bd43d1537 Merge "Upgrade junit.runner classes to their JUnit4.10 implementation." 2012-04-11 19:04:08 -07:00
Brett Chabot
f1253cd68a Upgrade junit.runner classes to their JUnit4.10 implementation.
Bug 5826326

Change-Id: If7e4c48a4369c1056dee5a2049c891bb6ab7d8d0
2012-04-11 19:01:30 -07:00
Jamie Gennis
544f1c334c Merge "ANativeWindow: support for application buffer dimensions" 2012-04-11 18:52:12 -07:00
Jeff Sharkey
b990893ffc Merge "Make component names visible in javadoc." 2012-04-11 18:39:26 -07:00
Jeff Sharkey
5554b70822 Make component names visible in javadoc.
Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
2012-04-11 18:30:51 -07:00
Ashish Sharma
9766937ba5 Merge "Synchronize/align periodic sync alarms based on a random per device seed value." 2012-04-11 18:22:18 -07:00
Romain Guy
f1352d87ea Merge "Fix SurfaceTexture leak in TextureView Bug #6318631" 2012-04-11 18:19:10 -07:00
Stephen Hines
3a29141321 Add missing support for Element.FONT().
Change-Id: Id66676958cc41d934b7f01acd65916f6d777d355
2012-04-11 18:15:55 -07:00
Romain Guy
1ac4765e95 Fix SurfaceTexture leak in TextureView
Bug #6318631

Change-Id: I282a7c9bb648365ba61c52a84ff510c8779130ef
2012-04-11 18:15:20 -07:00
Ashish Sharma
69d95de53b Synchronize/align periodic sync alarms based on a random per device seed value.
Removes duplicates SyncHandler.MESSAGE_CHECK_ALARM messages from the queue.

Change-Id: Ib29a06da904cebdd45ee05c9d9a6bf00b72100eb
2012-04-11 17:56:28 -07:00
John Reck
a511bbf872 Cleanup unused code
Bug: 6317798

Change-Id: Ibf38d680fabacb2987cd26fac464875dd8ebad2e
2012-04-11 17:51:41 -07:00
Quddus Chong
d4fed38d3e am 9fd39ded: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit '9fd39dedf9b70a748c02d113893df498df407dd5':
2012-04-11 17:44:57 -07:00
Justin Mattson
2f63cfda76 am 4ea7bfea: Merge "Check if WallpaperService is enabled" into ics-aah
* commit '4ea7bfea312e4ddf815eabdef04d3f3b4878a51a':
  Check if WallpaperService is enabled
2012-04-11 17:44:53 -07:00
Scott Main
fe07820bf3 am 7d4a2ad8: am 71e8f4c1: Merge "docs: add 101 class about intents, Interacting with Other Apps" into ics-mr1
* commit '7d4a2ad8c776207c719d186a33a68a164761f11c':
2012-04-11 17:38:07 -07:00
Craig Mautner
1e1edaa60d Merge "Check WindowState when looking for animation." 2012-04-11 17:18:44 -07:00
Craig Mautner
f20588fdc6 Check WindowState when looking for animation.
The method setTokenVisibilityLocked returns true when animations are
delaying the exit of an app. Previously this only checked AppToken
animations but that caused exiting WindowState animations to be
ignored.

In particular if an application both hid an AppToken and then
dismissed the AppToken, the AppToken was being removed from
mClosingTokens before the animation finished. This caused
rebuildAppWindowListLocked to lose a WindowState. Furthermore
Surfaces were not being removed when a WindowState was lost and
we were leaking Surfaces.

Fixes bug 6297563.

Change-Id: Ie75c71064518199237ec4a17d3f65e2a2dd29674
2012-04-11 17:15:09 -07:00
James Dong
30ff5aecd7 Merge "Fix thumbnail generation failure" 2012-04-11 16:40:56 -07:00
Quddus Chong
f44098713f am e960c30d: am a2ac13ee: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'e960c30d22deaf28df0d8c16cf36381ed06183c7':
2012-04-11 16:19:13 -07:00
Quddus Chong
eb84cc6bbd am c4180594: am 51cb7ca5: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'c4180594855bf108fe6eccf9f7ab57605ba86b58':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:15:57 -07:00
Quddus Chong
e960c30d22 am a2ac13ee: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'a2ac13ee0141035bfe5cd882d095a10883576392':
2012-04-11 16:14:22 -07:00
Dianne Hackborn
d76008ace1 Merge "Fix issue #6266651: Low storage warning takes long time to sort apps by usage" 2012-04-11 16:14:05 -07:00
Quddus Chong
c418059485 am 51cb7ca5: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit '51cb7ca563dda1ea92b76f216e5d2960dcd62cf8':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:12:23 -07:00
Quddus Chong
9fd39dedf9 am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'c08787fc96473b5738a4c024a13a8c7d24af496b':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:10:33 -07:00
Quddus Chong
a2ac13ee01 am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'c08787fc96473b5738a4c024a13a8c7d24af496b':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:10:23 -07:00