Neil Fuller
c2a0b4482d
resolved conflicts for merge of ee665151 to lmp-mr1-dev-plus-aosp
...
Change-Id: I2588c65b7a9fa43f968151a206924a804f0595a7
2014-10-02 14:32:37 +01:00
John Spurlock
9ab7d0a736
am a0aa089b: am eac9f30c: am 4940789b: am c403a340: Merge "Doze: Route volume keys to music only while pulsing." into lmp-dev
...
* commit 'a0aa089bcf8358f93c4eef33cfe409238ccecd39':
Doze: Route volume keys to music only while pulsing.
2014-10-02 12:38:40 +00:00
Winson Chung
7716f1b609
am 98391728: am 0dad6a07: am d8ab73d7: am d092fc70: Merge "Ensure that we don\'t show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to ho
...
* commit '983917288d1d6ea0ade9229740ea5bac0b8b2887':
Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode option
2014-10-02 12:38:36 +00:00
Selim Cinek
6ebab792d2
am 1e5e35ef: am 1c061d48: am cdbda3e9: am 15b2202b: Merge "Adapting translation length for a string in a dialog" into lmp-dev
...
* commit '1e5e35ef626d2a73cf823e75fcbb67af3398b1ff':
Adapting translation length for a string in a dialog
2014-10-02 00:58:46 +00:00
John Spurlock
eac9f30c94
am 4940789b: am c403a340: Merge "Doze: Route volume keys to music only while pulsing." into lmp-dev
...
* commit '4940789b6c821bcbc25330536fe76a3fdd7e7983':
Doze: Route volume keys to music only while pulsing.
2014-10-01 22:17:52 +00:00
Winson Chung
0dad6a0732
am d8ab73d7: am d092fc70: Merge "Ensure that we don\'t show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable th
...
* commit 'd8ab73d71c50f8695ee8b671fdb838f2fd18790d':
Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode option
2014-10-01 22:17:41 +00:00
John Spurlock
4940789b6c
am c403a340: Merge "Doze: Route volume keys to music only while pulsing." into lmp-dev
...
* commit 'c403a340cbb097a95b35b198b27cf44c80a7242e':
Doze: Route volume keys to music only while pulsing.
2014-10-01 20:23:39 +00:00
John Spurlock
c403a340cb
Merge "Doze: Route volume keys to music only while pulsing." into lmp-dev
2014-10-01 20:17:36 +00:00
Winson Chung
d8ab73d71c
am d092fc70: Merge "Ensure that we don\'t show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode o
...
* commit 'd092fc7076310fca5edd089df5bb5398096f6627':
Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode option
2014-10-01 20:07:38 +00:00
Winson Chung
d092fc7076
Merge "Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode option" into lmp-dev
2014-10-01 20:03:19 +00:00
John Spurlock
0b99ea94f0
Doze: Route volume keys to music only while pulsing.
...
Avoid waking up the device on hw vol key presses during a doze
pulse. Instead, behave as if the screen was off for these keys,
namely forwarding them over to the session manager.
Bug:17672775
Change-Id: I566b93f0bdea79253ac3eca41d3876b271c61306
2014-10-01 15:32:22 -04:00
Winson Chung
9cb5c4e385
Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618)
...
- Fix regression with launching an affiliated task due to clipping changes (Bug 17755902)
- Tweaking previous changes to home transition
- Disable the debug mode option
2014-10-01 17:48:05 +00:00
Selim Cinek
1c061d4862
am cdbda3e9: am 15b2202b: Merge "Adapting translation length for a string in a dialog" into lmp-dev
...
* commit 'cdbda3e989c640aade8c9164b12b51f452792c29':
Adapting translation length for a string in a dialog
2014-10-01 17:20:37 +00:00
Winson Chung
be1b7ddb44
am ac5bb347: am 3175f7d2: am 2396f135: am e3206407: Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev
...
* commit 'ac5bb347cb769f217135124ddb6008bab9727d22':
Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
2014-10-01 17:09:22 +00:00
John Spurlock
f35be105ee
am 9a4fc6aa: am eac6926f: am 260e6d54: am a1b84165: Merge "Don\'t play hint animations when dozing" into lmp-dev
...
* commit '9a4fc6aab9884af87d49e0d912da56dd8bfe8868':
Don't play hint animations when dozing
2014-10-01 17:09:18 +00:00
Jason Monk
e9250ae94f
am 81ab90f2: am 9e280c44: am 15349991: am e7b18d2b: Merge "Pull roaming from mServiceState for consistency" into lmp-dev
...
* commit '81ab90f2173c8afac82a22c2cca72eb90293de9a':
Pull roaming from mServiceState for consistency
2014-10-01 17:09:13 +00:00
John Spurlock
c4b4ffb808
am abc4db31: am 3fd4440f: am af41d847: am ee98df79: Doze: Log screenOnFromTouch when flinging.
...
* commit 'abc4db312aa6e5287b5abbd2d201f10d642fca7d':
Doze: Log screenOnFromTouch when flinging.
2014-10-01 17:09:05 +00:00
Winson Chung
ac5bb347cb
am 3175f7d2: am 2396f135: am e3206407: Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev
...
* commit '3175f7d245daba660852cbcb92a7a821899b70a3':
Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
2014-10-01 17:00:14 +00:00
John Spurlock
9a4fc6aab9
am eac6926f: am 260e6d54: am a1b84165: Merge "Don\'t play hint animations when dozing" into lmp-dev
...
* commit 'eac6926f0cb260339ec7ec2495964331249338e2':
Don't play hint animations when dozing
2014-10-01 17:00:10 +00:00
Jason Monk
81ab90f217
am 9e280c44: am 15349991: am e7b18d2b: Merge "Pull roaming from mServiceState for consistency" into lmp-dev
...
* commit '9e280c447f5f8747f7c4777d80d5dd7c25e7713e':
Pull roaming from mServiceState for consistency
2014-10-01 17:00:05 +00:00
John Spurlock
abc4db312a
am 3fd4440f: am af41d847: am ee98df79: Doze: Log screenOnFromTouch when flinging.
...
* commit '3fd4440fea2d29f423a99cfaa5e30f4ff5c2239d':
Doze: Log screenOnFromTouch when flinging.
2014-10-01 16:59:44 +00:00
Selim Cinek
cdbda3e989
am 15b2202b: Merge "Adapting translation length for a string in a dialog" into lmp-dev
...
* commit '15b2202bacdfcc249d7f51bcd3361e6694d24267':
Adapting translation length for a string in a dialog
2014-10-01 16:57:09 +00:00
Selim Cinek
15b2202bac
Merge "Adapting translation length for a string in a dialog" into lmp-dev
2014-10-01 16:43:07 +00:00
Baligh Uddin
f13bb6f53c
Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev
2014-10-01 16:35:21 +00:00
Baligh Uddin
4aa820ce58
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
2014-10-01 16:35:19 +00:00
Baligh Uddin
e575c819e5
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
2014-10-01 16:35:15 +00:00
Baligh Uddin
ff99ff98cc
Merge "Import translations. DO NOT MERGE" into lmp-dev
2014-10-01 16:35:13 +00:00
Winson Chung
3175f7d245
am 2396f135: am e3206407: Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev
...
* commit '2396f135678e8a40b963904e8a6710bc6a204180':
Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
2014-10-01 15:14:34 +00:00
John Spurlock
eac6926f0c
am 260e6d54: am a1b84165: Merge "Don\'t play hint animations when dozing" into lmp-dev
...
* commit '260e6d542ff05094063f1a1574f41fa165308eef':
Don't play hint animations when dozing
2014-10-01 15:14:30 +00:00
Jason Monk
9e280c447f
am 15349991: am e7b18d2b: Merge "Pull roaming from mServiceState for consistency" into lmp-dev
...
* commit '15349991240bb9443d704b4ac85915f474e5108c':
Pull roaming from mServiceState for consistency
2014-10-01 15:14:26 +00:00
John Spurlock
3fd4440fea
am af41d847: am ee98df79: Doze: Log screenOnFromTouch when flinging.
...
* commit 'af41d8477a8152c0597630066207a863ad74614e':
Doze: Log screenOnFromTouch when flinging.
2014-10-01 15:14:18 +00:00
Winson Chung
2396f13567
am e3206407: Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev
...
* commit 'e3206407a5968dcf6690793f047bdfede0424df5':
Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
2014-10-01 14:59:12 +00:00
John Spurlock
260e6d542f
am a1b84165: Merge "Don\'t play hint animations when dozing" into lmp-dev
...
* commit 'a1b84165f9520c025c59f5b2d93a65d4609b8088':
Don't play hint animations when dozing
2014-10-01 14:59:07 +00:00
Jason Monk
1534999124
am e7b18d2b: Merge "Pull roaming from mServiceState for consistency" into lmp-dev
...
* commit 'e7b18d2bab30ca257b63e9029c6e08b9700b89a6':
Pull roaming from mServiceState for consistency
2014-10-01 14:58:57 +00:00
John Spurlock
af41d8477a
am ee98df79: Doze: Log screenOnFromTouch when flinging.
...
* commit 'ee98df79a1797323aaa6d645e9cd5dc6a7cc0ee4':
Doze: Log screenOnFromTouch when flinging.
2014-10-01 14:58:45 +00:00
Neil Fuller
33253a4baa
Switch from FloatMath -> Math and Math.hypot where possible
...
The motivation is an API change: FloatMath is going to be
deprecated and/or removed. Performance is not the goal of
this change.
That said...
Math is faster than FloatMath with AOT compilation.
While making the change, occurances of:
{Float}Math.sqrt(x * x + y * y) and
{Float}Math.sqrt({Float}Math.pow(x, 2) + {Float}Math.pow(y, 2))
have been replaced with:
{(float)} Math.hypot(x, y)
Right now there is no runtime intrinsic for hypot so is not faster
in all cases for AOT compilation:
Math.sqrt(x * x + y * y) is faster than Math.hypot(x, y) with
AOT, but all other combinations of FloatMath, use of pow() etc.
are slower than hypot().
hypot() has the advantage of being self documenting and
could be optimized in future. None of the behavior differences
around NaN and rounding appear to be important for the cases
looked at: they all assume results and arguments are in range
and usually the results are cast to float.
Different implementations measured on hammerhead / L:
AOT compiled:
[FloatMath.hypot(x, y)]
benchmark=Hypot_FloatMathHypot} 633.85 ns; σ=0.32 ns @ 3 trials
[FloatMath.sqrt(x*x + y*y)]
benchmark=Hypot_FloatMathSqrtMult} 684.17 ns; σ=4.83 ns @ 3 trials
[FloatMath.sqrt(FloatMath.pow(x, 2) + FloatMath.pow(y, 2))]
benchmark=Hypot_FloatMathSqrtPow} 1270.65 ns; σ=12.20 ns @ 6 trials
[(float) Math.hypot(x, y)]
benchmark=Hypot_MathHypot} 96.80 ns; σ=0.05 ns @ 3 trials
[(float) Math.sqrt(x*x + y*y)]
benchmark=Hypot_MathSqrtMult} 23.97 ns; σ=0.01 ns @ 3 trials
[(float) Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2))]
benchmark=Hypot_MathSqrtPow} 156.19 ns; σ=0.12 ns @ 3 trials
Interpreter:
benchmark=Hypot_FloatMathHypot} 1180.54 ns; σ=5.13 ns @ 3 trials
benchmark=Hypot_FloatMathSqrtMult} 1121.05 ns; σ=3.80 ns @ 3 trials
benchmark=Hypot_FloatMathSqrtPow} 3327.14 ns; σ=7.33 ns @ 3 trials
benchmark=Hypot_MathHypot} 856.57 ns; σ=1.41 ns @ 3 trials
benchmark=Hypot_MathSqrtMult} 1028.92 ns; σ=9.11 ns @ 3 trials
benchmark=Hypot_MathSqrtPow} 2539.47 ns; σ=24.44 ns @ 3 trials
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I06c91f682095e627cb547d60d936ef87941be692
2014-10-01 14:04:15 +01:00
Selim Cinek
1aca1d4110
Adapting translation length for a string in a dialog
...
Bug: 17344905
Change-Id: Id95bdfea30c8ffd86a44cfa259cf5417abb09528
2014-10-01 14:12:11 +02:00
Winson Chung
e3206407a5
Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev
2014-09-30 16:39:43 +00:00
John Spurlock
a1b84165f9
Merge "Don't play hint animations when dozing" into lmp-dev
2014-09-30 16:35:26 +00:00
Jorim Jaggi
2e10611a85
am 4b5bd729: am 4fda5644: am 88126aa1: am b5140130: Merge "Revert "Add massive logging to investigate blank Keyguard"" into lmp-dev
...
* commit '4b5bd7292ab591657128364dbc1ea9c334eb6597':
Revert "Add massive logging to investigate blank Keyguard"
2014-09-30 16:12:21 +00:00
John Spurlock
1ba8af18e7
am c2c317aa: am d990706b: am 0bea7286: am e5238f7a: Merge "DozeLog: Keep keyguard monitor alive, keep emer call stats." into lmp-dev
...
* commit 'c2c317aa5372c65d33378a066bd1d9fe8c824b1f':
DozeLog: Keep keyguard monitor alive, keep emer call stats.
2014-09-30 16:11:48 +00:00
Jorim Jaggi
ca4e7dabc2
am 1bde0f0e: am c0350c7c: am 5b002995: am 79107083: Merge "Add option to enable scrim SRC optimization" into lmp-dev
...
* commit '1bde0f0e69a352bec42b469e144d2c4cdd09df0f':
Add option to enable scrim SRC optimization
2014-09-30 16:11:36 +00:00
Jorim Jaggi
74db803f54
am fc133d09: am b0c3726a: am 697ace4e: am e2ff1a4e: Merge "Fix overdraw" into lmp-dev
...
* commit 'fc133d093441a2c9c2b743cc07008821bb3d08fd':
Fix overdraw
2014-09-30 16:11:32 +00:00
Selim Cinek
eed8347874
am 9e7b6c04: am f2a6160b: am 6b44ae6e: am 311fc0b3: Fixed a crash that could occur in the ObservableScrollView
...
* commit '9e7b6c045d0e9768ff2daa7541348975f401a064':
Fixed a crash that could occur in the ObservableScrollView
2014-09-30 16:11:28 +00:00
Jorim Jaggi
d7912d2f10
Don't play hint animations when dozing
...
Bug: 17718416
Change-Id: I2c27b4ea479ee46612eb5284a2c872d03dc52ab0
2014-09-30 17:38:19 +02:00
Jason Monk
e7b18d2bab
Merge "Pull roaming from mServiceState for consistency" into lmp-dev
2014-09-30 15:30:11 +00:00
John Spurlock
ee98df79a1
Doze: Log screenOnFromTouch when flinging.
...
Bug: 17350239
Bug: 17496795
Change-Id: I4a8e26c2fc05cf4396e9c8cb58e81b4f95c531e6
2014-09-30 14:07:23 +00:00
Jason Monk
1cd44e3ab4
Pull roaming from mServiceState for consistency
...
Also consolidate roaming logic while here, to make it easier to
maintain.
Bug: 17514906
Bug: 17619763
Change-Id: I8efabdecc26722ff6ac70d715f3befaae989abdc
2014-09-30 10:05:46 -04:00
Baligh Uddin
079d682d07
Import translations. DO NOT MERGE
...
Change-Id: I5b0a638907398f87246ee480b5f7683382d834ca
Auto-generated-cl: translation import
2014-09-30 04:08:15 -07:00
Baligh Uddin
415c64b60d
Import translations. DO NOT MERGE
...
Change-Id: Ibf7c0b27ceae6f07a7f0e38e0fae2e83d218051c
Auto-generated-cl: translation import
2014-09-30 04:05:35 -07:00