This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| #if MONODROID | |
| using Android.Telephony; | |
| #endif | |
| #if MONOTOUCH | |
| using MonoTouch.Foundation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (C) 2012 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This file is automatically generated and not supposed to be modified. | |
| using System; | |
| using Boolean = System.Boolean; | |
| using String = System.String; | |
| using List = Android.Runtime.JavaList; | |
| using Map = Android.Runtime.JavaDictionary; | |
| using Android.OS; | |
| namespace Com.Android.Vending.Billing | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Android.App; | |
| using Android.Content; | |
| using Android.Runtime; | |
| using Android.Views; | |
| using Android.Widget; | |
| using Android.OS; | |
| using Android.Hardware; | |
| namespace HeyKarlWakeUp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void SetProgress(int i) | |
| { | |
| isSpinning = false; | |
| var newProgress = (int)((float)i / (float)100 * (float)360); | |
| if (version >= Android.OS.BuildVersionCodes.Honeycomb) | |
| { | |
| Android.Animation.ValueAnimator va = | |
| (Android.Animation.ValueAnimator)Android.Animation.ValueAnimator.OfInt (progress, newProgress).SetDuration (250); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Android.App; | |
| using Android.Content; | |
| using Android.Runtime; | |
| using Android.Views; | |
| using Android.Widget; | |
| using Android.OS; | |
| namespace EggsTest | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using MonoTouch.UIKit; | |
| using MonoTouch.ObjCRuntime; | |
| namespace Shield | |
| { | |
| public static class TopLayoutGuideExtensions | |
| { | |
| public static float Length(this IUILayoutSupport layoutSupport) | |
| { | |
| float length = 0f;// = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation NSData (AirfoilIntegrationSampleAdditions) | |
| + (id)scriptingAirfoilImageWithDescriptor:(NSAppleEventDescriptor *)descriptor | |
| { | |
| if ( [descriptor descriptorType] == typeType && [descriptor typeCodeValue] == cMissingValue ) | |
| { | |
| return nil; | |
| } | |
| if ( [descriptor descriptorType] != typeTIFF ) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on remote_stop() | |
| end remote_stop | |
| on remote_play() | |
| tell application id "com.altusapps.gtunesapp" | |
| playpause | |
| end tell | |
| end remote_play | |
| on remote_previous_item() |