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
516582c840
am 2e10611a: am 4b5bd729: am 4fda5644: am 88126aa1: am b5140130: Merge "Revert "Add massive logging to investigate blank Keyguard"" into lmp-dev
...
* commit '2e10611a8526b2e6cdad9a2862c5ad7565cba7f6':
Revert "Add massive logging to investigate blank Keyguard"
2014-09-30 16:19:25 +00:00
John Spurlock
dd966b07ab
am 1ba8af18: am c2c317aa: am d990706b: am 0bea7286: am e5238f7a: Merge "DozeLog: Keep keyguard monitor alive, keep emer call stats." into lmp-dev
...
* commit '1ba8af18e72911b72eb47da48a5cfc92f2cadc46':
DozeLog: Keep keyguard monitor alive, keep emer call stats.
2014-09-30 16:18:55 +00:00
Jorim Jaggi
a1eb3f5662
am ca4e7dab: am 1bde0f0e: am c0350c7c: am 5b002995: am 79107083: Merge "Add option to enable scrim SRC optimization" into lmp-dev
...
* commit 'ca4e7dabc26eb837d06c298254d996512822a825':
Add option to enable scrim SRC optimization
2014-09-30 16:18:42 +00:00
Jorim Jaggi
f25a9f1863
am 74db803f: am fc133d09: am b0c3726a: am 697ace4e: am e2ff1a4e: Merge "Fix overdraw" into lmp-dev
...
* commit '74db803f54ac2385e82d8e52ab7bbf06b9441474':
Fix overdraw
2014-09-30 16:18:38 +00:00
Selim Cinek
00f073db03
am eed83478: am 9e7b6c04: am f2a6160b: am 6b44ae6e: am 311fc0b3: Fixed a crash that could occur in the ObservableScrollView
...
* commit 'eed8347874107fb1cf6a5d8324266db8f9acb430':
Fixed a crash that could occur in the ObservableScrollView
2014-09-30 16:18:33 +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
e89f172bf5
Import translations. DO NOT MERGE
...
Change-Id: I5b67704b77012a2393d07454e8ae3e7b38a6c50a
Auto-generated-cl: translation import
2014-09-30 04:18:26 -07: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
Baligh Uddin
263f3f2505
Import translations. DO NOT MERGE
...
Change-Id: I5d014bb505bd408fa40c0f30e6e28623e3006d5c
Auto-generated-cl: translation import
2014-09-30 04:02:54 -07:00
Baligh Uddin
3fd0438f55
Import translations. DO NOT MERGE
...
Change-Id: Ic6eb721869643c210f5e3e89fb407a346d27ffd2
Auto-generated-cl: translation import
2014-09-30 04:00:07 -07:00
Jorim Jaggi
4fda564456
am 88126aa1: am b5140130: Merge "Revert "Add massive logging to investigate blank Keyguard"" into lmp-dev
...
* commit '88126aa1707e38af0b70cb8b9752917f9589cb88':
Revert "Add massive logging to investigate blank Keyguard"
2014-09-29 21:03:02 +00:00
John Spurlock
d990706b03
am 0bea7286: am e5238f7a: Merge "DozeLog: Keep keyguard monitor alive, keep emer call stats." into lmp-dev
...
* commit '0bea72864e1129ef559744ab00e74b6215ef246c':
DozeLog: Keep keyguard monitor alive, keep emer call stats.
2014-09-29 21:01:50 +00:00
Jorim Jaggi
c0350c7c00
am 5b002995: am 79107083: Merge "Add option to enable scrim SRC optimization" into lmp-dev
...
* commit '5b002995ad5bda15fc7456228789b6b94ae2522c':
Add option to enable scrim SRC optimization
2014-09-29 21:01:30 +00:00
Jorim Jaggi
b0c3726a3b
am 697ace4e: am e2ff1a4e: Merge "Fix overdraw" into lmp-dev
...
* commit '697ace4edd1f1bf28dd0c058f53ad7af5858f2c8':
Fix overdraw
2014-09-29 21:01:22 +00:00
Selim Cinek
f2a6160b92
am 6b44ae6e: am 311fc0b3: Fixed a crash that could occur in the ObservableScrollView
...
* commit '6b44ae6e921ec6030274b96e88c6e5746c74d6c2':
Fixed a crash that could occur in the ObservableScrollView
2014-09-29 21:01:15 +00:00
Jorim Jaggi
88126aa170
am b5140130: Merge "Revert "Add massive logging to investigate blank Keyguard"" into lmp-dev
...
* commit 'b5140130839e70f1fb55a0bc81b11354b42b820b':
Revert "Add massive logging to investigate blank Keyguard"
2014-09-29 20:49:08 +00:00
John Spurlock
0bea72864e
am e5238f7a: Merge "DozeLog: Keep keyguard monitor alive, keep emer call stats." into lmp-dev
...
* commit 'e5238f7a8db90ebc0e8875adaff84efc198f0800':
DozeLog: Keep keyguard monitor alive, keep emer call stats.
2014-09-29 20:48:15 +00:00
Jorim Jaggi
5b002995ad
am 79107083: Merge "Add option to enable scrim SRC optimization" into lmp-dev
...
* commit '79107083ca50b99c9e7b678d7739b9ab4798db0f':
Add option to enable scrim SRC optimization
2014-09-29 20:47:53 +00:00
Jorim Jaggi
697ace4edd
am e2ff1a4e: Merge "Fix overdraw" into lmp-dev
...
* commit 'e2ff1a4edbe5c8eeb2610a62b8cfe7a58d4c8150':
Fix overdraw
2014-09-29 20:47:46 +00:00
Selim Cinek
6b44ae6e92
am 311fc0b3: Fixed a crash that could occur in the ObservableScrollView
...
* commit '311fc0b399f01a79169ae69aea05556043a7d7df':
Fixed a crash that could occur in the ObservableScrollView
2014-09-29 20:47:39 +00:00
Winson Chung
8bf05afc26
Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
...
Change-Id: I016dd8b7be9efa786291051152b1b56aac708e33
2014-09-29 13:42:49 -07:00
Jorim Jaggi
b514013083
Merge "Revert "Add massive logging to investigate blank Keyguard"" into lmp-dev
2014-09-29 16:31:55 +00:00
Baligh Uddin
04678abbe5
Merge "Import translations. DO NOT MERGE" into lmp-dev
2014-09-29 16:30:58 +00:00
John Spurlock
e5238f7a8d
Merge "DozeLog: Keep keyguard monitor alive, keep emer call stats." into lmp-dev
2014-09-29 16:28:52 +00:00
John Spurlock
bee3b0a023
DozeLog: Keep keyguard monitor alive, keep emer call stats.
...
Ensure the existing keyguard callback survives weak reference
collection, and add missing emergency call stats append.
Bug:17496795
Change-Id: Iecec4646562cf1f6edb5bc5972767127f4419035
2014-09-29 11:30:12 -04:00
Jorim Jaggi
8a63806a8d
Revert "Add massive logging to investigate blank Keyguard"
...
This reverts commit 10ead64346b2651be144ac591117cc2413d8caa3.
Bug: 17475334
Change-Id: Ie7103a2ede1f00a91a2afc51d9e6ecf5ae569545
2014-09-29 16:24:55 +02:00
Jorim Jaggi
79107083ca
Merge "Add option to enable scrim SRC optimization" into lmp-dev
2014-09-29 13:44:07 +00:00
Jorim Jaggi
e2ff1a4edb
Merge "Fix overdraw" into lmp-dev
2014-09-29 13:43:20 +00:00