diff --git a/packages/nativescript-image-cache-it/nativescript.config.ts b/packages/nativescript-image-cache-it/nativescript.config.ts
new file mode 100644
index 00000000..fd51f4e9
--- /dev/null
+++ b/packages/nativescript-image-cache-it/nativescript.config.ts
@@ -0,0 +1,14 @@
+import { NativeScriptConfig } from '@nativescript/core';
+
+export default {
+ ios: {
+ SPMPackages: [
+ {
+ name: 'SDWebImage',
+ libs: ['SDWebImage'],
+ repositoryURL: 'https://github.com/SDWebImage/SDWebImage.git',
+ version: '5.21.2',
+ },
+ ],
+ },
+} as NativeScriptConfig;
diff --git a/packages/nativescript-image-cache-it/platforms/android/imagecacheit-release.aar b/packages/nativescript-image-cache-it/platforms/android/imagecacheit-release.aar
index 59f81ed2..cd4ef2bc 100644
Binary files a/packages/nativescript-image-cache-it/platforms/android/imagecacheit-release.aar and b/packages/nativescript-image-cache-it/platforms/android/imagecacheit-release.aar differ
diff --git a/packages/nativescript-image-cache-it/platforms/android/include.gradle b/packages/nativescript-image-cache-it/platforms/android/include.gradle
index 452be085..11cd2b8a 100644
--- a/packages/nativescript-image-cache-it/platforms/android/include.gradle
+++ b/packages/nativescript-image-cache-it/platforms/android/include.gradle
@@ -16,12 +16,11 @@ android {
dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
- implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.0-rc01'
- implementation 'jp.wasabeef:glide-transformations:4.3.0'
- implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'
- implementation 'com.github.bumptech.glide:glide:5.0.0-rc01'
- annotationProcessor 'com.github.bumptech.glide:compiler:5.0.0-rc01'
+ implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.5'
+ implementation 'com.github.triniwiz:glide-transformations:0b20ecf81a'
+ implementation 'com.github.triniwiz:android-gpuimage:9a33c87c1f'
+ implementation 'com.github.bumptech.glide:glide:5.0.5'
+ annotationProcessor 'com.github.bumptech.glide:compiler:5.0.5'
annotationProcessor 'androidx.annotation:annotation:1.9.1'
implementation "androidx.core:core-ktx:1.13.1"
-}
-
+}
\ No newline at end of file
diff --git a/packages/nativescript-image-cache-it/platforms/ios/Podfile b/packages/nativescript-image-cache-it/platforms/ios/Podfile
deleted file mode 100644
index ba00f620..00000000
--- a/packages/nativescript-image-cache-it/platforms/ios/Podfile
+++ /dev/null
@@ -1 +0,0 @@
-pod 'SDWebImage', '>= 5.21.1'
diff --git a/packages/nativescript-image-cache-it/project.json b/packages/nativescript-image-cache-it/project.json
index 67c4a0f2..c9078491 100644
--- a/packages/nativescript-image-cache-it/project.json
+++ b/packages/nativescript-image-cache-it/project.json
@@ -14,6 +14,7 @@
"assets": [
"packages/nativescript-image-cache-it/*.md",
"packages/nativescript-image-cache-it/index.d.ts",
+ "packages/nativescript-image-cache-it/nativescript.config.ts",
"LICENSE",
{
"glob": "**/*",
diff --git a/packages/nativescript-image-cache-it/src-native/android/.idea/AndroidProjectSystem.xml b/packages/nativescript-image-cache-it/src-native/android/.idea/AndroidProjectSystem.xml
new file mode 100644
index 00000000..4a53bee8
--- /dev/null
+++ b/packages/nativescript-image-cache-it/src-native/android/.idea/AndroidProjectSystem.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/nativescript-image-cache-it/src-native/android/.idea/deviceManager.xml b/packages/nativescript-image-cache-it/src-native/android/.idea/deviceManager.xml
new file mode 100644
index 00000000..91f95584
--- /dev/null
+++ b/packages/nativescript-image-cache-it/src-native/android/.idea/deviceManager.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/nativescript-image-cache-it/src-native/android/.idea/misc.xml b/packages/nativescript-image-cache-it/src-native/android/.idea/misc.xml
index f9887857..74dd639e 100644
--- a/packages/nativescript-image-cache-it/src-native/android/.idea/misc.xml
+++ b/packages/nativescript-image-cache-it/src-native/android/.idea/misc.xml
@@ -1,5 +1,6 @@
+
diff --git a/packages/nativescript-image-cache-it/src-native/android/app/build.gradle b/packages/nativescript-image-cache-it/src-native/android/app/build.gradle
index ffe2a11f..b1529214 100644
--- a/packages/nativescript-image-cache-it/src-native/android/app/build.gradle
+++ b/packages/nativescript-image-cache-it/src-native/android/app/build.gradle
@@ -3,11 +3,11 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
- compileSdk 34
+ compileSdk 35
defaultConfig {
applicationId "com.github.triniwiz.imagedemo"
minSdkVersion 21
- targetSdk 34
+ targetSdk 35
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -41,15 +41,15 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
- implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.0-rc01'
+ implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.5'
implementation 'jp.wasabeef:glide-transformations:4.3.0'
- implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'
- implementation 'com.github.bumptech.glide:glide:5.0.0-rc01'
- kapt 'com.github.bumptech.glide:compiler:5.0.0-rc01'
+ implementation 'com.github.triniwiz:android-gpuimage:9a33c87c1f'
+ implementation 'com.github.bumptech.glide:glide:5.0.5'
+ kapt 'com.github.bumptech.glide:compiler:5.0.5'
kapt 'androidx.annotation:annotation:1.9.1'
- implementation 'androidx.recyclerview:recyclerview:1.3.1'
+ implementation 'androidx.recyclerview:recyclerview:1.4.0'
implementation project(path: ':imagecacheit')
- implementation "androidx.core:core-ktx:1.13.1"
+ implementation "androidx.core:core-ktx:1.13.0"
}
repositories {
mavenCentral()
diff --git a/packages/nativescript-image-cache-it/src-native/android/build.gradle b/packages/nativescript-image-cache-it/src-native/android/build.gradle
index 8b85ae41..28c9bec4 100644
--- a/packages/nativescript-image-cache-it/src-native/android/build.gradle
+++ b/packages/nativescript-image-cache-it/src-native/android/build.gradle
@@ -19,6 +19,7 @@ allprojects {
repositories {
google()
mavenCentral()
+ maven { url 'https://jitpack.io' }
}
}
diff --git a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/build.gradle b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/build.gradle
index d265a00c..50c57b2a 100644
--- a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/build.gradle
+++ b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/build.gradle
@@ -5,11 +5,11 @@ plugins {
}
android {
- compileSdk 33
+ compileSdk 35
defaultConfig {
- minSdkVersion 17
- targetSdkVersion 33
+ minSdkVersion 21
+ targetSdkVersion 35
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
@@ -34,6 +34,7 @@ android {
repositories {
mavenCentral()
google()
+ maven { url 'https://jitpack.io' }
}
dependencies {
@@ -44,11 +45,11 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
- implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.0-rc01'
- implementation 'jp.wasabeef:glide-transformations:4.3.0'
- implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'
- implementation 'com.github.bumptech.glide:glide:5.0.0-rc01'
- kapt 'com.github.bumptech.glide:compiler:5.0.0-rc01'
+ implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.5'
+ implementation 'com.github.triniwiz:glide-transformations:8c057db924'
+ implementation 'com.github.triniwiz:android-gpuimage:9a33c87c1f'
+ implementation 'com.github.bumptech.glide:glide:5.0.5'
+ kapt 'com.github.bumptech.glide:compiler:5.0.5'
kapt 'androidx.annotation:annotation:1.9.1'
implementation "androidx.core:core-ktx:1.13.1"
}
diff --git a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageCache.kt b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageCache.kt
index cc20122f..f7d6fcc6 100644
--- a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageCache.kt
+++ b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageCache.kt
@@ -14,6 +14,7 @@ import com.bumptech.glide.request.RequestListener
import com.bumptech.glide.request.RequestOptions
import com.bumptech.glide.request.target.Target
import java.io.File
+import java.lang.ref.WeakReference
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
@@ -29,11 +30,11 @@ class ImageCache {
private var executorService: ExecutorService? = null
@JvmStatic
- private var mContext: Context? = null
+ private var mContext: WeakReference? = null
@JvmStatic
fun init(context: Context?) {
- if (context != mContext) {
+ if (context != mContext?.get()) {
manager = null
}
if (manager == null) {
@@ -46,7 +47,7 @@ class ImageCache {
if (executorService == null) {
executorService = Executors.newCachedThreadPool()
}
- mContext = context
+ mContext = WeakReference(context)
}
@SuppressLint("CheckResult")
diff --git a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageView.kt b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageView.kt
index c8a91a12..ea26b68e 100644
--- a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageView.kt
+++ b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/ImageView.kt
@@ -52,6 +52,7 @@ import kotlin.math.floor
import kotlin.math.max
import kotlin.math.min
import kotlin.math.roundToInt
+import androidx.core.graphics.drawable.toDrawable
/**
* Created by triniwiz on 4/6/20
@@ -951,7 +952,7 @@ class ImageView : AppCompatImageView, ImageViewProgressListener {
}
override fun onResourceReady(
- resource: Drawable,
+ resource: Drawable?,
model: Any,
target: Target?,
dataSource: DataSource,
@@ -988,7 +989,7 @@ class ImageView : AppCompatImageView, ImageViewProgressListener {
if (resource is BitmapDrawable) {
if (overlayColor != 0) {
val bitmapResource = drawOverlay(resource.bitmap)
- res = BitmapDrawable(resources, bitmapResource)
+ res = bitmapResource.toDrawable(resources)
}
}
res?.let {
@@ -1004,8 +1005,8 @@ class ImageView : AppCompatImageView, ImageViewProgressListener {
var bmWidth: Int
var bmHeight: Int
try {
- bmWidth = resource.intrinsicWidth
- bmHeight = resource.intrinsicHeight
+ bmWidth = resource?.intrinsicWidth ?: 0
+ bmHeight = resource?.intrinsicHeight ?: 0
if (bmWidth <= 0) {
bmWidth = width
}
@@ -1017,7 +1018,7 @@ class ImageView : AppCompatImageView, ImageViewProgressListener {
} else {
bitmap = pool[bmWidth, bmHeight, Bitmap.Config.ARGB_8888]
val canvas = Canvas(bitmap)
- resource.draw(canvas)
+ resource?.draw(canvas)
}
handleImageFilters(gpuImage)
} catch (outOfMemoryError: OutOfMemoryError) {
@@ -1034,10 +1035,10 @@ class ImageView : AppCompatImageView, ImageViewProgressListener {
val handler = Handler(Looper.getMainLooper())
try {
val filteredImage = gpuImage.getBitmapWithFilterApplied(bitmap)
- var res = BitmapDrawable(resources, filteredImage)
+ var res = filteredImage.toDrawable(resources)
if (overlayColor != 0) {
val bitmapResource = drawOverlay(filteredImage)
- res = BitmapDrawable(resources, bitmapResource)
+ res = bitmapResource.toDrawable(resources)
}
thumbConfig.createThumb(res)
sendLoadEvent(res)
diff --git a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/MyAppGlideModule.kt b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/MyAppGlideModule.kt
index 7571ac52..044fb9ce 100644
--- a/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/MyAppGlideModule.kt
+++ b/packages/nativescript-image-cache-it/src-native/android/imagecacheit/src/main/java/com/github/triniwiz/imagecacheit/MyAppGlideModule.kt
@@ -109,7 +109,7 @@ class MyAppGlideModule : AppGlideModule() {
}
- private class OkHttpProgressResponseBody internal constructor(
+ private class OkHttpProgressResponseBody(
private val key: String,
private val responseBody: ResponseBody?,
private val progressListener: ResponseProgressListener
@@ -125,7 +125,7 @@ class MyAppGlideModule : AppGlideModule() {
override fun source(): BufferedSource {
if (bufferedSource == null) {
- bufferedSource = responseBody!!.source().buffer
+ bufferedSource = source(responseBody!!.source()).buffer()
}
return bufferedSource!!
}
diff --git a/packages/nativescript-image-zoom/index.android.ts b/packages/nativescript-image-zoom/index.android.ts
index 731d0682..855232c3 100644
--- a/packages/nativescript-image-zoom/index.android.ts
+++ b/packages/nativescript-image-zoom/index.android.ts
@@ -11,19 +11,20 @@ export class ImageZoom extends ImageZoomBase {
}
public createNativeView() {
- return new com.github.chrisbanes.photoview.PhotoView(this._context);
+ return new com.otaliastudios.zoom.ZoomImageView(this._context);
}
[minZoomScaleProperty.setNative](scale: number) {
- if (this.nativeView && isNumber(scale)) {
- this.nativeView.setMinimumScale(scale);
- this.nativeView.setScaleLevels(Number(scale), Number(0.5833333333333334 * this.maxZoom), Number(this.maxZoom));
+ const nativeView = this.nativeView as com.otaliastudios.zoom.ZoomImageView;
+ if (nativeView && isNumber(scale)) {
+ nativeView.setMinZoom(scale);
}
}
[maxZoomScaleProperty.setNative](scale: number) {
- if (this.nativeView && isNumber(scale)) {
- this.nativeView.setScaleLevels(Number(this.minZoom), Number(0.5833333333333334 * scale), Number(scale));
+ const nativeView = this.nativeView as com.otaliastudios.zoom.ZoomImageView;
+ if (nativeView && isNumber(scale)) {
+ nativeView.setMaxZoom(scale);
}
}
@@ -44,7 +45,6 @@ export class ImageZoom extends ImageZoomBase {
}
public initNativeView() {
- this.nativeView.setScaleLevels(Number(this.minZoom), Number(0.5833333333333334 * this.maxZoom), Number(this.maxZoom));
this.manager = com.bumptech.glide.Glide.with(this._context);
if (this.src) {
diff --git a/packages/nativescript-image-zoom/platforms/android/include.gradle b/packages/nativescript-image-zoom/platforms/android/include.gradle
index 47dd259a..9d5bb277 100644
--- a/packages/nativescript-image-zoom/platforms/android/include.gradle
+++ b/packages/nativescript-image-zoom/platforms/android/include.gradle
@@ -1,20 +1,14 @@
-allprojects {
- repositories {
- maven { url 'https://jitpack.io' }
- }
-}
-
repositories {
mavenCentral()
google()
}
dependencies {
- implementation 'com.github.chrisbanes:PhotoView:2.3.0'
+ implementation 'com.otaliastudios:zoomlayout:1.9.0'
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
- implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.0-rc01'
- implementation 'jp.wasabeef:glide-transformations:4.3.0'
- implementation 'com.github.bumptech.glide:glide:5.0.0-rc01'
- annotationProcessor 'com.github.bumptech.glide:compiler:5.0.0-rc01'
+ implementation 'com.github.bumptech.glide:okhttp3-integration:5.0.5'
+ implementation 'com.github.triniwiz:glide-transformations:8c057db924'
+ implementation 'com.github.bumptech.glide:glide:5.0.5'
+ annotationProcessor 'com.github.bumptech.glide:compiler:5.0.5'
annotationProcessor 'androidx.annotation:annotation:1.9.1'
}
\ No newline at end of file
diff --git a/packages/nativescript-image-zoom/typings/android.d.ts b/packages/nativescript-image-zoom/typings/android.d.ts
index cbf7858b..6cd257f7 100644
--- a/packages/nativescript-image-zoom/typings/android.d.ts
+++ b/packages/nativescript-image-zoom/typings/android.d.ts
@@ -1,5 +1,3 @@
-///
-
declare module com {
export module bumptech {
export module glide {
@@ -15,7 +13,7 @@ declare module com {
declare module com {
export module bumptech {
export module glide {
- export class GenericTransitionOptions extends com.bumptech.glide.TransitionOptions,any> {
+ export class GenericTransitionOptions extends com.bumptech.glide.TransitionOptions, any> {
public static class: java.lang.Class>;
public static with(param0: number): com.bumptech.glide.GenericTransitionOptions;
public static withNoTransition(): com.bumptech.glide.GenericTransitionOptions;
@@ -66,9 +64,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.Glide$RequestOptionsFactory interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- build(): com.bumptech.glide.request.RequestOptions;
- });
+ public constructor(implementation: { build(): com.bumptech.glide.request.RequestOptions });
public constructor();
public build(): com.bumptech.glide.request.RequestOptions;
}
@@ -85,7 +81,7 @@ declare module com {
public addGlobalRequestListener(param0: com.bumptech.glide.request.RequestListener): com.bumptech.glide.GlideBuilder;
public setDefaultRequestOptions(param0: com.bumptech.glide.Glide.RequestOptionsFactory): com.bumptech.glide.GlideBuilder;
public setDiskCacheExecutor(param0: com.bumptech.glide.load.engine.executor.GlideExecutor): com.bumptech.glide.GlideBuilder;
- public setDefaultTransitionOptions(param0: java.lang.Class, param1: com.bumptech.glide.TransitionOptions): com.bumptech.glide.GlideBuilder;
+ public setDefaultTransitionOptions(param0: java.lang.Class, param1: com.bumptech.glide.TransitionOptions): com.bumptech.glide.GlideBuilder;
public setConnectivityMonitorFactory(param0: com.bumptech.glide.manager.ConnectivityMonitorFactory): com.bumptech.glide.GlideBuilder;
public setImageDecoderEnabledForBitmaps(param0: boolean): com.bumptech.glide.GlideBuilder;
public setArrayPool(param0: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): com.bumptech.glide.GlideBuilder;
@@ -116,13 +112,13 @@ declare module com {
public getEngine(): com.bumptech.glide.load.engine.Engine;
public getLogLevel(): number;
public getDefaultRequestListeners(): java.util.List>;
- public constructor(param0: globalAndroid.content.Context, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool, param2: com.bumptech.glide.Registry, param3: com.bumptech.glide.request.target.ImageViewTargetFactory, param4: com.bumptech.glide.Glide.RequestOptionsFactory, param5: java.util.Map,com.bumptech.glide.TransitionOptions>, param6: java.util.List>, param7: com.bumptech.glide.load.engine.Engine, param8: boolean, param9: number);
+ public constructor(param0: globalAndroid.content.Context, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool, param2: com.bumptech.glide.Registry, param3: com.bumptech.glide.request.target.ImageViewTargetFactory, param4: com.bumptech.glide.Glide.RequestOptionsFactory, param5: java.util.Map, com.bumptech.glide.TransitionOptions>, param6: java.util.List>, param7: com.bumptech.glide.load.engine.Engine, param8: boolean, param9: number);
public getRegistry(): com.bumptech.glide.Registry;
public getDefaultRequestOptions(): com.bumptech.glide.request.RequestOptions;
- public buildImageViewTarget(param0: globalAndroid.widget.ImageView, param1: java.lang.Class): com.bumptech.glide.request.target.ViewTarget;
+ public buildImageViewTarget(param0: globalAndroid.widget.ImageView, param1: java.lang.Class): com.bumptech.glide.request.target.ViewTarget;
public getArrayPool(): com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool;
public isLoggingRequestOriginsEnabled(): boolean;
- public getDefaultTransitionOptions(param0: java.lang.Class): com.bumptech.glide.TransitionOptions;
+ public getDefaultTransitionOptions(param0: java.lang.Class): com.bumptech.glide.TransitionOptions;
}
}
}
@@ -131,34 +127,29 @@ declare module com {
declare module com {
export module bumptech {
export module glide {
- export class ListPreloader extends globalAndroid.widget.AbsListView.OnScrollListener {
+ export class ListPreloader extends globalAndroid.widget.AbsListView.OnScrollListener {
public static class: java.lang.Class>;
public constructor(param0: com.bumptech.glide.RequestManager, param1: com.bumptech.glide.ListPreloader.PreloadModelProvider, param2: com.bumptech.glide.ListPreloader.PreloadSizeProvider, param3: number);
public onScrollStateChanged(param0: globalAndroid.widget.AbsListView, param1: number): void;
public onScroll(param0: globalAndroid.widget.AbsListView, param1: number, param2: number, param3: number): void;
}
export module ListPreloader {
- export class PreloadModelProvider extends java.lang.Object {
+ export class PreloadModelProvider extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.ListPreloader$PreloadModelProvider interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getPreloadItems(param0: number): java.util.List;
- getPreloadRequestBuilder(param0: U): com.bumptech.glide.RequestBuilder;
- });
+ public constructor(implementation: { getPreloadItems(param0: number): java.util.List; getPreloadRequestBuilder(param0: U): com.bumptech.glide.RequestBuilder });
public constructor();
public getPreloadItems(param0: number): java.util.List;
public getPreloadRequestBuilder(param0: U): com.bumptech.glide.RequestBuilder;
}
- export class PreloadSizeProvider extends java.lang.Object {
+ export class PreloadSizeProvider extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.ListPreloader$PreloadSizeProvider interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getPreloadSize(param0: T, param1: number, param2: number): native.Array;
- });
+ public constructor(implementation: { getPreloadSize(param0: T, param1: number, param2: number): native.Array });
public constructor();
public getPreloadSize(param0: T, param1: number, param2: number): native.Array;
}
@@ -204,22 +195,12 @@ declare module com {
declare module com {
export module bumptech {
export module glide {
- export class ModelTypes extends java.lang.Object {
+ export class ModelTypes extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.ModelTypes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- load(param0: globalAndroid.graphics.Bitmap): T;
- load(param0: globalAndroid.graphics.drawable.Drawable): T;
- load(param0: string): T;
- load(param0: globalAndroid.net.Uri): T;
- load(param0: java.io.File): T;
- load(param0: java.lang.Integer): T;
- load(param0: java.net.URL): T;
- load(param0: native.Array): T;
- load(param0: any): T;
- });
+ public constructor(implementation: { load(param0: globalAndroid.graphics.Bitmap): T; load(param0: globalAndroid.graphics.drawable.Drawable): T; load(param0: string): T; load(param0: globalAndroid.net.Uri): T; load(param0: java.io.File): T; load(param0: java.lang.Integer): T; load(param0: java.net.URL): T; load(param0: native.Array): T; load(param0: any): T });
public constructor();
public load(param0: globalAndroid.graphics.drawable.Drawable): T;
public load(param0: string): T;
@@ -263,19 +244,19 @@ declare module com {
public getRegisteredResourceClasses(param0: java.lang.Class, param1: java.lang.Class, param2: java.lang.Class): java.util.List;
/** @deprecated */
public register(param0: java.lang.Class, param1: com.bumptech.glide.load.ResourceEncoder): com.bumptech.glide.Registry;
- public append(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.model.ModelLoaderFactory): com.bumptech.glide.Registry;
- public replace(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.model.ModelLoaderFactory): com.bumptech.glide.Registry;
+ public append(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.model.ModelLoaderFactory): com.bumptech.glide.Registry;
+ public replace(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.model.ModelLoaderFactory): com.bumptech.glide.Registry;
public isResourceEncoderAvailable(param0: com.bumptech.glide.load.engine.Resource): boolean;
public prepend(param0: java.lang.Class, param1: com.bumptech.glide.load.Encoder): com.bumptech.glide.Registry;
- public append(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
+ public append(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
public constructor();
- public append(param0: string, param1: java.lang.Class, param2: java.lang.Class, param3: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
- public prepend(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
- public prepend(param0: string, param1: java.lang.Class, param2: java.lang.Class, param3: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
+ public append(param0: string, param1: java.lang.Class, param2: java.lang.Class, param3: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
+ public prepend(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
+ public prepend(param0: string, param1: java.lang.Class, param2: java.lang.Class, param3: com.bumptech.glide.load.ResourceDecoder): com.bumptech.glide.Registry;
public getImageHeaderParsers(): java.util.List;
- public prepend(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.model.ModelLoaderFactory): com.bumptech.glide.Registry;
+ public prepend(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.model.ModelLoaderFactory): com.bumptech.glide.Registry;
public getSourceEncoder(param0: any): com.bumptech.glide.load.Encoder;
- public register(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.resource.transcode.ResourceTranscoder): com.bumptech.glide.Registry;
+ public register(param0: java.lang.Class, param1: java.lang.Class, param2: com.bumptech.glide.load.resource.transcode.ResourceTranscoder): com.bumptech.glide.Registry;
/** @deprecated */
public register(param0: java.lang.Class, param1: com.bumptech.glide.load.Encoder): com.bumptech.glide.Registry;
public prepend(param0: java.lang.Class, param1: com.bumptech.glide.load.ResourceEncoder): com.bumptech.glide.Registry;
@@ -283,7 +264,7 @@ declare module com {
public getResultEncoder(param0: com.bumptech.glide.load.engine.Resource): com.bumptech.glide.load.ResourceEncoder;
public getRewinder(param0: any): com.bumptech.glide.load.data.DataRewinder;
public register(param0: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.Registry;
- public getLoadPath(param0: java.lang.Class, param1: java.lang.Class, param2: java.lang.Class): com.bumptech.glide.load.engine.LoadPath;
+ public getLoadPath(param0: java.lang.Class, param1: java.lang.Class, param2: java.lang.Class): com.bumptech.glide.load.engine.LoadPath;
public getModelLoaders(param0: any): java.util.List;
public setResourceDecoderBucketPriorityList(param0: java.util.List): com.bumptech.glide.Registry;
public register(param0: com.bumptech.glide.load.data.DataRewinder.Factory): com.bumptech.glide.Registry;
@@ -324,7 +305,7 @@ declare module com {
declare module com {
export module bumptech {
export module glide {
- export class RequestBuilder extends com.bumptech.glide.request.BaseRequestOptions> {
+ export class RequestBuilder extends com.bumptech.glide.request.BaseRequestOptions> {
public static class: java.lang.Class>;
public static DOWNLOAD_ONLY_OPTIONS: com.bumptech.glide.request.RequestOptions;
public load(param0: globalAndroid.graphics.drawable.Drawable): com.bumptech.glide.RequestBuilder;
@@ -348,7 +329,7 @@ declare module com {
public thumbnail(param0: number): com.bumptech.glide.RequestBuilder;
public clone(): com.bumptech.glide.RequestBuilder;
public load(param0: java.io.File): any;
- public into(param0: globalAndroid.widget.ImageView): com.bumptech.glide.request.target.ViewTarget;
+ public into(param0: globalAndroid.widget.ImageView): com.bumptech.glide.request.target.ViewTarget;
public apply(param0: com.bumptech.glide.request.BaseRequestOptions): com.bumptech.glide.RequestBuilder;
public load(param0: globalAndroid.graphics.drawable.Drawable): any;
public into(param0: com.bumptech.glide.request.target.Target): com.bumptech.glide.request.target.Target;
@@ -374,7 +355,7 @@ declare module com {
public load(param0: java.net.URL): any;
public apply(param0: com.bumptech.glide.request.BaseRequestOptions): any;
public load(param0: java.io.File): com.bumptech.glide.RequestBuilder;
- public transition(param0: com.bumptech.glide.TransitionOptions): com.bumptech.glide.RequestBuilder;
+ public transition(param0: com.bumptech.glide.TransitionOptions): com.bumptech.glide.RequestBuilder;
public load(param0: globalAndroid.net.Uri): any;
}
}
@@ -439,7 +420,7 @@ declare module com {
public load(param0: globalAndroid.net.Uri): any;
}
export module RequestManager {
- export class ClearTarget extends com.bumptech.glide.request.target.CustomViewTarget {
+ export class ClearTarget extends com.bumptech.glide.request.target.CustomViewTarget {
public static class: java.lang.Class;
public onResourceCleared(param0: globalAndroid.graphics.drawable.Drawable): void;
public getRequest(): com.bumptech.glide.request.Request;
@@ -463,8 +444,8 @@ declare module com {
declare module com {
export module bumptech {
export module glide {
- export abstract class TransitionOptions extends java.lang.Cloneable {
- public static class: java.lang.Class>;
+ export abstract class TransitionOptions extends java.lang.Cloneable {
+ public static class: java.lang.Class>;
public clone(): any;
public dontTransition(): any;
public transition(param0: number): any;
@@ -533,14 +514,12 @@ declare module com {
export module bumptech {
export module glide {
export module load {
- export class Encoder extends java.lang.Object {
+ export class Encoder extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.Encoder interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- encode(param0: T, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean;
- });
+ public constructor(implementation: { encode(param0: T, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean });
public constructor();
public encode(param0: T, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean;
}
@@ -576,12 +555,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.ImageHeaderParser interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getType(param0: java.io.InputStream): com.bumptech.glide.load.ImageHeaderParser.ImageType;
- getType(param0: java.nio.ByteBuffer): com.bumptech.glide.load.ImageHeaderParser.ImageType;
- getOrientation(param0: java.io.InputStream, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
- getOrientation(param0: java.nio.ByteBuffer, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
- });
+ public constructor(implementation: { getType(param0: java.io.InputStream): com.bumptech.glide.load.ImageHeaderParser.ImageType; getType(param0: java.nio.ByteBuffer): com.bumptech.glide.load.ImageHeaderParser.ImageType; getOrientation(param0: java.io.InputStream, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number; getOrientation(param0: java.nio.ByteBuffer, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number });
public constructor();
public static UNKNOWN_ORIENTATION: number;
public getOrientation(param0: java.io.InputStream, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
@@ -628,9 +602,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.ImageHeaderParserUtils$OrientationReader interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getOrientation(param0: com.bumptech.glide.load.ImageHeaderParser): number;
- });
+ public constructor(implementation: { getOrientation(param0: com.bumptech.glide.load.ImageHeaderParser): number });
public constructor();
public getOrientation(param0: com.bumptech.glide.load.ImageHeaderParser): number;
}
@@ -639,9 +611,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.ImageHeaderParserUtils$TypeReader interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getType(param0: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.load.ImageHeaderParser.ImageType;
- });
+ public constructor(implementation: { getType(param0: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.load.ImageHeaderParser.ImageType });
public constructor();
public getType(param0: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.load.ImageHeaderParser.ImageType;
}
@@ -660,12 +630,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.Key interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- updateDiskCacheKey(param0: java.security.MessageDigest): void;
- equals(param0: any): boolean;
- hashCode(): number;
- (): void;
- });
+ public constructor(implementation: { updateDiskCacheKey(param0: java.security.MessageDigest): void; equals(param0: any): boolean; hashCode(): number; (): void });
public constructor();
public static CHARSET: java.nio.charset.Charset;
public static STRING_CHARSET_NAME: string;
@@ -682,7 +647,7 @@ declare module com {
export module bumptech {
export module glide {
export module load {
- export class MultiTransformation extends com.bumptech.glide.load.Transformation {
+ export class MultiTransformation extends com.bumptech.glide.load.Transformation {
public static class: java.lang.Class>;
public equals(param0: any): boolean;
public constructor(param0: java.util.Collection);
@@ -700,7 +665,7 @@ declare module com {
export module bumptech {
export module glide {
export module load {
- export class Option extends java.lang.Object {
+ export class Option extends java.lang.Object {
public static class: java.lang.Class>;
public static disk(param0: string, param1: any, param2: com.bumptech.glide.load.Option.CacheKeyUpdater): com.bumptech.glide.load.Option;
public equals(param0: any): boolean;
@@ -713,14 +678,12 @@ declare module com {
public getDefaultValue(): T;
}
export module Option {
- export class CacheKeyUpdater extends java.lang.Object {
+ export class CacheKeyUpdater extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.Option$CacheKeyUpdater interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- update(param0: native.Array, param1: T, param2: java.security.MessageDigest): void;
- });
+ public constructor(implementation: { update(param0: native.Array, param1: T, param2: java.security.MessageDigest): void });
public constructor();
public update(param0: native.Array, param1: T, param2: java.security.MessageDigest): void;
}
@@ -770,15 +733,12 @@ declare module com {
export module bumptech {
export module glide {
export module load {
- export class ResourceDecoder extends java.lang.Object {
- public static class: java.lang.Class>;
+ export class ResourceDecoder extends java.lang.Object {
+ public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.ResourceDecoder interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- handles(param0: T, param1: com.bumptech.glide.load.Options): boolean;
- decode(param0: T, param1: number, param2: number, param3: com.bumptech.glide.load.Options): com.bumptech.glide.load.engine.Resource;
- });
+ public constructor(implementation: { handles(param0: T, param1: com.bumptech.glide.load.Options): boolean; decode(param0: T, param1: number, param2: number, param3: com.bumptech.glide.load.Options): com.bumptech.glide.load.engine.Resource });
public constructor();
public decode(param0: T, param1: number, param2: number, param3: com.bumptech.glide.load.Options): com.bumptech.glide.load.engine.Resource;
public handles(param0: T, param1: com.bumptech.glide.load.Options): boolean;
@@ -792,15 +752,12 @@ declare module com {
export module bumptech {
export module glide {
export module load {
- export class ResourceEncoder extends com.bumptech.glide.load.Encoder> {
+ export class ResourceEncoder extends com.bumptech.glide.load.Encoder> {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.ResourceEncoder interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getEncodeStrategy(param0: com.bumptech.glide.load.Options): com.bumptech.glide.load.EncodeStrategy;
- encode(param0: any, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean;
- });
+ public constructor(implementation: { getEncodeStrategy(param0: com.bumptech.glide.load.Options): com.bumptech.glide.load.EncodeStrategy; encode(param0: any, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean });
public constructor();
public encode(param0: any, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean;
public getEncodeStrategy(param0: com.bumptech.glide.load.Options): com.bumptech.glide.load.EncodeStrategy;
@@ -814,18 +771,12 @@ declare module com {
export module bumptech {
export module glide {
export module load {
- export class Transformation extends com.bumptech.glide.load.Key {
+ export class Transformation extends com.bumptech.glide.load.Key {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.Transformation interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- transform(param0: globalAndroid.content.Context, param1: com.bumptech.glide.load.engine.Resource, param2: number, param3: number): com.bumptech.glide.load.engine.Resource;
- updateDiskCacheKey(param0: java.security.MessageDigest): void;
- equals(param0: any): boolean;
- hashCode(): number;
- (): void;
- });
+ public constructor(implementation: { transform(param0: globalAndroid.content.Context, param1: com.bumptech.glide.load.engine.Resource, param2: number, param3: number): com.bumptech.glide.load.engine.Resource; updateDiskCacheKey(param0: java.security.MessageDigest): void; equals(param0: any): boolean; hashCode(): number; (): void });
public constructor();
public static CHARSET: java.nio.charset.Charset;
public static STRING_CHARSET_NAME: string;
@@ -869,7 +820,7 @@ declare module com {
export module glide {
export module load {
export module data {
- export abstract class AssetPathFetcher extends com.bumptech.glide.load.data.DataFetcher {
+ export abstract class AssetPathFetcher extends com.bumptech.glide.load.data.DataFetcher {
public static class: java.lang.Class>;
public getDataSource(): com.bumptech.glide.load.DataSource;
public constructor(param0: globalAndroid.content.res.AssetManager, param1: string);
@@ -911,18 +862,12 @@ declare module com {
export module glide {
export module load {
export module data {
- export class DataFetcher extends java.lang.Object {
+ export class DataFetcher extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.data.DataFetcher interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- loadData(param0: com.bumptech.glide.Priority, param1: com.bumptech.glide.load.data.DataFetcher.DataCallback): void;
- cleanup(): void;
- cancel(): void;
- getDataClass(): java.lang.Class;
- getDataSource(): com.bumptech.glide.load.DataSource;
- });
+ public constructor(implementation: { loadData(param0: com.bumptech.glide.Priority, param1: com.bumptech.glide.load.data.DataFetcher.DataCallback): void; cleanup(): void; cancel(): void; getDataClass(): java.lang.Class; getDataSource(): com.bumptech.glide.load.DataSource });
public constructor();
public getDataSource(): com.bumptech.glide.load.DataSource;
public loadData(param0: com.bumptech.glide.Priority, param1: com.bumptech.glide.load.data.DataFetcher.DataCallback): void;
@@ -931,15 +876,12 @@ declare module com {
public getDataClass(): java.lang.Class;
}
export module DataFetcher {
- export class DataCallback extends java.lang.Object {
+ export class DataCallback extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.data.DataFetcher$DataCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- onDataReady(param0: T): void;
- onLoadFailed(param0: java.lang.Exception): void;
- });
+ public constructor(implementation: { onDataReady(param0: T): void; onLoadFailed(param0: java.lang.Exception): void });
public constructor();
public onLoadFailed(param0: java.lang.Exception): void;
public onDataReady(param0: T): void;
@@ -956,29 +898,23 @@ declare module com {
export module glide {
export module load {
export module data {
- export class DataRewinder extends java.lang.Object {
+ export class DataRewinder extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.data.DataRewinder interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- rewindAndGet(): T;
- cleanup(): void;
- });
+ public constructor(implementation: { rewindAndGet(): T; cleanup(): void });
public constructor();
public rewindAndGet(): T;
public cleanup(): void;
}
export module DataRewinder {
- export class Factory extends java.lang.Object {
+ export class Factory extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.data.DataRewinder$Factory interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- build(param0: T): com.bumptech.glide.load.data.DataRewinder;
- getDataClass(): java.lang.Class;
- });
+ public constructor(implementation: { build(param0: T): com.bumptech.glide.load.data.DataRewinder; getDataClass(): java.lang.Class });
public constructor();
public build(param0: T): com.bumptech.glide.load.data.DataRewinder;
public getDataClass(): java.lang.Class;
@@ -1110,9 +1046,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.data.HttpUrlFetcher$HttpUrlConnectionFactory interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- build(param0: java.net.URL): java.net.HttpURLConnection;
- });
+ public constructor(implementation: { build(param0: java.net.URL): java.net.HttpURLConnection });
public constructor();
public build(param0: java.net.URL): java.net.HttpURLConnection;
}
@@ -1157,7 +1091,7 @@ declare module com {
export module glide {
export module load {
export module data {
- export abstract class LocalUriFetcher extends com.bumptech.glide.load.data.DataFetcher {
+ export abstract class LocalUriFetcher extends com.bumptech.glide.load.data.DataFetcher {
public static class: java.lang.Class>;
public getDataSource(): com.bumptech.glide.load.DataSource;
public loadData(param0: com.bumptech.glide.Priority, param1: com.bumptech.glide.load.data.DataFetcher.DataCallback): void;
@@ -1340,9 +1274,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.data.mediastore.ThumbnailQuery interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- query(param0: globalAndroid.net.Uri): globalAndroid.database.Cursor;
- });
+ public constructor(implementation: { query(param0: globalAndroid.net.Uri): globalAndroid.database.Cursor });
public constructor();
public query(param0: globalAndroid.net.Uri): globalAndroid.database.Cursor;
}
@@ -1384,9 +1316,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.engine.ActiveResources$DequeuedResourceCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- onResourceDequeued(): void;
- });
+ public constructor(implementation: { onResourceDequeued(): void });
public constructor();
public onResourceDequeued(): void;
}
@@ -1455,7 +1385,7 @@ declare module com {
export module glide {
export module load {
export module engine {
- export class DataCacheWriter extends com.bumptech.glide.load.engine.cache.DiskCache.Writer {
+ export class DataCacheWriter extends com.bumptech.glide.load.engine.cache.DiskCache.Writer {
public static class: java.lang.Class>;
public write(param0: java.io.File): boolean;
}
@@ -1475,10 +1405,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.engine.DataFetcherGenerator interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- startNext(): boolean;
- cancel(): void;
- });
+ public constructor(implementation: { startNext(): boolean; cancel(): void });
public constructor();
public startNext(): boolean;
public cancel(): void;
@@ -1489,11 +1416,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.engine.DataFetcherGenerator$FetcherReadyCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- reschedule(): void;
- onDataFetcherReady(param0: com.bumptech.glide.load.Key, param1: any, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource, param4: com.bumptech.glide.load.Key): void;
- onDataFetcherFailed(param0: com.bumptech.glide.load.Key, param1: java.lang.Exception, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource): void;
- });
+ public constructor(implementation: { reschedule(): void; onDataFetcherReady(param0: com.bumptech.glide.load.Key, param1: any, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource, param4: com.bumptech.glide.load.Key): void; onDataFetcherFailed(param0: com.bumptech.glide.load.Key, param1: java.lang.Exception, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource): void });
public constructor();
public reschedule(): void;
public onDataFetcherFailed(param0: com.bumptech.glide.load.Key, param1: java.lang.Exception, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource): void;
@@ -1511,7 +1434,7 @@ declare module com {
export module glide {
export module load {
export module engine {
- export class DecodeHelper extends java.lang.Object {
+ export class DecodeHelper extends java.lang.Object {
public static class: java.lang.Class>;
}
}
@@ -1525,7 +1448,7 @@ declare module com {
export module glide {
export module load {
export module engine {
- export class DecodeJob extends java.lang.Object {
+ export class DecodeJob extends java.lang.Object {
public static class: java.lang.Class>;
public run(): void;
public onDataFetcherReady(param0: com.bumptech.glide.load.Key, param1: any, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource, param4: com.bumptech.glide.load.Key): void;
@@ -1536,26 +1459,22 @@ declare module com {
public onDataFetcherFailed(param0: com.bumptech.glide.load.Key, param1: java.lang.Exception, param2: com.bumptech.glide.load.data.DataFetcher, param3: com.bumptech.glide.load.DataSource): void;
}
export module DecodeJob {
- export class Callback extends java.lang.Object {
+ export class Callback extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.engine.DecodeJob$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- onResourceReady(param0: com.bumptech.glide.load.engine.Resource, param1: com.bumptech.glide.load.DataSource): void;
- onLoadFailed(param0: com.bumptech.glide.load.engine.GlideException): void;
- reschedule(param0: com.bumptech.glide.load.engine.DecodeJob): void;
- });
+ public constructor(implementation: { onResourceReady(param0: com.bumptech.glide.load.engine.Resource, param1: com.bumptech.glide.load.DataSource): void; onLoadFailed(param0: com.bumptech.glide.load.engine.GlideException): void; reschedule(param0: com.bumptech.glide.load.engine.DecodeJob): void });
public constructor();
public onResourceReady(param0: com.bumptech.glide.load.engine.Resource, param1: com.bumptech.glide.load.DataSource): void;
public reschedule(param0: com.bumptech.glide.load.engine.DecodeJob): void;
public onLoadFailed(param0: com.bumptech.glide.load.engine.GlideException): void;
}
- export class DecodeCallback extends com.bumptech.glide.load.engine.DecodePath.DecodeCallback {
+ export class DecodeCallback extends com.bumptech.glide.load.engine.DecodePath.DecodeCallback {
public static class: java.lang.Class>;
public onResourceDecoded(param0: com.bumptech.glide.load.engine.Resource): com.bumptech.glide.load.engine.Resource;
}
- export class DeferredEncodeManager extends java.lang.Object {
+ export class DeferredEncodeManager extends java.lang.Object {
public static class: java.lang.Class>;
}
export class DiskCacheProvider {
@@ -1563,9 +1482,7 @@ declare module com {
/**
* Constructs a new instance of the com.bumptech.glide.load.engine.DecodeJob$DiskCacheProvider interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- getDiskCache(): com.bumptech.glide.load.engine.cache.DiskCache;
- });
+ public constructor(implementation: { getDiskCache(): com.bumptech.glide.load.engine.cache.DiskCache });
public constructor();
public getDiskCache(): com.bumptech.glide.load.engine.cache.DiskCache;
}
@@ -1603,21 +1520,19 @@ declare module com {
export module glide {
export module load {
export module engine {
- export class DecodePath extends java.lang.Object {
- public static class: java.lang.Class>;
- public constructor(param0: java.lang.Class, param1: java.lang.Class, param2: java.lang.Class, param3: java.util.List, param4: com.bumptech.glide.load.resource.transcode.ResourceTranscoder, param5: androidx.core.util.Pools.Pool>);
+ export class DecodePath extends java.lang.Object {
+ public static class: java.lang.Class>;
+ public constructor(param0: java.lang.Class, param1: java.lang.Class, param2: java.lang.Class, param3: java.util.List, param4: com.bumptech.glide.load.resource.transcode.ResourceTranscoder, param5: androidx.core.util.Pools.Pool>);
public decode(param0: com.bumptech.glide.load.data.DataRewinder, param1: number, param2: number, param3: com.bumptech.glide.load.Options, param4: com.bumptech.glide.load.engine.DecodePath.DecodeCallback): com.bumptech.glide.load.engine.Resource;
public toString(): string;
}
export module DecodePath {
- export class DecodeCallback extends java.lang.Object {
+ export class DecodeCallback extends java.lang.Object {
public static class: java.lang.Class>;
/**
* Constructs a new instance of the com.bumptech.glide.load.engine.DecodePath$DecodeCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
- public constructor(implementation: {
- onResourceDecoded(param0: com.bumptech.glide.load.engine.Resource): com.bumptech.glide.load.engine.Resource;
- });
+ public constructor(implementation: { onResourceDecoded(param0: com.bumptech.glide.load.engine.Resource): com.bumptech.glide.load.engine.Resource });
public constructor();
public onResourceDecoded(param0: com.bumptech.glide.load.engine.Resource): com.bumptech.glide.load.engine.Resource;
}
@@ -1665,7 +1580,27 @@ declare module com {
public onEngineJobCancelled(param0: com.bumptech.glide.load.engine.EngineJob