コード例 #1
0
 Com.Facebook.Imagepipeline.Core.ProducerFactory CreateProducerFactory(
     Android.Content.Context context,
     Com.Facebook.Common.Memory.IByteArrayPool byteArrayPool,
     Com.Facebook.Imagepipeline.Decoder.IImageDecoder imageDecoder,
     Com.Facebook.Imagepipeline.Decoder.IProgressiveJpegConfig progressiveJpegConfig,
     bool z, bool z2, bool z3,
     Com.Facebook.Imagepipeline.Core.IExecutorSupplier executorSupplier,
     Com.Facebook.Common.Memory.IPooledByteBufferFactory pooledByteBufferFactory,
     Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache,
     Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache2,
     Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache,
     Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache2,
     Com.Facebook.Imagepipeline.Cache.ICacheKeyFactory cacheKeyFactory,
     Com.Facebook.Imagepipeline.Bitmaps.PlatformBitmapFactory platformBitmapFactory,
     int i, int i2, bool z4);
コード例 #2
0
            public unsafe Com.Facebook.Imagepipeline.Core.ProducerFactory CreateProducerFactory(
                Android.Content.Context context,
                Com.Facebook.Common.Memory.IByteArrayPool byteArrayPool,
                Com.Facebook.Imagepipeline.Decoder.IImageDecoder imageDecoder,
                Com.Facebook.Imagepipeline.Decoder.IProgressiveJpegConfig progressiveJpegConfig,
                bool z, bool z2, bool z3,
                Com.Facebook.Imagepipeline.Core.IExecutorSupplier executorSupplier,
                Com.Facebook.Common.Memory.IPooledByteBufferFactory pooledByteBufferFactory,
                Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache,
                Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache2,
                Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache,
                Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache2,
                Com.Facebook.Imagepipeline.Cache.ICacheKeyFactory cacheKeyFactory,
                Com.Facebook.Imagepipeline.Bitmaps.PlatformBitmapFactory platformBitmapFactory,
                int i, int i2, bool z4)
            {
                if (id_CreateProducerFactory_x1 == IntPtr.Zero)
                {
                    id_CreateProducerFactory_x1 = JNIEnv.GetMethodID(class_ref, "createProducerFactory", "(Landroid/content/Context;Lcom/facebook/common/memory/ByteArrayPool;Lcom/facebook/imagepipeline/decoder/ImageDecoder;Lcom/facebook/imagepipeline/decoder/ProgressiveJpegConfig;ZZZLcom/facebook/imagepipeline/core/ExecutorSupplier;Lcom/facebook/common/memory/PooledByteBufferFactory;Lcom/facebook/imagepipeline/cache/MemoryCache;Lcom/facebook/imagepipeline/cache/MemoryCache;Lcom/facebook/imagepipeline/cache/BufferedDiskCache;Lcom/facebook/imagepipeline/cache/BufferedDiskCache;Lcom/facebook/imagepipeline/cache/CacheKeyFactory;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;IIZ)Lcom/facebook/imagepipeline/core/ProducerFactory;");
                }

                JValue *__args = stackalloc JValue[18];

                __args[0]  = new JValue(context);
                __args[1]  = new JValue(byteArrayPool);
                __args[2]  = new JValue(imageDecoder);
                __args[3]  = new JValue(progressiveJpegConfig);
                __args[4]  = new JValue(z);
                __args[5]  = new JValue(z2);
                __args[6]  = new JValue(z3);
                __args[7]  = new JValue(executorSupplier);
                __args[8]  = new JValue(pooledByteBufferFactory);
                __args[9]  = new JValue(memoryCache);
                __args[10] = new JValue(memoryCache2);
                __args[11] = new JValue(bufferedDiskCache);
                __args[12] = new JValue(bufferedDiskCache2);
                __args[13] = new JValue(cacheKeyFactory);
                __args[14] = new JValue(platformBitmapFactory);
                __args[15] = new JValue(i);
                __args[16] = new JValue(i2);
                __args[17] = new JValue(z4);
                IntPtr r = JNIEnv.CallObjectMethod(this.Handle, id_CreateProducerFactory_x1, __args);

                return(global::Java.Lang.Object.GetObject <Com.Facebook.Imagepipeline.Core.ProducerFactory>(r, JniHandleOwnership.TransferLocalRef));
            }
コード例 #3
0
            public unsafe Com.Facebook.Imagepipeline.Core.ProducerFactory CreateProducerFactory(
                Android.Content.Context context,
                Com.Facebook.Common.Memory.IByteArrayPool byteArrayPool,
                Com.Facebook.Imagepipeline.Decoder.IImageDecoder imageDecoder,
                Com.Facebook.Imagepipeline.Decoder.IProgressiveJpegConfig progressiveJpegConfig,
                bool z, bool z2, bool z3,
                Com.Facebook.Imagepipeline.Core.IExecutorSupplier executorSupplier,
                Com.Facebook.Common.Memory.IPooledByteBufferFactory pooledByteBufferFactory,
                Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache,
                Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache2,
                Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache,
                Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache2,
                Com.Facebook.Imagepipeline.Cache.ICacheKeyFactory cacheKeyFactory,
                Com.Facebook.Imagepipeline.Bitmaps.PlatformBitmapFactory platformBitmapFactory,
                int i, int i2, bool z4)
            {
                const string      __id   = "CreateProducerFactory.(Landroid/content/Context;Lcom/facebook/common/memory/ByteArrayPool;Lcom/facebook/imagepipeline/decoder/ImageDecoder;Lcom/facebook/imagepipeline/decoder/ProgressiveJpegConfig;ZZZLcom/facebook/imagepipeline/core/ExecutorSupplier;Lcom/facebook/common/memory/PooledByteBufferFactory;Lcom/facebook/imagepipeline/cache/MemoryCache;Lcom/facebook/imagepipeline/cache/MemoryCache;Lcom/facebook/imagepipeline/cache/BufferedDiskCache;Lcom/facebook/imagepipeline/cache/BufferedDiskCache;Lcom/facebook/imagepipeline/cache/CacheKeyFactory;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;IIZ)Lcom/facebook/imagepipeline/core/ProducerFactory;";
                JniArgumentValue *__args = stackalloc JniArgumentValue[18];

                __args[0]  = new JniArgumentValue(context);
                __args[1]  = new JniArgumentValue(byteArrayPool);
                __args[2]  = new JniArgumentValue(imageDecoder);
                __args[3]  = new JniArgumentValue(progressiveJpegConfig);
                __args[4]  = new JniArgumentValue(z);
                __args[5]  = new JniArgumentValue(z2);
                __args[6]  = new JniArgumentValue(z3);
                __args[7]  = new JniArgumentValue(executorSupplier);
                __args[8]  = new JniArgumentValue(pooledByteBufferFactory);
                __args[9]  = new JniArgumentValue(memoryCache);
                __args[10] = new JniArgumentValue(memoryCache2);
                __args[11] = new JniArgumentValue(bufferedDiskCache);
                __args[12] = new JniArgumentValue(bufferedDiskCache2);
                __args[13] = new JniArgumentValue(cacheKeyFactory);
                __args[14] = new JniArgumentValue(platformBitmapFactory);
                __args[15] = new JniArgumentValue(i);
                __args[16] = new JniArgumentValue(i2);
                __args[17] = new JniArgumentValue(z4);

                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);

                _members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <Com.Facebook.Imagepipeline.Core.ProducerFactory>(__rm.Handle, JniHandleOwnership.TransferLocalRef));
            }
コード例 #4
0
            static unsafe IntPtr n_CreateProducerFactory_x1(
                IntPtr jnienv, IntPtr native__this,
                Android.Content.Context context,
                Com.Facebook.Common.Memory.IByteArrayPool byteArrayPool,
                Com.Facebook.Imagepipeline.Decoder.IImageDecoder imageDecoder,
                Com.Facebook.Imagepipeline.Decoder.IProgressiveJpegConfig progressiveJpegConfig,
                bool z, bool z2, bool z3,
                Com.Facebook.Imagepipeline.Core.IExecutorSupplier executorSupplier,
                Com.Facebook.Common.Memory.IPooledByteBufferFactory pooledByteBufferFactory,
                Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache,
                Com.Facebook.Imagepipeline.Cache.IMemoryCache memoryCache2,
                Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache,
                Com.Facebook.Imagepipeline.Cache.BufferedDiskCache bufferedDiskCache2,
                Com.Facebook.Imagepipeline.Cache.ICacheKeyFactory cacheKeyFactory,
                Com.Facebook.Imagepipeline.Bitmaps.PlatformBitmapFactory platformBitmapFactory,
                int i, int i2, bool z4)
            {
                IProducerFactoryMethod __this = global::Java.Lang.Object.GetObject <IProducerFactoryMethod>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);

                Com.Facebook.Imagepipeline.Core.ProducerFactory rv = __this.CreateProducerFactory(
                    context,
                    byteArrayPool,
                    imageDecoder,
                    progressiveJpegConfig,
                    z, z2, z3,
                    executorSupplier,
                    pooledByteBufferFactory,
                    memoryCache,
                    memoryCache2,
                    bufferedDiskCache,
                    bufferedDiskCache2,
                    cacheKeyFactory,
                    platformBitmapFactory,
                    i, i2, z4
                    );

                IntPtr __ret = JNIEnv.ToLocalJniHandle(rv);

                return(__ret);
            }
コード例 #5
0
 public unsafe ProducerFactory(
     Android.Content.Context i1,
     Com.Facebook.Common.Memory.IByteArrayPool i2,
     Com.Facebook.Imagepipeline.Decoder.IImageDecoder i3,
     Com.Facebook.Imagepipeline.Decoder.IProgressiveJpegConfig i4,
     bool i5, bool i6, bool i7,
     Com.Facebook.Imagepipeline.Core.IExecutorSupplier i8,
     Com.Facebook.Common.Memory.IPooledByteBufferFactory i9,
     Com.Facebook.Imagepipeline.Cache.IMemoryCache i10,
     Com.Facebook.Imagepipeline.Cache.IMemoryCache i11,
     Com.Facebook.Imagepipeline.Cache.BufferedDiskCache i12,
     Com.Facebook.Imagepipeline.Cache.BufferedDiskCache i13,
     Com.Facebook.Imagepipeline.Cache.ICacheKeyFactory i14,
     Com.Facebook.Imagepipeline.Bitmaps.PlatformBitmapFactory i15,
     int i16, int i17, bool i18)
     : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
 {
     if (Handle != IntPtr.Zero)
     {
         return;
     }
     if (GetType() != typeof(ProducerFactory))
     {
         SetHandle(
             Android.Runtime.JNIEnv.CreateInstance(GetType(), ctorSignature,
                                                   new JValue(i1),
                                                   new JValue(i2),
                                                   new JValue(i3),
                                                   new JValue(i4),
                                                   new JValue(i5),
                                                   new JValue(i6),
                                                   new JValue(i7),
                                                   new JValue(i8),
                                                   new JValue(i9),
                                                   new JValue(i10),
                                                   new JValue(i11),
                                                   new JValue(i12),
                                                   new JValue(i13),
                                                   new JValue(i14),
                                                   new JValue(i15),
                                                   new JValue(i16),
                                                   new JValue(i17),
                                                   new JValue(i18)),
             JniHandleOwnership.TransferLocalRef);
         return;
     }
     if (id_ctor_I == IntPtr.Zero)
     {
         id_ctor_I = JNIEnv.GetMethodID(class_ref, "<init>", ctorSignature);
     }
     SetHandle(
         JNIEnv.NewObject(class_ref, id_ctor_I,
                          new JValue(i1),
                          new JValue(i2),
                          new JValue(i3),
                          new JValue(i4),
                          new JValue(i5),
                          new JValue(i6),
                          new JValue(i7),
                          new JValue(i8),
                          new JValue(i9),
                          new JValue(i10),
                          new JValue(i11),
                          new JValue(i12),
                          new JValue(i13),
                          new JValue(i14),
                          new JValue(i15),
                          new JValue(i16),
                          new JValue(i17),
                          new JValue(i18)),
         JniHandleOwnership.TransferLocalRef);
 }