Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spellchecks all projects except for Base, Controls, Samples and Testing #1859

Merged
merged 2 commits into from
Sep 5, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions src/Android/Avalonia.Android/AndroidPlatform.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.IO;
using System.Linq;
using Android.Content;
using Android.Views;
using Avalonia.Android.Platform;
using Avalonia.Android.Platform.Input;
using Avalonia.Android.Platform.SkiaPlatform;
Expand Down Expand Up @@ -79,4 +75,4 @@ public IPopupImpl CreatePopup()
return new PopupImpl();
}
}
}
}
10 changes: 0 additions & 10 deletions src/Android/Avalonia.Android/AndroidThreadingInterface.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using System.Threading;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Avalonia.Platform;
using Avalonia.Threading;

Expand Down Expand Up @@ -88,4 +79,3 @@ public void Signal(DispatcherPriority prio)
public event Action<DispatcherPriority?> Signaled;
}
}

14 changes: 1 addition & 13 deletions src/Android/Avalonia.Android/AppBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Avalonia.Controls;
using Avalonia.Platform;
using Avalonia.Shared.PlatformSupport;

namespace Avalonia
Expand All @@ -23,4 +11,4 @@ public AppBuilder() : base(new StandardRuntimePlatform(),

}
}
}
}
9 changes: 1 addition & 8 deletions src/Android/Avalonia.Android/AvaloniaActivity.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;

namespace Avalonia.Android
{
Expand Down Expand Up @@ -48,4 +41,4 @@ public override bool DispatchKeyEvent(KeyEvent e)
return View.DispatchKeyEvent(e);
}
}
}
}
9 changes: 1 addition & 8 deletions src/Android/Avalonia.Android/AvaloniaView.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Avalonia.Android.Platform.SkiaPlatform;
Expand Down Expand Up @@ -66,4 +59,4 @@ protected override void OnResized(Size size)
public IDisposable ShowDialog() => null;
}
}
}
}
2 changes: 1 addition & 1 deletion src/Android/Avalonia.Android/CursorFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ internal class CursorFactory : IStandardCursorFactory
public IPlatformHandle GetCursor(StandardCursorType cursorType)
=> new PlatformHandle(IntPtr.Zero, "ZeroCursor");
}
}
}
4 changes: 2 additions & 2 deletions src/Android/Avalonia.Android/Platform/ClipboardImpl.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Threading.Tasks;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Avalonia.Input.Platform;
using Avalonia.Platform;
using System.Threading.Tasks;

namespace Avalonia.Android.Platform
{
Expand Down Expand Up @@ -44,4 +44,4 @@ public Task ClearAsync()
return Task.FromResult<object>(null);
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using System;
using Avalonia.Input;
//using Android.InputMethodServices;
using System.Collections.Generic;
using Android.Views;
using Avalonia.Input;

namespace Avalonia.Android.Platform.Input
{
public class AndroidKeyboardDevice : KeyboardDevice, IKeyboardDevice {
public class AndroidKeyboardDevice : KeyboardDevice, IKeyboardDevice {
private static readonly Dictionary<Keycode, Key> KeyDic = new Dictionary<Keycode, Key>
{
// { Keycode.Cancel?, Key.Cancel },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ internal struct ANativeWindow_Buffer
uint reserved6;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
using Avalonia.Media;
using Avalonia.Platform;

namespace Avalonia.Android
Expand Down Expand Up @@ -90,4 +82,4 @@ protected void DoDraw()
protected abstract void Draw();
public string HandleDescriptor => "SurfaceView";
}
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Avalonia.Controls;
using Avalonia.Platform;

Expand Down Expand Up @@ -116,4 +109,4 @@ public void SetTopmost(bool value)
//Not supported
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
using Android.App;
using System;
using System.Collections.Generic;
using Android.Content;
using Android.Graphics;
using Android.Views;
using Avalonia.Android.Platform.Input;
using Avalonia.Android.Platform.Specific;
using Avalonia.Android.Platform.Specific.Helpers;
using Avalonia.Controls.Platform.Surfaces;
using Avalonia.Input;
using Avalonia.Input.Raw;
using Avalonia.Platform;
using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using Avalonia.Android.Platform.Input;
using Avalonia.Controls;
using Avalonia.Controls.Platform.Surfaces;
using Avalonia.Rendering;

namespace Avalonia.Android.Platform.SkiaPlatform
Expand Down Expand Up @@ -196,4 +193,4 @@ void ISurfaceHolderCallback.SurfaceChanged(ISurfaceHolder holder, Format format,

ILockedFramebuffer IFramebufferPlatformSurface.Lock()=>new AndroidFramebuffer(_view.Holder.Surface);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System;
using System.ComponentModel;
using Android.Content;
using Android.Runtime;
using Android.Views;
Expand All @@ -7,8 +9,6 @@
using Avalonia.Input;
using Avalonia.Input.Raw;
using Avalonia.Platform;
using System;
using System.ComponentModel;

namespace Avalonia.Android.Platform.Specific.Helpers
{
Expand Down Expand Up @@ -120,7 +120,7 @@ public void UpdateKeyboardState(IInputElement element)
_lastFocusedElement = element;
}

public void ActivateAutoShowKeybord()
public void ActivateAutoShowKeyboard()
{
var kbDevice = (KeyboardDevice.Instance as INotifyPropertyChanged);

Expand All @@ -142,4 +142,4 @@ public void Dispose()
HandleEvents = false;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using Android.Graphics;
using System;
using Android.Views;
using Avalonia.Input;
using Avalonia.Input.Raw;
using Avalonia.Media;
using Avalonia.Platform;
using System;

namespace Avalonia.Android.Platform.Specific.Helpers
{
Expand Down Expand Up @@ -131,4 +129,4 @@ public void Dispose()
HandleEvents = false;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
using Android.Graphics;
using Android.Views;
using System;
using System.Collections.Generic;

namespace Avalonia.Android.Platform.Specific
{
public interface IAndroidView
{


View View { get; }
}


}
}
15 changes: 2 additions & 13 deletions src/Android/Avalonia.Android/PlatformIconLoader.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Avalonia.Platform;
using System.IO;
using Avalonia.Platform;

namespace Avalonia.Android
{
Expand Down Expand Up @@ -54,4 +43,4 @@ public void Save(Stream outputStream)
stream.CopyTo(outputStream);
}
}
}
}
2 changes: 1 addition & 1 deletion src/Android/Avalonia.Android/SystemDialogImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ public Task<string> ShowFolderDialogAsync(OpenFolderDialog dialog, IWindowImpl p
throw new NotImplementedException();
}
}
}
}
9 changes: 3 additions & 6 deletions src/Avalonia.Animation/Animatable.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.

using System.Linq;
using Avalonia.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using Avalonia.Collections;
using Avalonia.Animation;
using System.Collections.Generic;
using System.Threading;
using System.Collections.Concurrent;
using Avalonia.Data;

namespace Avalonia.Animation
{
Expand Down
12 changes: 4 additions & 8 deletions src/Avalonia.Animation/Animation.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.

using Avalonia.Animation.Easings;
using Avalonia.Animation;
using Avalonia.Collections;
using Avalonia.Metadata;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Reflection;
using System.Linq;
using System.Threading.Tasks;
using System.Reactive.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Avalonia.Animation.Easings;
using Avalonia.Collections;

namespace Avalonia.Animation
{
Expand Down
4 changes: 0 additions & 4 deletions src/Avalonia.Animation/AnimatorKeyFrame.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using Avalonia.Metadata;
using Avalonia.Collections;
using Avalonia.Data;
using Avalonia.Reactive;

Expand Down
Loading