Commit Graph

26323 Commits

Author SHA1 Message Date
John Reck
5c44fee5e9 Merge "Improve when highlight rects are shown" 2012-04-12 15:08:39 -07:00
Jeff Sharkey
234766a36a Move TrafficStats iface counters to xt_qtaguid.
Use xt_qtaguid iface_stat_all counters, which are monotonic during
a single boot.

Track all ifaces associated with mobile networks since boot, and
move TrafficStats to using these ifaces.  This will include usage of
networks omitted from config_data_usage_network_types, specifically
on devices that recycle network interfaces across APNs.

Split wildcard template matching, and move NetworkStatsService to
use mobile wildcard when logging stats.

Bug: 5324515
Change-Id: I2211c374c05d1b598cc647f2f873630538955ffe
2012-04-12 14:53:32 -07:00
Gilles Debunne
174c44c6cf SpannableStringBuilder correctly broadcast span changes during replace
Bug 6331765

A call to replace was previously not sending any span modification to the
attached span watchers.

Change-Id: Ic9e4a8ac0210e422961adfb18e205d80531889fe
2012-04-12 14:50:31 -07:00
John Reck
d855ffd514 Remove debug log
Change-Id: Ia76103b2a0225df2637af917c5ac352497ca0cf6
2012-04-12 14:45:49 -07:00
John Reck
2d8c13bd1c Improve when highlight rects are shown
Bug: 6319429

Change-Id: I8eb989d94433c01406cdb32e01034c644078a133
2012-04-12 14:19:05 -07:00
Svetoslav Ganov
f21bea245a Merge "CheckBox should not populate AccessibilityEvent with text." 2012-04-12 14:16:42 -07:00
Svetoslav Ganov
1728c07bfb CheckBox should not populate AccessibilityEvent with text.
1. Accessibility services are the ones that choose how to
   announces the checked state of a checkable control, so
   CheckBox should not add strings for its state to access
   events.

2. Removed some unused accessibility related strings.

bug:6241115

Change-Id: I572b961191da4b3537fb6cad529d9764d39161ec
2012-04-12 13:59:42 -07:00
Quddus Chong
4f8b71e41d am a97a7b5a: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit 'a97a7b5a6efac20a112c1833579a0a2b17bc058e':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 13:01:00 -07:00
Quddus Chong
2a1a1fa626 am 6073985e: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6073985e8a6d3f32f86a24e7a2a6bbf5b6a90b4e':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 13:00:18 -07:00
Quddus Chong
02c6cad7c4 am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:27 -07:00
Quddus Chong
6073985e8a am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:20 -07:00
Quddus Chong
a97a7b5a6e am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:11 -07:00
Svetoslav Ganov
95487eb90c Merge "Some view not shown on the screen are reported for accessibility." 2012-04-12 12:54:25 -07:00
Svetoslav Ganov
aa6f3de253 Some view not shown on the screen are reported for accessibility.
1. Some applications are keeping around visible views off screen
   to improve responsiveness by drawing them in layers, etc. While
   such a view is not visible on the screen the accessibility layer
   was reporting it since it was visible. Now the check is improved
   to verify whether the view is attached, is in visible window,
   is visible, and has a rectangle that is not clipped by its
   predecessors.

2. AccessibilityNodeInfo bounds in screen were not properly set
   since only the top left point was offset appropriately to
   take into account any predecessor's transformation matrix
   and the not transformed width and height were used. Now
   the bounds are properly offset.

bug:6291855

Change-Id: I244d1d9af81391676c1c9e0fe86cf4574ff37225
2012-04-12 12:51:27 -07:00
Quddus Chong
ee71b1fa2d docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event).
Bug: 6318537

Change-Id: I4fb0f103bfe3ddf485e1bfa76eb39a51adce1aaa
2012-04-12 12:34:53 -07:00
Jonathan Dixon
a3dc86e637 Hide the public constructors for singleton classes
WebStorage and GeolocationPermissions are not intended for direct use
by application code. Existing APKs using this will still work (as well
as they ever could have), but this change will cause a compile break if they
move to SDK >= 16, which should be fixed by using getInstance() instead.

Bug: 6238010
Change-Id: I75789cc260c8fe005c42942bc81483193cc54f17
2012-04-12 20:23:37 +01:00
Irfan Sheriff
817388e056 Bonjour fixes
Change-Id: I1df1dc470bb42c84abc7e1a46bedf9f206910b65
2012-04-12 12:08:51 -07:00
Chet Haase
793807fff1 Merge "Fix AnimatorSet duration issue" 2012-04-12 12:02:13 -07:00
Romain Guy
decd3039ca Merge "Don't wait for screen on to finish animations" 2012-04-12 11:35:58 -07:00
Romain Guy
eb37889071 Don't wait for screen on to finish animations
OldAnimations™ would set their start time during the first frame drawn
after calling View.startAnimation(). If this method was invoked while
the screen was off, this would cause the animation to start playing
when the screen turned back on.

Change-Id: Ic45a1af2020a7f5e81c2544bd8f16a6bedbd6849
2012-04-12 11:33:14 -07:00
Jonathan Dixon
2377b99f6c Decouple JsResult from the WebViewClassic impl
The majority  JsResult and JsPromptResult are simple data-carrying &
callback classes. Extract the WebViewClassic specific parts dealing
with WebCore thread and CallbackProxy and decouple via abstract interface.

Bug: 6238755
Change-Id: Ibafd18910725f0875e3b59c1b2078173c102cdec
2012-04-12 19:08:00 +01:00
Steve Block
b187d52f8a Merge "Minor clean-up in DeviceOrientation and DeviceMotion" 2012-04-12 11:02:29 -07:00
John Reck
a3fab1cbd2 Merge "Cleanup unused code" 2012-04-12 09:54:28 -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
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
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
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
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
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
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
Quddus Chong
51cb7ca563 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:09:07 -07:00
Amith Yamasani
856fbbedbb Merge "Don't migrate accounts.db if already migrated." 2012-04-11 16:06:03 -07:00
John Reck
c2676102d2 Merge "New WebView input dispatcher." 2012-04-11 16:03:46 -07:00
Quddus Chong
3790001c20 SDK doc change: Fixed typo and added method parentheses in line 206.
Bug: 6318971

Change-Id: I57f3c7aff6209269ca0d95d616e551e2100eeb54
2012-04-11 15:47:57 -07:00