Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

[housekeeping] Automated PR to fix formatting errors #12985

Merged
merged 1 commit into from
Dec 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
using System;
using System;
using System.Diagnostics;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;

#if UITEST
using Xamarin.UITest;
Expand Down
8 changes: 4 additions & 4 deletions Xamarin.Forms.Platform.Android/Renderers/SwipeViewRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Xamarin.Forms.Platform.Android
public class SwipeViewRenderer : ViewRenderer<SwipeView, AView>
{
const float OpenSwipeThresholdPercentage = 0.6f; // 60%
const int SwipeThreshold = 250;
const int SwipeThreshold = 250;
const int SwipeItemWidth = 100;
const long SwipeAnimationDuration = 200;
const float SwipeMinimumDelta = 10f;
Expand Down Expand Up @@ -278,7 +278,7 @@ public override bool DispatchTouchEvent(MotionEvent e)
_initialPoint = new APointF(e.GetX() / _density, e.GetY() / _density);
}

if(e.Action == MotionEventActions.Move)
if (e.Action == MotionEventActions.Move)
{
ResetSwipe(e);
}
Expand Down Expand Up @@ -449,7 +449,7 @@ bool ProcessTouchDown(APointF point)
{
if (_isSwiping || _isTouchDown || _contentView == null)
return false;

_initialPoint = point;
_isTouchDown = true;

Expand Down Expand Up @@ -1298,7 +1298,7 @@ void ProcessTouchSwipeItems(APointF point)

if (swipeItems.SwipeBehaviorOnInvoked != SwipeBehaviorOnInvoked.RemainOpen)
ResetSwipe();

break;
}
}
Expand Down