I hereby claim:
- I am cheesebaron on github.
- I am cheesebaron (https://keybase.io/cheesebaron) on keybase.
- I have a public key ASBnP2BeBE9HsuJU2uWnS0wqLGqsIu08jD_IBEfa9amx2Ao
To claim this, I am signing this object:
| public class MvxFixture : IDisposable | |
| { | |
| public MvxFixture() | |
| { | |
| MvxTest.Initialize(); | |
| } | |
| ~MvxFixture() | |
| { | |
| Dispose(false); |
I hereby claim:
To claim this, I am signing this object:
| public sealed class Snackbar : UIView | |
| { | |
| public TimeSpan Duration { get; set; } | |
| public Action<Snackbar> OnAction { get; set; } | |
| public Action<Snackbar> OnDismiss { get; set; } | |
| private static Snackbar _currentlyVisibleSnackbar; | |
| private readonly UILabel _messageLabel; | |
| private readonly UIButton _actionButton; | |
| private readonly UIView _separator; | |
| private NSLayoutConstraint[] _horizontalLayoutConstraints; |
| using System; | |
| using Android.Content; | |
| using Android.Graphics; | |
| using Android.Runtime; | |
| using Android.Util; | |
| using Android.Views; | |
| namespace CircleWaves | |
| { | |
| public class CircleView : View |
| protected async Task<RenderTargetBitmap> CaptureUiElementToStreamAsync(FrameworkElement uiElement, | |
| IRandomAccessStream stream) | |
| { | |
| return await CaptureUiElementToStreamAsync(uiElement, stream, BitmapEncoder.PngEncoderId); | |
| } | |
| private async Task<RenderTargetBitmap> CaptureUiElementToStreamAsync(FrameworkElement uiElement, | |
| IRandomAccessStream stream, Guid encoderId) | |
| { | |
| if (uiElement == null) throw new ArgumentNullException(nameof(uiElement)); |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using Android.OS; | |
| using Android.Util; | |
| namespace DeviceYearClass | |
| { | |
| public class DeviceInfo | |
| { |
| public static class ColorUtils | |
| { | |
| public static class LabConstants | |
| { | |
| public const int Kn = 18; | |
| public const float Xn = 0.950470f; | |
| public const float Yn = 1f; | |
| public const float Zn = 1.088830f; |
| [Register("dk.ostebaronen.droid.CircularProgressDrawable")] | |
| public class CircularProgressDrawable | |
| : Drawable | |
| , IAnimatable | |
| { | |
| private static readonly IInterpolator AngleInterpolator = new LinearInterpolator(); | |
| private static readonly IInterpolator SweepInterpolator = new DecelerateInterpolator(); | |
| private static readonly RectF _bounds = new RectF(); | |
| private const int AngleAnimatorDuration = 2000; |
| /* | |
| * C# derivative of m_random.c used in DOOM | |
| * https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.10/m_random.c | |
| * | |
| * Copyright (C) 1993-1996 by id Software, Inc. | |
| * | |
| * This source is available for distribution and/or modification | |
| * only under the terms of the DOOM Source Code License as | |
| * published by id Software. All rights reserved. | |
| * |