@icecreamcake/autojs6-dts
Version:
TypeScript Declarations for AutoJs6
852 lines (827 loc) • 495 kB
TypeScript
declare module com {
export module bumptech {
export module glide {
export abstract class GeneratedAppGlideModule extends com.bumptech.glide.module.AppGlideModule {
public static class: java.lang.Class<com.bumptech.glide.GeneratedAppGlideModule>;
public registerComponents(param0: android.content.Context, param1: com.bumptech.glide.Glide, param2: com.bumptech.glide.Registry): void;
public applyOptions(context: android.content.Context, builder: com.bumptech.glide.GlideBuilder): void;
public applyOptions(param0: android.content.Context, param1: com.bumptech.glide.GlideBuilder): void;
public registerComponents(context: android.content.Context, glide: com.bumptech.glide.Glide, registry: com.bumptech.glide.Registry): void;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class GenericTransitionOptions<TranscodeType> extends com.bumptech.glide.TransitionOptions<com.bumptech.glide.GenericTransitionOptions<any>,any> {
public static class: java.lang.Class<com.bumptech.glide.GenericTransitionOptions<any>>;
public static withNoTransition(): com.bumptech.glide.GenericTransitionOptions<any>;
public static with(transitionFactory: com.bumptech.glide.request.transition.TransitionFactory<any>): com.bumptech.glide.GenericTransitionOptions<any>;
public static with(viewAnimationId: number): com.bumptech.glide.GenericTransitionOptions<any>;
public hashCode(): number;
public static with(animator: com.bumptech.glide.request.transition.ViewPropertyTransition.Animator): com.bumptech.glide.GenericTransitionOptions<any>;
public equals(o: any): boolean;
public constructor();
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class Glide extends java.lang.Object implements android.content.ComponentCallbacks2 {
public static class: java.lang.Class<com.bumptech.glide.Glide>;
public static getPhotoCacheDir(context: android.content.Context): java.io.File;
public static enableHardwareBitmaps(): void;
/** @deprecated */
public static with(fragment: android.app.Fragment): com.bumptech.glide.RequestManager;
public getRegistry(): com.bumptech.glide.Registry;
public getArrayPool(): com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool;
public onConfigurationChanged(param0: android.content.res.Configuration): void;
public onTrimMemory(level: number): void;
public static get(context: android.content.Context): com.bumptech.glide.Glide;
/** @deprecated */
public static init(glide: com.bumptech.glide.Glide): void;
public setMemoryCategory(memoryCategory: com.bumptech.glide.MemoryCategory): com.bumptech.glide.MemoryCategory;
public onTrimMemory(param0: number): void;
public static with(fragment: androidx.fragment.app.Fragment): com.bumptech.glide.RequestManager;
public static isInitialized(): boolean;
public trimMemory(level: number): void;
public onLowMemory(): void;
public static with(context: android.content.Context): com.bumptech.glide.RequestManager;
/** @deprecated */
public static with(activity: android.app.Activity): com.bumptech.glide.RequestManager;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public static init(context: android.content.Context, builder: com.bumptech.glide.GlideBuilder): void;
public static with(view: android.view.View): com.bumptech.glide.RequestManager;
public static with(activity: androidx.fragment.app.FragmentActivity): com.bumptech.glide.RequestManager;
public getRequestManagerRetriever(): com.bumptech.glide.manager.RequestManagerRetriever;
public static getPhotoCacheDir(context: android.content.Context, cacheName: string): java.io.File;
public clearDiskCache(): void;
public getBitmapPool(): com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
public preFillBitmapPool(...bitmapAttributeBuilders: com.bumptech.glide.load.engine.prefill.PreFillType.Builder[]): void;
public clearMemory(): void;
public getContext(): android.content.Context;
public static tearDown(): void;
}
export module Glide {
export class RequestOptionsFactory extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.Glide.RequestOptionsFactory>;
/**
* 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();
public build(): com.bumptech.glide.request.RequestOptions;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class GlideBuilder extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.GlideBuilder>;
/** @deprecated */
public setResizeExecutor(service: com.bumptech.glide.load.engine.executor.GlideExecutor): com.bumptech.glide.GlideBuilder;
public setLogLevel(logLevel: number): com.bumptech.glide.GlideBuilder;
public setMemorySizeCalculator(calculator: com.bumptech.glide.load.engine.cache.MemorySizeCalculator): com.bumptech.glide.GlideBuilder;
public addGlobalRequestListener(listener: com.bumptech.glide.request.RequestListener<any>): com.bumptech.glide.GlideBuilder;
public setDiskCache(diskCacheFactory: com.bumptech.glide.load.engine.cache.DiskCache.Factory): com.bumptech.glide.GlideBuilder;
public setLogRequestOrigins(isEnabled: boolean): com.bumptech.glide.GlideBuilder;
/** @deprecated */
public setDisableHardwareBitmapsOnO(disableHardwareBitmapsOnO: boolean): com.bumptech.glide.GlideBuilder;
public setDiskCacheExecutor(service: com.bumptech.glide.load.engine.executor.GlideExecutor): com.bumptech.glide.GlideBuilder;
public constructor();
public setArrayPool(arrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): com.bumptech.glide.GlideBuilder;
public setDefaultRequestOptions(requestOptions: com.bumptech.glide.request.RequestOptions): com.bumptech.glide.GlideBuilder;
public setImageDecoderEnabledForBitmaps(isEnabled: boolean): com.bumptech.glide.GlideBuilder;
public setMemoryCache(memoryCache: com.bumptech.glide.load.engine.cache.MemoryCache): com.bumptech.glide.GlideBuilder;
public setDefaultTransitionOptions(clazz: java.lang.Class<any>, options: com.bumptech.glide.TransitionOptions<any,any>): com.bumptech.glide.GlideBuilder;
public setBitmapPool(bitmapPool: com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool): com.bumptech.glide.GlideBuilder;
public setSourceExecutor(service: com.bumptech.glide.load.engine.executor.GlideExecutor): com.bumptech.glide.GlideBuilder;
public setAnimationExecutor(service: com.bumptech.glide.load.engine.executor.GlideExecutor): com.bumptech.glide.GlideBuilder;
public setConnectivityMonitorFactory(factory: com.bumptech.glide.manager.ConnectivityMonitorFactory): com.bumptech.glide.GlideBuilder;
public setIsActiveResourceRetentionAllowed(isActiveResourceRetentionAllowed: boolean): com.bumptech.glide.GlideBuilder;
public setDefaultRequestOptions(factory: com.bumptech.glide.Glide.RequestOptionsFactory): com.bumptech.glide.GlideBuilder;
public setMemorySizeCalculator(builder: com.bumptech.glide.load.engine.cache.MemorySizeCalculator.Builder): com.bumptech.glide.GlideBuilder;
}
export module GlideBuilder {
export class EnableImageDecoderForBitmaps extends java.lang.Object implements com.bumptech.glide.GlideExperiments.Experiment {
public static class: java.lang.Class<com.bumptech.glide.GlideBuilder.EnableImageDecoderForBitmaps>;
}
export class LogRequestOrigins extends java.lang.Object implements com.bumptech.glide.GlideExperiments.Experiment {
public static class: java.lang.Class<com.bumptech.glide.GlideBuilder.LogRequestOrigins>;
public constructor();
}
export class ManualOverrideHardwareBitmapMaxFdCount extends java.lang.Object implements com.bumptech.glide.GlideExperiments.Experiment {
public static class: java.lang.Class<com.bumptech.glide.GlideBuilder.ManualOverrideHardwareBitmapMaxFdCount>;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class GlideContext extends android.content.ContextWrapper {
public static class: java.lang.Class<com.bumptech.glide.GlideContext>;
public constructor(context: android.content.Context, arrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool, registry: com.bumptech.glide.util.GlideSuppliers.GlideSupplier<com.bumptech.glide.Registry>, imageViewTargetFactory: com.bumptech.glide.request.target.ImageViewTargetFactory, defaultRequestOptionsFactory: com.bumptech.glide.Glide.RequestOptionsFactory, defaultTransitionOptions: java.util.Map<java.lang.Class<any>,com.bumptech.glide.TransitionOptions<any,any>>, defaultRequestListeners: java.util.List<com.bumptech.glide.request.RequestListener<any>>, engine: com.bumptech.glide.load.engine.Engine, experiments: com.bumptech.glide.GlideExperiments, logLevel: number);
public getEngine(): com.bumptech.glide.load.engine.Engine;
public getLogLevel(): number;
public buildImageViewTarget(imageView: android.widget.ImageView, transcodeClass: java.lang.Class<any>): com.bumptech.glide.request.target.ViewTarget<any,any>;
public getDefaultRequestListeners(): java.util.List<com.bumptech.glide.request.RequestListener<any>>;
public getDefaultTransitionOptions(transcodeClass: java.lang.Class<any>): com.bumptech.glide.TransitionOptions<any,any>;
public getRegistry(): com.bumptech.glide.Registry;
public getDefaultRequestOptions(): com.bumptech.glide.request.RequestOptions;
public getArrayPool(): com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool;
public constructor(base: android.content.Context);
public constructor();
public getExperiments(): com.bumptech.glide.GlideExperiments;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class GlideExperiments extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.GlideExperiments>;
public isEnabled(clazz: java.lang.Class<any>): boolean;
}
export module GlideExperiments {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.GlideExperiments.Builder>;
}
export class Experiment extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.GlideExperiments.Experiment>;
/**
* Constructs a new instance of the com.bumptech.glide.GlideExperiments$Experiment interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
});
public constructor();
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class ListPreloader<T> extends android.widget.AbsListView.OnScrollListener {
public static class: java.lang.Class<com.bumptech.glide.ListPreloader<any>>;
public onScrollStateChanged(absListView: android.widget.AbsListView, scrollState: number): void;
public onScroll(param0: android.widget.AbsListView, param1: number, param2: number, param3: number): void;
public constructor(requestManager: com.bumptech.glide.RequestManager, preloadModelProvider: com.bumptech.glide.ListPreloader.PreloadModelProvider<any>, preloadDimensionProvider: com.bumptech.glide.ListPreloader.PreloadSizeProvider<any>, maxPreload: number);
public onScrollStateChanged(param0: android.widget.AbsListView, param1: number): void;
public onScroll(absListView: android.widget.AbsListView, firstVisible: number, visibleCount: number, totalCount: number): void;
}
export module ListPreloader {
export class PreloadModelProvider<U> extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.ListPreloader.PreloadModelProvider<any>>;
/**
* 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<U>;
getPreloadRequestBuilder(param0: U): com.bumptech.glide.RequestBuilder<any>;
});
public constructor();
public getPreloadItems(param0: number): java.util.List<U>;
public getPreloadRequestBuilder(param0: U): com.bumptech.glide.RequestBuilder<any>;
}
export class PreloadSizeProvider<T> extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.ListPreloader.PreloadSizeProvider<any>>;
/**
* 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): number[];
});
public constructor();
public getPreloadSize(param0: T, param1: number, param2: number): number[];
}
export class PreloadTarget extends com.bumptech.glide.request.target.Target<any> {
public static class: java.lang.Class<com.bumptech.glide.ListPreloader.PreloadTarget>;
public onLoadFailed(errorDrawable: android.graphics.drawable.Drawable): void;
public setRequest(param0: com.bumptech.glide.request.Request): void;
public onDestroy(): void;
public getSize(param0: com.bumptech.glide.request.target.SizeReadyCallback): void;
public setRequest(request: com.bumptech.glide.request.Request): void;
public onLoadStarted(param0: android.graphics.drawable.Drawable): void;
public onStart(): void;
public onLoadStarted(placeholder: android.graphics.drawable.Drawable): void;
public getSize(cb: com.bumptech.glide.request.target.SizeReadyCallback): void;
public getRequest(): com.bumptech.glide.request.Request;
public onResourceReady(param0: any, param1: com.bumptech.glide.request.transition.Transition<any>): void;
public onLoadCleared(param0: android.graphics.drawable.Drawable): void;
public removeCallback(param0: com.bumptech.glide.request.target.SizeReadyCallback): void;
public onResourceReady(resource: any, transition: com.bumptech.glide.request.transition.Transition<any>): void;
public onStop(): void;
public removeCallback(cb: com.bumptech.glide.request.target.SizeReadyCallback): void;
public onLoadCleared(placeholder: android.graphics.drawable.Drawable): void;
public onLoadFailed(param0: android.graphics.drawable.Drawable): void;
}
export class PreloadTargetQueue extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.ListPreloader.PreloadTargetQueue>;
public next(width: number, height: number): com.bumptech.glide.ListPreloader.PreloadTarget;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class MemoryCategory {
public static class: java.lang.Class<com.bumptech.glide.MemoryCategory>;
public static LOW: com.bumptech.glide.MemoryCategory;
public static NORMAL: com.bumptech.glide.MemoryCategory;
public static HIGH: com.bumptech.glide.MemoryCategory;
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public getMultiplier(): number;
public static values(): com.bumptech.glide.MemoryCategory[];
public static valueOf(name: string): com.bumptech.glide.MemoryCategory;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class ModelTypes<T> extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.ModelTypes<any>>;
/**
* Constructs a new instance of the com.bumptech.glide.ModelTypes<any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
load(param0: android.graphics.Bitmap): T;
load(param0: android.graphics.drawable.Drawable): T;
load(param0: string): T;
load(param0: android.net.Uri): T;
load(param0: java.io.File): T;
load(param0: java.lang.Integer): T;
load(param0: java.net.URL): T;
load(param0: number[]): T;
load(param0: any): T;
});
public constructor();
public load(param0: string): T;
public load(param0: android.net.Uri): T;
public load(param0: java.io.File): T;
public load(param0: number[]): T;
public load(param0: android.graphics.drawable.Drawable): T;
public load(param0: java.lang.Integer): T;
public load(param0: android.graphics.Bitmap): T;
/** @deprecated */
public load(param0: java.net.URL): T;
public load(param0: any): T;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class Priority {
public static class: java.lang.Class<com.bumptech.glide.Priority>;
public static IMMEDIATE: com.bumptech.glide.Priority;
public static HIGH: com.bumptech.glide.Priority;
public static NORMAL: com.bumptech.glide.Priority;
public static LOW: com.bumptech.glide.Priority;
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public static values(): com.bumptech.glide.Priority[];
public static valueOf(name: string): com.bumptech.glide.Priority;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class Registry extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.Registry>;
public static BUCKET_ANIMATION: string;
public static BUCKET_GIF: string;
public static BUCKET_BITMAP: string;
public static BUCKET_BITMAP_DRAWABLE: string;
public append(resourceClass: java.lang.Class<any>, encoder: com.bumptech.glide.load.ResourceEncoder<any>): com.bumptech.glide.Registry;
/** @deprecated */
public register(resourceClass: java.lang.Class<any>, encoder: com.bumptech.glide.load.ResourceEncoder<any>): com.bumptech.glide.Registry;
public isResourceEncoderAvailable(resource: com.bumptech.glide.load.engine.Resource<any>): boolean;
public prepend(resourceClass: java.lang.Class<any>, encoder: com.bumptech.glide.load.ResourceEncoder<any>): com.bumptech.glide.Registry;
public constructor();
public prepend(dataClass: java.lang.Class<any>, resourceClass: java.lang.Class<any>, decoder: com.bumptech.glide.load.ResourceDecoder<any,any>): com.bumptech.glide.Registry;
/** @deprecated */
public register(dataClass: java.lang.Class<any>, encoder: com.bumptech.glide.load.Encoder<any>): com.bumptech.glide.Registry;
public getImageHeaderParsers(): java.util.List<com.bumptech.glide.load.ImageHeaderParser>;
public register(resourceClass: java.lang.Class<any>, transcodeClass: java.lang.Class<any>, transcoder: com.bumptech.glide.load.resource.transcode.ResourceTranscoder<any,any>): com.bumptech.glide.Registry;
public register(parser: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.Registry;
public getLoadPath(dataClass: java.lang.Class<any>, resourceClass: java.lang.Class<any>, transcodeClass: java.lang.Class<any>): com.bumptech.glide.load.engine.LoadPath<any,any,any>;
public getSourceEncoder(data: any): com.bumptech.glide.load.Encoder<any>;
public append(modelClass: java.lang.Class<any>, dataClass: java.lang.Class<any>, factory: com.bumptech.glide.load.model.ModelLoaderFactory<any,any>): com.bumptech.glide.Registry;
public append(dataClass: java.lang.Class<any>, encoder: com.bumptech.glide.load.Encoder<any>): com.bumptech.glide.Registry;
public prepend(dataClass: java.lang.Class<any>, encoder: com.bumptech.glide.load.Encoder<any>): com.bumptech.glide.Registry;
public append(bucket: string, dataClass: java.lang.Class<any>, resourceClass: java.lang.Class<any>, decoder: com.bumptech.glide.load.ResourceDecoder<any,any>): com.bumptech.glide.Registry;
public setResourceDecoderBucketPriorityList(buckets: java.util.List<string>): com.bumptech.glide.Registry;
public getModelLoaders(model: any): java.util.List<any>;
public prepend(bucket: string, dataClass: java.lang.Class<any>, resourceClass: java.lang.Class<any>, decoder: com.bumptech.glide.load.ResourceDecoder<any,any>): com.bumptech.glide.Registry;
public getResultEncoder(resource: com.bumptech.glide.load.engine.Resource<any>): com.bumptech.glide.load.ResourceEncoder<any>;
public append(dataClass: java.lang.Class<any>, resourceClass: java.lang.Class<any>, decoder: com.bumptech.glide.load.ResourceDecoder<any,any>): com.bumptech.glide.Registry;
public replace(modelClass: java.lang.Class<any>, dataClass: java.lang.Class<any>, factory: com.bumptech.glide.load.model.ModelLoaderFactory<any,any>): com.bumptech.glide.Registry;
public getRewinder(data: any): com.bumptech.glide.load.data.DataRewinder<any>;
public getRegisteredResourceClasses(modelClass: java.lang.Class<any>, resourceClass: java.lang.Class<any>, transcodeClass: java.lang.Class<any>): java.util.List<any>;
public register(factory: com.bumptech.glide.load.data.DataRewinder.Factory<any>): com.bumptech.glide.Registry;
public prepend(modelClass: java.lang.Class<any>, dataClass: java.lang.Class<any>, factory: com.bumptech.glide.load.model.ModelLoaderFactory<any,any>): com.bumptech.glide.Registry;
}
export module Registry {
export class MissingComponentException extends java.lang.RuntimeException {
public static class: java.lang.Class<com.bumptech.glide.Registry.MissingComponentException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable);
}
export class NoImageHeaderParserException extends com.bumptech.glide.Registry.MissingComponentException {
public static class: java.lang.Class<com.bumptech.glide.Registry.NoImageHeaderParserException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable);
}
export class NoModelLoaderAvailableException extends com.bumptech.glide.Registry.MissingComponentException {
public static class: java.lang.Class<com.bumptech.glide.Registry.NoModelLoaderAvailableException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public constructor(modelClass: java.lang.Class<any>, dataClass: java.lang.Class<any>);
public constructor(cause: java.lang.Throwable);
public constructor(model: any, matchingButNotHandlingModelLoaders: java.util.List<any>);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(model: any);
}
export class NoResultEncoderAvailableException extends com.bumptech.glide.Registry.MissingComponentException {
public static class: java.lang.Class<com.bumptech.glide.Registry.NoResultEncoderAvailableException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public constructor(cause: java.lang.Throwable);
public constructor(resourceClass: java.lang.Class<any>);
public constructor(message: string, cause: java.lang.Throwable);
}
export class NoSourceEncoderAvailableException extends com.bumptech.glide.Registry.MissingComponentException {
public static class: java.lang.Class<com.bumptech.glide.Registry.NoSourceEncoderAvailableException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(dataClass: java.lang.Class<any>);
public constructor();
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable);
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class RegistryFactory extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.RegistryFactory>;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class RequestBuilder<TranscodeType> extends com.bumptech.glide.request.BaseRequestOptions<com.bumptech.glide.RequestBuilder<any>> {
public static class: java.lang.Class<com.bumptech.glide.RequestBuilder<any>>;
public static DOWNLOAD_ONLY_OPTIONS: com.bumptech.glide.request.RequestOptions;
public load(uri: android.net.Uri): com.bumptech.glide.RequestBuilder<any>;
public preload(width: number, height: number): com.bumptech.glide.request.target.Target<any>;
public load(param0: android.net.Uri): any;
public apply(o: com.bumptech.glide.request.BaseRequestOptions<any>): any;
/** @deprecated */
public thumbnail(sizeMultiplier: number): com.bumptech.glide.RequestBuilder<any>;
/** @deprecated */
public load(url: java.net.URL): com.bumptech.glide.RequestBuilder<any>;
public load(param0: any): any;
public listener(requestListener: com.bumptech.glide.request.RequestListener<any>): com.bumptech.glide.RequestBuilder<any>;
public load(param0: number[]): any;
public constructor(transcodeClass: java.lang.Class<any>, other: com.bumptech.glide.RequestBuilder<any>);
public load(model: number[]): com.bumptech.glide.RequestBuilder<any>;
public constructor();
public error(errorBuilder: com.bumptech.glide.RequestBuilder<any>): com.bumptech.glide.RequestBuilder<any>;
public addListener(requestListener: com.bumptech.glide.request.RequestListener<any>): com.bumptech.glide.RequestBuilder<any>;
/** @deprecated */
public downloadOnly(target: com.bumptech.glide.request.target.Target<any>): com.bumptech.glide.request.target.Target<any>;
public thumbnail(thumbnails: java.util.List<com.bumptech.glide.RequestBuilder<any>>): com.bumptech.glide.RequestBuilder<any>;
public hashCode(): number;
public clone(): any;
public submit(width: number, height: number): com.bumptech.glide.request.FutureTarget<any>;
public clone(): com.bumptech.glide.RequestBuilder<any>;
public equals(o: any): boolean;
public load(param0: java.io.File): any;
public load(file: java.io.File): com.bumptech.glide.RequestBuilder<any>;
public transition(transitionOptions: com.bumptech.glide.TransitionOptions<any,any>): com.bumptech.glide.RequestBuilder<any>;
public load(resourceId: java.lang.Integer): com.bumptech.glide.RequestBuilder<any>;
public apply(requestOptions: com.bumptech.glide.request.BaseRequestOptions<any>): com.bumptech.glide.RequestBuilder<any>;
public into(target: com.bumptech.glide.request.target.Target<any>): com.bumptech.glide.request.target.Target<any>;
public load(string: string): com.bumptech.glide.RequestBuilder<any>;
public constructor(glide: com.bumptech.glide.Glide, requestManager: com.bumptech.glide.RequestManager, transcodeClass: java.lang.Class<any>, context: android.content.Context);
public thumbnail(...thumbnails: com.bumptech.glide.RequestBuilder<any>[]): com.bumptech.glide.RequestBuilder<any>;
/** @deprecated */
public into(width: number, height: number): com.bumptech.glide.request.FutureTarget<any>;
public load(drawable: android.graphics.drawable.Drawable): com.bumptech.glide.RequestBuilder<any>;
public load(param0: string): any;
public load(model: any): com.bumptech.glide.RequestBuilder<any>;
public load(bitmap: android.graphics.Bitmap): com.bumptech.glide.RequestBuilder<any>;
/** @deprecated */
public downloadOnly(width: number, height: number): com.bumptech.glide.request.FutureTarget<java.io.File>;
public load(param0: android.graphics.Bitmap): any;
public getDownloadOnlyRequest(): com.bumptech.glide.RequestBuilder<java.io.File>;
public error(model: any): com.bumptech.glide.RequestBuilder<any>;
public preload(): com.bumptech.glide.request.target.Target<any>;
public thumbnail(thumbnailRequest: com.bumptech.glide.RequestBuilder<any>): com.bumptech.glide.RequestBuilder<any>;
public submit(): com.bumptech.glide.request.FutureTarget<any>;
public load(param0: java.lang.Integer): any;
public error(drawable: android.graphics.drawable.Drawable): any;
public load(param0: android.graphics.drawable.Drawable): any;
/** @deprecated */
public load(param0: java.net.URL): any;
public error(resourceId: number): any;
public into(view: android.widget.ImageView): com.bumptech.glide.request.target.ViewTarget<android.widget.ImageView,any>;
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export class RequestManager extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.RequestManager>;
public glide: com.bumptech.glide.Glide;
public context: android.content.Context;
public load(param0: android.net.Uri): any;
public load(model: number[]): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public setDefaultRequestOptions(requestOptions: com.bumptech.glide.request.RequestOptions): com.bumptech.glide.RequestManager;
public load(param0: number[]): any;
public setPauseAllRequestsOnTrimMemoryModerate(pauseAllOnTrim: boolean): void;
public applyDefaultRequestOptions(requestOptions: com.bumptech.glide.request.RequestOptions): com.bumptech.glide.RequestManager;
public onConfigurationChanged(param0: android.content.res.Configuration): void;
public load(resourceId: java.lang.Integer): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public onTrimMemory(param0: number): void;
public clear(view: android.view.View): void;
public resumeRequestsRecursive(): void;
public load(file: java.io.File): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public load(model: any): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public toString(): string;
public load(param0: string): any;
public as(resourceClass: java.lang.Class<any>): com.bumptech.glide.RequestBuilder<any>;
public clear(target: com.bumptech.glide.request.target.Target<any>): void;
public load(param0: android.graphics.Bitmap): any;
public load(uri: android.net.Uri): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public onStart(): void;
public pauseAllRequestsRecursive(): void;
public load(string: string): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public asGif(): com.bumptech.glide.RequestBuilder<com.bumptech.glide.load.resource.gif.GifDrawable>;
public load(param0: java.lang.Integer): any;
public resumeRequests(): void;
public load(param0: android.graphics.drawable.Drawable): any;
/** @deprecated */
public load(url: java.net.URL): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public addDefaultRequestListener(requestListener: com.bumptech.glide.request.RequestListener<any>): com.bumptech.glide.RequestManager;
public pauseRequests(): void;
public load(param0: any): any;
public setRequestOptions(toSet: com.bumptech.glide.request.RequestOptions): void;
public asBitmap(): com.bumptech.glide.RequestBuilder<android.graphics.Bitmap>;
public onTrimMemory(level: number): void;
public downloadOnly(): com.bumptech.glide.RequestBuilder<java.io.File>;
public onStop(): void;
public load(param0: java.io.File): any;
public pauseRequestsRecursive(): void;
public download(model: any): com.bumptech.glide.RequestBuilder<java.io.File>;
public clearOnStop(): com.bumptech.glide.RequestManager;
public onLowMemory(): void;
public pauseAllRequests(): void;
public asFile(): com.bumptech.glide.RequestBuilder<java.io.File>;
public constructor(glide: com.bumptech.glide.Glide, lifecycle: com.bumptech.glide.manager.Lifecycle, treeNode: com.bumptech.glide.manager.RequestManagerTreeNode, context: android.content.Context);
public load(drawable: android.graphics.drawable.Drawable): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
/** @deprecated */
public load(param0: java.net.URL): any;
public onDestroy(): void;
public load(bitmap: android.graphics.Bitmap): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public asDrawable(): com.bumptech.glide.RequestBuilder<android.graphics.drawable.Drawable>;
public isPaused(): boolean;
}
export module RequestManager {
export class ClearTarget extends com.bumptech.glide.request.target.CustomViewTarget<android.view.View,any> {
public static class: java.lang.Class<com.bumptech.glide.RequestManager.ClearTarget>;
public onLoadFailed(errorDrawable: android.graphics.drawable.Drawable): void;
public setRequest(param0: com.bumptech.glide.request.Request): void;
public onResourceCleared(param0: android.graphics.drawable.Drawable): void;
public getSize(param0: com.bumptech.glide.request.target.SizeReadyCallback): void;
public setRequest(request: com.bumptech.glide.request.Request): void;
public onLoadStarted(param0: android.graphics.drawable.Drawable): void;
public onLoadStarted(placeholder: android.graphics.drawable.Drawable): void;
public getSize(cb: com.bumptech.glide.request.target.SizeReadyCallback): void;
public getRequest(): com.bumptech.glide.request.Request;
public onResourceReady(param0: any, param1: com.bumptech.glide.request.transition.Transition<any>): void;
public onLoadCleared(param0: android.graphics.drawable.Drawable): void;
public removeCallback(param0: com.bumptech.glide.request.target.SizeReadyCallback): void;
public onResourceReady(resource: any, transition: com.bumptech.glide.request.transition.Transition<any>): void;
public removeCallback(cb: com.bumptech.glide.request.target.SizeReadyCallback): void;
public onLoadFailed(param0: android.graphics.drawable.Drawable): void;
public onLoadCleared(placeholder: android.graphics.drawable.Drawable): void;
public onResourceCleared(placeholder: android.graphics.drawable.Drawable): void;
}
export class RequestManagerConnectivityListener extends java.lang.Object implements com.bumptech.glide.manager.ConnectivityMonitor.ConnectivityListener {
public static class: java.lang.Class<com.bumptech.glide.RequestManager.RequestManagerConnectivityListener>;
public onConnectivityChanged(isConnected: boolean): void;
public onConnectivityChanged(param0: boolean): void;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export abstract class TransitionOptions<CHILD, TranscodeType> extends java.lang.Cloneable {
public static class: java.lang.Class<com.bumptech.glide.TransitionOptions<any,any>>;
public equals(obj: any): boolean;
public hashCode(): number;
public transition(viewAnimationId: number): any;
public transition(transitionFactory: com.bumptech.glide.request.transition.TransitionFactory<any>): any;
public clone(): any;
public dontTransition(): any;
public equals(o: any): boolean;
public transition(animator: com.bumptech.glide.request.transition.ViewPropertyTransition.Animator): any;
public constructor();
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class DataSource {
public static class: java.lang.Class<com.bumptech.glide.load.DataSource>;
public static LOCAL: com.bumptech.glide.load.DataSource;
public static REMOTE: com.bumptech.glide.load.DataSource;
public static DATA_DISK_CACHE: com.bumptech.glide.load.DataSource;
public static RESOURCE_DISK_CACHE: com.bumptech.glide.load.DataSource;
public static MEMORY_CACHE: com.bumptech.glide.load.DataSource;
public static valueOf(name: string): com.bumptech.glide.load.DataSource;
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public static values(): com.bumptech.glide.load.DataSource[];
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class DecodeFormat {
public static class: java.lang.Class<com.bumptech.glide.load.DecodeFormat>;
public static PREFER_ARGB_8888: com.bumptech.glide.load.DecodeFormat;
public static PREFER_RGB_565: com.bumptech.glide.load.DecodeFormat;
public static DEFAULT: com.bumptech.glide.load.DecodeFormat;
public static values(): com.bumptech.glide.load.DecodeFormat[];
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public static valueOf(name: string): com.bumptech.glide.load.DecodeFormat;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class EncodeStrategy {
public static class: java.lang.Class<com.bumptech.glide.load.EncodeStrategy>;
public static SOURCE: com.bumptech.glide.load.EncodeStrategy;
public static TRANSFORMED: com.bumptech.glide.load.EncodeStrategy;
public static NONE: com.bumptech.glide.load.EncodeStrategy;
public static values(): com.bumptech.glide.load.EncodeStrategy[];
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public static valueOf(name: string): com.bumptech.glide.load.EncodeStrategy;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class Encoder<T> extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.Encoder<any>>;
/**
* Constructs a new instance of the com.bumptech.glide.load.Encoder<any> 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();
public encode(param0: T, param1: java.io.File, param2: com.bumptech.glide.load.Options): boolean;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class HttpException extends java.io.IOException {
public static class: java.lang.Class<com.bumptech.glide.load.HttpException>;
public static UNKNOWN: number;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
/** @deprecated */
public constructor(message: string);
public getStatusCode(): number;
public constructor(statusCode: number);
public constructor();
public constructor(message: string, statusCode: number, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, statusCode: number);
public constructor(message: string, cause: java.lang.Throwable);
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class ImageHeaderParser extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.ImageHeaderParser>;
/**
* 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();
public static UNKNOWN_ORIENTATION: number;
public getOrientation(param0: java.io.InputStream, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
public getType(param0: java.io.InputStream): com.bumptech.glide.load.ImageHeaderParser.ImageType;
public getOrientation(param0: java.nio.ByteBuffer, param1: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
public getType(param0: java.nio.ByteBuffer): com.bumptech.glide.load.ImageHeaderParser.ImageType;
}
export module ImageHeaderParser {
export class ImageType {
public static class: java.lang.Class<com.bumptech.glide.load.ImageHeaderParser.ImageType>;
public static GIF: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static JPEG: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static RAW: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static PNG_A: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static PNG: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static WEBP_A: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static WEBP: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static ANIMATED_WEBP: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static AVIF: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static ANIMATED_AVIF: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static UNKNOWN: com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static valueOf(name: string): com.bumptech.glide.load.ImageHeaderParser.ImageType;
public hasAlpha(): boolean;
public static values(): com.bumptech.glide.load.ImageHeaderParser.ImageType[];
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>;
public isWebp(): boolean;
}
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class ImageHeaderParserUtils extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.ImageHeaderParserUtils>;
public static getType(parsers: java.util.List<com.bumptech.glide.load.ImageHeaderParser>, parcelFileDescriptorRewinder: com.bumptech.glide.load.data.ParcelFileDescriptorRewinder, byteArrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static getOrientation(parsers: java.util.List<com.bumptech.glide.load.ImageHeaderParser>, parcelFileDescriptorRewinder: com.bumptech.glide.load.data.ParcelFileDescriptorRewinder, byteArrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
public static getOrientation(parsers: java.util.List<com.bumptech.glide.load.ImageHeaderParser>, is: java.io.InputStream, byteArrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
public static getType(parsers: java.util.List<com.bumptech.glide.load.ImageHeaderParser>, is: java.io.InputStream, byteArrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static getType(parsers: java.util.List<com.bumptech.glide.load.ImageHeaderParser>, buffer: java.nio.ByteBuffer): com.bumptech.glide.load.ImageHeaderParser.ImageType;
public static getOrientation(parsers: java.util.List<com.bumptech.glide.load.ImageHeaderParser>, buffer: java.nio.ByteBuffer, arrayPool: com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool): number;
}
export module ImageHeaderParserUtils {
export class OrientationReader extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.ImageHeaderParserUtils.OrientationReader>;
/**
* 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: {
getOrientationAndRewind(param0: com.bumptech.glide.load.ImageHeaderParser): number;
});
public constructor();
public getOrientationAndRewind(param0: com.bumptech.glide.load.ImageHeaderParser): number;
}
export class TypeReader extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.ImageHeaderParserUtils.TypeReader>;
/**
* 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: {
getTypeAndRewind(param0: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.load.ImageHeaderParser.ImageType;
});
public constructor();
public getTypeAndRewind(param0: com.bumptech.glide.load.ImageHeaderParser): com.bumptech.glide.load.ImageHeaderParser.ImageType;
}
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class Key extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.Key>;
/**
* 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;
"<clinit>"(): void;
});
public constructor();
public static CHARSET: java.nio.charset.Charset;
public static STRING_CHARSET_NAME: string;
public equals(param0: any): boolean;
public equals(obj: any): boolean;
public hashCode(): number;
public updateDiskCacheKey(param0: java.security.MessageDigest): void;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class MultiTransformation<T> extends com.bumptech.glide.load.Transformation<any> {
public static class: java.lang.Class<com.bumptech.glide.load.MultiTransformation<any>>;
public equals(param0: any): boolean;
public equals(obj: any): boolean;
public constructor(transformationList: java.util.Collection<any>);
public constructor(...transformations: com.bumptech.glide.load.Transformation<any>[]);
public transform(context: android.content.Context, resource: com.bumptech.glide.load.engine.Resource<any>, outWidth: number, outHeight: number): com.bumptech.glide.load.engine.Resource<any>;
public transform(param0: android.content.Context, param1: com.bumptech.glide.load.engine.Resource<any>, param2: number, param3: number): com.bumptech.glide.load.engine.Resource<any>;
public equals(o: any): boolean;
public hashCode(): number;
public updateDiskCacheKey(messageDigest: java.security.MessageDigest): void;
public updateDiskCacheKey(param0: java.security.MessageDigest): void;
}
}
}
}
}
declare module com {
export module bumptech {
export module glide {
export module load {
export class Option<T> extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.Option<any>>;
public static memory(key: string, defaultValue: any): com.bumptech.glide.load.Option<any>;
public update(value: T, messageDigest: java.security.MessageDigest): void;
public equals(obj: any): boolean;
public toString(): string;
public static memory(key: string): com.bumptech.glide.load.Option<any>;
public static disk(key: string, cacheKeyUpdater: com.bumptech.glide.load.Option.CacheKeyUpdater<any>): com.bumptech.glide.load.Option<any>;
public static disk(key: string, defaultValue: any, cacheKeyUpdater: com.bumptech.glide.load.Option.CacheKeyUpdater<any>): com.bumptech.glide.load.Option<any>;
public equals(o: any): boolean;
public hashCode(): number;
public getDefaultValue(): T;
}
export module Option {
export class CacheKeyUpdater<T> extends java.lang.Object {
public static class: java.lang.Class<com.bumptech.glide.load.Option.CacheKeyUpdater<any>>;
/**
* 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: {