Chris Wren
5055589269
am edc19979: am 82ef988c: am b742c9a0: am c3328cac: Merge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev
...
* commit 'edc199796844db9ee947165ddfff7cec810403e2':
Add a returns clause to the matchesInterruptionFilter javadoc.
2014-10-01 17:09:47 +00:00
Chris Wren
8bac9b5a6e
am ca20e6c6: am 1d88c087: am 4afe428f: am af098c56: Merge "Update the documentation on EXTRA_PEOPLE." into lmp-dev
...
* commit 'ca20e6c637c34a1200f08b2de5485193bc4eb74c':
Update the documentation on EXTRA_PEOPLE.
2014-10-01 17:09:43 +00:00
Dianne Hackborn
63f38a0836
am e83f322f: am 30854356: am 29a11523: am c3014c8c: Merge "Fix issue #17705755 : Battery stats resets at incorrect times" into lmp-dev
...
* commit 'e83f322fa91f64844ea24aab2944540ca43a2a01':
Fix issue #17705755 : Battery stats resets at incorrect times
2014-10-01 17:09:29 +00:00
George Mount
c416fb8c62
am 8cc88125: am 6d7a0cd5: am 3dc0a918: am 8afceda1: Merge "Clear preordered list after use." into lmp-dev
...
* commit '8cc881257c6e8e9448a05e25688861536ea55971':
Clear preordered list after use.
2014-10-01 17:09:09 +00:00
Narayan Kamath
13705ca940
am d480147f: am 7dc7f676: Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
...
* commit 'd480147f1853e452e7e8fc4820db0e7821488289':
Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
2014-10-01 15:16:34 +00:00
Jerome Poichet
0d71155d42
am a5fa02df: am 72079f7f: Merge "Make sure cancel is called on tear down." into lmp-dev
...
* commit 'a5fa02dfa8ae6e2a8cfab6489ada400f8c33f455':
Make sure cancel is called on tear down.
2014-10-01 15:16:12 +00:00
Eino-Ville Talvala
bf1184e8bb
am 4ddacc46: am 0a62ab70: Merge "Camera2 Legacy: Set a default thumbnail size" into lmp-dev
...
* commit '4ddacc465d52d118dedc087f68d6a00f8b419342':
Camera2 Legacy: Set a default thumbnail size
2014-10-01 15:15:43 +00:00
Adam Powell
ced21e4e65
am c754382b: am fe426d06: Merge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev
...
* commit 'c754382ba042ee0c70892b5ec33cd32c11e98d16':
Inset the non-overlay contextual action bar without a status guard
2014-10-01 15:15:25 +00:00
Alan Viverette
601fa2498d
am 8c14ff5c: am c44c77d3: Merge "Implement missing visibility management for FrameLayout foreground" into lmp-dev
...
* commit '8c14ff5cb1e742e7e57cc213f91cb76b9600479c':
Implement missing visibility management for FrameLayout foreground
2014-10-01 15:15:21 +00:00
Ruben Brunk
4d9face69e
am 7432b884: am b3c802f2: Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev
...
* commit '7432b88447dea2a9a5b8adcfeb150da7a18d22f6':
camera2: Use valid dimensions for RGBA8888 gralloc buffers.
2014-10-01 15:15:14 +00:00
Dianne Hackborn
16b6a8f702
am 962e3e83: am 9cf01b63: Merge "More work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '962e3e831516688824fec334c5ddcfd4f3d13f44':
More work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 15:15:07 +00:00
Svetoslav
344ffbc647
am 567c9788: am 44d4eeaa: Merge "Use default encryption password if an accessibility service is enabled." into lmp-dev
...
* commit '567c97881b1d1719d32daaf647979e47e01be438':
Use default encryption password if an accessibility service is enabled.
2014-10-01 15:15:03 +00:00
Winson Chung
d1c1201dfc
am b61dea20: am da649073: Merge "Fixing regression with black task bar background. (Bug 17584337)" into lmp-dev
...
* commit 'b61dea2047b1b27f169728104f8279528fbd9eac':
Fixing regression with black task bar background. (Bug 17584337)
2014-10-01 15:14:56 +00:00
Chris Wren
82ef988c92
am b742c9a0: am c3328cac: Merge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev
...
* commit 'b742c9a01261075d6a85f23d72e7842dec932cda':
Add a returns clause to the matchesInterruptionFilter javadoc.
2014-10-01 15:14:52 +00:00
Chris Wren
1d88c087e6
am 4afe428f: am af098c56: Merge "Update the documentation on EXTRA_PEOPLE." into lmp-dev
...
* commit '4afe428f49533342966545a14b51acaee9052c71':
Update the documentation on EXTRA_PEOPLE.
2014-10-01 15:14:49 +00:00
Dianne Hackborn
30854356ef
am 29a11523: am c3014c8c: Merge "Fix issue #17705755 : Battery stats resets at incorrect times" into lmp-dev
...
* commit '29a115235832fd4ea6f6cac1ad962a3bfe6e99be':
Fix issue #17705755 : Battery stats resets at incorrect times
2014-10-01 15:14:38 +00:00
George Mount
6d7a0cd57f
am 3dc0a918: am 8afceda1: Merge "Clear preordered list after use." into lmp-dev
...
* commit '3dc0a918748fade0ad7c683c6bc769f032759fcd':
Clear preordered list after use.
2014-10-01 15:14:22 +00:00
Narayan Kamath
d480147f18
am 7dc7f676: Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
...
* commit '7dc7f676d699c739128dcc7855cbc0dacddaaa57':
Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
2014-10-01 15:04:02 +00:00
Jerome Poichet
a5fa02dfa8
am 72079f7f: Merge "Make sure cancel is called on tear down." into lmp-dev
...
* commit '72079f7f9b644e57169e26597ec7c727786071a1':
Make sure cancel is called on tear down.
2014-10-01 15:03:07 +00:00
Eino-Ville Talvala
4ddacc465d
am 0a62ab70: Merge "Camera2 Legacy: Set a default thumbnail size" into lmp-dev
...
* commit '0a62ab707977d4d6666d1c452ba702442655b6e6':
Camera2 Legacy: Set a default thumbnail size
2014-10-01 15:02:29 +00:00
Adam Powell
c754382ba0
am fe426d06: Merge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev
...
* commit 'fe426d061ad5feb65200c2970bf826b10e356247':
Inset the non-overlay contextual action bar without a status guard
2014-10-01 15:01:37 +00:00
Alan Viverette
8c14ff5cb1
am c44c77d3: Merge "Implement missing visibility management for FrameLayout foreground" into lmp-dev
...
* commit 'c44c77d305c02d9c8280df5ce3a816ee586c9d52':
Implement missing visibility management for FrameLayout foreground
2014-10-01 15:01:31 +00:00
Ruben Brunk
7432b88447
am b3c802f2: Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev
...
* commit 'b3c802f2381c3411fe753206ab89027f60164b77':
camera2: Use valid dimensions for RGBA8888 gralloc buffers.
2014-10-01 15:01:24 +00:00
Dianne Hackborn
962e3e8315
am 9cf01b63: Merge "More work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '9cf01b63cb0023aec0e05b1ce050ff572532b876':
More work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 15:00:49 +00:00
Svetoslav
567c97881b
am 44d4eeaa: Merge "Use default encryption password if an accessibility service is enabled." into lmp-dev
...
* commit '44d4eeaa48721296663a05d01071f196a509dc34':
Use default encryption password if an accessibility service is enabled.
2014-10-01 15:00:44 +00:00
Winson Chung
b61dea2047
am da649073: Merge "Fixing regression with black task bar background. (Bug 17584337)" into lmp-dev
...
* commit 'da649073bd927fa69d02982745cc1d61e9a4f8b3':
Fixing regression with black task bar background. (Bug 17584337)
2014-10-01 15:00:17 +00:00
Chris Wren
b742c9a012
am c3328cac: Merge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev
...
* commit 'c3328cacdad67623f94b13fceb734d958461a475':
Add a returns clause to the matchesInterruptionFilter javadoc.
2014-10-01 14:59:59 +00:00
Chris Wren
4afe428f49
am af098c56: Merge "Update the documentation on EXTRA_PEOPLE." into lmp-dev
...
* commit 'af098c5657942d645ec7362cc439718457abec64':
Update the documentation on EXTRA_PEOPLE.
2014-10-01 14:59:55 +00:00
Dianne Hackborn
29a1152358
am c3014c8c: Merge "Fix issue #17705755 : Battery stats resets at incorrect times" into lmp-dev
...
* commit 'c3014c8cf8932cb6a482e985edc7def97c50eede':
Fix issue #17705755 : Battery stats resets at incorrect times
2014-10-01 14:59:18 +00:00
George Mount
3dc0a91874
am 8afceda1: Merge "Clear preordered list after use." into lmp-dev
...
* commit '8afceda14176b911cf755b8ebbcfbfa9eff60aae':
Clear preordered list after use.
2014-10-01 14:58:53 +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
Narayan Kamath
7dc7f676d6
Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
2014-10-01 09:53:34 +00:00
Dianne Hackborn
a0767b3652
am f9cd6fa5: am bb527c59: am e26ba8f7: am 069de204: am 38646c19: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit 'f9cd6fa5a34a9ba22eaa47d8c5f9c39b5cd901a2':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 02:14:37 +00:00
Dianne Hackborn
f9cd6fa5a3
am bb527c59: am e26ba8f7: am 069de204: am 38646c19: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit 'bb527c59d1fb0ad627f44cbb378959fa7d4af2c7':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 01:42:37 +00:00
Dianne Hackborn
e26ba8f74f
am 069de204: am 38646c19: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '069de2045ef1b65f8952e2a452afbfa6bdc3f850':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 00:58:52 +00:00
Jerome Poichet
c1fb6dc1a4
Make sure cancel is called on tear down.
...
- Make sure cancel is called when consumer of SpeechRecognizer calls
destroy.
- If consumer goes away, make sure to call cancel as well.
b/17584947 Pressing mic button in Music hoses audio
Change-Id: Ibe1198b37fe6167493a8694f9089d970f1eb07de
2014-09-30 17:56:27 -07:00
Dianne Hackborn
069de2045e
am 38646c19: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '38646c19d8badea143113c0dc48ccdacb18badc4':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 00:51:10 +00:00
Dake Gu
017b13a50c
ActivityTransition: Encode scaleType and matrix in snapshot view
...
So that SharedElementCallback can setup initial imageView scale
type properly to run transition against.
b/17703309
Change-Id: I0ab212e0413fd666de605bc51ef64c8d66e4d09d
2014-09-30 23:58:57 +00:00
Hui Shu
eb487c6301
Remove WebView DRP Setting from Developer Settings
...
BUG: 17730990
Change-Id: Ic4fde9affb2f887329d6b3d2dbe8945959c016d8
2014-09-30 16:52:41 -07:00
Eino-Ville Talvala
c89f28019d
am 0a62ab70: Merge "Camera2 Legacy: Set a default thumbnail size" into lmp-dev
...
* commit '0a62ab707977d4d6666d1c452ba702442655b6e6':
Camera2 Legacy: Set a default thumbnail size
2014-09-30 23:51:26 +00:00
Eino-Ville Talvala
0a62ab7079
Merge "Camera2 Legacy: Set a default thumbnail size" into lmp-dev
2014-09-30 23:44:58 +00:00
Adam Powell
ad60831ed9
am fe426d06: Merge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev
...
* commit 'fe426d061ad5feb65200c2970bf826b10e356247':
Inset the non-overlay contextual action bar without a status guard
2014-09-30 22:22:01 +00:00
Adam Powell
fe426d061a
Merge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev
2014-09-30 22:17:01 +00:00
Alan Viverette
0be2757ad5
am c44c77d3: Merge "Implement missing visibility management for FrameLayout foreground" into lmp-dev
...
* commit 'c44c77d305c02d9c8280df5ce3a816ee586c9d52':
Implement missing visibility management for FrameLayout foreground
2014-09-30 22:09:26 +00:00
Ruben Brunk
e06a3d8253
am b3c802f2: Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev
...
* commit 'b3c802f2381c3411fe753206ab89027f60164b77':
camera2: Use valid dimensions for RGBA8888 gralloc buffers.
2014-09-30 22:09:18 +00:00
Alan Viverette
c44c77d305
Merge "Implement missing visibility management for FrameLayout foreground" into lmp-dev
2014-09-30 22:06:05 +00:00
Ruben Brunk
b3c802f238
Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev
2014-09-30 22:05:48 +00:00
Alan Viverette
3be5e0e625
Implement missing visibility management for FrameLayout foreground
...
BUG: 15350931
Change-Id: I16900d0d95051489852385d682e7b5aa4adad327
2014-09-30 14:27:58 -07:00
Ruben Brunk
0c79884076
camera2: Use valid dimensions for RGBA8888 gralloc buffers.
...
Bug: 17675571
- All of the mistakes were made. Unmake them.
Change-Id: I23ff7a553347d4d9588c728219f4bf0604ba2e38
2014-09-30 13:54:20 -07:00
Adam Powell
46cbf7e190
Inset the non-overlay contextual action bar without a status guard
...
When the status guard is not available, (e.g. when the window is not
drawing system bars) do not consume the insets when an action mode is
active.
Bug 17691453
Change-Id: I459622eaf161a96152fb9ac5f60bb9508aa4de89
2014-09-30 13:31:51 -07:00