public unsafe ExecutorDelivery(global::Java.Util.Concurrent.IExecutor p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() != typeof(ExecutorDelivery)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/util/concurrent/Executor;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/util/concurrent/Executor;)V", __args); return; } if (id_ctor_Ljava_util_concurrent_Executor_ == IntPtr.Zero) { id_ctor_Ljava_util_concurrent_Executor_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/util/concurrent/Executor;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_util_concurrent_Executor_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_util_concurrent_Executor_, __args); } finally { } }
static void n_Init_Landroid_content_res_Resources_Lcom_facebook_drawee_components_DeferredReleaser_Lcom_facebook_imagepipeline_drawable_DrawableFactory_Ljava_util_concurrent_Executor_Lcom_facebook_imagepipeline_cache_MemoryCache_Lcom_facebook_common_internal_ImmutableList_Lcom_facebook_common_internal_Supplier_(IntPtr jnienv, IntPtr native__this, IntPtr native_resources, IntPtr native_deferredReleaser, IntPtr native_animatedDrawableFactory, IntPtr native_uiThreadExecutor, IntPtr native_memoryCache, IntPtr native_drawableFactories, IntPtr native_debugOverlayEnabledSupplier) { global::Com.Facebook.Drawee.Backends.Pipeline.PipelineDraweeControllerFactory __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Drawee.Backends.Pipeline.PipelineDraweeControllerFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.Res.Resources resources = global::Java.Lang.Object.GetObject <global::Android.Content.Res.Resources> (native_resources, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Drawee.Components.DeferredReleaser deferredReleaser = global::Java.Lang.Object.GetObject <global::Com.Facebook.Drawee.Components.DeferredReleaser> (native_deferredReleaser, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Imagepipeline.Drawable.IDrawableFactory animatedDrawableFactory = (global::Com.Facebook.Imagepipeline.Drawable.IDrawableFactory)global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Drawable.IDrawableFactory> (native_animatedDrawableFactory, JniHandleOwnership.DoNotTransfer); global::Java.Util.Concurrent.IExecutor uiThreadExecutor = (global::Java.Util.Concurrent.IExecutor)global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.IExecutor> (native_uiThreadExecutor, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache = (global::Com.Facebook.Imagepipeline.Cache.IMemoryCache)global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Cache.IMemoryCache> (native_memoryCache, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Common.Internal.ImmutableList drawableFactories = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Internal.ImmutableList> (native_drawableFactories, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Common.Internal.ISupplier debugOverlayEnabledSupplier = (global::Com.Facebook.Common.Internal.ISupplier)global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Internal.ISupplier> (native_debugOverlayEnabledSupplier, JniHandleOwnership.DoNotTransfer); __this.Init(resources, deferredReleaser, animatedDrawableFactory, uiThreadExecutor, memoryCache, drawableFactories, debugOverlayEnabledSupplier); }
public static unsafe void SetDefaultExecutor(global::Java.Util.Concurrent.IExecutor p0) { if (id_setDefaultExecutor_Ljava_util_concurrent_Executor_ == IntPtr.Zero) { id_setDefaultExecutor_Ljava_util_concurrent_Executor_ = JNIEnv.GetStaticMethodID(class_ref, "setDefaultExecutor", "(Ljava/util/concurrent/Executor;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallStaticVoidMethod(class_ref, id_setDefaultExecutor_Ljava_util_concurrent_Executor_, __args); } finally { } }
public static unsafe global::Java.Util.Concurrent.IExecutor CreateExecutor(int p0, int p1, global::Com.Nostra13.Universalimageloader.Core.Assist.QueueProcessingType p2) { if (id_createExecutor_IILcom_nostra13_universalimageloader_core_assist_QueueProcessingType_ == IntPtr.Zero) { id_createExecutor_IILcom_nostra13_universalimageloader_core_assist_QueueProcessingType_ = JNIEnv.GetStaticMethodID(class_ref, "createExecutor", "(IILcom/nostra13/universalimageloader/core/assist/QueueProcessingType;)Ljava/util/concurrent/Executor;"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); global::Java.Util.Concurrent.IExecutor __ret = global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.IExecutor> (JNIEnv.CallStaticObjectMethod(class_ref, id_createExecutor_IILcom_nostra13_universalimageloader_core_assist_QueueProcessingType_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public unsafe OkHttpNetworkFetcher(global::Okhttp3.ICallFactory callFactory, global::Java.Util.Concurrent.IExecutor cancellationExecutor) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lokhttp3/Call$Factory;Ljava/util/concurrent/Executor;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((callFactory == null) ? IntPtr.Zero : ((global::Java.Lang.Object)callFactory).Handle); __args [1] = new JniArgumentValue((cancellationExecutor == null) ? IntPtr.Zero : ((global::Java.Lang.Object)cancellationExecutor).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
public unsafe DefaultSerialExecutorService(global::Java.Util.Concurrent.IExecutor executor) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Ljava/util/concurrent/Executor;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue[1]; __args[0] = new JniArgumentValue((executor == null) ? IntPtr.Zero : ((global::Java.Lang.Object)executor).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
public unsafe global::Artifex.MuPdf.AsyncTask ExecuteOnExecutor(global::Java.Util.Concurrent.IExecutor p0, params global:: Java.Lang.Object[] p1) { if (id_executeOnExecutor_Ljava_util_concurrent_Executor_arrayLjava_lang_Object_ == IntPtr.Zero) { id_executeOnExecutor_Ljava_util_concurrent_Executor_arrayLjava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "executeOnExecutor", "(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lcom/artifex/mupdfdemo/AsyncTask;"); } IntPtr native_p1 = JNIEnv.NewArray(p1); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); global::Artifex.MuPdf.AsyncTask __ret = global::Java.Lang.Object.GetObject <global::Artifex.MuPdf.AsyncTask> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_executeOnExecutor_Ljava_util_concurrent_Executor_arrayLjava_lang_Object_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } } }
public virtual unsafe global::Com.Vivalnk.Sdk.Common.Eventbus.Util.AsyncExecutor.Builder ThreadPool(global::Java.Util.Concurrent.IExecutor threadPool) { const string __id = "threadPool.(Ljava/util/concurrent/Executor;)Lcom/vivalnk/sdk/common/eventbus/util/AsyncExecutor$Builder;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((threadPool == null) ? IntPtr.Zero : ((global::Java.Lang.Object)threadPool).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Vivalnk.Sdk.Common.Eventbus.Util.AsyncExecutor.Builder> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
public virtual unsafe void Init(global::Android.Content.Res.Resources resources, global::Com.Facebook.Drawee.Components.DeferredReleaser deferredReleaser, global::Com.Facebook.Imagepipeline.Drawable.IDrawableFactory animatedDrawableFactory, global::Java.Util.Concurrent.IExecutor uiThreadExecutor, global::Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache, global::Com.Facebook.Common.Internal.ImmutableList drawableFactories, global::Com.Facebook.Common.Internal.ISupplier debugOverlayEnabledSupplier) { const string __id = "init.(Landroid/content/res/Resources;Lcom/facebook/drawee/components/DeferredReleaser;Lcom/facebook/imagepipeline/drawable/DrawableFactory;Ljava/util/concurrent/Executor;Lcom/facebook/imagepipeline/cache/MemoryCache;Lcom/facebook/common/internal/ImmutableList;Lcom/facebook/common/internal/Supplier;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [7]; __args [0] = new JniArgumentValue((resources == null) ? IntPtr.Zero : ((global::Java.Lang.Object)resources).Handle); __args [1] = new JniArgumentValue((deferredReleaser == null) ? IntPtr.Zero : ((global::Java.Lang.Object)deferredReleaser).Handle); __args [2] = new JniArgumentValue((animatedDrawableFactory == null) ? IntPtr.Zero : ((global::Java.Lang.Object)animatedDrawableFactory).Handle); __args [3] = new JniArgumentValue((uiThreadExecutor == null) ? IntPtr.Zero : ((global::Java.Lang.Object)uiThreadExecutor).Handle); __args [4] = new JniArgumentValue((memoryCache == null) ? IntPtr.Zero : ((global::Java.Lang.Object)memoryCache).Handle); __args [5] = new JniArgumentValue((drawableFactories == null) ? IntPtr.Zero : ((global::Java.Lang.Object)drawableFactories).Handle); __args [6] = new JniArgumentValue((debugOverlayEnabledSupplier == null) ? IntPtr.Zero : ((global::Java.Lang.Object)debugOverlayEnabledSupplier).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
protected virtual unsafe global::Com.Facebook.Drawee.Backends.Pipeline.PipelineDraweeController InternalCreateController(global::Android.Content.Res.Resources resources, global::Com.Facebook.Drawee.Components.DeferredReleaser deferredReleaser, global::Com.Facebook.Imagepipeline.Drawable.IDrawableFactory animatedDrawableFactory, global::Java.Util.Concurrent.IExecutor uiThreadExecutor, global::Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache, global::Com.Facebook.Common.Internal.ImmutableList drawableFactories) { const string __id = "internalCreateController.(Landroid/content/res/Resources;Lcom/facebook/drawee/components/DeferredReleaser;Lcom/facebook/imagepipeline/drawable/DrawableFactory;Ljava/util/concurrent/Executor;Lcom/facebook/imagepipeline/cache/MemoryCache;Lcom/facebook/common/internal/ImmutableList;)Lcom/facebook/drawee/backends/pipeline/PipelineDraweeController;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [6]; __args [0] = new JniArgumentValue((resources == null) ? IntPtr.Zero : ((global::Java.Lang.Object)resources).Handle); __args [1] = new JniArgumentValue((deferredReleaser == null) ? IntPtr.Zero : ((global::Java.Lang.Object)deferredReleaser).Handle); __args [2] = new JniArgumentValue((animatedDrawableFactory == null) ? IntPtr.Zero : ((global::Java.Lang.Object)animatedDrawableFactory).Handle); __args [3] = new JniArgumentValue((uiThreadExecutor == null) ? IntPtr.Zero : ((global::Java.Lang.Object)uiThreadExecutor).Handle); __args [4] = new JniArgumentValue((memoryCache == null) ? IntPtr.Zero : ((global::Java.Lang.Object)memoryCache).Handle); __args [5] = new JniArgumentValue((drawableFactories == null) ? IntPtr.Zero : ((global::Java.Lang.Object)drawableFactories).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Facebook.Drawee.Backends.Pipeline.PipelineDraweeController> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }