|
|
@@ -0,0 +1,181 @@
|
|
|
+package xamarin.forms.platform.android;
|
|
|
+
|
|
|
+
|
|
|
+public class MasterDetailRenderer
|
|
|
+ extends android.view.ViewGroup
|
|
|
+ implements
|
|
|
+ mono.android.IGCUserPeer,
|
|
|
+ android.view.GestureDetector.OnGestureListener,
|
|
|
+ android.animation.Animator.AnimatorListener
|
|
|
+{
|
|
|
+ static final String __md_methods;
|
|
|
+ static {
|
|
|
+ __md_methods =
|
|
|
+ "n_onInterceptTouchEvent:(Landroid/view/MotionEvent;)Z:GetOnInterceptTouchEvent_Landroid_view_MotionEvent_Handler\n" +
|
|
|
+ "n_onLayout:(ZIIII)V:GetOnLayout_ZIIIIHandler\n" +
|
|
|
+ "n_onAttachedToWindow:()V:GetOnAttachedToWindowHandler\n" +
|
|
|
+ "n_onDetachedFromWindow:()V:GetOnDetachedFromWindowHandler\n" +
|
|
|
+ "n_onDown:(Landroid/view/MotionEvent;)Z:GetOnDown_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onFling:(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z:GetOnFling_Landroid_view_MotionEvent_Landroid_view_MotionEvent_FFHandler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onLongPress:(Landroid/view/MotionEvent;)V:GetOnLongPress_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onScroll:(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z:GetOnScroll_Landroid_view_MotionEvent_Landroid_view_MotionEvent_FFHandler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onShowPress:(Landroid/view/MotionEvent;)V:GetOnShowPress_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onSingleTapUp:(Landroid/view/MotionEvent;)Z:GetOnSingleTapUp_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onAnimationCancel:(Landroid/animation/Animator;)V:GetOnAnimationCancel_Landroid_animation_Animator_Handler:Android.Animation.Animator/IAnimatorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onAnimationEnd:(Landroid/animation/Animator;)V:GetOnAnimationEnd_Landroid_animation_Animator_Handler:Android.Animation.Animator/IAnimatorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onAnimationRepeat:(Landroid/animation/Animator;)V:GetOnAnimationRepeat_Landroid_animation_Animator_Handler:Android.Animation.Animator/IAnimatorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "n_onAnimationStart:(Landroid/animation/Animator;)V:GetOnAnimationStart_Landroid_animation_Animator_Handler:Android.Animation.Animator/IAnimatorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
|
|
|
+ "";
|
|
|
+ mono.android.Runtime.register ("Xamarin.Forms.Platform.Android.MasterDetailRenderer, Xamarin.Forms.Platform.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", MasterDetailRenderer.class, __md_methods);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public MasterDetailRenderer (android.content.Context p0) throws java.lang.Throwable
|
|
|
+ {
|
|
|
+ super (p0);
|
|
|
+ if (getClass () == MasterDetailRenderer.class)
|
|
|
+ mono.android.TypeManager.Activate ("Xamarin.Forms.Platform.Android.MasterDetailRenderer, Xamarin.Forms.Platform.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065", this, new java.lang.Object[] { p0 });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public MasterDetailRenderer (android.content.Context p0, android.util.AttributeSet p1) throws java.lang.Throwable
|
|
|
+ {
|
|
|
+ super (p0, p1);
|
|
|
+ if (getClass () == MasterDetailRenderer.class)
|
|
|
+ mono.android.TypeManager.Activate ("Xamarin.Forms.Platform.Android.MasterDetailRenderer, Xamarin.Forms.Platform.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065", this, new java.lang.Object[] { p0, p1 });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public MasterDetailRenderer (android.content.Context p0, android.util.AttributeSet p1, int p2) throws java.lang.Throwable
|
|
|
+ {
|
|
|
+ super (p0, p1, p2);
|
|
|
+ if (getClass () == MasterDetailRenderer.class)
|
|
|
+ mono.android.TypeManager.Activate ("Xamarin.Forms.Platform.Android.MasterDetailRenderer, Xamarin.Forms.Platform.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:System.Int32, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0, p1, p2 });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public boolean onInterceptTouchEvent (android.view.MotionEvent p0)
|
|
|
+ {
|
|
|
+ return n_onInterceptTouchEvent (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native boolean n_onInterceptTouchEvent (android.view.MotionEvent p0);
|
|
|
+
|
|
|
+
|
|
|
+ public void onLayout (boolean p0, int p1, int p2, int p3, int p4)
|
|
|
+ {
|
|
|
+ n_onLayout (p0, p1, p2, p3, p4);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onLayout (boolean p0, int p1, int p2, int p3, int p4);
|
|
|
+
|
|
|
+
|
|
|
+ public void onAttachedToWindow ()
|
|
|
+ {
|
|
|
+ n_onAttachedToWindow ();
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onAttachedToWindow ();
|
|
|
+
|
|
|
+
|
|
|
+ public void onDetachedFromWindow ()
|
|
|
+ {
|
|
|
+ n_onDetachedFromWindow ();
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onDetachedFromWindow ();
|
|
|
+
|
|
|
+
|
|
|
+ public boolean onDown (android.view.MotionEvent p0)
|
|
|
+ {
|
|
|
+ return n_onDown (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native boolean n_onDown (android.view.MotionEvent p0);
|
|
|
+
|
|
|
+
|
|
|
+ public boolean onFling (android.view.MotionEvent p0, android.view.MotionEvent p1, float p2, float p3)
|
|
|
+ {
|
|
|
+ return n_onFling (p0, p1, p2, p3);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native boolean n_onFling (android.view.MotionEvent p0, android.view.MotionEvent p1, float p2, float p3);
|
|
|
+
|
|
|
+
|
|
|
+ public void onLongPress (android.view.MotionEvent p0)
|
|
|
+ {
|
|
|
+ n_onLongPress (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onLongPress (android.view.MotionEvent p0);
|
|
|
+
|
|
|
+
|
|
|
+ public boolean onScroll (android.view.MotionEvent p0, android.view.MotionEvent p1, float p2, float p3)
|
|
|
+ {
|
|
|
+ return n_onScroll (p0, p1, p2, p3);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native boolean n_onScroll (android.view.MotionEvent p0, android.view.MotionEvent p1, float p2, float p3);
|
|
|
+
|
|
|
+
|
|
|
+ public void onShowPress (android.view.MotionEvent p0)
|
|
|
+ {
|
|
|
+ n_onShowPress (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onShowPress (android.view.MotionEvent p0);
|
|
|
+
|
|
|
+
|
|
|
+ public boolean onSingleTapUp (android.view.MotionEvent p0)
|
|
|
+ {
|
|
|
+ return n_onSingleTapUp (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native boolean n_onSingleTapUp (android.view.MotionEvent p0);
|
|
|
+
|
|
|
+
|
|
|
+ public void onAnimationCancel (android.animation.Animator p0)
|
|
|
+ {
|
|
|
+ n_onAnimationCancel (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onAnimationCancel (android.animation.Animator p0);
|
|
|
+
|
|
|
+
|
|
|
+ public void onAnimationEnd (android.animation.Animator p0)
|
|
|
+ {
|
|
|
+ n_onAnimationEnd (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onAnimationEnd (android.animation.Animator p0);
|
|
|
+
|
|
|
+
|
|
|
+ public void onAnimationRepeat (android.animation.Animator p0)
|
|
|
+ {
|
|
|
+ n_onAnimationRepeat (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onAnimationRepeat (android.animation.Animator p0);
|
|
|
+
|
|
|
+
|
|
|
+ public void onAnimationStart (android.animation.Animator p0)
|
|
|
+ {
|
|
|
+ n_onAnimationStart (p0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private native void n_onAnimationStart (android.animation.Animator p0);
|
|
|
+
|
|
|
+ java.util.ArrayList refList;
|
|
|
+ public void monodroidAddReference (java.lang.Object obj)
|
|
|
+ {
|
|
|
+ if (refList == null)
|
|
|
+ refList = new java.util.ArrayList ();
|
|
|
+ refList.add (obj);
|
|
|
+ }
|
|
|
+
|
|
|
+ public void monodroidClearReferences ()
|
|
|
+ {
|
|
|
+ if (refList != null)
|
|
|
+ refList.clear ();
|
|
|
+ }
|
|
|
+}
|