public ImageList(global::Android.Content.ContentResolver p0, global::Android.Net.Uri p1, int p2, string p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p3 = JNIEnv.NewString(p3);;

            if (GetType() != typeof(ImageList))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/ContentResolver;Landroid/net/Uri;ILjava/lang/String;)V", new JValue(p0), new JValue(p1), new JValue(p2), new JValue(native_p3)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/ContentResolver;Landroid/net/Uri;ILjava/lang/String;)V", new JValue(p0), new JValue(p1), new JValue(p2), new JValue(native_p3));
                JNIEnv.DeleteLocalRef(native_p3);
                return;
            }

            if (id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_ILjava_lang_String_ == IntPtr.Zero)
            {
                id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_ILjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/ContentResolver;Landroid/net/Uri;ILjava/lang/String;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_ILjava_lang_String_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(native_p3)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_ILjava_lang_String_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(native_p3));
            JNIEnv.DeleteLocalRef(native_p3);
        }
Example #2
0
        public SingleImageList(global::Android.Content.ContentResolver p0, global::Android.Net.Uri p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            if (GetType() != typeof(SingleImageList))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", new JValue(p0), new JValue(p1)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", new JValue(p0), new JValue(p1));
                return;
            }

            if (id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_ == IntPtr.Zero)
            {
                id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/ContentResolver;Landroid/net/Uri;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_, new JValue(p0), new JValue(p1)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_ContentResolver_Landroid_net_Uri_, new JValue(p0), new JValue(p1));
        }
Example #3
0
 static void n_CancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Android.Camera.BitmapManager __this = global::Java.Lang.Object.GetObject <global::Com.Android.Camera.BitmapManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Android.Content.ContentResolver p1 = global::Java.Lang.Object.GetObject <global::Android.Content.ContentResolver> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.CancelThreadDecoding(p0, p1);
 }
Example #4
0
        protected VideoObject(global::Com.Android.Camera.Gallery.BaseImageList p0, global::Android.Content.ContentResolver p1, long p2, int p3, global::Android.Net.Uri p4, string p5, string p6, long p7, string p8) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p5 = JNIEnv.NewString(p5);;
            IntPtr native_p6 = JNIEnv.NewString(p6);;
            IntPtr native_p8 = JNIEnv.NewString(p8);;

            if (GetType() != typeof(VideoObject))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/android/camera/gallery/BaseImageList;Landroid/content/ContentResolver;JILandroid/net/Uri;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;)V", new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4), new JValue(native_p5), new JValue(native_p6), new JValue(p7), new JValue(native_p8)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/android/camera/gallery/BaseImageList;Landroid/content/ContentResolver;JILandroid/net/Uri;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;)V", new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4), new JValue(native_p5), new JValue(native_p6), new JValue(p7), new JValue(native_p8));
                JNIEnv.DeleteLocalRef(native_p5);
                JNIEnv.DeleteLocalRef(native_p6);
                JNIEnv.DeleteLocalRef(native_p8);
                return;
            }

            if (id_ctor_Lcom_android_camera_gallery_BaseImageList_Landroid_content_ContentResolver_JILandroid_net_Uri_Ljava_lang_String_Ljava_lang_String_JLjava_lang_String_ == IntPtr.Zero)
            {
                id_ctor_Lcom_android_camera_gallery_BaseImageList_Landroid_content_ContentResolver_JILandroid_net_Uri_Ljava_lang_String_Ljava_lang_String_JLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/android/camera/gallery/BaseImageList;Landroid/content/ContentResolver;JILandroid/net/Uri;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_android_camera_gallery_BaseImageList_Landroid_content_ContentResolver_JILandroid_net_Uri_Ljava_lang_String_Ljava_lang_String_JLjava_lang_String_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4), new JValue(native_p5), new JValue(native_p6), new JValue(p7), new JValue(native_p8)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_android_camera_gallery_BaseImageList_Landroid_content_ContentResolver_JILandroid_net_Uri_Ljava_lang_String_Ljava_lang_String_JLjava_lang_String_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4), new JValue(native_p5), new JValue(native_p6), new JValue(p7), new JValue(native_p8));
            JNIEnv.DeleteLocalRef(native_p5);
            JNIEnv.DeleteLocalRef(native_p6);
            JNIEnv.DeleteLocalRef(native_p8);
        }
 public void SetContentResolver(global::Android.Content.ContentResolver p0)
 {
     if (id_setContentResolver_Landroid_content_ContentResolver_ == IntPtr.Zero)
     {
         id_setContentResolver_Landroid_content_ContentResolver_ = JNIEnv.GetMethodID(class_ref, "setContentResolver", "(Landroid/content/ContentResolver;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_setContentResolver_Landroid_content_ContentResolver_, new JValue(p0));
 }
Example #6
0
        static IntPtr n_GetThumbnail_Landroid_content_ContentResolver_JILandroid_graphics_BitmapFactory_Options_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, long p1, int p2, IntPtr native_p3, bool p4)
        {
            global::Com.Android.Camera.BitmapManager       __this = global::Java.Lang.Object.GetObject <global::Com.Android.Camera.BitmapManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Content.ContentResolver        p0     = global::Java.Lang.Object.GetObject <global::Android.Content.ContentResolver> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Graphics.BitmapFactory.Options p3     = global::Java.Lang.Object.GetObject <global::Android.Graphics.BitmapFactory.Options> (native_p3, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.GetThumbnail(p0, p1, p2, p3, p4));

            return(__ret);
        }
        static IntPtr n_LoadResource_Landroid_net_Uri_Landroid_content_ContentResolver_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Bumptech.Glide.Load.Data.LocalUriFetcher __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Data.LocalUriFetcher> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Net.Uri p0 = global::Java.Lang.Object.GetObject <global::Android.Net.Uri> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Content.ContentResolver p1 = global::Java.Lang.Object.GetObject <global::Android.Content.ContentResolver> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.LoadResource(p0, p1));

            return(__ret);
        }
Example #8
0
        public static string Retrieve(global::Android.Content.ContentResolver p0, global::Android.Net.Uri p1)
        {
            if (id_retrieve_Landroid_content_ContentResolver_Landroid_net_Uri_ == IntPtr.Zero)
            {
                id_retrieve_Landroid_content_ContentResolver_Landroid_net_Uri_ = JNIEnv.GetStaticMethodID(class_ref, "retrieve", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Ljava/lang/String;");
            }
            string __ret = JNIEnv.GetString(JNIEnv.CallStaticObjectMethod(class_ref, id_retrieve_Landroid_content_ContentResolver_Landroid_net_Uri_, new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef);

            return(__ret);
        }
Example #9
0
 public static unsafe global::Java.Lang.Long GetContactId(global::Android.Content.ContentResolver p0, global::Android.Net.Uri p1)
 {
     if (id_getContactId_Landroid_content_ContentResolver_Landroid_net_Uri_ == IntPtr.Zero)
     {
         id_getContactId_Landroid_content_ContentResolver_Landroid_net_Uri_ = JNIEnv.GetStaticMethodID(class_ref, "getContactId", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Ljava/lang/Long;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Java.Lang.Long __ret = global::Java.Lang.Object.GetObject <global::Java.Lang.Long> (JNIEnv.CallStaticObjectMethod(class_ref, id_getContactId_Landroid_content_ContentResolver_Landroid_net_Uri_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Example #10
0
        public virtual void SetContentResolver(global::Android.Content.ContentResolver p0)
        {
            if (id_setContentResolver_Landroid_content_ContentResolver_ == IntPtr.Zero)
            {
                id_setContentResolver_Landroid_content_ContentResolver_ = JNIEnv.GetMethodID(class_ref, "setContentResolver", "(Landroid/content/ContentResolver;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setContentResolver_Landroid_content_ContentResolver_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setContentResolver", "(Landroid/content/ContentResolver;)V"), new JValue(p0));
            }
        }
Example #11
0
        public virtual void CancelThreadDecoding(global::Java.Lang.Thread p0, global::Android.Content.ContentResolver p1)
        {
            if (id_cancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_ == IntPtr.Zero)
            {
                id_cancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_ = JNIEnv.GetMethodID(class_ref, "cancelThreadDecoding", "(Ljava/lang/Thread;Landroid/content/ContentResolver;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_cancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_, new JValue(p0), new JValue(p1));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "cancelThreadDecoding", "(Ljava/lang/Thread;Landroid/content/ContentResolver;)V"), new JValue(p0), new JValue(p1));
            }
        }
Example #12
0
        public static unsafe string GetContactId(string p0, global::Android.Content.ContentResolver p1)
        {
            if (id_getContactId_Ljava_lang_String_Landroid_content_ContentResolver_ == IntPtr.Zero)
            {
                id_getContactId_Ljava_lang_String_Landroid_content_ContentResolver_ = JNIEnv.GetStaticMethodID(class_ref, "getContactId", "(Ljava/lang/String;Landroid/content/ContentResolver;)Ljava/lang/String;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                string __ret = JNIEnv.GetString(JNIEnv.CallStaticObjectMethod(class_ref, id_getContactId_Ljava_lang_String_Landroid_content_ContentResolver_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Example #13
0
        public virtual global::Android.Graphics.Bitmap GetThumbnail(global::Android.Content.ContentResolver p0, long p1, int p2, global::Android.Graphics.BitmapFactory.Options p3, bool p4)
        {
            if (id_getThumbnail_Landroid_content_ContentResolver_JILandroid_graphics_BitmapFactory_Options_Z == IntPtr.Zero)
            {
                id_getThumbnail_Landroid_content_ContentResolver_JILandroid_graphics_BitmapFactory_Options_Z = JNIEnv.GetMethodID(class_ref, "getThumbnail", "(Landroid/content/ContentResolver;JILandroid/graphics/BitmapFactory$Options;Z)Landroid/graphics/Bitmap;");
            }

            global::Android.Graphics.Bitmap __ret;
            if (GetType() == ThresholdType)
            {
                __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallObjectMethod(Handle, id_getThumbnail_Landroid_content_ContentResolver_JILandroid_graphics_BitmapFactory_Options_Z, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4)), JniHandleOwnership.TransferLocalRef);
            }
            else
            {
                __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getThumbnail", "(Landroid/content/ContentResolver;JILandroid/graphics/BitmapFactory$Options;Z)Landroid/graphics/Bitmap;"), new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4)), JniHandleOwnership.TransferLocalRef);
            }
            return(__ret);
        }
Example #14
0
 public static long GetMinGzipSize(global::Android.Content.ContentResolver resolver)                         /* MethodBuilder.Create */
 {
     return(default(long));
 }
Example #15
0
 public static global::Org.Apache.Http.Entity.AbstractHttpEntity GetCompressedEntity(byte[] data, global::Android.Content.ContentResolver resolver)                         /* MethodBuilder.Create */
 {
     return(default(global::Org.Apache.Http.Entity.AbstractHttpEntity));
 }
Example #16
0
        public static unsafe global::System.Collections.Generic.IList <global::Com.Applozic.Mobicommons.People.Contact.Contact> GetContacts(global::Android.Content.ContentResolver p0, global::Android.Content.Context p1)
        {
            if (id_getContacts_Landroid_content_ContentResolver_Landroid_content_Context_ == IntPtr.Zero)
            {
                id_getContacts_Landroid_content_ContentResolver_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "getContacts", "(Landroid/content/ContentResolver;Landroid/content/Context;)Ljava/util/List;");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                global::System.Collections.Generic.IList <global::Com.Applozic.Mobicommons.People.Contact.Contact> __ret = global::Android.Runtime.JavaList <global::Com.Applozic.Mobicommons.People.Contact.Contact> .FromJniHandle(JNIEnv.CallStaticObjectMethod(class_ref, id_getContacts_Landroid_content_ContentResolver_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef);

                return(__ret);
            } finally {
            }
        }
 protected override unsafe global::Java.Lang.Object LoadResource(global::Android.Net.Uri p0, global::Android.Content.ContentResolver p1)
 {
     if (id_loadResource_Landroid_net_Uri_Landroid_content_ContentResolver_ == IntPtr.Zero)
     {
         id_loadResource_Landroid_net_Uri_Landroid_content_ContentResolver_ = JNIEnv.GetMethodID(class_ref, "loadResource", "(Landroid/net/Uri;Landroid/content/ContentResolver;)Ljava/lang/Object;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Java.Lang.Object __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallObjectMethod(Handle, id_loadResource_Landroid_net_Uri_Landroid_content_ContentResolver_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
 protected abstract global::Java.Lang.Object LoadResource(global::Android.Net.Uri p0, global::Android.Content.ContentResolver p1);
 public static global::Android.Graphics.Bitmap MakeBitmap(int p0, int p1, global::Android.Net.Uri p2, global::Android.Content.ContentResolver p3, bool p4)
 {
     if (id_makeBitmap_IILandroid_net_Uri_Landroid_content_ContentResolver_Z == IntPtr.Zero)
     {
         id_makeBitmap_IILandroid_net_Uri_Landroid_content_ContentResolver_Z = JNIEnv.GetStaticMethodID(class_ref, "makeBitmap", "(IILandroid/net/Uri;Landroid/content/ContentResolver;Z)Landroid/graphics/Bitmap;");
     }
     global::Android.Graphics.Bitmap __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallStaticObjectMethod(class_ref, id_makeBitmap_IILandroid_net_Uri_Landroid_content_ContentResolver_Z, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
 protected override unsafe Java.Lang.Object LoadResource(global::Android.Net.Uri p0, global::Android.Content.ContentResolver p1)
 {
     return(LoadFile(p0, p1));
 }
Example #21
0
 static void n_SetContentResolver_Landroid_content_ContentResolver_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Vudroid.Core.DecodeServiceBase __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.DecodeServiceBase> (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);
 }
        protected override unsafe Java.Lang.Object LoadResource(global::Android.Net.Uri p0, global::Android.Content.ContentResolver p1)
        {
            var handle = Android.Runtime.InputStreamAdapter.ToLocalJniHandle(LoadFile(p0, p1));

            try
            {
                return(new Java.Lang.Object(handle, Android.Runtime.JniHandleOwnership.TransferLocalRef));
            }
            finally
            {
                Android.Runtime.JNIEnv.DeleteLocalRef(handle);
            }
        }
 public static global::Android.Graphics.Bitmap MakeBitmap(int p0, int p1, global::Android.Net.Uri p2, global::Android.Content.ContentResolver p3, global::Android.OS.ParcelFileDescriptor p4, global::Android.Graphics.BitmapFactory.Options p5)
 {
     if (id_makeBitmap_IILandroid_net_Uri_Landroid_content_ContentResolver_Landroid_os_ParcelFileDescriptor_Landroid_graphics_BitmapFactory_Options_ == IntPtr.Zero)
     {
         id_makeBitmap_IILandroid_net_Uri_Landroid_content_ContentResolver_Landroid_os_ParcelFileDescriptor_Landroid_graphics_BitmapFactory_Options_ = JNIEnv.GetStaticMethodID(class_ref, "makeBitmap", "(IILandroid/net/Uri;Landroid/content/ContentResolver;Landroid/os/ParcelFileDescriptor;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;");
     }
     global::Android.Graphics.Bitmap __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallStaticObjectMethod(class_ref, id_makeBitmap_IILandroid_net_Uri_Landroid_content_ContentResolver_Landroid_os_ParcelFileDescriptor_Landroid_graphics_BitmapFactory_Options_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(p4), new JValue(p5)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }