Пример #1
0
 static void n_DecodePage_Ljava_lang_Object_ILorg_vudroid_core_DecodeService_DecodeCallback_FLandroid_graphics_RectF_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2, float p3, IntPtr native_p4)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Org.Vudroid.Core.IDecodeServiceDecodeCallback p2 = (global::Org.Vudroid.Core.IDecodeServiceDecodeCallback)global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeServiceDecodeCallback> (native_p2, JniHandleOwnership.DoNotTransfer);
     global::Android.Graphics.RectF p4 = global::Java.Lang.Object.GetObject <global::Android.Graphics.RectF> (native_p4, JniHandleOwnership.DoNotTransfer);
     __this.DecodePage(p0, p1, p2, p3, p4);
 }
        public virtual void SetDecodeService(global::Org.Vudroid.Core.IDecodeService p0)
        {
            if (id_setDecodeService_Lorg_vudroid_core_DecodeService_ == IntPtr.Zero)
            {
                id_setDecodeService_Lorg_vudroid_core_DecodeService_ = JNIEnv.GetMethodID(class_ref, "setDecodeService", "(Lorg/vudroid/core/DecodeService;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setDecodeService_Lorg_vudroid_core_DecodeService_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setDecodeService", "(Lorg/vudroid/core/DecodeService;)V"), new JValue(p0));
            }
        }
 static void n_SetDecodeService_Lorg_vudroid_core_DecodeService_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Vudroid.Core.DocumentView   __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.DocumentView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Vudroid.Core.IDecodeService p0     = (global::Org.Vudroid.Core.IDecodeService)global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetDecodeService(p0);
 }
Пример #4
0
 static void n_StopDecoding_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.StopDecoding(p0);
 }
Пример #5
0
 static void n_SetContentResolver_Landroid_content_ContentResolver_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Content.ContentResolver p0     = global::Java.Lang.Object.GetObject <global::Android.Content.ContentResolver> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetContentResolver(p0);
 }
Пример #6
0
 static void n_SetContainerView_Landroid_view_View_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Views.View p0 = global::Java.Lang.Object.GetObject <global::Android.Views.View> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetContainerView(p0);
 }
Пример #7
0
 static void n_Recycle(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Recycle();
 }
Пример #8
0
 static void n_Open_Landroid_net_Uri_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Net.Uri p0 = global::Java.Lang.Object.GetObject <global::Android.Net.Uri> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Open(p0);
 }
Пример #9
0
 static int n_GetPageWidth_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.GetPageWidth(p0));
 }
Пример #10
0
 static int n_GetEffectivePagesHeight(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Vudroid.Core.IDecodeService __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.IDecodeService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.EffectivePagesHeight);
 }