From 56bc8dca66f274b44c3c1af87f578c75ddf1bd97 Mon Sep 17 00:00:00 2001 From: Mrnikbobjeff Date: Tue, 17 Jul 2018 22:08:22 +0200 Subject: [PATCH] GH-337 Android Low Pass Filter (#354) * Implemented low pass filter as requested by issue 337 * Added value to sample page. * Updated docs for ApplyLowPassFilter * Enabled ApplyLowPassFilter Switch on Android, disabled on all other platforms * Moved LowPassFilter to shared, removed unnecessary usings. * Updated Docs --- Samples/Samples/View/CompassPage.xaml | 6 +++ Samples/Samples/ViewModel/CompassViewModel.cs | 11 ++++++ Xamarin.Essentials/Compass/Compass.android.cs | 6 +++ Xamarin.Essentials/Compass/Compass.shared.cs | 3 +- .../Compass/LowPassFilter.shared.cs | 39 +++++++++++++++++++ .../xamarin-essentials-android.xml | 1 + .../xamarin-essentials-ios.xml | 1 + .../xamarin-essentials-uwp.xml | 1 + .../en/FrameworksIndex/xamarin-essentials.xml | 1 + docs/en/Xamarin.Essentials/Compass.xml | 20 ++++++++++ 10 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 Xamarin.Essentials/Compass/LowPassFilter.shared.cs diff --git a/Samples/Samples/View/CompassPage.xaml b/Samples/Samples/View/CompassPage.xaml index 45e8f55..32194a5 100644 --- a/Samples/Samples/View/CompassPage.xaml +++ b/Samples/Samples/View/CompassPage.xaml @@ -11,6 +11,12 @@