<commit_before>//
// coreanimation.cs: API definition for CoreAnimation binding
//
// Authors:
//   <NAME>
//   <NAME>
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// 
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

using System;
using System.Drawing;
#if MONOMAC
using MonoMac.AppKit;
using MonoMac.CoreVideo;
using MonoMac.CoreImage;
using MonoMac.OpenGL;
#else
using MonoMac.UIKit;
#endif
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
using MonoMac.ObjCRuntime;

namespace MonoMac.CoreAnimation {

#if false
	public interface CAMediaTiming {
		[Export ("beginTime")]
		double CFTimeInterval { get; set; }
	
		[Export ("duration")]
		double Duration { get; set; }
	
		[Export ("speed")]
		float Speed { get; set; }
	
		[Export ("timeOffset")]
		double TimeOffset { get; set; }
	
		[Export ("repeatCount")]
		float RepeatCount { get; set; }
	
		[Export ("repeatDuration")]
		double RepeatDuration { get; set; }
	
		[Export ("autoreverses")]
		bool AutoReverses { get;set; }
	
		[Export ("fillMode")]
		string FillMode { get; set; }
	}		
#endif

#if MONOMAC
	[BaseType (typeof (NSObject))]
	public interface CAConstraintLayoutManager {
		[Static]
		[Export ("layoutManager")]
		CAConstraintLayoutManager LayoutManager { get; }
	}
	
	[BaseType (typeof (NSObject))]
	public interface CAConstraint {
		[Export ("attribute")]
		CAConstraintAttribute Attribute { get;  }

		[Export ("sourceName")]
		string SourceName { get;  }

		[Export ("sourceAttribute")]
		CAConstraintAttribute SourceAttribute { get;  }

		[Export ("scale")]
		float Scale { get;  }

		[Static]
		[Export ("constraintWithAttribute:relativeTo:attribute:scale:offset:")]
		CAConstraint Create (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttr, float scale, float offset);

		[Static]
		[Export ("constraintWithAttribute:relativeTo:attribute:offset:")]
		CAConstraint Create (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttr, float offset);

		[Static]
		[Export ("constraintWithAttribute:relativeTo:attribute:")]
		CAConstraint Create (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttribute);

		[Export ("initWithAttribute:relativeTo:attribute:scale:offset:")]
		IntPtr Constructor (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttr, float scale, float offset);
	}
	
#else
	[BaseType (typeof (NSObject))]
	public interface CADisplayLink {
		[Export ("displayLinkWithTarget:selector:")][Static]
		CADisplayLink Create (NSObject target, Selector sel);
	
		[Export ("addToRunLoop:forMode:")]
		void AddToRunLoop (NSRunLoop runloop, string mode);
	
		[Export ("removeFromRunLoop:forMode:")]
		void RemoveFromRunLoop (NSRunLoop runloop, string  mode);
	
		[Export ("invalidate")]
		void Invalidate ();
	
		[Export ("timestamp")]
		double Timestamp { get; }
	
		[Export ("paused")]<commit_msg>Make it more obvious that this is a special key<commit_after>//
// coreanimation.cs: API definition for CoreAnimation binding
//
// Authors:
//   <NAME>
//   <NAME>
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// 
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

using System;
using System.Drawing;
#if MONOMAC
using MonoMac.AppKit;
using MonoMac.CoreVideo;
using MonoMac.CoreImage;
using MonoMac.OpenGL;
#else
using MonoMac.UIKit;
#endif
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
using MonoMac.ObjCRuntime;

namespace MonoMac.CoreAnimation {

#if false
	public interface CAMediaTiming {
		[Export ("beginTime")]
		double CFTimeInterval { get; set; }
	
		[Export ("duration")]
		double Duration { get; set; }
	
		[Export ("speed")]
		float Speed { get; set; }
	
		[Export ("timeOffset")]
		double TimeOffset { get; set; }
	
		[Export ("repeatCount")]
		float RepeatCount { get; set; }
	
		[Export ("repeatDuration")]
		double RepeatDuration { get; set; }
	
		[Export ("autoreverses")]
		bool AutoReverses { get;set; }
	
		[Export ("fillMode")]
		string FillMode { get; set; }
	}		
#endif

#if MONOMAC
	[BaseType (typeof (NSObject))]
	public interface CAConstraintLayoutManager {
		[Static]
		[Export ("layoutManager")]
		CAConstraintLayoutManager LayoutManager { get; }
	}
	
	[BaseType (typeof (NSObject))]
	public interface CAConstraint {
		[Export ("attribute")]
		CAConstraintAttribute Attribute { get;  }

		[Export ("sourceName")]
		string SourceName { get;  }

		[Export ("sourceAttribute")]
		CAConstraintAttribute SourceAttribute { get;  }

		[Export ("scale")]
		float Scale { get;  }

		[Static]
		[Export ("constraintWithAttribute:relativeTo:attribute:scale:offset:")]
		CAConstraint Create (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttr, float scale, float offset);

		[Static]
		[Export ("constraintWithAttribute:relativeTo:attribute:offset:")]
		CAConstraint Create (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttr, float offset);

		[Static]
		[Export ("constraintWithAttribute:relativeTo:attribute:")]
		CAConstraint Create (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttribute);

		[Export ("initWithAttribute:relativeTo:attribute:scale:offset:")]
		IntPtr Constructor (CAConstraintAttribute attribute, string relativeToSource, CAConstraintAttribute srcAttr, float scale, float offset);
	}
	
#else
	[BaseType (typeof (NSObject))]
	public interface CADisplayLink {
		[Export ("displayLinkWithTarget:selector:")][Static]
		CADisplayLink Create (NSObject target, Selector sel);
	
		[Export ("addToRunLoop:forMode:")]
		void AddToRunLoop (NSRunLoop runloop, NSString mode);
	
		[Export ("removeFromRunLoop:forMode:")]
		void RemoveFromRunLoop (NSRunLoop runloop, NSString mode);
	
		[Export ("invalidate")]
		void Invalidate ();
	
		[Export ("timestamp")]
		double Timestamp { get; }
	
		[Export ("paused")]
{'fraction_non_alphanumeric': 0.1055534662153692, 'fraction_numerical': 0.0020057665789143786, 'mean_word_length': 4.71899641577061, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3058762', 'n_tokens_mistral': 2387, 'n_tokens_neox': 2174, 'n_words': 796}