Created
October 13, 2020 06:09
-
-
Save roblav96/548a2e5cb10ec13f4d3534585ee09843 to your computer and use it in GitHub Desktop.
node_modules/@nativescript/types-android/lib/android/androidx-29.d.ts
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module android { | |
export module support { | |
export module v4 { | |
export module app { | |
export class INotificationSideChannel extends java.lang.Object implements android.os.IInterface { | |
public static class: java.lang.Class<android.support.v4.app.INotificationSideChannel>; | |
/** | |
* Constructs a new instance of the android.support.v4.app.INotificationSideChannel interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
notify(string0: string, int1: number, string2: string, notification3: android.app.Notification): void; | |
cancel(string0: string, int1: number, string2: string): void; | |
cancelAll(string0: string): void; | |
asBinder(): android.os.IBinder; | |
}); | |
public constructor(); | |
public notify(): void; | |
public cancel(string0: string, int1: number, string2: string): void; | |
public notify(string0: string, int1: number, string2: string, notification3: android.app.Notification): void; | |
public asBinder(): android.os.IBinder; | |
public cancelAll(string0: string): void; | |
} | |
export module INotificationSideChannel { | |
export class Default extends java.lang.Object implements android.support.v4.app.INotificationSideChannel { | |
public static class: java.lang.Class<android.support.v4.app.INotificationSideChannel.Default>; | |
public notify(packageName: string, id: number, tag: string, notification: android.app.Notification): void; | |
public constructor(); | |
public cancel(packageName: string, id: number, tag: string): void; | |
public notify(): void; | |
public cancelAll(packageName: string): void; | |
public asBinder(): android.os.IBinder; | |
} | |
export abstract class Stub extends android.os.Binder implements android.support.v4.app.INotificationSideChannel { | |
public static class: java.lang.Class<android.support.v4.app.INotificationSideChannel.Stub>; | |
public constructor(); | |
public cancel(string0: string, int1: number, string2: string): void; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public cancelAll(string0: string): void; | |
public constructor(descriptor: string); | |
public onTransact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public notify(string0: string, int1: number, string2: string, notification3: android.app.Notification): void; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public static setDefaultImpl(impl: android.support.v4.app.INotificationSideChannel): boolean; | |
public getInterfaceDescriptor(): string; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public notify(): void; | |
public isBinderAlive(): boolean; | |
public asBinder(): android.os.IBinder; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public static asInterface(obj: android.os.IBinder): android.support.v4.app.INotificationSideChannel; | |
public pingBinder(): boolean; | |
public static getDefaultImpl(): android.support.v4.app.INotificationSideChannel; | |
} | |
export module Stub { | |
export class Proxy extends java.lang.Object implements android.support.v4.app.INotificationSideChannel { | |
public static class: java.lang.Class<android.support.v4.app.INotificationSideChannel.Stub.Proxy>; | |
public static sDefaultImpl: android.support.v4.app.INotificationSideChannel; | |
public getInterfaceDescriptor(): string; | |
public cancel(packageName: string, id: number, tag: string): void; | |
public cancelAll(packageName: string): void; | |
public asBinder(): android.os.IBinder; | |
public notify(packageName: string, id: number, tag: string, notification: android.app.Notification): void; | |
public notify(): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module app { | |
export class RemoteActionCompatParcelizer extends androidx.core.app.RemoteActionCompatParcelizer { | |
public static class: java.lang.Class<android.support.v4.app.RemoteActionCompatParcelizer>; | |
public constructor(); | |
public static write(obj: androidx.core.app.RemoteActionCompat, parcel: androidx.versionedparcelable.VersionedParcel): void; | |
public static read(parcel: androidx.versionedparcelable.VersionedParcel): androidx.core.app.RemoteActionCompat; | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module graphics { | |
export module drawable { | |
export class IconCompatParcelizer extends androidx.core.graphics.drawable.IconCompatParcelizer { | |
public static class: java.lang.Class<android.support.v4.graphics.drawable.IconCompatParcelizer>; | |
public constructor(); | |
public static write(obj: androidx.core.graphics.drawable.IconCompat, parcel: androidx.versionedparcelable.VersionedParcel): void; | |
public static read(parcel: androidx.versionedparcelable.VersionedParcel): androidx.core.graphics.drawable.IconCompat; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaBrowserCompat extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat>; | |
public static EXTRA_PAGE: string; | |
public static EXTRA_PAGE_SIZE: string; | |
public static EXTRA_MEDIA_ID: string; | |
public static EXTRA_DOWNLOAD_PROGRESS: string; | |
public static CUSTOM_ACTION_DOWNLOAD: string; | |
public static CUSTOM_ACTION_REMOVE_DOWNLOADED_FILE: string; | |
public subscribe(parentId: string, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public isConnected(): boolean; | |
public getServiceComponent(): android.content.ComponentName; | |
public constructor(context: android.content.Context, serviceComponent: android.content.ComponentName, callback: android.support.v4.media.MediaBrowserCompat.ConnectionCallback, rootHints: android.os.Bundle); | |
public subscribe(parentId: string, options: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public getItem(mediaId: string, cb: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
public connect(): void; | |
public search(query: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
public sendCustomAction(action: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
public unsubscribe(parentId: string, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public getExtras(): android.os.Bundle; | |
public getRoot(): string; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public getNotifyChildrenChangedOptions(): android.os.Bundle; | |
public disconnect(): void; | |
public unsubscribe(parentId: string): void; | |
} | |
export module MediaBrowserCompat { | |
export class CallbackHandler extends android.os.Handler { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.CallbackHandler>; | |
public handleMessage(msg: android.os.Message): void; | |
} | |
export class ConnectionCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ConnectionCallback>; | |
public constructor(); | |
public onConnected(): void; | |
public onConnectionFailed(): void; | |
public onConnectionSuspended(): void; | |
} | |
export module ConnectionCallback { | |
export class ConnectionCallbackInternal extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ConnectionCallback.ConnectionCallbackInternal>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompat$ConnectionCallback$ConnectionCallbackInternal interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onConnected(): void; | |
onConnectionSuspended(): void; | |
onConnectionFailed(): void; | |
}); | |
public constructor(); | |
public onConnectionFailed(): void; | |
public onConnected(): void; | |
public onConnectionSuspended(): void; | |
} | |
export class StubApi21 extends java.lang.Object implements android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallback { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ConnectionCallback.StubApi21>; | |
public onConnectionFailed(): void; | |
public onConnected(): void; | |
public onConnectionSuspended(): void; | |
} | |
} | |
export abstract class CustomActionCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.CustomActionCallback>; | |
public onError(action: string, extras: android.os.Bundle, data: android.os.Bundle): void; | |
public constructor(); | |
public onResult(action: string, extras: android.os.Bundle, resultData: android.os.Bundle): void; | |
public onProgressUpdate(action: string, extras: android.os.Bundle, data: android.os.Bundle): void; | |
} | |
export class CustomActionResultReceiver extends android.support.v4.os.ResultReceiver { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.CustomActionResultReceiver>; | |
public writeToParcel(out: android.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public onReceiveResult(resultCode: number, resultData: android.os.Bundle): void; | |
} | |
export abstract class ItemCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ItemCallback>; | |
public onItemLoaded(item: android.support.v4.media.MediaBrowserCompat.MediaItem): void; | |
public constructor(); | |
public onError(itemId: string): void; | |
} | |
export module ItemCallback { | |
export class StubApi23 extends java.lang.Object implements android.support.v4.media.MediaBrowserCompatApi23.ItemCallback { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ItemCallback.StubApi23>; | |
public onItemLoaded(itemParcel: android.os.Parcel): void; | |
public onError(itemId: string): void; | |
} | |
} | |
export class ItemReceiver extends android.support.v4.os.ResultReceiver { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ItemReceiver>; | |
public writeToParcel(out: android.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public onReceiveResult(resultCode: number, resultData: android.os.Bundle): void; | |
} | |
export class MediaBrowserImpl extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompat$MediaBrowserImpl interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
connect(): void; | |
disconnect(): void; | |
isConnected(): boolean; | |
getServiceComponent(): android.content.ComponentName; | |
getRoot(): string; | |
getExtras(): android.os.Bundle; | |
getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
subscribe(string0: string, bundle1: android.os.Bundle, subscriptionCallback2: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
unsubscribe(string0: string, subscriptionCallback1: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
getItem(string0: string, itemCallback1: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
search(string0: string, bundle1: android.os.Bundle, searchCallback2: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
sendCustomAction(string0: string, bundle1: android.os.Bundle, customActionCallback2: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
getNotifyChildrenChangedOptions(): android.os.Bundle; | |
}); | |
public constructor(); | |
public unsubscribe(string0: string, subscriptionCallback1: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public getNotifyChildrenChangedOptions(): android.os.Bundle; | |
public subscribe(string0: string, bundle1: android.os.Bundle, subscriptionCallback2: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public getItem(string0: string, itemCallback1: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
public isConnected(): boolean; | |
public connect(): void; | |
public disconnect(): void; | |
public getServiceComponent(): android.content.ComponentName; | |
public getRoot(): string; | |
public search(string0: string, bundle1: android.os.Bundle, searchCallback2: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
public sendCustomAction(string0: string, bundle1: android.os.Bundle, customActionCallback2: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
public getExtras(): android.os.Bundle; | |
} | |
export class MediaBrowserImplApi21 extends java.lang.Object implements android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl, android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl, android.support.v4.media.MediaBrowserCompat.ConnectionCallback.ConnectionCallbackInternal { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21>; | |
public mBrowserObj: any; | |
public mRootHints: android.os.Bundle; | |
public mHandler: android.support.v4.media.MediaBrowserCompat.CallbackHandler; | |
public mServiceVersion: number; | |
public mServiceBinderWrapper: android.support.v4.media.MediaBrowserCompat.ServiceBinderWrapper; | |
public mCallbacksMessenger: android.os.Messenger; | |
public unsubscribe(parentId: string, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public sendCustomAction(action: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
public getNotifyChildrenChangedOptions(): android.os.Bundle; | |
public onConnected(): void; | |
public onConnectionFailed(): void; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public search(query: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
public subscribe(parentId: string, options: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public onConnectionFailed(callback: android.os.Messenger): void; | |
public isConnected(): boolean; | |
public getItem(mediaId: string, cb: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
public connect(): void; | |
public disconnect(): void; | |
public getServiceComponent(): android.content.ComponentName; | |
public getRoot(): string; | |
public onServiceConnected(callback: android.os.Messenger, root: string, session: android.support.v4.media.session.MediaSessionCompat.Token, extra: android.os.Bundle): void; | |
public onLoadChildren(callback: android.os.Messenger, parentId: string, list: java.util.List<any>, options: android.os.Bundle, notifyChildrenChangedOptions: android.os.Bundle): void; | |
public getExtras(): android.os.Bundle; | |
public onConnectionSuspended(): void; | |
} | |
export class MediaBrowserImplApi23 extends android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21 { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi23>; | |
public unsubscribe(parentId: string, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public sendCustomAction(action: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
public getNotifyChildrenChangedOptions(): android.os.Bundle; | |
public onConnectionFailed(): void; | |
public onConnected(): void; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public search(query: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
public onConnectionFailed(callback: android.os.Messenger): void; | |
public subscribe(parentId: string, options: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public isConnected(): boolean; | |
public getItem(mediaId: string, cb: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
public connect(): void; | |
public disconnect(): void; | |
public getServiceComponent(): android.content.ComponentName; | |
public getRoot(): string; | |
public onServiceConnected(callback: android.os.Messenger, root: string, session: android.support.v4.media.session.MediaSessionCompat.Token, extra: android.os.Bundle): void; | |
public onLoadChildren(callback: android.os.Messenger, parentId: string, list: java.util.List<any>, options: android.os.Bundle, notifyChildrenChangedOptions: android.os.Bundle): void; | |
public getExtras(): android.os.Bundle; | |
public onConnectionSuspended(): void; | |
} | |
export class MediaBrowserImplApi26 extends android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi23 { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi26>; | |
public unsubscribe(parentId: string, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public sendCustomAction(action: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
public getNotifyChildrenChangedOptions(): android.os.Bundle; | |
public onConnectionFailed(): void; | |
public onConnected(): void; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public search(query: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
public subscribe(parentId: string, options: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public onConnectionFailed(callback: android.os.Messenger): void; | |
public isConnected(): boolean; | |
public getItem(mediaId: string, cb: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
public connect(): void; | |
public disconnect(): void; | |
public getServiceComponent(): android.content.ComponentName; | |
public getRoot(): string; | |
public onServiceConnected(callback: android.os.Messenger, root: string, session: android.support.v4.media.session.MediaSessionCompat.Token, extra: android.os.Bundle): void; | |
public onLoadChildren(callback: android.os.Messenger, parentId: string, list: java.util.List<any>, options: android.os.Bundle, notifyChildrenChangedOptions: android.os.Bundle): void; | |
public getExtras(): android.os.Bundle; | |
public onConnectionSuspended(): void; | |
} | |
export class MediaBrowserImplBase extends java.lang.Object implements android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl, android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase>; | |
public unsubscribe(parentId: string, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public sendCustomAction(action: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.CustomActionCallback): void; | |
public getNotifyChildrenChangedOptions(): android.os.Bundle; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public search(query: string, extras: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SearchCallback): void; | |
public subscribe(parentId: string, options: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
public onConnectionFailed(callback: android.os.Messenger): void; | |
public isConnected(): boolean; | |
public getItem(mediaId: string, cb: android.support.v4.media.MediaBrowserCompat.ItemCallback): void; | |
public connect(): void; | |
public disconnect(): void; | |
public getServiceComponent(): android.content.ComponentName; | |
public getRoot(): string; | |
public onServiceConnected(callback: android.os.Messenger, root: string, session: android.support.v4.media.session.MediaSessionCompat.Token, extra: android.os.Bundle): void; | |
public constructor(context: android.content.Context, serviceComponent: android.content.ComponentName, callback: android.support.v4.media.MediaBrowserCompat.ConnectionCallback, rootHints: android.os.Bundle); | |
public onLoadChildren(callback: android.os.Messenger, parentId: string, list: java.util.List<any>, options: android.os.Bundle, notifyChildrenChangedOptions: android.os.Bundle): void; | |
public getExtras(): android.os.Bundle; | |
} | |
export module MediaBrowserImplBase { | |
export class MediaServiceConnection extends java.lang.Object implements android.content.ServiceConnection { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase.MediaServiceConnection>; | |
public onNullBinding(name: android.content.ComponentName): void; | |
public onBindingDied(name: android.content.ComponentName): void; | |
public onServiceConnected(name: android.content.ComponentName, binder: android.os.IBinder): void; | |
public onServiceDisconnected(name: android.content.ComponentName): void; | |
} | |
} | |
export class MediaBrowserServiceCallbackImpl extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompat$MediaBrowserServiceCallbackImpl interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onServiceConnected(messenger0: android.os.Messenger, string1: string, token2: android.support.v4.media.session.MediaSessionCompat.Token, bundle3: android.os.Bundle): void; | |
onConnectionFailed(messenger0: android.os.Messenger): void; | |
onLoadChildren(messenger0: android.os.Messenger, string1: string, list2: java.util.List<any>, bundle3: android.os.Bundle, bundle4: android.os.Bundle): void; | |
}); | |
public constructor(); | |
public onLoadChildren(messenger0: android.os.Messenger, string1: string, list2: java.util.List<any>, bundle3: android.os.Bundle, bundle4: android.os.Bundle): void; | |
public onServiceConnected(messenger0: android.os.Messenger, string1: string, token2: android.support.v4.media.session.MediaSessionCompat.Token, bundle3: android.os.Bundle): void; | |
public onConnectionFailed(messenger0: android.os.Messenger): void; | |
} | |
export class MediaItem extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaItem>; | |
public static FLAG_BROWSABLE: number; | |
public static FLAG_PLAYABLE: number; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.MediaBrowserCompat.MediaItem>; | |
public static fromMediaItemList(itemList: java.util.List<any>): java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>; | |
public writeToParcel(out: android.os.Parcel, flags: number): void; | |
public static fromMediaItem(itemObj: any): android.support.v4.media.MediaBrowserCompat.MediaItem; | |
public describeContents(): number; | |
public isBrowsable(): boolean; | |
public getMediaId(): string; | |
public getDescription(): android.support.v4.media.MediaDescriptionCompat; | |
public getFlags(): number; | |
public constructor(description: android.support.v4.media.MediaDescriptionCompat, flags: number); | |
public toString(): string; | |
public isPlayable(): boolean; | |
} | |
export module MediaItem { | |
export class Flags extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.MediaItem.Flags>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompat$MediaItem$Flags interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
} | |
export abstract class SearchCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.SearchCallback>; | |
public constructor(); | |
public onSearchResult(query: string, extras: android.os.Bundle, items: java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>): void; | |
public onError(query: string, extras: android.os.Bundle): void; | |
} | |
export class SearchResultReceiver extends android.support.v4.os.ResultReceiver { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.SearchResultReceiver>; | |
public writeToParcel(out: android.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public onReceiveResult(resultCode: number, resultData: android.os.Bundle): void; | |
} | |
export class ServiceBinderWrapper extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.ServiceBinderWrapper>; | |
public constructor(target: android.os.IBinder, rootHints: android.os.Bundle); | |
} | |
export class Subscription extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.Subscription>; | |
public getCallback(options: android.os.Bundle): android.support.v4.media.MediaBrowserCompat.SubscriptionCallback; | |
public constructor(); | |
public getOptionsList(): java.util.List<android.os.Bundle>; | |
public isEmpty(): boolean; | |
public getCallbacks(): java.util.List<android.support.v4.media.MediaBrowserCompat.SubscriptionCallback>; | |
public putCallback(options: android.os.Bundle, callback: android.support.v4.media.MediaBrowserCompat.SubscriptionCallback): void; | |
} | |
export abstract class SubscriptionCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.SubscriptionCallback>; | |
public constructor(); | |
public onChildrenLoaded(parentId: string, children: java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>): void; | |
public onChildrenLoaded(parentId: string, children: java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>, options: android.os.Bundle): void; | |
public onError(parentId: string): void; | |
public onError(parentId: string, options: android.os.Bundle): void; | |
} | |
export module SubscriptionCallback { | |
export class StubApi21 extends java.lang.Object implements android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallback { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.SubscriptionCallback.StubApi21>; | |
public onError(parentId: string): void; | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>): void; | |
} | |
export class StubApi26 extends android.support.v4.media.MediaBrowserCompat.SubscriptionCallback.StubApi21 implements android.support.v4.media.MediaBrowserCompatApi26.SubscriptionCallback { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompat.SubscriptionCallback.StubApi26>; | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>, options: android.os.Bundle): void; | |
public onError(parentId: string): void; | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>): void; | |
public onError(parentId: string, options: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaBrowserCompatApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi21>; | |
public static subscribe(browserObj: any, parentId: string, subscriptionCallbackObj: any): void; | |
public static disconnect(browserObj: any): void; | |
public static createConnectionCallback(callback: android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallback): any; | |
public static getExtras(browserObj: any): android.os.Bundle; | |
public static connect(browserObj: any): void; | |
public static getSessionToken(browserObj: any): any; | |
public static getServiceComponent(browserObj: any): android.content.ComponentName; | |
public static createBrowser(context: android.content.Context, serviceComponent: android.content.ComponentName, callback: any, rootHints: android.os.Bundle): any; | |
public static isConnected(browserObj: any): boolean; | |
public static getRoot(browserObj: any): string; | |
public static createSubscriptionCallback(callback: android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallback): any; | |
public static unsubscribe(browserObj: any, parentId: string): void; | |
} | |
export module MediaBrowserCompatApi21 { | |
export class ConnectionCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompatApi21$ConnectionCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onConnected(): void; | |
onConnectionSuspended(): void; | |
onConnectionFailed(): void; | |
}); | |
public constructor(); | |
public onConnected(): void; | |
public onConnectionFailed(): void; | |
public onConnectionSuspended(): void; | |
} | |
export class ConnectionCallbackProxy<T> extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallbackProxy<any>>; | |
public mConnectionCallback: any; | |
public constructor(); | |
public onConnected(): void; | |
public onConnectionFailed(): void; | |
public constructor(connectionCallback: any); | |
public onConnectionSuspended(): void; | |
} | |
export class MediaItem extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi21.MediaItem>; | |
public static getFlags(itemObj: any): number; | |
public static getDescription(itemObj: any): any; | |
} | |
export class SubscriptionCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompatApi21$SubscriptionCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onChildrenLoaded(string0: string, list1: java.util.List<any>): void; | |
onError(string0: string): void; | |
}); | |
public constructor(); | |
public onError(string0: string): void; | |
public onChildrenLoaded(string0: string, list1: java.util.List<any>): void; | |
} | |
export class SubscriptionCallbackProxy<T> extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallbackProxy<any>>; | |
public mSubscriptionCallback: any; | |
public constructor(); | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>, options: android.os.Bundle): void; | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>): void; | |
public onError(parentId: string): void; | |
public constructor(callback: any); | |
public onError(parentId: string, options: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaBrowserCompatApi23 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi23>; | |
public static createItemCallback(callback: android.support.v4.media.MediaBrowserCompatApi23.ItemCallback): any; | |
public static getItem(browserObj: any, mediaId: string, itemCallbackObj: any): void; | |
} | |
export module MediaBrowserCompatApi23 { | |
export class ItemCallback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi23.ItemCallback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompatApi23$ItemCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onItemLoaded(parcel0: android.os.Parcel): void; | |
onError(string0: string): void; | |
}); | |
public constructor(); | |
public onItemLoaded(parcel0: android.os.Parcel): void; | |
public onError(string0: string): void; | |
} | |
export class ItemCallbackProxy<T> extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi23.ItemCallbackProxy<any>>; | |
public mItemCallback: any; | |
public constructor(); | |
public onItemLoaded(item: any): void; | |
public onError(itemId: string): void; | |
public constructor(callback: any); | |
public onError(mediaId: string): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaBrowserCompatApi26 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi26>; | |
public static unsubscribe(browserObj: any, parentId: string, subscriptionCallbackObj: any): void; | |
public static subscribe(browserObj: any, parentId: string, options: android.os.Bundle, subscriptionCallbackObj: any): void; | |
} | |
export module MediaBrowserCompatApi26 { | |
export class SubscriptionCallback extends java.lang.Object implements android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallback { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi26.SubscriptionCallback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaBrowserCompatApi26$SubscriptionCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onChildrenLoaded(string0: string, list1: java.util.List<any>, bundle2: android.os.Bundle): void; | |
onError(string0: string, bundle1: android.os.Bundle): void; | |
onChildrenLoaded(string0: string, list1: java.util.List<any>): void; | |
onError(string0: string): void; | |
}); | |
public constructor(); | |
public onChildrenLoaded(string0: string, list1: java.util.List<any>, bundle2: android.os.Bundle): void; | |
public onError(string0: string): void; | |
public onError(string0: string, bundle1: android.os.Bundle): void; | |
public onChildrenLoaded(string0: string, list1: java.util.List<any>): void; | |
} | |
export class SubscriptionCallbackProxy<T> extends android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallbackProxy<any> { | |
public static class: java.lang.Class<android.support.v4.media.MediaBrowserCompatApi26.SubscriptionCallbackProxy<any>>; | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>, options: android.os.Bundle): void; | |
public onChildrenLoaded(parentId: string, children: java.util.List<any>): void; | |
public onError(parentId: string): void; | |
public onError(parentId: string, options: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaDescriptionCompat extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.MediaDescriptionCompat>; | |
public static EXTRA_BT_FOLDER_TYPE: string; | |
public static BT_FOLDER_TYPE_MIXED: number; | |
public static BT_FOLDER_TYPE_TITLES: number; | |
public static BT_FOLDER_TYPE_ALBUMS: number; | |
public static BT_FOLDER_TYPE_ARTISTS: number; | |
public static BT_FOLDER_TYPE_GENRES: number; | |
public static BT_FOLDER_TYPE_PLAYLISTS: number; | |
public static BT_FOLDER_TYPE_YEARS: number; | |
public static EXTRA_DOWNLOAD_STATUS: string; | |
public static STATUS_NOT_DOWNLOADED: number; | |
public static STATUS_DOWNLOADING: number; | |
public static STATUS_DOWNLOADED: number; | |
public static DESCRIPTION_KEY_MEDIA_URI: string; | |
public static DESCRIPTION_KEY_NULL_BUNDLE_FLAG: string; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat>; | |
public getTitle(): string; | |
public getMediaDescription(): any; | |
public describeContents(): number; | |
public getMediaUri(): android.net.Uri; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public toString(): string; | |
public static fromMediaDescription(descriptionObj: any): android.support.v4.media.MediaDescriptionCompat; | |
public getSubtitle(): string; | |
public getIconUri(): android.net.Uri; | |
public getIconBitmap(): android.graphics.Bitmap; | |
public getExtras(): android.os.Bundle; | |
public getDescription(): string; | |
public getMediaId(): string; | |
} | |
export module MediaDescriptionCompat { | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaDescriptionCompat.Builder>; | |
public setMediaId(mediaId: string): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public setTitle(title: string): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public setMediaUri(mediaUri: android.net.Uri): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public constructor(); | |
public setExtras(extras: android.os.Bundle): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public setDescription(description: string): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public setIconBitmap(icon: android.graphics.Bitmap): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public setIconUri(iconUri: android.net.Uri): android.support.v4.media.MediaDescriptionCompat.Builder; | |
public build(): android.support.v4.media.MediaDescriptionCompat; | |
public setSubtitle(subtitle: string): android.support.v4.media.MediaDescriptionCompat.Builder; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaDescriptionCompatApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaDescriptionCompatApi21>; | |
public static writeToParcel(descriptionObj: any, dest: android.os.Parcel, flags: number): void; | |
public static getTitle(descriptionObj: any): string; | |
public static getSubtitle(descriptionObj: any): string; | |
public static fromParcel(in0: android.os.Parcel): any; | |
public static getDescription(descriptionObj: any): string; | |
public static getExtras(descriptionObj: any): android.os.Bundle; | |
public static getIconUri(descriptionObj: any): android.net.Uri; | |
public static getMediaId(descriptionObj: any): string; | |
public static getIconBitmap(descriptionObj: any): android.graphics.Bitmap; | |
} | |
export module MediaDescriptionCompatApi21 { | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaDescriptionCompatApi21.Builder>; | |
public static setIconBitmap(builderObj: any, iconBitmap: android.graphics.Bitmap): void; | |
public static setSubtitle(builderObj: any, subtitle: string): void; | |
public static setExtras(builderObj: any, extras: android.os.Bundle): void; | |
public static build(builderObj: any): any; | |
public static newInstance(): any; | |
public static setDescription(builderObj: any, description: string): void; | |
public static setTitle(builderObj: any, title: string): void; | |
public static setIconUri(builderObj: any, iconUri: android.net.Uri): void; | |
public static setMediaId(builderObj: any, mediaId: string): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaDescriptionCompatApi23 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaDescriptionCompatApi23>; | |
public static getMediaUri(descriptionObj: any): android.net.Uri; | |
} | |
export module MediaDescriptionCompatApi23 { | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaDescriptionCompatApi23.Builder>; | |
public static setMediaUri(builderObj: any, mediaUri: android.net.Uri): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaMetadataCompat extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompat>; | |
public static METADATA_KEY_TITLE: string; | |
public static METADATA_KEY_ARTIST: string; | |
public static METADATA_KEY_DURATION: string; | |
public static METADATA_KEY_ALBUM: string; | |
public static METADATA_KEY_AUTHOR: string; | |
public static METADATA_KEY_WRITER: string; | |
public static METADATA_KEY_COMPOSER: string; | |
public static METADATA_KEY_COMPILATION: string; | |
public static METADATA_KEY_DATE: string; | |
public static METADATA_KEY_YEAR: string; | |
public static METADATA_KEY_GENRE: string; | |
public static METADATA_KEY_TRACK_NUMBER: string; | |
public static METADATA_KEY_NUM_TRACKS: string; | |
public static METADATA_KEY_DISC_NUMBER: string; | |
public static METADATA_KEY_ALBUM_ARTIST: string; | |
public static METADATA_KEY_ART: string; | |
public static METADATA_KEY_ART_URI: string; | |
public static METADATA_KEY_ALBUM_ART: string; | |
public static METADATA_KEY_ALBUM_ART_URI: string; | |
public static METADATA_KEY_USER_RATING: string; | |
public static METADATA_KEY_RATING: string; | |
public static METADATA_KEY_DISPLAY_TITLE: string; | |
public static METADATA_KEY_DISPLAY_SUBTITLE: string; | |
public static METADATA_KEY_DISPLAY_DESCRIPTION: string; | |
public static METADATA_KEY_DISPLAY_ICON: string; | |
public static METADATA_KEY_DISPLAY_ICON_URI: string; | |
public static METADATA_KEY_MEDIA_ID: string; | |
public static METADATA_KEY_MEDIA_URI: string; | |
public static METADATA_KEY_BT_FOLDER_TYPE: string; | |
public static METADATA_KEY_ADVERTISEMENT: string; | |
public static METADATA_KEY_DOWNLOAD_STATUS: string; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.MediaMetadataCompat>; | |
public containsKey(key: string): boolean; | |
public getLong(key: string): number; | |
public describeContents(): number; | |
public size(): number; | |
public getBundle(): android.os.Bundle; | |
public getString(key: string): string; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public getMediaMetadata(): any; | |
public getText(key: string): string; | |
public getDescription(): android.support.v4.media.MediaDescriptionCompat; | |
public keySet(): java.util.Set<string>; | |
public getBitmap(key: string): android.graphics.Bitmap; | |
public getRating(key: string): android.support.v4.media.RatingCompat; | |
public static fromMediaMetadata(metadataObj: any): android.support.v4.media.MediaMetadataCompat; | |
} | |
export module MediaMetadataCompat { | |
export class BitmapKey extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompat.BitmapKey>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaMetadataCompat$BitmapKey interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompat.Builder>; | |
public constructor(); | |
public build(): android.support.v4.media.MediaMetadataCompat; | |
public putString(key: string, value: string): android.support.v4.media.MediaMetadataCompat.Builder; | |
public putLong(key: string, value: number): android.support.v4.media.MediaMetadataCompat.Builder; | |
public putText(key: string, value: string): android.support.v4.media.MediaMetadataCompat.Builder; | |
public putBitmap(key: string, value: android.graphics.Bitmap): android.support.v4.media.MediaMetadataCompat.Builder; | |
public constructor(source: android.support.v4.media.MediaMetadataCompat); | |
public constructor(source: android.support.v4.media.MediaMetadataCompat, maxBitmapSize: number); | |
public putRating(key: string, value: android.support.v4.media.RatingCompat): android.support.v4.media.MediaMetadataCompat.Builder; | |
} | |
export class LongKey extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompat.LongKey>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaMetadataCompat$LongKey interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
export class RatingKey extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompat.RatingKey>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaMetadataCompat$RatingKey interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
export class TextKey extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompat.TextKey>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.MediaMetadataCompat$TextKey interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class MediaMetadataCompatApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompatApi21>; | |
public static createFromParcel(in0: android.os.Parcel): any; | |
public static getLong(metadataObj: any, key: string): number; | |
public static getRating(metadataObj: any, key: string): any; | |
public static getBitmap(metadataObj: any, key: string): android.graphics.Bitmap; | |
public static keySet(metadataObj: any): java.util.Set<string>; | |
public static writeToParcel(metadataObj: any, dest: android.os.Parcel, flags: number): void; | |
public static getText(metadataObj: any, key: string): string; | |
} | |
export module MediaMetadataCompatApi21 { | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.MediaMetadataCompatApi21.Builder>; | |
public static putBitmap(builderObj: any, key: string, value: android.graphics.Bitmap): void; | |
public static putText(builderObj: any, key: string, value: string): void; | |
public static putLong(builderObj: any, key: string, value: number): void; | |
public static build(builderObj: any): any; | |
public static newInstance(): any; | |
public static putString(builderObj: any, key: string, value: string): void; | |
public static putRating(builderObj: any, key: string, ratingObj: any): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class ParceledListSliceAdapterApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.ParceledListSliceAdapterApi21>; | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export class RatingCompat extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.RatingCompat>; | |
public static RATING_NONE: number; | |
public static RATING_HEART: number; | |
public static RATING_THUMB_UP_DOWN: number; | |
public static RATING_3_STARS: number; | |
public static RATING_4_STARS: number; | |
public static RATING_5_STARS: number; | |
public static RATING_PERCENTAGE: number; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.RatingCompat>; | |
public getRatingStyle(): number; | |
public getStarRating(): number; | |
public isRated(): boolean; | |
public static fromRating(ratingObj: any): android.support.v4.media.RatingCompat; | |
public describeContents(): number; | |
public static newUnratedRating(ratingStyle: number): android.support.v4.media.RatingCompat; | |
public static newThumbRating(thumbIsUp: boolean): android.support.v4.media.RatingCompat; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public getPercentRating(): number; | |
public toString(): string; | |
public getRating(): any; | |
public static newStarRating(starRatingStyle: number, starRating: number): android.support.v4.media.RatingCompat; | |
public static newPercentageRating(percent: number): android.support.v4.media.RatingCompat; | |
public hasHeart(): boolean; | |
public isThumbUp(): boolean; | |
public static newHeartRating(hasHeart: boolean): android.support.v4.media.RatingCompat; | |
} | |
export module RatingCompat { | |
export class StarStyle extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.RatingCompat.StarStyle>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.RatingCompat$StarStyle interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
export class Style extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.RatingCompat.Style>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.RatingCompat$Style interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class IMediaControllerCallback extends java.lang.Object implements android.os.IInterface { | |
public static class: java.lang.Class<android.support.v4.media.session.IMediaControllerCallback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.IMediaControllerCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onEvent(string0: string, bundle1: android.os.Bundle): void; | |
onSessionDestroyed(): void; | |
onPlaybackStateChanged(playbackStateCompat0: android.support.v4.media.session.PlaybackStateCompat): void; | |
onMetadataChanged(mediaMetadataCompat0: android.support.v4.media.MediaMetadataCompat): void; | |
onQueueChanged(list0: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
onQueueTitleChanged(charSequence0: string): void; | |
onExtrasChanged(bundle0: android.os.Bundle): void; | |
onVolumeInfoChanged(parcelableVolumeInfo0: android.support.v4.media.session.ParcelableVolumeInfo): void; | |
onRepeatModeChanged(int0: number): void; | |
onShuffleModeChangedRemoved(boolean0: boolean): void; | |
onCaptioningEnabledChanged(boolean0: boolean): void; | |
onShuffleModeChanged(int0: number): void; | |
onSessionReady(): void; | |
asBinder(): android.os.IBinder; | |
}); | |
public constructor(); | |
public onShuffleModeChangedRemoved(boolean0: boolean): void; | |
public onShuffleModeChanged(int0: number): void; | |
public onEvent(string0: string, bundle1: android.os.Bundle): void; | |
public onCaptioningEnabledChanged(boolean0: boolean): void; | |
public onPlaybackStateChanged(playbackStateCompat0: android.support.v4.media.session.PlaybackStateCompat): void; | |
public onSessionReady(): void; | |
public onSessionDestroyed(): void; | |
public onRepeatModeChanged(int0: number): void; | |
public onQueueTitleChanged(charSequence0: string): void; | |
public onExtrasChanged(bundle0: android.os.Bundle): void; | |
public onVolumeInfoChanged(parcelableVolumeInfo0: android.support.v4.media.session.ParcelableVolumeInfo): void; | |
public asBinder(): android.os.IBinder; | |
public onQueueChanged(list0: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public onMetadataChanged(mediaMetadataCompat0: android.support.v4.media.MediaMetadataCompat): void; | |
} | |
export module IMediaControllerCallback { | |
export abstract class Stub extends android.os.Binder implements android.support.v4.media.session.IMediaControllerCallback { | |
public static class: java.lang.Class<android.support.v4.media.session.IMediaControllerCallback.Stub>; | |
public onMetadataChanged(mediaMetadataCompat0: android.support.v4.media.MediaMetadataCompat): void; | |
public pingBinder(): boolean; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public onCaptioningEnabledChanged(boolean0: boolean): void; | |
public isBinderAlive(): boolean; | |
public asBinder(): android.os.IBinder; | |
public constructor(); | |
public onEvent(string0: string, bundle1: android.os.Bundle): void; | |
public static asInterface(obj: android.os.IBinder): android.support.v4.media.session.IMediaControllerCallback; | |
public onExtrasChanged(bundle0: android.os.Bundle): void; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public onPlaybackStateChanged(playbackStateCompat0: android.support.v4.media.session.PlaybackStateCompat): void; | |
public onQueueChanged(list0: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public onShuffleModeChangedRemoved(boolean0: boolean): void; | |
public onTransact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public onVolumeInfoChanged(parcelableVolumeInfo0: android.support.v4.media.session.ParcelableVolumeInfo): void; | |
public getInterfaceDescriptor(): string; | |
public onQueueTitleChanged(charSequence0: string): void; | |
public onRepeatModeChanged(int0: number): void; | |
public onShuffleModeChanged(int0: number): void; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public constructor(descriptor: string); | |
public onSessionReady(): void; | |
public onSessionDestroyed(): void; | |
} | |
export module Stub { | |
export class Proxy extends java.lang.Object implements android.support.v4.media.session.IMediaControllerCallback { | |
public static class: java.lang.Class<android.support.v4.media.session.IMediaControllerCallback.Stub.Proxy>; | |
public onExtrasChanged(extras: android.os.Bundle): void; | |
public onRepeatModeChanged(repeatMode: number): void; | |
public onCaptioningEnabledChanged(enabled: boolean): void; | |
public onShuffleModeChangedRemoved(enabled: boolean): void; | |
public getInterfaceDescriptor(): string; | |
public onQueueTitleChanged(title: string): void; | |
public onEvent(event: string, extras: android.os.Bundle): void; | |
public asBinder(): android.os.IBinder; | |
public onPlaybackStateChanged(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public onQueueChanged(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public onShuffleModeChanged(shuffleMode: number): void; | |
public onSessionDestroyed(): void; | |
public onMetadataChanged(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public onVolumeInfoChanged(info: android.support.v4.media.session.ParcelableVolumeInfo): void; | |
public onSessionReady(): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class IMediaSession extends java.lang.Object implements android.os.IInterface { | |
public static class: java.lang.Class<android.support.v4.media.session.IMediaSession>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.IMediaSession interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
sendCommand(string0: string, bundle1: android.os.Bundle, resultReceiverWrapper2: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper): void; | |
sendMediaButton(keyEvent0: android.view.KeyEvent): boolean; | |
registerCallbackListener(iMediaControllerCallback0: android.support.v4.media.session.IMediaControllerCallback): void; | |
unregisterCallbackListener(iMediaControllerCallback0: android.support.v4.media.session.IMediaControllerCallback): void; | |
isTransportControlEnabled(): boolean; | |
getPackageName(): string; | |
getTag(): string; | |
getLaunchPendingIntent(): android.app.PendingIntent; | |
getFlags(): number; | |
getVolumeAttributes(): android.support.v4.media.session.ParcelableVolumeInfo; | |
adjustVolume(int0: number, int1: number, string2: string): void; | |
setVolumeTo(int0: number, int1: number, string2: string): void; | |
getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
getQueueTitle(): string; | |
getExtras(): android.os.Bundle; | |
getRatingType(): number; | |
isCaptioningEnabled(): boolean; | |
getRepeatMode(): number; | |
isShuffleModeEnabledRemoved(): boolean; | |
getShuffleMode(): number; | |
addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
addQueueItemAt(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat, int1: number): void; | |
removeQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
removeQueueItemAt(int0: number): void; | |
prepare(): void; | |
prepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
prepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
prepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
play(): void; | |
playFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
playFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
playFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
skipToQueueItem(long0: number): void; | |
pause(): void; | |
stop(): void; | |
next(): void; | |
previous(): void; | |
fastForward(): void; | |
rewind(): void; | |
seekTo(long0: number): void; | |
rate(ratingCompat0: android.support.v4.media.RatingCompat): void; | |
rateWithExtras(ratingCompat0: android.support.v4.media.RatingCompat, bundle1: android.os.Bundle): void; | |
setCaptioningEnabled(boolean0: boolean): void; | |
setRepeatMode(int0: number): void; | |
setShuffleModeEnabledRemoved(boolean0: boolean): void; | |
setShuffleMode(int0: number): void; | |
sendCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
asBinder(): android.os.IBinder; | |
}); | |
public constructor(); | |
public addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
public skipToQueueItem(long0: number): void; | |
public pause(): void; | |
public sendCommand(string0: string, bundle1: android.os.Bundle, resultReceiverWrapper2: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper): void; | |
public rewind(): void; | |
public addQueueItemAt(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat, int1: number): void; | |
public next(): void; | |
public isTransportControlEnabled(): boolean; | |
public rateWithExtras(ratingCompat0: android.support.v4.media.RatingCompat, bundle1: android.os.Bundle): void; | |
public getShuffleMode(): number; | |
public unregisterCallbackListener(iMediaControllerCallback0: android.support.v4.media.session.IMediaControllerCallback): void; | |
public getExtras(): android.os.Bundle; | |
public adjustVolume(int0: number, int1: number, string2: string): void; | |
public prepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public prepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public getPackageName(): string; | |
public getTag(): string; | |
public prepare(): void; | |
public playFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public playFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public setShuffleMode(int0: number): void; | |
public getRatingType(): number; | |
public getVolumeAttributes(): android.support.v4.media.session.ParcelableVolumeInfo; | |
public playFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public setRepeatMode(int0: number): void; | |
public removeQueueItemAt(int0: number): void; | |
public asBinder(): android.os.IBinder; | |
public getFlags(): number; | |
public isShuffleModeEnabledRemoved(): boolean; | |
public sendMediaButton(keyEvent0: android.view.KeyEvent): boolean; | |
public getQueueTitle(): string; | |
public isCaptioningEnabled(): boolean; | |
public registerCallbackListener(iMediaControllerCallback0: android.support.v4.media.session.IMediaControllerCallback): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public previous(): void; | |
public removeQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
public getRepeatMode(): number; | |
public setCaptioningEnabled(boolean0: boolean): void; | |
public stop(): void; | |
public setShuffleModeEnabledRemoved(boolean0: boolean): void; | |
public fastForward(): void; | |
public sendCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public rate(ratingCompat0: android.support.v4.media.RatingCompat): void; | |
public setVolumeTo(int0: number, int1: number, string2: string): void; | |
public prepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public seekTo(long0: number): void; | |
public play(): void; | |
public getLaunchPendingIntent(): android.app.PendingIntent; | |
} | |
export module IMediaSession { | |
export abstract class Stub extends android.os.Binder implements android.support.v4.media.session.IMediaSession { | |
public static class: java.lang.Class<android.support.v4.media.session.IMediaSession.Stub>; | |
public seekTo(long0: number): void; | |
public next(): void; | |
public previous(): void; | |
public unregisterCallbackListener(iMediaControllerCallback0: android.support.v4.media.session.IMediaControllerCallback): void; | |
public pause(): void; | |
public prepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public sendCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public removeQueueItemAt(int0: number): void; | |
public setCaptioningEnabled(boolean0: boolean): void; | |
public pingBinder(): boolean; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getTag(): string; | |
public playFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public getExtras(): android.os.Bundle; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public getRatingType(): number; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public isBinderAlive(): boolean; | |
public stop(): void; | |
public prepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public sendCommand(string0: string, bundle1: android.os.Bundle, resultReceiverWrapper2: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper): void; | |
public play(): void; | |
public setShuffleMode(int0: number): void; | |
public getQueueTitle(): string; | |
public getVolumeAttributes(): android.support.v4.media.session.ParcelableVolumeInfo; | |
public setShuffleModeEnabledRemoved(boolean0: boolean): void; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public setRepeatMode(int0: number): void; | |
public getInterfaceDescriptor(): string; | |
public addQueueItemAt(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat, int1: number): void; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public rewind(): void; | |
public isTransportControlEnabled(): boolean; | |
public adjustVolume(int0: number, int1: number, string2: string): void; | |
public getLaunchPendingIntent(): android.app.PendingIntent; | |
public registerCallbackListener(iMediaControllerCallback0: android.support.v4.media.session.IMediaControllerCallback): void; | |
public fastForward(): void; | |
public rate(ratingCompat0: android.support.v4.media.RatingCompat): void; | |
public isShuffleModeEnabledRemoved(): boolean; | |
public setVolumeTo(int0: number, int1: number, string2: string): void; | |
public playFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public isCaptioningEnabled(): boolean; | |
public prepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public getShuffleMode(): number; | |
public addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
public playFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public asBinder(): android.os.IBinder; | |
public static asInterface(obj: android.os.IBinder): android.support.v4.media.session.IMediaSession; | |
public sendMediaButton(keyEvent0: android.view.KeyEvent): boolean; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public prepare(): void; | |
public constructor(); | |
public removeQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
public skipToQueueItem(long0: number): void; | |
public getRepeatMode(): number; | |
public onTransact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public rateWithExtras(ratingCompat0: android.support.v4.media.RatingCompat, bundle1: android.os.Bundle): void; | |
public getPackageName(): string; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public constructor(descriptor: string); | |
public getFlags(): number; | |
} | |
export module Stub { | |
export class Proxy extends java.lang.Object implements android.support.v4.media.session.IMediaSession { | |
public static class: java.lang.Class<android.support.v4.media.session.IMediaSession.Stub.Proxy>; | |
public next(): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getShuffleMode(): number; | |
public playFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public setRepeatMode(repeatMode: number): void; | |
public getPackageName(): string; | |
public asBinder(): android.os.IBinder; | |
public addQueueItemAt(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public prepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public fastForward(): void; | |
public isCaptioningEnabled(): boolean; | |
public getLaunchPendingIntent(): android.app.PendingIntent; | |
public adjustVolume(direction: number, flags: number, packageName: string): void; | |
public getFlags(): number; | |
public play(): void; | |
public seekTo(pos: number): void; | |
public isTransportControlEnabled(): boolean; | |
public skipToQueueItem(id: number): void; | |
public prepareFromSearch(string: string, extras: android.os.Bundle): void; | |
public getTag(): string; | |
public getRepeatMode(): number; | |
public stop(): void; | |
public registerCallbackListener(cb: android.support.v4.media.session.IMediaControllerCallback): void; | |
public playFromMediaId(uri: string, extras: android.os.Bundle): void; | |
public setShuffleModeEnabledRemoved(shuffleMode: boolean): void; | |
public sendMediaButton(mediaButton: android.view.KeyEvent): boolean; | |
public getInterfaceDescriptor(): string; | |
public getQueueTitle(): string; | |
public sendCommand(command: string, bundle1: android.os.Bundle, cb: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper): void; | |
public pause(): void; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public setShuffleMode(shuffleMode: number): void; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public prepare(): void; | |
public sendCustomAction(action: string, bundle1: android.os.Bundle): void; | |
public prepareFromMediaId(uri: string, extras: android.os.Bundle): void; | |
public previous(): void; | |
public playFromSearch(string: string, extras: android.os.Bundle): void; | |
public unregisterCallbackListener(cb: android.support.v4.media.session.IMediaControllerCallback): void; | |
public isShuffleModeEnabledRemoved(): boolean; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getVolumeAttributes(): android.support.v4.media.session.ParcelableVolumeInfo; | |
public rewind(): void; | |
public getRatingType(): number; | |
public removeQueueItemAt(index: number): void; | |
public rate(rating: android.support.v4.media.RatingCompat): void; | |
public setVolumeTo(value: number, flags: number, packageName: string): void; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public rateWithExtras(rating: android.support.v4.media.RatingCompat, extras: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaControllerCompat extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat>; | |
public static COMMAND_GET_EXTRA_BINDER: string; | |
public static COMMAND_ADD_QUEUE_ITEM: string; | |
public static COMMAND_ADD_QUEUE_ITEM_AT: string; | |
public static COMMAND_REMOVE_QUEUE_ITEM: string; | |
public static COMMAND_REMOVE_QUEUE_ITEM_AT: string; | |
public static COMMAND_ARGUMENT_MEDIA_DESCRIPTION: string; | |
public static COMMAND_ARGUMENT_INDEX: string; | |
public static setMediaController(activity: android.app.Activity, mediaController: android.support.v4.media.session.MediaControllerCompat): void; | |
public adjustVolume(direction: number, flags: number): void; | |
public getSessionActivity(): android.app.PendingIntent; | |
public getRatingType(): number; | |
public registerCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public constructor(context: android.content.Context, sessionToken: android.support.v4.media.session.MediaSessionCompat.Token); | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public sendCommand(command: string, params: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getMediaController(): any; | |
public registerCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback, handler: android.os.Handler): void; | |
public setVolumeTo(value: number, flags: number): void; | |
public getFlags(): number; | |
public static getMediaController(activity: android.app.Activity): android.support.v4.media.session.MediaControllerCompat; | |
public getQueueTitle(): string; | |
public isCaptioningEnabled(): boolean; | |
public unregisterCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getShuffleMode(): number; | |
public getSessionToken2Bundle(): android.os.Bundle; | |
public getExtras(): android.os.Bundle; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public dispatchMediaButtonEvent(keyEvent: android.view.KeyEvent): boolean; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getRepeatMode(): number; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
/** @deprecated */ | |
public removeQueueItemAt(index: number): void; | |
public getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
public getPackageName(): string; | |
public isSessionReady(): boolean; | |
public constructor(context: android.content.Context, session: android.support.v4.media.session.MediaSessionCompat); | |
public getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
} | |
export module MediaControllerCompat { | |
export abstract class Callback extends java.lang.Object implements android.os.IBinder.DeathRecipient { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.Callback>; | |
public constructor(); | |
public onRepeatModeChanged(repeatMode: number): void; | |
public onQueueChanged(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public onShuffleModeChanged(shuffleMode: number): void; | |
public onQueueTitleChanged(title: string): void; | |
public getIControllerCallback(): android.support.v4.media.session.IMediaControllerCallback; | |
public onSessionEvent(event: string, extras: android.os.Bundle): void; | |
public onCaptioningEnabledChanged(enabled: boolean): void; | |
public binderDied(): void; | |
public onMetadataChanged(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public onPlaybackStateChanged(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public onExtrasChanged(extras: android.os.Bundle): void; | |
public onAudioInfoChanged(info: android.support.v4.media.session.MediaControllerCompat.PlaybackInfo): void; | |
public onSessionReady(): void; | |
public onSessionDestroyed(): void; | |
} | |
export module Callback { | |
export class MessageHandler extends android.os.Handler { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.Callback.MessageHandler>; | |
public handleMessage(msg: android.os.Message): void; | |
} | |
export class StubApi21 extends java.lang.Object implements android.support.v4.media.session.MediaControllerCompatApi21.Callback { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.Callback.StubApi21>; | |
public onExtrasChanged(extras: android.os.Bundle): void; | |
public onQueueChanged(queue: java.util.List<any>): void; | |
public onSessionDestroyed(): void; | |
public onMetadataChanged(metadataObj: any): void; | |
public onQueueTitleChanged(title: string): void; | |
public onAudioInfoChanged(type: number, stream: number, control: number, max: number, current: number): void; | |
public onSessionEvent(event: string, extras: android.os.Bundle): void; | |
public onPlaybackStateChanged(stateObj: any): void; | |
} | |
export class StubCompat extends android.support.v4.media.session.IMediaControllerCallback.Stub { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.Callback.StubCompat>; | |
public onExtrasChanged(extras: android.os.Bundle): void; | |
public isBinderAlive(): boolean; | |
public onRepeatModeChanged(repeatMode: number): void; | |
public onCaptioningEnabledChanged(enabled: boolean): void; | |
public onShuffleModeChangedRemoved(enabled: boolean): void; | |
public onQueueTitleChanged(title: string): void; | |
public getInterfaceDescriptor(): string; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public onEvent(event: string, extras: android.os.Bundle): void; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public onPlaybackStateChanged(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public onQueueChanged(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public onShuffleModeChanged(shuffleMode: number): void; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public onSessionDestroyed(): void; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public onMetadataChanged(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public pingBinder(): boolean; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public onVolumeInfoChanged(info: android.support.v4.media.session.ParcelableVolumeInfo): void; | |
public onSessionReady(): void; | |
} | |
} | |
export class MediaControllerExtraData extends androidx.core.app.ComponentActivity.ExtraData { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerExtraData>; | |
} | |
export class MediaControllerImpl extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaControllerCompat$MediaControllerImpl interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
registerCallback(callback0: android.support.v4.media.session.MediaControllerCompat.Callback, handler1: android.os.Handler): void; | |
unregisterCallback(callback0: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
dispatchMediaButtonEvent(keyEvent0: android.view.KeyEvent): boolean; | |
getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat, int1: number): void; | |
removeQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
getQueueTitle(): string; | |
getExtras(): android.os.Bundle; | |
getRatingType(): number; | |
isCaptioningEnabled(): boolean; | |
getRepeatMode(): number; | |
getShuffleMode(): number; | |
getFlags(): number; | |
getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
getSessionActivity(): android.app.PendingIntent; | |
setVolumeTo(int0: number, int1: number): void; | |
adjustVolume(int0: number, int1: number): void; | |
sendCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
isSessionReady(): boolean; | |
getPackageName(): string; | |
getMediaController(): any; | |
}); | |
public constructor(); | |
public addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat, int1: number): void; | |
public isCaptioningEnabled(): boolean; | |
public getMediaController(): any; | |
public getShuffleMode(): number; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public addQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
public getExtras(): android.os.Bundle; | |
public getRatingType(): number; | |
public isSessionReady(): boolean; | |
public getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public unregisterCallback(callback0: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public getQueueTitle(): string; | |
public registerCallback(callback0: android.support.v4.media.session.MediaControllerCompat.Callback, handler1: android.os.Handler): void; | |
public removeQueueItem(mediaDescriptionCompat0: android.support.v4.media.MediaDescriptionCompat): void; | |
public sendCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
public setVolumeTo(int0: number, int1: number): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getRepeatMode(): number; | |
public getSessionActivity(): android.app.PendingIntent; | |
public getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
public dispatchMediaButtonEvent(keyEvent0: android.view.KeyEvent): boolean; | |
public adjustVolume(int0: number, int1: number): void; | |
public getPackageName(): string; | |
public getFlags(): number; | |
} | |
export class MediaControllerImplApi21 extends java.lang.Object implements android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21>; | |
public mControllerObj: any; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public isCaptioningEnabled(): boolean; | |
public getMediaController(): any; | |
public dispatchMediaButtonEvent(event: android.view.KeyEvent): boolean; | |
public getShuffleMode(): number; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public sendCommand(command: string, params: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public unregisterCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public getRatingType(): number; | |
public isSessionReady(): boolean; | |
public getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setVolumeTo(value: number, flags: number): void; | |
public getQueueTitle(): string; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getRepeatMode(): number; | |
public getSessionActivity(): android.app.PendingIntent; | |
public getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public registerCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback, handler: android.os.Handler): void; | |
public constructor(context: android.content.Context, sessionToken: android.support.v4.media.session.MediaSessionCompat.Token); | |
public getPackageName(): string; | |
public adjustVolume(direction: number, flags: number): void; | |
public getFlags(): number; | |
} | |
export module MediaControllerImplApi21 { | |
export class ExtraBinderRequestResultReceiver extends android.os.ResultReceiver { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21.ExtraBinderRequestResultReceiver>; | |
public onReceiveResult(resultCode: number, resultData: android.os.Bundle): void; | |
public describeContents(): number; | |
public writeToParcel(out: android.os.Parcel, flags: number): void; | |
} | |
export class ExtraCallback extends android.support.v4.media.session.MediaControllerCompat.Callback.StubCompat { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21.ExtraCallback>; | |
public onExtrasChanged(extras: android.os.Bundle): void; | |
public isBinderAlive(): boolean; | |
public onRepeatModeChanged(repeatMode: number): void; | |
public onCaptioningEnabledChanged(enabled: boolean): void; | |
public onShuffleModeChangedRemoved(enabled: boolean): void; | |
public onQueueTitleChanged(title: string): void; | |
public getInterfaceDescriptor(): string; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public onEvent(event: string, extras: android.os.Bundle): void; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public onPlaybackStateChanged(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public onQueueChanged(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public onShuffleModeChanged(shuffleMode: number): void; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public onSessionDestroyed(): void; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public onMetadataChanged(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public pingBinder(): boolean; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public onVolumeInfoChanged(info: android.support.v4.media.session.ParcelableVolumeInfo): void; | |
public onSessionReady(): void; | |
} | |
} | |
export class MediaControllerImplApi23 extends android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21 { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi23>; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public isCaptioningEnabled(): boolean; | |
public getMediaController(): any; | |
public dispatchMediaButtonEvent(event: android.view.KeyEvent): boolean; | |
public getShuffleMode(): number; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public sendCommand(command: string, params: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public unregisterCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public getRatingType(): number; | |
public isSessionReady(): boolean; | |
public getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setVolumeTo(value: number, flags: number): void; | |
public getQueueTitle(): string; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getRepeatMode(): number; | |
public getSessionActivity(): android.app.PendingIntent; | |
public getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public registerCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback, handler: android.os.Handler): void; | |
public constructor(context: android.content.Context, sessionToken: android.support.v4.media.session.MediaSessionCompat.Token); | |
public getPackageName(): string; | |
public adjustVolume(direction: number, flags: number): void; | |
public getFlags(): number; | |
} | |
export class MediaControllerImplApi24 extends android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi23 { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi24>; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public isCaptioningEnabled(): boolean; | |
public getMediaController(): any; | |
public dispatchMediaButtonEvent(event: android.view.KeyEvent): boolean; | |
public getShuffleMode(): number; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public sendCommand(command: string, params: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public unregisterCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public getRatingType(): number; | |
public isSessionReady(): boolean; | |
public getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setVolumeTo(value: number, flags: number): void; | |
public getQueueTitle(): string; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getRepeatMode(): number; | |
public getSessionActivity(): android.app.PendingIntent; | |
public getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public registerCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback, handler: android.os.Handler): void; | |
public constructor(context: android.content.Context, sessionToken: android.support.v4.media.session.MediaSessionCompat.Token); | |
public getPackageName(): string; | |
public adjustVolume(direction: number, flags: number): void; | |
public getFlags(): number; | |
} | |
export class MediaControllerImplBase extends java.lang.Object implements android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.MediaControllerImplBase>; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public isCaptioningEnabled(): boolean; | |
public getMediaController(): any; | |
public dispatchMediaButtonEvent(event: android.view.KeyEvent): boolean; | |
public getShuffleMode(): number; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public sendCommand(command: string, params: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public constructor(token: android.support.v4.media.session.MediaSessionCompat.Token); | |
public unregisterCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback): void; | |
public getRatingType(): number; | |
public isSessionReady(): boolean; | |
public getTransportControls(): android.support.v4.media.session.MediaControllerCompat.TransportControls; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setVolumeTo(value: number, flags: number): void; | |
public getQueueTitle(): string; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public getRepeatMode(): number; | |
public getSessionActivity(): android.app.PendingIntent; | |
public getPlaybackInfo(): android.support.v4.media.session.MediaControllerCompat.PlaybackInfo; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public registerCallback(callback: android.support.v4.media.session.MediaControllerCompat.Callback, handler: android.os.Handler): void; | |
public getPackageName(): string; | |
public adjustVolume(direction: number, flags: number): void; | |
public getFlags(): number; | |
} | |
export class PlaybackInfo extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.PlaybackInfo>; | |
public static PLAYBACK_TYPE_LOCAL: number; | |
public static PLAYBACK_TYPE_REMOTE: number; | |
public getAudioStream(): number; | |
public getMaxVolume(): number; | |
public getPlaybackType(): number; | |
public getVolumeControl(): number; | |
public getCurrentVolume(): number; | |
} | |
export abstract class TransportControls extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.TransportControls>; | |
public static EXTRA_LEGACY_STREAM_TYPE: string; | |
public seekTo(long0: number): void; | |
public playFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public skipToQueueItem(long0: number): void; | |
public pause(): void; | |
public setRating(ratingCompat0: android.support.v4.media.RatingCompat): void; | |
public prepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public sendCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public prepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public setCaptioningEnabled(boolean0: boolean): void; | |
public setRepeatMode(int0: number): void; | |
public playFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public setRating(ratingCompat0: android.support.v4.media.RatingCompat, bundle1: android.os.Bundle): void; | |
public playFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public skipToPrevious(): void; | |
public stop(): void; | |
public prepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public skipToNext(): void; | |
public rewind(): void; | |
public play(): void; | |
public setShuffleMode(int0: number): void; | |
public prepare(): void; | |
public sendCustomAction(customAction0: android.support.v4.media.session.PlaybackStateCompat.CustomAction, bundle1: android.os.Bundle): void; | |
public fastForward(): void; | |
} | |
export class TransportControlsApi21 extends android.support.v4.media.session.MediaControllerCompat.TransportControls { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21>; | |
public mControlsObj: any; | |
public seekTo(long0: number): void; | |
public constructor(controlsObj: any); | |
public playFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public skipToQueueItem(id: number): void; | |
public pause(): void; | |
public setRating(ratingCompat0: android.support.v4.media.RatingCompat): void; | |
public setRating(rating: android.support.v4.media.RatingCompat, extras: android.os.Bundle): void; | |
public prepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public sendCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public prepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public setCaptioningEnabled(boolean0: boolean): void; | |
public setRating(ratingCompat0: android.support.v4.media.RatingCompat, bundle1: android.os.Bundle): void; | |
public playFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public playFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public skipToPrevious(): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public stop(): void; | |
public playFromSearch(query: string, extras: android.os.Bundle): void; | |
public prepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public skipToNext(): void; | |
public seekTo(pos: number): void; | |
public play(): void; | |
public setShuffleMode(int0: number): void; | |
public prepare(): void; | |
public setRating(rating: android.support.v4.media.RatingCompat): void; | |
public skipToQueueItem(long0: number): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public playFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public setRepeatMode(int0: number): void; | |
public sendCustomAction(action: string, bundle1: android.os.Bundle): void; | |
public prepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public setRepeatMode(repeatMode: number): void; | |
public prepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public rewind(): void; | |
public playFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public sendCustomAction(customAction: android.support.v4.media.session.PlaybackStateCompat.CustomAction, bundle1: android.os.Bundle): void; | |
public prepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public sendCustomAction(customAction0: android.support.v4.media.session.PlaybackStateCompat.CustomAction, bundle1: android.os.Bundle): void; | |
public fastForward(): void; | |
} | |
export class TransportControlsApi23 extends android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.TransportControlsApi23>; | |
public constructor(controlsObj: any); | |
public playFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
} | |
export class TransportControlsApi24 extends android.support.v4.media.session.MediaControllerCompat.TransportControlsApi23 { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.TransportControlsApi24>; | |
public prepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public constructor(controlsObj: any); | |
public prepare(): void; | |
public prepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public prepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
} | |
export class TransportControlsBase extends android.support.v4.media.session.MediaControllerCompat.TransportControls { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompat.TransportControlsBase>; | |
public seekTo(long0: number): void; | |
public playFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public skipToQueueItem(id: number): void; | |
public pause(): void; | |
public setRating(ratingCompat0: android.support.v4.media.RatingCompat): void; | |
public setRating(rating: android.support.v4.media.RatingCompat, extras: android.os.Bundle): void; | |
public prepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public sendCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public prepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public setCaptioningEnabled(boolean0: boolean): void; | |
public playFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public setRating(ratingCompat0: android.support.v4.media.RatingCompat, bundle1: android.os.Bundle): void; | |
public playFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public skipToPrevious(): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public playFromSearch(query: string, extras: android.os.Bundle): void; | |
public stop(): void; | |
public prepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public skipToNext(): void; | |
public seekTo(pos: number): void; | |
public play(): void; | |
public setShuffleMode(int0: number): void; | |
public prepare(): void; | |
public skipToQueueItem(long0: number): void; | |
public setRating(rating: android.support.v4.media.RatingCompat): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public playFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public setRepeatMode(int0: number): void; | |
public sendCustomAction(action: string, bundle1: android.os.Bundle): void; | |
public prepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public setRepeatMode(repeatMode: number): void; | |
public prepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public playFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public rewind(): void; | |
public sendCustomAction(customAction: android.support.v4.media.session.PlaybackStateCompat.CustomAction, bundle1: android.os.Bundle): void; | |
public prepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public sendCustomAction(customAction0: android.support.v4.media.session.PlaybackStateCompat.CustomAction, bundle1: android.os.Bundle): void; | |
public constructor(binder: android.support.v4.media.session.IMediaSession); | |
public fastForward(): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaControllerCompatApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi21>; | |
public static getSessionActivity(controllerObj: any): android.app.PendingIntent; | |
public static getMetadata(controllerObj: any): any; | |
public static setVolumeTo(controllerObj: any, value: number, flags: number): void; | |
public static getQueueTitle(controllerObj: any): string; | |
public static fromToken(context: android.content.Context, sessionToken: any): any; | |
public static registerCallback(controllerObj: any, callbackObj: any, handler: android.os.Handler): void; | |
public static setMediaController(activity: android.app.Activity, controllerObj: any): void; | |
public static getPlaybackState(controllerObj: any): any; | |
public static getQueue(controllerObj: any): java.util.List<any>; | |
public static getPackageName(controllerObj: any): string; | |
public static getSessionToken(controllerObj: any): any; | |
public static unregisterCallback(controllerObj: any, callbackObj: any): void; | |
public static getTransportControls(controllerObj: any): any; | |
public static getPlaybackInfo(controllerObj: any): any; | |
public static getMediaController(activity: android.app.Activity): any; | |
public static getRatingType(controllerObj: any): number; | |
public static dispatchMediaButtonEvent(controllerObj: any, event: android.view.KeyEvent): boolean; | |
public static createCallback(callback: android.support.v4.media.session.MediaControllerCompatApi21.Callback): any; | |
public static sendCommand(controllerObj: any, command: string, params: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public static adjustVolume(controllerObj: any, direction: number, flags: number): void; | |
public static getExtras(controllerObj: any): android.os.Bundle; | |
public static getFlags(controllerObj: any): number; | |
} | |
export module MediaControllerCompatApi21 { | |
export class Callback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi21.Callback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaControllerCompatApi21$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onSessionDestroyed(): void; | |
onSessionEvent(string0: string, bundle1: android.os.Bundle): void; | |
onPlaybackStateChanged(object0: any): void; | |
onMetadataChanged(object0: any): void; | |
onQueueChanged(list0: java.util.List<any>): void; | |
onQueueTitleChanged(charSequence0: string): void; | |
onExtrasChanged(bundle0: android.os.Bundle): void; | |
onAudioInfoChanged(int0: number, int1: number, int2: number, int3: number, int4: number): void; | |
}); | |
public constructor(); | |
public onAudioInfoChanged(int0: number, int1: number, int2: number, int3: number, int4: number): void; | |
public onQueueChanged(list0: java.util.List<any>): void; | |
public onQueueTitleChanged(charSequence0: string): void; | |
public onExtrasChanged(bundle0: android.os.Bundle): void; | |
public onSessionEvent(string0: string, bundle1: android.os.Bundle): void; | |
public onMetadataChanged(object0: any): void; | |
public onSessionDestroyed(): void; | |
public onPlaybackStateChanged(object0: any): void; | |
} | |
export class CallbackProxy<T> extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi21.CallbackProxy<any>>; | |
public mCallback: any; | |
public constructor(); | |
public onSessionEvent(event: string, extras: android.os.Bundle): void; | |
public onMetadataChanged(metadata: any): void; | |
public constructor(callback: any); | |
public onPlaybackStateChanged(state: any): void; | |
public onQueueTitleChanged(title: string): void; | |
public onQueueChanged(queue: java.util.List<any>): void; | |
public onExtrasChanged(extras: android.os.Bundle): void; | |
public onAudioInfoChanged(info: any): void; | |
public onSessionDestroyed(): void; | |
} | |
export class PlaybackInfo extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi21.PlaybackInfo>; | |
public static getPlaybackType(volumeInfoObj: any): number; | |
public static getMaxVolume(volumeInfoObj: any): number; | |
public static getVolumeControl(volumeInfoObj: any): number; | |
public static getLegacyAudioStream(volumeInfoObj: any): number; | |
public static getCurrentVolume(volumeInfoObj: any): number; | |
public static getAudioAttributes(volumeInfoObj: any): any; | |
} | |
export class TransportControls extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi21.TransportControls>; | |
public static seekTo(controlsObj: any, pos: number): void; | |
public static skipToQueueItem(controlsObj: any, id: number): void; | |
public static pause(controlsObj: any): void; | |
public static fastForward(controlsObj: any): void; | |
public static stop(controlsObj: any): void; | |
public static setRating(controlsObj: any, ratingObj: any): void; | |
public static sendCustomAction(controlsObj: any, action: string, bundle2: android.os.Bundle): void; | |
public static skipToPrevious(controlsObj: any): void; | |
public static playFromSearch(controlsObj: any, query: string, extras: android.os.Bundle): void; | |
public static skipToNext(controlsObj: any): void; | |
public static rewind(controlsObj: any): void; | |
public static play(controlsObj: any): void; | |
public static playFromMediaId(controlsObj: any, mediaId: string, extras: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaControllerCompatApi23 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi23>; | |
} | |
export module MediaControllerCompatApi23 { | |
export class TransportControls extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi23.TransportControls>; | |
public static playFromUri(controlsObj: any, uri: android.net.Uri, extras: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaControllerCompatApi24 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi24>; | |
} | |
export module MediaControllerCompatApi24 { | |
export class TransportControls extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaControllerCompatApi24.TransportControls>; | |
public static prepareFromMediaId(controlsObj: any, mediaId: string, extras: android.os.Bundle): void; | |
public static prepareFromSearch(controlsObj: any, query: string, extras: android.os.Bundle): void; | |
public static prepare(controlsObj: any): void; | |
public static prepareFromUri(controlsObj: any, uri: android.net.Uri, extras: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaSessionCompat extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat>; | |
public static FLAG_HANDLES_MEDIA_BUTTONS: number; | |
public static FLAG_HANDLES_TRANSPORT_CONTROLS: number; | |
public static FLAG_HANDLES_QUEUE_COMMANDS: number; | |
public static ACTION_FLAG_AS_INAPPROPRIATE: string; | |
public static ACTION_SKIP_AD: string; | |
public static ACTION_FOLLOW: string; | |
public static ACTION_UNFOLLOW: string; | |
public static ARGUMENT_MEDIA_ATTRIBUTE: string; | |
public static ARGUMENT_MEDIA_ATTRIBUTE_VALUE: string; | |
public static MEDIA_ATTRIBUTE_ARTIST: number; | |
public static MEDIA_ATTRIBUTE_ALBUM: number; | |
public static MEDIA_ATTRIBUTE_PLAYLIST: number; | |
public static ACTION_PLAY_FROM_URI: string; | |
public static ACTION_PREPARE: string; | |
public static ACTION_PREPARE_FROM_MEDIA_ID: string; | |
public static ACTION_PREPARE_FROM_SEARCH: string; | |
public static ACTION_PREPARE_FROM_URI: string; | |
public static ACTION_SET_CAPTIONING_ENABLED: string; | |
public static ACTION_SET_REPEAT_MODE: string; | |
public static ACTION_SET_SHUFFLE_MODE: string; | |
public static ACTION_SET_RATING: string; | |
public static ACTION_ARGUMENT_MEDIA_ID: string; | |
public static ACTION_ARGUMENT_QUERY: string; | |
public static ACTION_ARGUMENT_URI: string; | |
public static ACTION_ARGUMENT_RATING: string; | |
public static ACTION_ARGUMENT_EXTRAS: string; | |
public static ACTION_ARGUMENT_CAPTIONING_ENABLED: string; | |
public static ACTION_ARGUMENT_REPEAT_MODE: string; | |
public static ACTION_ARGUMENT_SHUFFLE_MODE: string; | |
public static KEY_TOKEN: string; | |
public static KEY_EXTRA_BINDER: string; | |
public static KEY_SESSION_TOKEN2_BUNDLE: string; | |
public setMetadata(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public getCallingPackage(): string; | |
public setFlags(flags: number): void; | |
public setPlaybackToLocal(stream: number): void; | |
public getMediaSession(): any; | |
public removeOnActiveChangeListener(listener: android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener): void; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback): void; | |
public setQueue(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public constructor(context: android.content.Context, tag: string); | |
public constructor(context: android.content.Context, tag: string, token2Bundle: android.os.Bundle); | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback, handler: android.os.Handler): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public setQueueTitle(title: string): void; | |
public setPlaybackState(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public setMediaButtonReceiver(mbr: android.app.PendingIntent): void; | |
public static fromMediaSession(context: android.content.Context, mediaSession: any): android.support.v4.media.session.MediaSessionCompat; | |
public setPlaybackToRemote(volumeProvider: androidx.media.VolumeProviderCompat): void; | |
public isActive(): boolean; | |
public setActive(active: boolean): void; | |
public getRemoteControlClient(): any; | |
public setExtras(extras: android.os.Bundle): void; | |
public constructor(context: android.content.Context, tag: string, mbrComponent: android.content.ComponentName, mbrIntent: android.app.PendingIntent); | |
public getController(): android.support.v4.media.session.MediaControllerCompat; | |
public release(): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public static ensureClassLoader(bundle: android.os.Bundle): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public setRatingType(type: number): void; | |
public addOnActiveChangeListener(listener: android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener): void; | |
public sendSessionEvent(event: string, extras: android.os.Bundle): void; | |
public setRepeatMode(repeatMode: number): void; | |
public setSessionActivity(pi: android.app.PendingIntent): void; | |
} | |
export module MediaSessionCompat { | |
export abstract class Callback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.Callback>; | |
public onRemoveQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public onSetShuffleMode(shuffleMode: number): void; | |
public onSetCaptioningEnabled(enabled: boolean): void; | |
public onSkipToNext(): void; | |
public onCustomAction(action: string, extras: android.os.Bundle): void; | |
public onAddQueueItem(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public onPlayFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public onFastForward(): void; | |
public onSkipToQueueItem(id: number): void; | |
public onPlayFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onMediaButtonEvent(mediaButtonEvent: android.content.Intent): boolean; | |
/** @deprecated */ | |
public onRemoveQueueItemAt(index: number): void; | |
public onSetRating(rating: android.support.v4.media.RatingCompat, extras: android.os.Bundle): void; | |
public constructor(); | |
public onPlayFromSearch(query: string, extras: android.os.Bundle): void; | |
public onSeekTo(pos: number): void; | |
public onPrepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public onRewind(): void; | |
public onStop(): void; | |
public onSetRepeatMode(repeatMode: number): void; | |
public onCommand(command: string, extras: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public onPrepare(): void; | |
public onPrepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onPrepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public onPlay(): void; | |
public onSetRating(rating: android.support.v4.media.RatingCompat): void; | |
public onSkipToPrevious(): void; | |
public onPause(): void; | |
public onAddQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
} | |
export module Callback { | |
export class CallbackHandler extends android.os.Handler { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.Callback.CallbackHandler>; | |
public handleMessage(msg: android.os.Message): void; | |
} | |
export class StubApi21 extends java.lang.Object implements android.support.v4.media.session.MediaSessionCompatApi21.Callback { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.Callback.StubApi21>; | |
public onRewind(): void; | |
public onCustomAction(action: string, extras: android.os.Bundle): void; | |
public onSeekTo(pos: number): void; | |
public onSkipToNext(): void; | |
public onSkipToPrevious(): void; | |
public onSkipToQueueItem(id: number): void; | |
public onStop(): void; | |
public onSetRating(ratingObj: any, extras: android.os.Bundle): void; | |
public onPause(): void; | |
public onFastForward(): void; | |
public onSetRating(ratingObj: any): void; | |
public onPlay(): void; | |
public onPlayFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onPlayFromSearch(search: string, extras: android.os.Bundle): void; | |
public onCommand(command: string, extras: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public onMediaButtonEvent(mediaButtonIntent: android.content.Intent): boolean; | |
} | |
export class StubApi23 extends android.support.v4.media.session.MediaSessionCompat.Callback.StubApi21 implements android.support.v4.media.session.MediaSessionCompatApi23.Callback { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.Callback.StubApi23>; | |
public onRewind(): void; | |
public onCustomAction(action: string, extras: android.os.Bundle): void; | |
public onSeekTo(pos: number): void; | |
public onSkipToNext(): void; | |
public onSkipToPrevious(): void; | |
public onSkipToQueueItem(id: number): void; | |
public onStop(): void; | |
public onSetRating(ratingObj: any, extras: android.os.Bundle): void; | |
public onPlayFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public onPause(): void; | |
public onFastForward(): void; | |
public onSetRating(ratingObj: any): void; | |
public onPlay(): void; | |
public onPlayFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onPlayFromSearch(search: string, extras: android.os.Bundle): void; | |
public onCommand(command: string, extras: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public onMediaButtonEvent(mediaButtonIntent: android.content.Intent): boolean; | |
} | |
export class StubApi24 extends android.support.v4.media.session.MediaSessionCompat.Callback.StubApi23 implements android.support.v4.media.session.MediaSessionCompatApi24.Callback { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.Callback.StubApi24>; | |
public onRewind(): void; | |
public onCustomAction(action: string, extras: android.os.Bundle): void; | |
public onSeekTo(pos: number): void; | |
public onSkipToNext(): void; | |
public onSkipToPrevious(): void; | |
public onSkipToQueueItem(id: number): void; | |
public onPrepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onPrepare(): void; | |
public onPrepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public onStop(): void; | |
public onSetRating(ratingObj: any, extras: android.os.Bundle): void; | |
public onPlayFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public onPause(): void; | |
public onFastForward(): void; | |
public onSetRating(ratingObj: any): void; | |
public onPlay(): void; | |
public onPlayFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onPlayFromSearch(search: string, extras: android.os.Bundle): void; | |
public onPrepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public onCommand(command: string, extras: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public onMediaButtonEvent(mediaButtonIntent: android.content.Intent): boolean; | |
} | |
} | |
export class MediaSessionImpl extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaSessionCompat$MediaSessionImpl interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setCallback(callback0: android.support.v4.media.session.MediaSessionCompat.Callback, handler1: android.os.Handler): void; | |
setFlags(int0: number): void; | |
setPlaybackToLocal(int0: number): void; | |
setPlaybackToRemote(volumeProviderCompat0: androidx.media.VolumeProviderCompat): void; | |
setActive(boolean0: boolean): void; | |
isActive(): boolean; | |
sendSessionEvent(string0: string, bundle1: android.os.Bundle): void; | |
release(): void; | |
getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
setPlaybackState(playbackStateCompat0: android.support.v4.media.session.PlaybackStateCompat): void; | |
getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
setMetadata(mediaMetadataCompat0: android.support.v4.media.MediaMetadataCompat): void; | |
setSessionActivity(pendingIntent0: android.app.PendingIntent): void; | |
setMediaButtonReceiver(pendingIntent0: android.app.PendingIntent): void; | |
setQueue(list0: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
setQueueTitle(charSequence0: string): void; | |
setRatingType(int0: number): void; | |
setCaptioningEnabled(boolean0: boolean): void; | |
setRepeatMode(int0: number): void; | |
setShuffleMode(int0: number): void; | |
setExtras(bundle0: android.os.Bundle): void; | |
getMediaSession(): any; | |
getRemoteControlClient(): any; | |
getCallingPackage(): string; | |
getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
setCurrentControllerInfo(remoteUserInfo0: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
}); | |
public constructor(); | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setCurrentControllerInfo(remoteUserInfo0: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
public setCaptioningEnabled(boolean0: boolean): void; | |
public setFlags(int0: number): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public getCallingPackage(): string; | |
public setCallback(callback0: android.support.v4.media.session.MediaSessionCompat.Callback, handler1: android.os.Handler): void; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setQueue(list0: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public setShuffleMode(int0: number): void; | |
public sendSessionEvent(string0: string, bundle1: android.os.Bundle): void; | |
public setSessionActivity(pendingIntent0: android.app.PendingIntent): void; | |
public setPlaybackToRemote(volumeProviderCompat0: androidx.media.VolumeProviderCompat): void; | |
public isActive(): boolean; | |
public setMediaButtonReceiver(pendingIntent0: android.app.PendingIntent): void; | |
public setQueueTitle(charSequence0: string): void; | |
public setRatingType(int0: number): void; | |
public setActive(boolean0: boolean): void; | |
public release(): void; | |
public setRepeatMode(int0: number): void; | |
public setExtras(bundle0: android.os.Bundle): void; | |
public setPlaybackToLocal(int0: number): void; | |
public setPlaybackState(playbackStateCompat0: android.support.v4.media.session.PlaybackStateCompat): void; | |
public setMetadata(mediaMetadataCompat0: android.support.v4.media.MediaMetadataCompat): void; | |
public getMediaSession(): any; | |
public getRemoteControlClient(): any; | |
} | |
export class MediaSessionImplApi18 extends android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi18>; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setRatingType(type: number): void; | |
public setFlags(flags: number): void; | |
public setExtras(extras: android.os.Bundle): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public getCallingPackage(): string; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback, handler: android.os.Handler): void; | |
public setPlaybackState(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public setMetadata(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public isActive(): boolean; | |
public setMediaButtonReceiver(mbr: android.app.PendingIntent): void; | |
public setQueue(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public release(): void; | |
public setActive(active: boolean): void; | |
public setPlaybackToRemote(volumeProvider: androidx.media.VolumeProviderCompat): void; | |
public setRepeatMode(repeatMode: number): void; | |
public setCurrentControllerInfo(remoteUserInfo: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
public setPlaybackToLocal(stream: number): void; | |
public setSessionActivity(pi: android.app.PendingIntent): void; | |
public getMediaSession(): any; | |
public setQueueTitle(title: string): void; | |
public getRemoteControlClient(): any; | |
public sendSessionEvent(event: string, extras: android.os.Bundle): void; | |
} | |
export class MediaSessionImplApi19 extends android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi18 { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi19>; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setRatingType(type: number): void; | |
public setFlags(flags: number): void; | |
public setExtras(extras: android.os.Bundle): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public getCallingPackage(): string; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback, handler: android.os.Handler): void; | |
public setPlaybackState(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public setMetadata(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public isActive(): boolean; | |
public setMediaButtonReceiver(mbr: android.app.PendingIntent): void; | |
public setQueue(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public release(): void; | |
public setActive(active: boolean): void; | |
public setPlaybackToRemote(volumeProvider: androidx.media.VolumeProviderCompat): void; | |
public setRepeatMode(repeatMode: number): void; | |
public setCurrentControllerInfo(remoteUserInfo: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
public setPlaybackToLocal(stream: number): void; | |
public setSessionActivity(pi: android.app.PendingIntent): void; | |
public getMediaSession(): any; | |
public setQueueTitle(title: string): void; | |
public getRemoteControlClient(): any; | |
public sendSessionEvent(event: string, extras: android.os.Bundle): void; | |
} | |
export class MediaSessionImplApi21 extends java.lang.Object implements android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi21>; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setRatingType(type: number): void; | |
public setFlags(flags: number): void; | |
public setExtras(extras: android.os.Bundle): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public getCallingPackage(): string; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback, handler: android.os.Handler): void; | |
public setPlaybackState(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public setMetadata(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public isActive(): boolean; | |
public setMediaButtonReceiver(mbr: android.app.PendingIntent): void; | |
public setQueue(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public release(): void; | |
public setActive(active: boolean): void; | |
public setPlaybackToRemote(volumeProvider: androidx.media.VolumeProviderCompat): void; | |
public setRepeatMode(repeatMode: number): void; | |
public setCurrentControllerInfo(remoteUserInfo: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
public setPlaybackToLocal(stream: number): void; | |
public setSessionActivity(pi: android.app.PendingIntent): void; | |
public getMediaSession(): any; | |
public setQueueTitle(title: string): void; | |
public getRemoteControlClient(): any; | |
public sendSessionEvent(event: string, extras: android.os.Bundle): void; | |
} | |
export module MediaSessionImplApi21 { | |
export class ExtraSession extends android.support.v4.media.session.IMediaSession.Stub { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi21.ExtraSession>; | |
public next(): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public playFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public setRepeatMode(repeatMode: number): void; | |
public getShuffleMode(): number; | |
public getPackageName(): string; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public prepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public fastForward(): void; | |
public addQueueItemAt(descriptionCompat: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public isCaptioningEnabled(): boolean; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public prepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public playFromSearch(query: string, extras: android.os.Bundle): void; | |
public playFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public getLaunchPendingIntent(): android.app.PendingIntent; | |
public adjustVolume(direction: number, flags: number, packageName: string): void; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public getFlags(): number; | |
public play(): void; | |
public prepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public seekTo(pos: number): void; | |
public isTransportControlEnabled(): boolean; | |
public skipToQueueItem(id: number): void; | |
public getTag(): string; | |
public stop(): void; | |
public getRepeatMode(): number; | |
public registerCallbackListener(cb: android.support.v4.media.session.IMediaControllerCallback): void; | |
public sendMediaButton(mediaButton: android.view.KeyEvent): boolean; | |
public isBinderAlive(): boolean; | |
public getQueueTitle(): string; | |
public getInterfaceDescriptor(): string; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public sendCommand(command: string, bundle1: android.os.Bundle, cb: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper): void; | |
public pause(): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public setShuffleModeEnabledRemoved(enabled: boolean): void; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public prepare(): void; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public sendCustomAction(action: string, bundle1: android.os.Bundle): void; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public previous(): void; | |
public addQueueItem(descriptionCompat: android.support.v4.media.MediaDescriptionCompat): void; | |
public unregisterCallbackListener(cb: android.support.v4.media.session.IMediaControllerCallback): void; | |
public isShuffleModeEnabledRemoved(): boolean; | |
public getVolumeAttributes(): android.support.v4.media.session.ParcelableVolumeInfo; | |
public rewind(): void; | |
public removeQueueItemAt(index: number): void; | |
public getRatingType(): number; | |
public rate(rating: android.support.v4.media.RatingCompat): void; | |
public setVolumeTo(value: number, flags: number, packageName: string): void; | |
public pingBinder(): boolean; | |
public rateWithExtras(rating: android.support.v4.media.RatingCompat, extras: android.os.Bundle): void; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
} | |
} | |
export class MediaSessionImplApi28 extends android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi21 { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi28>; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setRatingType(type: number): void; | |
public setFlags(flags: number): void; | |
public setExtras(extras: android.os.Bundle): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public getCallingPackage(): string; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback, handler: android.os.Handler): void; | |
public setPlaybackState(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public setMetadata(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public isActive(): boolean; | |
public setMediaButtonReceiver(mbr: android.app.PendingIntent): void; | |
public setQueue(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public release(): void; | |
public setActive(active: boolean): void; | |
public setPlaybackToRemote(volumeProvider: androidx.media.VolumeProviderCompat): void; | |
public setRepeatMode(repeatMode: number): void; | |
public setCurrentControllerInfo(remoteUserInfo: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
public setPlaybackToLocal(stream: number): void; | |
public setSessionActivity(pi: android.app.PendingIntent): void; | |
public getMediaSession(): any; | |
public setQueueTitle(title: string): void; | |
public getRemoteControlClient(): any; | |
public sendSessionEvent(event: string, extras: android.os.Bundle): void; | |
} | |
export class MediaSessionImplBase extends java.lang.Object implements android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase>; | |
public getSessionToken(): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setRatingType(type: number): void; | |
public setFlags(flags: number): void; | |
public setExtras(extras: android.os.Bundle): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getCurrentControllerInfo(): androidx.media.MediaSessionManager.RemoteUserInfo; | |
public getCallingPackage(): string; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public setCallback(callback: android.support.v4.media.session.MediaSessionCompat.Callback, handler: android.os.Handler): void; | |
public setPlaybackState(state: android.support.v4.media.session.PlaybackStateCompat): void; | |
public constructor(context: android.content.Context, tag: string, mbrComponent: android.content.ComponentName, mbrIntent: android.app.PendingIntent); | |
public setMetadata(metadata: android.support.v4.media.MediaMetadataCompat): void; | |
public isActive(): boolean; | |
public setMediaButtonReceiver(mbr: android.app.PendingIntent): void; | |
public setQueue(queue: java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public release(): void; | |
public setActive(active: boolean): void; | |
public setPlaybackToRemote(volumeProvider: androidx.media.VolumeProviderCompat): void; | |
public setRepeatMode(repeatMode: number): void; | |
public setCurrentControllerInfo(remoteUserInfo: androidx.media.MediaSessionManager.RemoteUserInfo): void; | |
public setPlaybackToLocal(stream: number): void; | |
public setSessionActivity(pi: android.app.PendingIntent): void; | |
public getMediaSession(): any; | |
public setQueueTitle(title: string): void; | |
public getRemoteControlClient(): any; | |
public sendSessionEvent(event: string, extras: android.os.Bundle): void; | |
} | |
export module MediaSessionImplBase { | |
export class Command extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase.Command>; | |
public command: string; | |
public extras: android.os.Bundle; | |
public stub: android.os.ResultReceiver; | |
public constructor(command: string, extras: android.os.Bundle, stub: android.os.ResultReceiver); | |
} | |
export class MediaSessionStub extends android.support.v4.media.session.IMediaSession.Stub { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase.MediaSessionStub>; | |
public next(): void; | |
public setCaptioningEnabled(enabled: boolean): void; | |
public getMetadata(): android.support.v4.media.MediaMetadataCompat; | |
public playFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public setRepeatMode(repeatMode: number): void; | |
public getShuffleMode(): number; | |
public getPackageName(): string; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public prepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public addQueueItemAt(description: android.support.v4.media.MediaDescriptionCompat, index: number): void; | |
public fastForward(): void; | |
public isCaptioningEnabled(): boolean; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public prepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public playFromSearch(query: string, extras: android.os.Bundle): void; | |
public playFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public getLaunchPendingIntent(): android.app.PendingIntent; | |
public adjustVolume(direction: number, flags: number, packageName: string): void; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public getFlags(): number; | |
public play(): void; | |
public prepareFromSearch(query: string, extras: android.os.Bundle): void; | |
public seekTo(pos: number): void; | |
public isTransportControlEnabled(): boolean; | |
public skipToQueueItem(id: number): void; | |
public getTag(): string; | |
public stop(): void; | |
public getRepeatMode(): number; | |
public registerCallbackListener(cb: android.support.v4.media.session.IMediaControllerCallback): void; | |
public sendMediaButton(mediaButton: android.view.KeyEvent): boolean; | |
public isBinderAlive(): boolean; | |
public getQueueTitle(): string; | |
public getInterfaceDescriptor(): string; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public sendCommand(command: string, bundle1: android.os.Bundle, cb: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper): void; | |
public pause(): void; | |
public setShuffleMode(shuffleMode: number): void; | |
public getQueue(): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getExtras(): android.os.Bundle; | |
public setShuffleModeEnabledRemoved(enabled: boolean): void; | |
public getPlaybackState(): android.support.v4.media.session.PlaybackStateCompat; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public prepare(): void; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public sendCustomAction(action: string, bundle1: android.os.Bundle): void; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public previous(): void; | |
public unregisterCallbackListener(cb: android.support.v4.media.session.IMediaControllerCallback): void; | |
public addQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
public isShuffleModeEnabledRemoved(): boolean; | |
public getVolumeAttributes(): android.support.v4.media.session.ParcelableVolumeInfo; | |
public rewind(): void; | |
public removeQueueItemAt(index: number): void; | |
public getRatingType(): number; | |
public rate(rating: android.support.v4.media.RatingCompat): void; | |
public setVolumeTo(value: number, flags: number, packageName: string): void; | |
public pingBinder(): boolean; | |
public rateWithExtras(rating: android.support.v4.media.RatingCompat, extras: android.os.Bundle): void; | |
public removeQueueItem(description: android.support.v4.media.MediaDescriptionCompat): void; | |
} | |
export class MessageHandler extends android.os.Handler { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase.MessageHandler>; | |
public constructor(looper: android.os.Looper); | |
public constructor(this0: android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase, looper: android.os.Looper); | |
public constructor(looper: android.os.Looper, callback: android.os.Handler.Callback); | |
public constructor(); | |
public constructor(callback: android.os.Handler.Callback); | |
public handleMessage(msg: android.os.Message): void; | |
} | |
} | |
export class OnActiveChangeListener extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaSessionCompat$OnActiveChangeListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onActiveChanged(): void; | |
}); | |
public constructor(); | |
public onActiveChanged(): void; | |
} | |
export class QueueItem extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public static UNKNOWN_ID: number; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public static fromQueueItemList(itemList: java.util.List<any>): java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>; | |
public getQueueId(): number; | |
public describeContents(): number; | |
public getQueueItem(): any; | |
public getDescription(): android.support.v4.media.MediaDescriptionCompat; | |
public toString(): string; | |
public constructor(description: android.support.v4.media.MediaDescriptionCompat, id: number); | |
public static fromQueueItem(queueItem: any): android.support.v4.media.session.MediaSessionCompat.QueueItem; | |
} | |
export class ResultReceiverWrapper extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper>; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper>; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public constructor(resultReceiver: android.os.ResultReceiver); | |
} | |
export class SessionFlags extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.SessionFlags>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaSessionCompat$SessionFlags interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
export class Token extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompat.Token>; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.Token>; | |
public static fromToken(token: any): android.support.v4.media.session.MediaSessionCompat.Token; | |
public setExtraBinder(extraBinder: android.support.v4.media.session.IMediaSession): void; | |
public hashCode(): number; | |
public toBundle(): android.os.Bundle; | |
public setSessionToken2Bundle(token2Bundle: android.os.Bundle): void; | |
public equals(obj: any): boolean; | |
public static fromBundle(tokenBundle: android.os.Bundle): android.support.v4.media.session.MediaSessionCompat.Token; | |
public getSessionToken2Bundle(): android.os.Bundle; | |
public static fromToken(token: any, extraBinder: android.support.v4.media.session.IMediaSession): android.support.v4.media.session.MediaSessionCompat.Token; | |
public getExtraBinder(): android.support.v4.media.session.IMediaSession; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public getToken(): any; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaSessionCompatApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi21>; | |
public static setMetadata(sessionObj: any, metadataObj: any): void; | |
public static setExtras(sessionObj: any, extras: android.os.Bundle): void; | |
public static getSessionToken(sessionObj: any): android.os.Parcelable; | |
public static release(sessionObj: any): void; | |
public static setFlags(sessionObj: any, flags: number): void; | |
public static verifySession(mediaSession: any): any; | |
public static setMediaButtonReceiver(sessionObj: any, pi: android.app.PendingIntent): void; | |
public static setPlaybackToLocal(sessionObj: any, stream: number): void; | |
public static isActive(sessionObj: any): boolean; | |
public static hasCallback(sessionObj: any): boolean; | |
public static setActive(sessionObj: any, active: boolean): void; | |
public static setPlaybackState(sessionObj: any, stateObj: any): void; | |
public static sendSessionEvent(sessionObj: any, event: string, extras: android.os.Bundle): void; | |
public static setQueue(sessionObj: any, queueObjs: java.util.List<any>): void; | |
public static createCallback(callback: android.support.v4.media.session.MediaSessionCompatApi21.Callback): any; | |
public static setPlaybackToRemote(sessionObj: any, volumeProviderObj: any): void; | |
public static setSessionActivity(sessionObj: any, pi: android.app.PendingIntent): void; | |
public static setCallback(sessionObj: any, callbackObj: any, handler: android.os.Handler): void; | |
public static createSession(context: android.content.Context, tag: string): any; | |
public static verifyToken(token: any): any; | |
public static setQueueTitle(sessionObj: any, title: string): void; | |
} | |
export module MediaSessionCompatApi21 { | |
export class Callback extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi21.Callback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaSessionCompatApi21$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
onMediaButtonEvent(intent0: android.content.Intent): boolean; | |
onPlay(): void; | |
onPlayFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
onPlayFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
onSkipToQueueItem(long0: number): void; | |
onPause(): void; | |
onSkipToNext(): void; | |
onSkipToPrevious(): void; | |
onFastForward(): void; | |
onRewind(): void; | |
onStop(): void; | |
onSeekTo(long0: number): void; | |
onSetRating(object0: any): void; | |
onSetRating(object0: any, bundle1: android.os.Bundle): void; | |
onCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
}); | |
public constructor(); | |
public onRewind(): void; | |
public onStop(): void; | |
public onSkipToNext(): void; | |
public onPlay(): void; | |
public onSkipToQueueItem(long0: number): void; | |
public onCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public onSkipToPrevious(): void; | |
public onPlayFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public onFastForward(): void; | |
public onSetRating(object0: any): void; | |
public onCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
public onSetRating(object0: any, bundle1: android.os.Bundle): void; | |
public onPause(): void; | |
public onPlayFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public onMediaButtonEvent(intent0: android.content.Intent): boolean; | |
public onSeekTo(long0: number): void; | |
} | |
export class CallbackProxy<T> extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi21.CallbackProxy<any>>; | |
public mCallback: any; | |
public constructor(); | |
public onPlayFromSearch(query: string, extras: android.os.Bundle): void; | |
public onCommand(command: string, bundle1: android.os.Bundle, cb: android.os.ResultReceiver): void; | |
public onSeekTo(pos: number): void; | |
public constructor(callback: any); | |
public onRewind(): void; | |
public onStop(): void; | |
public onSkipToNext(): void; | |
public onCustomAction(action: string, extras: android.os.Bundle): void; | |
public onPlay(): void; | |
public onSetRating(rating: any): void; | |
public onSkipToPrevious(): void; | |
public onFastForward(): void; | |
public onPause(): void; | |
public onPlayFromSearch(search: string, extras: android.os.Bundle): void; | |
public onSkipToQueueItem(id: number): void; | |
public onPlayFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onMediaButtonEvent(mediaButtonIntent: android.content.Intent): boolean; | |
} | |
export class QueueItem extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi21.QueueItem>; | |
public static createItem(mediaDescription: any, id: number): any; | |
public static getDescription(queueItem: any): any; | |
public static getQueueId(queueItem: any): number; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaSessionCompatApi22 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi22>; | |
public static setRatingType(sessionObj: any, type: number): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaSessionCompatApi23 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi23>; | |
public static createCallback(callback: android.support.v4.media.session.MediaSessionCompatApi23.Callback): any; | |
} | |
export module MediaSessionCompatApi23 { | |
export class Callback extends java.lang.Object implements android.support.v4.media.session.MediaSessionCompatApi21.Callback { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi23.Callback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaSessionCompatApi23$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onPlayFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
onCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
onMediaButtonEvent(intent0: android.content.Intent): boolean; | |
onPlay(): void; | |
onPlayFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
onPlayFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
onSkipToQueueItem(long0: number): void; | |
onPause(): void; | |
onSkipToNext(): void; | |
onSkipToPrevious(): void; | |
onFastForward(): void; | |
onRewind(): void; | |
onStop(): void; | |
onSeekTo(long0: number): void; | |
onSetRating(object0: any): void; | |
onSetRating(object0: any, bundle1: android.os.Bundle): void; | |
onCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
}); | |
public constructor(); | |
public onRewind(): void; | |
public onStop(): void; | |
public onSkipToNext(): void; | |
public onPlay(): void; | |
public onSkipToQueueItem(long0: number): void; | |
public onCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public onPlayFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public onSkipToPrevious(): void; | |
public onPlayFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public onFastForward(): void; | |
public onSetRating(object0: any): void; | |
public onCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
public onSetRating(object0: any, bundle1: android.os.Bundle): void; | |
public onPause(): void; | |
public onPlayFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public onMediaButtonEvent(intent0: android.content.Intent): boolean; | |
public onSeekTo(long0: number): void; | |
} | |
export class CallbackProxy<T> extends android.support.v4.media.session.MediaSessionCompatApi21.CallbackProxy<any> { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi23.CallbackProxy<any>>; | |
public constructor(); | |
public onPlayFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public constructor(callback: any); | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class MediaSessionCompatApi24 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi24>; | |
public static createCallback(callback: android.support.v4.media.session.MediaSessionCompatApi24.Callback): any; | |
public static getCallingPackage(sessionObj: any): string; | |
} | |
export module MediaSessionCompatApi24 { | |
export class Callback extends java.lang.Object implements android.support.v4.media.session.MediaSessionCompatApi23.Callback { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi24.Callback>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.MediaSessionCompatApi24$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onPrepare(): void; | |
onPrepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
onPrepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
onPrepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
onPlayFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
onCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
onMediaButtonEvent(intent0: android.content.Intent): boolean; | |
onPlay(): void; | |
onPlayFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
onPlayFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
onSkipToQueueItem(long0: number): void; | |
onPause(): void; | |
onSkipToNext(): void; | |
onSkipToPrevious(): void; | |
onFastForward(): void; | |
onRewind(): void; | |
onStop(): void; | |
onSeekTo(long0: number): void; | |
onSetRating(object0: any): void; | |
onSetRating(object0: any, bundle1: android.os.Bundle): void; | |
onCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
}); | |
public constructor(); | |
public onRewind(): void; | |
public onStop(): void; | |
public onSkipToNext(): void; | |
public onPrepare(): void; | |
public onPlay(): void; | |
public onSkipToQueueItem(long0: number): void; | |
public onCustomAction(string0: string, bundle1: android.os.Bundle): void; | |
public onPlayFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public onSkipToPrevious(): void; | |
public onPrepareFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public onPlayFromSearch(string0: string, bundle1: android.os.Bundle): void; | |
public onFastForward(): void; | |
public onSetRating(object0: any): void; | |
public onCommand(string0: string, bundle1: android.os.Bundle, resultReceiver2: android.os.ResultReceiver): void; | |
public onSetRating(object0: any, bundle1: android.os.Bundle): void; | |
public onPause(): void; | |
public onPlayFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public onPrepareFromUri(uri0: android.net.Uri, bundle1: android.os.Bundle): void; | |
public onMediaButtonEvent(intent0: android.content.Intent): boolean; | |
public onPrepareFromMediaId(string0: string, bundle1: android.os.Bundle): void; | |
public onSeekTo(long0: number): void; | |
} | |
export class CallbackProxy<T> extends android.support.v4.media.session.MediaSessionCompatApi23.CallbackProxy<any> { | |
public static class: java.lang.Class<android.support.v4.media.session.MediaSessionCompatApi24.CallbackProxy<any>>; | |
public constructor(); | |
public constructor(callback: any); | |
public onPrepareFromUri(uri: android.net.Uri, extras: android.os.Bundle): void; | |
public onPrepare(): void; | |
public onPrepareFromMediaId(mediaId: string, extras: android.os.Bundle): void; | |
public onPrepareFromSearch(query: string, extras: android.os.Bundle): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class ParcelableVolumeInfo extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.session.ParcelableVolumeInfo>; | |
public volumeType: number; | |
public audioStream: number; | |
public controlType: number; | |
public maxVolume: number; | |
public currentVolume: number; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.session.ParcelableVolumeInfo>; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public constructor(volumeType: number, audioStream: number, controlType: number, maxVolume: number, currentVolume: number); | |
public constructor(from: android.os.Parcel); | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class PlaybackStateCompat extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat>; | |
public static ACTION_STOP: number; | |
public static ACTION_PAUSE: number; | |
public static ACTION_PLAY: number; | |
public static ACTION_REWIND: number; | |
public static ACTION_SKIP_TO_PREVIOUS: number; | |
public static ACTION_SKIP_TO_NEXT: number; | |
public static ACTION_FAST_FORWARD: number; | |
public static ACTION_SET_RATING: number; | |
public static ACTION_SEEK_TO: number; | |
public static ACTION_PLAY_PAUSE: number; | |
public static ACTION_PLAY_FROM_MEDIA_ID: number; | |
public static ACTION_PLAY_FROM_SEARCH: number; | |
public static ACTION_SKIP_TO_QUEUE_ITEM: number; | |
public static ACTION_PLAY_FROM_URI: number; | |
public static ACTION_PREPARE: number; | |
public static ACTION_PREPARE_FROM_MEDIA_ID: number; | |
public static ACTION_PREPARE_FROM_SEARCH: number; | |
public static ACTION_PREPARE_FROM_URI: number; | |
public static ACTION_SET_REPEAT_MODE: number; | |
public static ACTION_SET_SHUFFLE_MODE_ENABLED: number; | |
public static ACTION_SET_CAPTIONING_ENABLED: number; | |
public static ACTION_SET_SHUFFLE_MODE: number; | |
public static STATE_NONE: number; | |
public static STATE_STOPPED: number; | |
public static STATE_PAUSED: number; | |
public static STATE_PLAYING: number; | |
public static STATE_FAST_FORWARDING: number; | |
public static STATE_REWINDING: number; | |
public static STATE_BUFFERING: number; | |
public static STATE_ERROR: number; | |
public static STATE_CONNECTING: number; | |
public static STATE_SKIPPING_TO_PREVIOUS: number; | |
public static STATE_SKIPPING_TO_NEXT: number; | |
public static STATE_SKIPPING_TO_QUEUE_ITEM: number; | |
public static PLAYBACK_POSITION_UNKNOWN: number; | |
public static REPEAT_MODE_INVALID: number; | |
public static REPEAT_MODE_NONE: number; | |
public static REPEAT_MODE_ONE: number; | |
public static REPEAT_MODE_ALL: number; | |
public static REPEAT_MODE_GROUP: number; | |
public static SHUFFLE_MODE_INVALID: number; | |
public static SHUFFLE_MODE_NONE: number; | |
public static SHUFFLE_MODE_ALL: number; | |
public static SHUFFLE_MODE_GROUP: number; | |
public static ERROR_CODE_UNKNOWN_ERROR: number; | |
public static ERROR_CODE_APP_ERROR: number; | |
public static ERROR_CODE_NOT_SUPPORTED: number; | |
public static ERROR_CODE_AUTHENTICATION_EXPIRED: number; | |
public static ERROR_CODE_PREMIUM_ACCOUNT_REQUIRED: number; | |
public static ERROR_CODE_CONCURRENT_STREAM_LIMIT: number; | |
public static ERROR_CODE_PARENTAL_CONTROL_RESTRICTED: number; | |
public static ERROR_CODE_NOT_AVAILABLE_IN_REGION: number; | |
public static ERROR_CODE_CONTENT_ALREADY_PLAYING: number; | |
public static ERROR_CODE_SKIP_LIMIT_REACHED: number; | |
public static ERROR_CODE_ACTION_ABORTED: number; | |
public static ERROR_CODE_END_OF_QUEUE: number; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat>; | |
public getErrorMessage(): string; | |
public getCustomActions(): java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction>; | |
public describeContents(): number; | |
public getActions(): number; | |
public getErrorCode(): number; | |
public getPosition(): number; | |
public getPlaybackSpeed(): number; | |
public static toKeyCode(action: number): number; | |
public static fromPlaybackState(stateObj: any): android.support.v4.media.session.PlaybackStateCompat; | |
public toString(): string; | |
public getCurrentPosition(timeDiff: java.lang.Long): number; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public getLastPositionUpdateTime(): number; | |
public getState(): number; | |
public getPlaybackState(): any; | |
public getActiveQueueItemId(): number; | |
public getBufferedPosition(): number; | |
public getExtras(): android.os.Bundle; | |
} | |
export module PlaybackStateCompat { | |
export class Actions extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.Actions>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.PlaybackStateCompat$Actions interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.Builder>; | |
public constructor(); | |
public setActions(capabilities: number): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public setActiveQueueItemId(id: number): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public setState(state: number, position: number, playbackSpeed: number, updateTime: number): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public addCustomAction(customAction: android.support.v4.media.session.PlaybackStateCompat.CustomAction): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public build(): android.support.v4.media.session.PlaybackStateCompat; | |
public setState(state: number, position: number, playbackSpeed: number): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public setBufferedPosition(bufferPosition: number): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public setExtras(extras: android.os.Bundle): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public addCustomAction(action: string, name: string, icon: number): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
/** @deprecated */ | |
public setErrorMessage(errorMessage: string): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public setErrorMessage(errorCode: number, errorMessage: string): android.support.v4.media.session.PlaybackStateCompat.Builder; | |
public constructor(source: android.support.v4.media.session.PlaybackStateCompat); | |
} | |
export class CustomAction extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.CustomAction>; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction>; | |
public getExtras(): android.os.Bundle; | |
public writeToParcel(dest: android.os.Parcel, flags: number): void; | |
public getIcon(): number; | |
public describeContents(): number; | |
public static fromCustomAction(customActionObj: any): android.support.v4.media.session.PlaybackStateCompat.CustomAction; | |
public getName(): string; | |
public getAction(): string; | |
public toString(): string; | |
public getCustomAction(): any; | |
} | |
export module CustomAction { | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder>; | |
public constructor(action: string, name: string, icon: number); | |
public build(): android.support.v4.media.session.PlaybackStateCompat.CustomAction; | |
public setExtras(extras: android.os.Bundle): android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder; | |
} | |
} | |
export class ErrorCode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.ErrorCode>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.PlaybackStateCompat$ErrorCode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
export class MediaKeyAction extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.MediaKeyAction>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.PlaybackStateCompat$MediaKeyAction interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
export class RepeatMode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.RepeatMode>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.PlaybackStateCompat$RepeatMode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
export class ShuffleMode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.ShuffleMode>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.PlaybackStateCompat$ShuffleMode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
export class State extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompat.State>; | |
/** | |
* Constructs a new instance of the android.support.v4.media.session.PlaybackStateCompat$State interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class PlaybackStateCompatApi21 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompatApi21>; | |
public static getPlaybackSpeed(stateObj: any): number; | |
public static getCustomActions(stateObj: any): java.util.List<any>; | |
public static getErrorMessage(stateObj: any): string; | |
public static getBufferedPosition(stateObj: any): number; | |
public static getLastPositionUpdateTime(stateObj: any): number; | |
public static newInstance(state: number, position: number, bufferedPosition: number, speed: number, actions: number, errorMessage: string, updateTime: number, customActions: java.util.List<any>, activeItemId: number): any; | |
public static getState(stateObj: any): number; | |
public static getPosition(stateObj: any): number; | |
public static getActions(stateObj: any): number; | |
public static getActiveQueueItemId(stateObj: any): number; | |
} | |
export module PlaybackStateCompatApi21 { | |
export class CustomAction extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompatApi21.CustomAction>; | |
public static getExtras(customActionObj: any): android.os.Bundle; | |
public static getAction(customActionObj: any): string; | |
public static getIcon(customActionObj: any): number; | |
public static newInstance(action: string, name: string, icon: number, extras: android.os.Bundle): any; | |
public static getName(customActionObj: any): string; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module media { | |
export module session { | |
export class PlaybackStateCompatApi22 extends java.lang.Object { | |
public static class: java.lang.Class<android.support.v4.media.session.PlaybackStateCompatApi22>; | |
public static getExtras(stateObj: any): android.os.Bundle; | |
public static newInstance(state: number, position: number, bufferedPosition: number, speed: number, actions: number, errorMessage: string, updateTime: number, customActions: java.util.List<any>, activeItemId: number, extras: android.os.Bundle): any; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module os { | |
export class IResultReceiver extends java.lang.Object implements android.os.IInterface { | |
public static class: java.lang.Class<android.support.v4.os.IResultReceiver>; | |
/** | |
* Constructs a new instance of the android.support.v4.os.IResultReceiver interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
send(int0: number, bundle1: android.os.Bundle): void; | |
asBinder(): android.os.IBinder; | |
}); | |
public constructor(); | |
public send(int0: number, bundle1: android.os.Bundle): void; | |
public asBinder(): android.os.IBinder; | |
} | |
export module IResultReceiver { | |
export class Default extends java.lang.Object implements android.support.v4.os.IResultReceiver { | |
public static class: java.lang.Class<android.support.v4.os.IResultReceiver.Default>; | |
public constructor(); | |
public asBinder(): android.os.IBinder; | |
public send(resultCode: number, resultData: android.os.Bundle): void; | |
} | |
export abstract class Stub extends android.os.Binder implements android.support.v4.os.IResultReceiver { | |
public static class: java.lang.Class<android.support.v4.os.IResultReceiver.Stub>; | |
public constructor(); | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public static setDefaultImpl(impl: android.support.v4.os.IResultReceiver): boolean; | |
public constructor(descriptor: string); | |
public onTransact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public getInterfaceDescriptor(): string; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public static asInterface(obj: android.os.IBinder): android.support.v4.os.IResultReceiver; | |
public static getDefaultImpl(): android.support.v4.os.IResultReceiver; | |
public isBinderAlive(): boolean; | |
public asBinder(): android.os.IBinder; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public pingBinder(): boolean; | |
public send(int0: number, bundle1: android.os.Bundle): void; | |
} | |
export module Stub { | |
export class Proxy extends java.lang.Object implements android.support.v4.os.IResultReceiver { | |
public static class: java.lang.Class<android.support.v4.os.IResultReceiver.Stub.Proxy>; | |
public static sDefaultImpl: android.support.v4.os.IResultReceiver; | |
public getInterfaceDescriptor(): string; | |
public send(resultCode: number, resultData: android.os.Bundle): void; | |
public asBinder(): android.os.IBinder; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module android { | |
export module support { | |
export module v4 { | |
export module os { | |
export class ResultReceiver extends java.lang.Object implements android.os.Parcelable { | |
public static class: java.lang.Class<android.support.v4.os.ResultReceiver>; | |
public static CREATOR: android.os.Parcelable.Creator<android.support.v4.os.ResultReceiver>; | |
public send(resultCode: number, resultData: android.os.Bundle): void; | |
public describeContents(): number; | |
public onReceiveResult(resultCode: number, resultData: android.os.Bundle): void; | |
public writeToParcel(out: android.os.Parcel, flags: number): void; | |
public constructor(handler: android.os.Handler); | |
} | |
export module ResultReceiver { | |
export class MyResultReceiver extends android.support.v4.os.IResultReceiver.Stub { | |
public static class: java.lang.Class<android.support.v4.os.ResultReceiver.MyResultReceiver>; | |
public linkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): void; | |
public getInterfaceDescriptor(): string; | |
public dumpAsync(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public unlinkToDeath(recipient: android.os.IBinder.DeathRecipient, flags: number): boolean; | |
public isBinderAlive(): boolean; | |
public dump(fd: java.io.FileDescriptor, fout: java.io.PrintWriter, strings2: native.Array<string>): void; | |
public send(resultCode: number, resultData: android.os.Bundle): void; | |
public dump(fd: java.io.FileDescriptor, strings1: native.Array<string>): void; | |
public pingBinder(): boolean; | |
public transact(code: number, data: android.os.Parcel, reply: android.os.Parcel, flags: number): boolean; | |
public queryLocalInterface(descriptor: string): android.os.IInterface; | |
} | |
export class MyRunnable extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<android.support.v4.os.ResultReceiver.MyRunnable>; | |
public run(): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module activity { | |
export class Cancellable extends java.lang.Object { | |
public static class: java.lang.Class<androidx.activity.Cancellable>; | |
/** | |
* Constructs a new instance of the androidx.activity.Cancellable interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
cancel(): void; | |
}); | |
public constructor(); | |
public cancel(): void; | |
} | |
} | |
} | |
declare module androidx { | |
export module activity { | |
export class ComponentActivity extends androidx.core.app.ComponentActivity implements androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, androidx.savedstate.SavedStateRegistryOwner, androidx.activity.OnBackPressedDispatcherOwner { | |
public static class: java.lang.Class<androidx.activity.ComponentActivity>; | |
public onCreateView(parent: globalAndroid.view.View, name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public onSearchRequested(searchEvent: any): boolean; | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public getSavedStateRegistry(): androidx.savedstate.SavedStateRegistry; | |
public constructor(base: globalAndroid.content.Context); | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
/** @deprecated */ | |
public onRetainCustomNonConfigurationInstance(): any; | |
public onSearchRequested(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public onDetachedFromWindow(): void; | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
/** @deprecated */ | |
public getLastCustomNonConfigurationInstance(): any; | |
public constructor(); | |
public getViewModelStore(): androidx.lifecycle.ViewModelStore; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle, persistentState: any): void; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public onTrimMemory(level: number): void; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onContentChanged(): void; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(contentLayoutId: number); | |
public dispatchTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public superDispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(base: globalAndroid.content.Context, theme: globalAndroid.content.res.Resources.Theme); | |
public onRetainNonConfigurationInstance(): any; | |
public getOnBackPressedDispatcher(): androidx.activity.OnBackPressedDispatcher; | |
public onSaveInstanceState(outState: globalAndroid.os.Bundle): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreateContextMenu(menu: globalAndroid.view.ContextMenu, v: globalAndroid.view.View, menuInfo: globalAndroid.view.ContextMenu.ContextMenuInfo): void; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public onBackPressed(): void; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public constructor(base: globalAndroid.content.Context, themeResId: number); | |
public onSaveInstanceState(outState: globalAndroid.os.Bundle, outPersistentState: any): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLifecycle(): androidx.lifecycle.Lifecycle; | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public dispatchTrackballEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public onWindowAttributesChanged(params: globalAndroid.view.WindowManager.LayoutParams): void; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreateView(name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public onAttachedToWindow(): void; | |
public dispatchGenericMotionEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
} | |
export module ComponentActivity { | |
export class NonConfigurationInstances extends java.lang.Object { | |
public static class: java.lang.Class<androidx.activity.ComponentActivity.NonConfigurationInstances>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module activity { | |
export class ImmLeaksCleaner extends java.lang.Object implements androidx.lifecycle.LifecycleEventObserver { | |
public static class: java.lang.Class<androidx.activity.ImmLeaksCleaner>; | |
public onStateChanged(source: androidx.lifecycle.LifecycleOwner, event: androidx.lifecycle.Lifecycle.Event): void; | |
} | |
} | |
} | |
declare module androidx { | |
export module activity { | |
export abstract class OnBackPressedCallback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.activity.OnBackPressedCallback>; | |
public isEnabled(): boolean; | |
public setEnabled(enabled: boolean): void; | |
public constructor(enabled: boolean); | |
public handleOnBackPressed(): void; | |
public remove(): void; | |
} | |
} | |
} | |
declare module androidx { | |
export module activity { | |
export class OnBackPressedDispatcher extends java.lang.Object { | |
public static class: java.lang.Class<androidx.activity.OnBackPressedDispatcher>; | |
public constructor(fallbackOnBackPressed: java.lang.Runnable); | |
public onBackPressed(): void; | |
public addCallback(onBackPressedCallback: androidx.activity.OnBackPressedCallback): void; | |
public addCallback(owner: androidx.lifecycle.LifecycleOwner, onBackPressedCallback: androidx.activity.OnBackPressedCallback): void; | |
public constructor(); | |
public hasEnabledCallbacks(): boolean; | |
} | |
export module OnBackPressedDispatcher { | |
export class LifecycleOnBackPressedCancellable extends java.lang.Object implements androidx.lifecycle.LifecycleEventObserver, androidx.activity.Cancellable { | |
public static class: java.lang.Class<androidx.activity.OnBackPressedDispatcher.LifecycleOnBackPressedCancellable>; | |
public onStateChanged(source: androidx.lifecycle.LifecycleOwner, event: androidx.lifecycle.Lifecycle.Event): void; | |
public cancel(): void; | |
} | |
export class OnBackPressedCancellable extends java.lang.Object implements androidx.activity.Cancellable { | |
public static class: java.lang.Class<androidx.activity.OnBackPressedDispatcher.OnBackPressedCancellable>; | |
public cancel(): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module activity { | |
export class OnBackPressedDispatcherOwner extends java.lang.Object implements androidx.lifecycle.LifecycleOwner { | |
public static class: java.lang.Class<androidx.activity.OnBackPressedDispatcherOwner>; | |
/** | |
* Constructs a new instance of the androidx.activity.OnBackPressedDispatcherOwner interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
getOnBackPressedDispatcher(): androidx.activity.OnBackPressedDispatcher; | |
getLifecycle(): androidx.lifecycle.Lifecycle; | |
}); | |
public constructor(); | |
public getLifecycle(): androidx.lifecycle.Lifecycle; | |
public getOnBackPressedDispatcher(): androidx.activity.OnBackPressedDispatcher; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class AnimRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.AnimRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.AnimRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class AnimatorRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.AnimatorRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.AnimatorRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class AnyRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.AnyRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.AnyRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class AnyThread extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.AnyThread>; | |
/** | |
* Constructs a new instance of the androidx.annotation.AnyThread interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class ArrayRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.ArrayRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.ArrayRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class AttrRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.AttrRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.AttrRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class BinderThread extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.BinderThread>; | |
/** | |
* Constructs a new instance of the androidx.annotation.BinderThread interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class BoolRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.BoolRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.BoolRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class CallSuper extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.CallSuper>; | |
/** | |
* Constructs a new instance of the androidx.annotation.CallSuper interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class CheckResult extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.CheckResult>; | |
/** | |
* Constructs a new instance of the androidx.annotation.CheckResult interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
suggest(): string; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public suggest(): string; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class ColorInt extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.ColorInt>; | |
/** | |
* Constructs a new instance of the androidx.annotation.ColorInt interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class ColorLong extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.ColorLong>; | |
/** | |
* Constructs a new instance of the androidx.annotation.ColorLong interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class ColorRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.ColorRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.ColorRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class ContentView extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.ContentView>; | |
/** | |
* Constructs a new instance of the androidx.annotation.ContentView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class DimenRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.DimenRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.DimenRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class Dimension extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.Dimension>; | |
/** | |
* Constructs a new instance of the androidx.annotation.Dimension interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
unit(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public static PX: number; | |
public static SP: number; | |
public static DP: number; | |
public unit(): number; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class DrawableRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.DrawableRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.DrawableRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class FloatRange extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.FloatRange>; | |
/** | |
* Constructs a new instance of the androidx.annotation.FloatRange interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
from(): number; | |
to(): number; | |
fromInclusive(): boolean; | |
toInclusive(): boolean; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public to(): number; | |
public equals(obj: any): boolean; | |
public toInclusive(): boolean; | |
public fromInclusive(): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public from(): number; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class FontRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.FontRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.FontRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class FractionRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.FractionRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.FractionRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class GuardedBy extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.GuardedBy>; | |
/** | |
* Constructs a new instance of the androidx.annotation.GuardedBy interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): string; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public value(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class HalfFloat extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.HalfFloat>; | |
/** | |
* Constructs a new instance of the androidx.annotation.HalfFloat interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class IdRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.IdRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.IdRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class InspectableProperty extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.InspectableProperty>; | |
/** | |
* Constructs a new instance of the androidx.annotation.InspectableProperty interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
name(): string; | |
attributeId(): number; | |
hasAttributeId(): boolean; | |
valueType(): androidx.annotation.InspectableProperty.ValueType; | |
enumMapping(): native.Array<androidx.annotation.InspectableProperty.EnumEntry>; | |
flagMapping(): native.Array<androidx.annotation.InspectableProperty.FlagEntry>; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public valueType(): androidx.annotation.InspectableProperty.ValueType; | |
public flagMapping(): native.Array<androidx.annotation.InspectableProperty.FlagEntry>; | |
public attributeId(): number; | |
public toString(): string; | |
public name(): string; | |
public equals(obj: any): boolean; | |
public enumMapping(): native.Array<androidx.annotation.InspectableProperty.EnumEntry>; | |
public hasAttributeId(): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export module InspectableProperty { | |
export class EnumEntry extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.InspectableProperty.EnumEntry>; | |
/** | |
* Constructs a new instance of the androidx.annotation.InspectableProperty$EnumEntry interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
name(): string; | |
value(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public name(): string; | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public value(): number; | |
public toString(): string; | |
} | |
export class FlagEntry extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.InspectableProperty.FlagEntry>; | |
/** | |
* Constructs a new instance of the androidx.annotation.InspectableProperty$FlagEntry interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
name(): string; | |
target(): number; | |
mask(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public name(): string; | |
public equals(obj: any): boolean; | |
public mask(): number; | |
public hashCode(): number; | |
public target(): number; | |
public annotationType(): java.lang.Class<any>; | |
public toString(): string; | |
} | |
export class ValueType { | |
public static class: java.lang.Class<androidx.annotation.InspectableProperty.ValueType>; | |
public static NONE: androidx.annotation.InspectableProperty.ValueType; | |
public static INFERRED: androidx.annotation.InspectableProperty.ValueType; | |
public static INT_ENUM: androidx.annotation.InspectableProperty.ValueType; | |
public static INT_FLAG: androidx.annotation.InspectableProperty.ValueType; | |
public static COLOR: androidx.annotation.InspectableProperty.ValueType; | |
public static GRAVITY: androidx.annotation.InspectableProperty.ValueType; | |
public static RESOURCE_ID: androidx.annotation.InspectableProperty.ValueType; | |
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>; | |
public static values(): native.Array<androidx.annotation.InspectableProperty.ValueType>; | |
public static valueOf(name: string): androidx.annotation.InspectableProperty.ValueType; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class IntDef extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.IntDef>; | |
/** | |
* Constructs a new instance of the androidx.annotation.IntDef interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): native.Array<number>; | |
flag(): boolean; | |
open(): boolean; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public open(): boolean; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public value(): native.Array<number>; | |
public flag(): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class IntRange extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.IntRange>; | |
/** | |
* Constructs a new instance of the androidx.annotation.IntRange interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
from(): number; | |
to(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public to(): number; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public from(): number; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class IntegerRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.IntegerRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.IntegerRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class InterpolatorRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.InterpolatorRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.InterpolatorRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class Keep extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.Keep>; | |
/** | |
* Constructs a new instance of the androidx.annotation.Keep interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class LayoutRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.LayoutRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.LayoutRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class LongDef extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.LongDef>; | |
/** | |
* Constructs a new instance of the androidx.annotation.LongDef interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): native.Array<number>; | |
flag(): boolean; | |
open(): boolean; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public open(): boolean; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public value(): native.Array<number>; | |
public flag(): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class MainThread extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.MainThread>; | |
/** | |
* Constructs a new instance of the androidx.annotation.MainThread interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class MenuRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.MenuRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.MenuRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class NavigationRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.NavigationRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.NavigationRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class NonNull extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.NonNull>; | |
/** | |
* Constructs a new instance of the androidx.annotation.NonNull interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class Nullable extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.Nullable>; | |
/** | |
* Constructs a new instance of the androidx.annotation.Nullable interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class PluralsRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.PluralsRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.PluralsRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class Px extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.Px>; | |
/** | |
* Constructs a new instance of the androidx.annotation.Px interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class RawRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RawRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RawRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class RequiresApi extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RequiresApi>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RequiresApi interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): number; | |
api(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public api(): number; | |
public value(): number; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class RequiresFeature extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RequiresFeature>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RequiresFeature interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
name(): string; | |
enforcement(): string; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public name(): string; | |
public enforcement(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class RequiresPermission extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RequiresPermission>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RequiresPermission interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): string; | |
allOf(): native.Array<string>; | |
anyOf(): native.Array<string>; | |
conditional(): boolean; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public anyOf(): native.Array<string>; | |
public conditional(): boolean; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public value(): string; | |
public allOf(): native.Array<string>; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export module RequiresPermission { | |
export class Read extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RequiresPermission.Read>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RequiresPermission$Read interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): androidx.annotation.RequiresPermission; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public value(): androidx.annotation.RequiresPermission; | |
public toString(): string; | |
} | |
export class Write extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RequiresPermission.Write>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RequiresPermission$Write interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): androidx.annotation.RequiresPermission; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public value(): androidx.annotation.RequiresPermission; | |
public toString(): string; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class RestrictTo extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.RestrictTo>; | |
/** | |
* Constructs a new instance of the androidx.annotation.RestrictTo interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): native.Array<androidx.annotation.RestrictTo.Scope>; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public value(): native.Array<androidx.annotation.RestrictTo.Scope>; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export module RestrictTo { | |
export class Scope { | |
public static class: java.lang.Class<androidx.annotation.RestrictTo.Scope>; | |
public static LIBRARY: androidx.annotation.RestrictTo.Scope; | |
public static LIBRARY_GROUP: androidx.annotation.RestrictTo.Scope; | |
public static LIBRARY_GROUP_PREFIX: androidx.annotation.RestrictTo.Scope; | |
public static GROUP_ID: androidx.annotation.RestrictTo.Scope; | |
public static TESTS: androidx.annotation.RestrictTo.Scope; | |
public static SUBCLASSES: androidx.annotation.RestrictTo.Scope; | |
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>; | |
public static valueOf(name: string): androidx.annotation.RestrictTo.Scope; | |
public static values(): native.Array<androidx.annotation.RestrictTo.Scope>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class Size extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.Size>; | |
/** | |
* Constructs a new instance of the androidx.annotation.Size interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): number; | |
min(): number; | |
max(): number; | |
multiple(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public min(): number; | |
public equals(obj: any): boolean; | |
public value(): number; | |
public multiple(): number; | |
public max(): number; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class StringDef extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.StringDef>; | |
/** | |
* Constructs a new instance of the androidx.annotation.StringDef interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): native.Array<string>; | |
open(): boolean; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public open(): boolean; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public value(): native.Array<string>; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class StringRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.StringRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.StringRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class StyleRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.StyleRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.StyleRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class StyleableRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.StyleableRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.StyleableRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class TransitionRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.TransitionRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.TransitionRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class UiThread extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.UiThread>; | |
/** | |
* Constructs a new instance of the androidx.annotation.UiThread interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class VisibleForTesting extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.VisibleForTesting>; | |
/** | |
* Constructs a new instance of the androidx.annotation.VisibleForTesting interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
otherwise(): number; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public static PROTECTED: number; | |
public static NONE: number; | |
public static PRIVATE: number; | |
public static PACKAGE_PRIVATE: number; | |
public otherwise(): number; | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class WorkerThread extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.WorkerThread>; | |
/** | |
* Constructs a new instance of the androidx.annotation.WorkerThread interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export class XmlRes extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.XmlRes>; | |
/** | |
* Constructs a new instance of the androidx.annotation.XmlRes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export module experimental { | |
export class Experimental extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.experimental.Experimental>; | |
/** | |
* Constructs a new instance of the androidx.annotation.experimental.Experimental interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
level(): androidx.annotation.experimental.Experimental.Level; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public level(): androidx.annotation.experimental.Experimental.Level; | |
public toString(): string; | |
} | |
export module Experimental { | |
export class Level { | |
public static class: java.lang.Class<androidx.annotation.experimental.Experimental.Level>; | |
public static WARNING: androidx.annotation.experimental.Experimental.Level; | |
public static ERROR: androidx.annotation.experimental.Experimental.Level; | |
public static values(): native.Array<androidx.annotation.experimental.Experimental.Level>; | |
public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>; | |
public static valueOf(name: string): androidx.annotation.experimental.Experimental.Level; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export module experimental { | |
export class UseExperimental extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.annotation.experimental.UseExperimental>; | |
/** | |
* Constructs a new instance of the androidx.annotation.experimental.UseExperimental interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
markerClass(): java.lang.Class<any>; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public annotationType(): java.lang.Class<any>; | |
public markerClass(): java.lang.Class<any>; | |
public toString(): string; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export module experimental { | |
export module lint { | |
export class ExperimentalDetector { | |
public static class: java.lang.Class<androidx.annotation.experimental.lint.ExperimentalDetector>; | |
public static Companion: androidx.annotation.experimental.lint.ExperimentalDetector.Companion; | |
public constructor(); | |
public visitAnnotationUsage(context: com.android.tools.lint.detector.api.JavaContext, usage: org.jetbrains.uast.UElement, type: com.android.tools.lint.detector.api.AnnotationUsageType, annotation: org.jetbrains.uast.UAnnotation, qualifiedName: string, method: com.intellij.psi.PsiMethod, referenced: com.intellij.psi.PsiElement, annotations: java.util.List<any>, allMemberAnnotations: java.util.List<any>, allClassAnnotations: java.util.List<any>, allPackageAnnotations: java.util.List<any>): void; | |
public applicableAnnotations(): java.util.List<string>; | |
} | |
export module ExperimentalDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.annotation.experimental.lint.ExperimentalDetector.Companion>; | |
public getISSUE_ERROR(): com.android.tools.lint.detector.api.Issue; | |
public getISSUES(): java.util.List<com.android.tools.lint.detector.api.Issue>; | |
public getISSUE_WARNING(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export module experimental { | |
export module lint { | |
export class ExperimentalDetectorKt extends java.lang.Object { | |
public static class: java.lang.Class<androidx.annotation.experimental.lint.ExperimentalDetectorKt>; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module annotation { | |
export module experimental { | |
export module lint { | |
export class ExperimentalIssueRegistry { | |
public static class: java.lang.Class<androidx.annotation.experimental.lint.ExperimentalIssueRegistry>; | |
public getIssues(): java.util.List<com.android.tools.lint.detector.api.Issue>; | |
public constructor(); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export class AppCompatIssueRegistry { | |
public static class: java.lang.Class<androidx.appcompat.AppCompatIssueRegistry>; | |
public getApi(): number; | |
public constructor(); | |
public getIssues(): java.util.List<com.android.tools.lint.detector.api.Issue>; | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export abstract class BaseMethodDeprecationDetector { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector>; | |
public getConditions(): native.Array<androidx.appcompat.BaseMethodDeprecationDetector.DeprecationCondition>; | |
public constructor(issue: com.android.tools.lint.detector.api.Issue, conditions: native.Array<androidx.appcompat.BaseMethodDeprecationDetector.DeprecationCondition>); | |
public visitMethodCall(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): void; | |
public getApplicableMethodNames(): java.util.List<string>; | |
} | |
export module BaseMethodDeprecationDetector { | |
export class ApiAbove extends java.lang.Object implements androidx.appcompat.BaseMethodDeprecationDetector.Predicate { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.ApiAbove>; | |
public matches(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): boolean; | |
public constructor(sdkLevel: number); | |
} | |
export class ApiAtOrAbove extends java.lang.Object implements androidx.appcompat.BaseMethodDeprecationDetector.Predicate { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.ApiAtOrAbove>; | |
public matches(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): boolean; | |
public constructor(sdkLevel: number); | |
} | |
export class ApiAtOrBelow extends java.lang.Object implements androidx.appcompat.BaseMethodDeprecationDetector.Predicate { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.ApiAtOrBelow>; | |
public matches(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): boolean; | |
public constructor(sdkLevel: number); | |
} | |
export class ApiBelow extends java.lang.Object implements androidx.appcompat.BaseMethodDeprecationDetector.Predicate { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.ApiBelow>; | |
public matches(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): boolean; | |
public constructor(sdkLevel: number); | |
} | |
export class DeprecationCondition extends java.lang.Object implements androidx.appcompat.BaseMethodDeprecationDetector.Predicate { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.DeprecationCondition>; | |
public matches(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): boolean; | |
public constructor(methodLocation: androidx.appcompat.BaseMethodDeprecationDetector.MethodLocation, message: string, predicates: native.Array<androidx.appcompat.BaseMethodDeprecationDetector.Predicate>); | |
public getMethodLocation(): androidx.appcompat.BaseMethodDeprecationDetector.MethodLocation; | |
public getMessage(): string; | |
} | |
export class MethodLocation extends java.lang.Object implements androidx.appcompat.BaseMethodDeprecationDetector.Predicate { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.MethodLocation>; | |
public matches(context: com.android.tools.lint.detector.api.JavaContext, node: org.jetbrains.uast.UCallExpression, method: com.intellij.psi.PsiMethod): boolean; | |
public getMethodName(): string; | |
public constructor(className: string, methodName: string, params: native.Array<string>); | |
} | |
export class Predicate extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.BaseMethodDeprecationDetector.Predicate>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.BaseMethodDeprecationDetector$Predicate interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
matches(javaContext0: com.android.tools.lint.detector.api.JavaContext, uCallExpression1: org.jetbrains.uast.UCallExpression, psiMethod2: com.intellij.psi.PsiMethod): boolean; | |
}); | |
public constructor(); | |
public matches(javaContext0: com.android.tools.lint.detector.api.JavaContext, uCallExpression1: org.jetbrains.uast.UCallExpression, psiMethod2: com.intellij.psi.PsiMethod): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export abstract class ActionBar extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar>; | |
public static NAVIGATION_MODE_STANDARD: number; | |
public static NAVIGATION_MODE_LIST: number; | |
public static NAVIGATION_MODE_TABS: number; | |
public static DISPLAY_USE_LOGO: number; | |
public static DISPLAY_SHOW_HOME: number; | |
public static DISPLAY_HOME_AS_UP: number; | |
public static DISPLAY_SHOW_TITLE: number; | |
public static DISPLAY_SHOW_CUSTOM: number; | |
/** @deprecated */ | |
public selectTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public setTitle(charSequence0: string): void; | |
public getHeight(): number; | |
/** @deprecated */ | |
public getTabAt(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, boolean1: boolean): void; | |
public constructor(); | |
public show(): void; | |
public setHomeButtonEnabled(enabled: boolean): void; | |
public setLogo(int0: number): void; | |
/** @deprecated */ | |
public setListNavigationCallbacks(spinnerAdapter0: globalAndroid.widget.SpinnerAdapter, onNavigationListener1: androidx.appcompat.app.ActionBar.OnNavigationListener): void; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, int1: number): void; | |
/** @deprecated */ | |
public getNavigationItemCount(): number; | |
public isShowing(): boolean; | |
public setSubtitle(int0: number): void; | |
/** @deprecated */ | |
public setSelectedNavigationItem(int0: number): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setCustomView(view0: globalAndroid.view.View, layoutParams1: androidx.appcompat.app.ActionBar.LayoutParams): void; | |
public getThemedContext(): globalAndroid.content.Context; | |
/** @deprecated */ | |
public removeTabAt(int0: number): void; | |
public invalidateOptionsMenu(): boolean; | |
public setIcon(int0: number): void; | |
public setHomeAsUpIndicator(indicator: globalAndroid.graphics.drawable.Drawable): void; | |
public addOnMenuVisibilityListener(onMenuVisibilityListener0: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setElevation(elevation: number): void; | |
public setCustomView(int0: number): void; | |
public setShowHideAnimationEnabled(enabled: boolean): void; | |
public setTitle(int0: number): void; | |
public setDisplayShowCustomEnabled(boolean0: boolean): void; | |
public setLogo(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setHomeAsUpIndicator(resId: number): void; | |
public setDefaultDisplayHomeAsUpEnabled(enabled: boolean): void; | |
public setDisplayShowTitleEnabled(boolean0: boolean): void; | |
/** @deprecated */ | |
public getSelectedTab(): androidx.appcompat.app.ActionBar.Tab; | |
public openOptionsMenu(): boolean; | |
public setDisplayUseLogoEnabled(boolean0: boolean): void; | |
public getElevation(): number; | |
/** @deprecated */ | |
public getSelectedNavigationIndex(): number; | |
public getSubtitle(): string; | |
public setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setDisplayOptions(int0: number, int1: number): void; | |
public removeOnMenuVisibilityListener(onMenuVisibilityListener0: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setDisplayOptions(int0: number): void; | |
public setSplitBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public isHideOnContentScrollEnabled(): boolean; | |
public getHideOffset(): number; | |
public startActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, int1: number, boolean2: boolean): void; | |
public getCustomView(): globalAndroid.view.View; | |
/** @deprecated */ | |
public getNavigationMode(): number; | |
public onConfigurationChanged(config: globalAndroid.content.res.Configuration): void; | |
/** @deprecated */ | |
public removeTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public setDisplayShowHomeEnabled(boolean0: boolean): void; | |
public getDisplayOptions(): number; | |
/** @deprecated */ | |
public getTabCount(): number; | |
public setHomeActionContentDescription(resId: number): void; | |
public setStackedBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public closeOptionsMenu(): boolean; | |
public setSubtitle(charSequence0: string): void; | |
public collapseActionView(): boolean; | |
/** @deprecated */ | |
public setNavigationMode(int0: number): void; | |
/** @deprecated */ | |
public removeAllTabs(): void; | |
public isTitleTruncated(): boolean; | |
public dispatchMenuVisibilityChanged(visible: boolean): void; | |
public setHideOnContentScrollEnabled(hideOnContentScroll: boolean): void; | |
public getTitle(): string; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public hide(): void; | |
public setDisplayHomeAsUpEnabled(boolean0: boolean): void; | |
public setHomeActionContentDescription(description: string): void; | |
public onKeyShortcut(keyCode: number, ev: globalAndroid.view.KeyEvent): boolean; | |
/** @deprecated */ | |
public newTab(): androidx.appcompat.app.ActionBar.Tab; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public onMenuKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public setHideOffset(offset: number): void; | |
public setWindowTitle(title: string): void; | |
} | |
export module ActionBar { | |
export class DisplayOptions extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.DisplayOptions>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBar$DisplayOptions interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export class LayoutParams extends globalAndroid.view.ViewGroup.MarginLayoutParams { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.LayoutParams>; | |
public gravity: number; | |
public constructor(source: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(c: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public constructor(width: number, height: number, gravity: number); | |
public constructor(gravity: number); | |
public constructor(source: androidx.appcompat.app.ActionBar.LayoutParams); | |
public constructor(width: number, height: number); | |
public constructor(source: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
} | |
export class NavigationMode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.NavigationMode>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBar$NavigationMode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export class OnMenuVisibilityListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.OnMenuVisibilityListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBar$OnMenuVisibilityListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onMenuVisibilityChanged(boolean0: boolean): void; | |
}); | |
public constructor(); | |
public onMenuVisibilityChanged(boolean0: boolean): void; | |
} | |
export class OnNavigationListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.OnNavigationListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBar$OnNavigationListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onNavigationItemSelected(int0: number, long1: number): boolean; | |
}); | |
public constructor(); | |
public onNavigationItemSelected(int0: number, long1: number): boolean; | |
} | |
export abstract class Tab extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.Tab>; | |
public static INVALID_POSITION: number; | |
public setText(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public setCustomView(view0: globalAndroid.view.View): androidx.appcompat.app.ActionBar.Tab; | |
public getCustomView(): globalAndroid.view.View; | |
public getText(): string; | |
public getTag(): any; | |
public setContentDescription(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public setIcon(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public setTag(object0: any): androidx.appcompat.app.ActionBar.Tab; | |
public getIcon(): globalAndroid.graphics.drawable.Drawable; | |
public select(): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.ActionBar.Tab; | |
public getContentDescription(): string; | |
public constructor(); | |
public setText(charSequence0: string): androidx.appcompat.app.ActionBar.Tab; | |
public setCustomView(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public setContentDescription(charSequence0: string): androidx.appcompat.app.ActionBar.Tab; | |
public setTabListener(tabListener0: androidx.appcompat.app.ActionBar.TabListener): androidx.appcompat.app.ActionBar.Tab; | |
public getPosition(): number; | |
} | |
export class TabListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBar.TabListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBar$TabListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onTabSelected(tab0: androidx.appcompat.app.ActionBar.Tab, fragmentTransaction1: androidx.fragment.app.FragmentTransaction): void; | |
onTabUnselected(tab0: androidx.appcompat.app.ActionBar.Tab, fragmentTransaction1: androidx.fragment.app.FragmentTransaction): void; | |
onTabReselected(tab0: androidx.appcompat.app.ActionBar.Tab, fragmentTransaction1: androidx.fragment.app.FragmentTransaction): void; | |
}); | |
public constructor(); | |
public onTabSelected(tab0: androidx.appcompat.app.ActionBar.Tab, fragmentTransaction1: androidx.fragment.app.FragmentTransaction): void; | |
public onTabReselected(tab0: androidx.appcompat.app.ActionBar.Tab, fragmentTransaction1: androidx.fragment.app.FragmentTransaction): void; | |
public onTabUnselected(tab0: androidx.appcompat.app.ActionBar.Tab, fragmentTransaction1: androidx.fragment.app.FragmentTransaction): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class ActionBarDrawerToggle extends java.lang.Object implements androidx.drawerlayout.widget.DrawerLayout.DrawerListener { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggle>; | |
public setHomeAsUpIndicator(indicator: globalAndroid.graphics.drawable.Drawable): void; | |
public isDrawerSlideAnimationEnabled(): boolean; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public setDrawerSlideAnimationEnabled(enabled: boolean): void; | |
public onOptionsItemSelected(item: globalAndroid.view.MenuItem): boolean; | |
public isDrawerIndicatorEnabled(): boolean; | |
public onDrawerOpened(drawerView: globalAndroid.view.View): void; | |
public getToolbarNavigationClickListener(): globalAndroid.view.View.OnClickListener; | |
public syncState(): void; | |
public constructor(activity: globalAndroid.app.Activity, drawerLayout: androidx.drawerlayout.widget.DrawerLayout, openDrawerContentDescRes: number, closeDrawerContentDescRes: number); | |
public setHomeAsUpIndicator(resId: number): void; | |
public setDrawerIndicatorEnabled(enable: boolean): void; | |
public getDrawerArrowDrawable(): androidx.appcompat.graphics.drawable.DrawerArrowDrawable; | |
public setToolbarNavigationClickListener(onToolbarNavigationClickListener: globalAndroid.view.View.OnClickListener): void; | |
public onDrawerClosed(drawerView: globalAndroid.view.View): void; | |
public setDrawerArrowDrawable(drawable: androidx.appcompat.graphics.drawable.DrawerArrowDrawable): void; | |
public onDrawerStateChanged(newState: number): void; | |
public constructor(activity: globalAndroid.app.Activity, drawerLayout: androidx.drawerlayout.widget.DrawerLayout, toolbar: androidx.appcompat.widget.Toolbar, openDrawerContentDescRes: number, closeDrawerContentDescRes: number); | |
public onDrawerSlide(drawerView: globalAndroid.view.View, slideOffset: number): void; | |
} | |
export module ActionBarDrawerToggle { | |
export class Delegate extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggle.Delegate>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBarDrawerToggle$Delegate interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setActionBarUpIndicator(drawable0: globalAndroid.graphics.drawable.Drawable, int1: number): void; | |
setActionBarDescription(int0: number): void; | |
getThemeUpIndicator(): globalAndroid.graphics.drawable.Drawable; | |
getActionBarThemedContext(): globalAndroid.content.Context; | |
isNavigationVisible(): boolean; | |
}); | |
public constructor(); | |
public setActionBarUpIndicator(drawable0: globalAndroid.graphics.drawable.Drawable, int1: number): void; | |
public setActionBarDescription(int0: number): void; | |
public getThemeUpIndicator(): globalAndroid.graphics.drawable.Drawable; | |
public isNavigationVisible(): boolean; | |
public getActionBarThemedContext(): globalAndroid.content.Context; | |
} | |
export class DelegateProvider extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.ActionBarDrawerToggle$DelegateProvider interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
getDrawerToggleDelegate(): androidx.appcompat.app.ActionBarDrawerToggle.Delegate; | |
}); | |
public constructor(); | |
public getDrawerToggleDelegate(): androidx.appcompat.app.ActionBarDrawerToggle.Delegate; | |
} | |
export class FrameworkActionBarDelegate extends java.lang.Object implements androidx.appcompat.app.ActionBarDrawerToggle.Delegate { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate>; | |
public setActionBarUpIndicator(themeImage: globalAndroid.graphics.drawable.Drawable, contentDescRes: number): void; | |
public getThemeUpIndicator(): globalAndroid.graphics.drawable.Drawable; | |
public setActionBarDescription(contentDescRes: number): void; | |
public isNavigationVisible(): boolean; | |
public getActionBarThemedContext(): globalAndroid.content.Context; | |
} | |
export class ToolbarCompatDelegate extends java.lang.Object implements androidx.appcompat.app.ActionBarDrawerToggle.Delegate { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggle.ToolbarCompatDelegate>; | |
public setActionBarUpIndicator(upDrawable: globalAndroid.graphics.drawable.Drawable, contentDescRes: number): void; | |
public setActionBarDescription(contentDescRes: number): void; | |
public getThemeUpIndicator(): globalAndroid.graphics.drawable.Drawable; | |
public isNavigationVisible(): boolean; | |
public getActionBarThemedContext(): globalAndroid.content.Context; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class ActionBarDrawerToggleHoneycomb extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggleHoneycomb>; | |
public static setActionBarDescription(info: androidx.appcompat.app.ActionBarDrawerToggleHoneycomb.SetIndicatorInfo, activity: globalAndroid.app.Activity, contentDescRes: number): androidx.appcompat.app.ActionBarDrawerToggleHoneycomb.SetIndicatorInfo; | |
public static getThemeUpIndicator(activity: globalAndroid.app.Activity): globalAndroid.graphics.drawable.Drawable; | |
public static setActionBarUpIndicator(activity: globalAndroid.app.Activity, drawable: globalAndroid.graphics.drawable.Drawable, contentDescRes: number): androidx.appcompat.app.ActionBarDrawerToggleHoneycomb.SetIndicatorInfo; | |
} | |
export module ActionBarDrawerToggleHoneycomb { | |
export class SetIndicatorInfo extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ActionBarDrawerToggleHoneycomb.SetIndicatorInfo>; | |
public setHomeAsUpIndicator: java.lang.reflect.Method; | |
public setHomeActionContentDescription: java.lang.reflect.Method; | |
public upIndicatorView: globalAndroid.widget.ImageView; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AlertController extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertController>; | |
public constructor(context: globalAndroid.content.Context, di: androidx.appcompat.app.AppCompatDialog, window: globalAndroid.view.Window); | |
public getIconAttributeResId(attrId: number): number; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setButtonPanelLayoutHint(layoutHint: number): void; | |
public getListView(): globalAndroid.widget.ListView; | |
public setView(view: globalAndroid.view.View): void; | |
public setMessage(message: string): void; | |
public setIcon(resId: number): void; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public getButton(whichButton: number): globalAndroid.widget.Button; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public installContent(): void; | |
public setTitle(title: string): void; | |
public setView(view: globalAndroid.view.View, viewSpacingLeft: number, viewSpacingTop: number, viewSpacingRight: number, viewSpacingBottom: number): void; | |
public setView(layoutResId: number): void; | |
public setCustomTitle(customTitleView: globalAndroid.view.View): void; | |
public setButton(whichButton: number, text: string, listener: globalAndroid.content.DialogInterface.OnClickListener, msg: globalAndroid.os.Message, icon: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
export module AlertController { | |
export class AlertParams extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertController.AlertParams>; | |
public mContext: globalAndroid.content.Context; | |
public mInflater: globalAndroid.view.LayoutInflater; | |
public mIconId: number; | |
public mIcon: globalAndroid.graphics.drawable.Drawable; | |
public mIconAttrId: number; | |
public mTitle: string; | |
public mCustomTitleView: globalAndroid.view.View; | |
public mMessage: string; | |
public mPositiveButtonText: string; | |
public mPositiveButtonIcon: globalAndroid.graphics.drawable.Drawable; | |
public mPositiveButtonListener: globalAndroid.content.DialogInterface.OnClickListener; | |
public mNegativeButtonText: string; | |
public mNegativeButtonIcon: globalAndroid.graphics.drawable.Drawable; | |
public mNegativeButtonListener: globalAndroid.content.DialogInterface.OnClickListener; | |
public mNeutralButtonText: string; | |
public mNeutralButtonIcon: globalAndroid.graphics.drawable.Drawable; | |
public mNeutralButtonListener: globalAndroid.content.DialogInterface.OnClickListener; | |
public mCancelable: boolean; | |
public mOnCancelListener: globalAndroid.content.DialogInterface.OnCancelListener; | |
public mOnDismissListener: globalAndroid.content.DialogInterface.OnDismissListener; | |
public mOnKeyListener: globalAndroid.content.DialogInterface.OnKeyListener; | |
public mItems: native.Array<string>; | |
public mAdapter: globalAndroid.widget.ListAdapter; | |
public mOnClickListener: globalAndroid.content.DialogInterface.OnClickListener; | |
public mViewLayoutResId: number; | |
public mView: globalAndroid.view.View; | |
public mViewSpacingLeft: number; | |
public mViewSpacingTop: number; | |
public mViewSpacingRight: number; | |
public mViewSpacingBottom: number; | |
public mViewSpacingSpecified: boolean; | |
public mCheckedItems: native.Array<boolean>; | |
public mIsMultiChoice: boolean; | |
public mIsSingleChoice: boolean; | |
public mCheckedItem: number; | |
public mOnCheckboxClickListener: globalAndroid.content.DialogInterface.OnMultiChoiceClickListener; | |
public mCursor: globalAndroid.database.Cursor; | |
public mLabelColumn: string; | |
public mIsCheckedColumn: string; | |
public mForceInverseBackground: boolean; | |
public mOnItemSelectedListener: globalAndroid.widget.AdapterView.OnItemSelectedListener; | |
public mOnPrepareListViewListener: androidx.appcompat.app.AlertController.AlertParams.OnPrepareListViewListener; | |
public mRecycleOnMeasure: boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public apply(dialog: androidx.appcompat.app.AlertController): void; | |
} | |
export module AlertParams { | |
export class OnPrepareListViewListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertController.AlertParams.OnPrepareListViewListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.AlertController$AlertParams$OnPrepareListViewListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onPrepareListView(listView0: globalAndroid.widget.ListView): void; | |
}); | |
public constructor(); | |
public onPrepareListView(listView0: globalAndroid.widget.ListView): void; | |
} | |
} | |
export class ButtonHandler extends globalAndroid.os.Handler { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertController.ButtonHandler>; | |
public constructor(looper: globalAndroid.os.Looper); | |
public constructor(callback: globalAndroid.os.Handler.Callback); | |
public constructor(dialog: globalAndroid.content.DialogInterface); | |
public constructor(); | |
public constructor(looper: globalAndroid.os.Looper, callback: globalAndroid.os.Handler.Callback); | |
public handleMessage(msg: globalAndroid.os.Message): void; | |
} | |
export class CheckedItemAdapter extends globalAndroid.widget.ArrayAdapter<string> { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertController.CheckedItemAdapter>; | |
public constructor(context: globalAndroid.content.Context, resource: number, textViewResourceId: number, objects: java.util.List<any>); | |
public constructor(context: globalAndroid.content.Context, resource: number, objects: java.util.List<any>); | |
public getFilter(): globalAndroid.widget.Filter; | |
public areAllItemsEnabled(): boolean; | |
public isEnabled(position: number): boolean; | |
public constructor(context: globalAndroid.content.Context, resource: number, textViewResourceId: number); | |
public constructor(context: globalAndroid.content.Context, resource: number, objects: native.Array<any>); | |
public constructor(context: globalAndroid.content.Context, resource: number, textViewResourceId: number, objects: native.Array<string>); | |
public getItemId(position: number): number; | |
public constructor(context: globalAndroid.content.Context, resource: number, textViewResourceId: number, objects: native.Array<any>); | |
public hasStableIds(): boolean; | |
public constructor(context: globalAndroid.content.Context, resource: number); | |
public setDropDownViewTheme(theme: globalAndroid.content.res.Resources.Theme): void; | |
public constructor(); | |
public getDropDownViewTheme(): globalAndroid.content.res.Resources.Theme; | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
} | |
export class RecycleListView extends globalAndroid.widget.ListView { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertController.RecycleListView>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onFilterComplete(count: number): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onTouchModeChanged(isInTouchMode: boolean): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public beforeTextChanged(s: string, start: number, count: number, after: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onGlobalLayout(): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public setHasDecor(hasTitle: boolean, hasButtons: boolean): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rect: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public afterTextChanged(s: globalAndroid.text.Editable): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onTextChanged(s: string, start: number, before: number, count: number): void; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public removeView(child: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AlertDialog extends androidx.appcompat.app.AppCompatDialog implements globalAndroid.content.DialogInterface { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertDialog>; | |
public onWindowAttributesChanged(params: globalAndroid.view.WindowManager.LayoutParams): void; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public constructor(context: globalAndroid.content.Context, themeResId: number); | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getListView(): globalAndroid.widget.ListView; | |
public setIconAttribute(attrId: number): void; | |
public constructor(context: globalAndroid.content.Context, cancelable: boolean, cancelListener: globalAndroid.content.DialogInterface.OnCancelListener); | |
public setIcon(resId: number): void; | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onWindowStartingSupportActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public cancel(): void; | |
public dispatchGenericMotionEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public setView(view: globalAndroid.view.View, viewSpacingLeft: number, viewSpacingTop: number, viewSpacingRight: number, viewSpacingBottom: number): void; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public setButton(whichButton: number, text: string, listener: globalAndroid.content.DialogInterface.OnClickListener): void; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onContentChanged(): void; | |
public onSearchRequested(searchEvent: any): boolean; | |
public onDetachedFromWindow(): void; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public onSearchRequested(): boolean; | |
public onSupportActionModeStarted(mode: androidx.appcompat.view.ActionMode): void; | |
public dispatchTrackballEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public setCustomTitle(customTitleView: globalAndroid.view.View): void; | |
public setMessage(message: string): void; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public dismiss(): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public getButton(whichButton: number): globalAndroid.widget.Button; | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public setTitle(title: string): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public setTitle(titleId: number): void; | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
public setView(view: globalAndroid.view.View): void; | |
public setButton(whichButton: number, text: string, msg: globalAndroid.os.Message): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setButton(whichButton: number, text: string, icon: globalAndroid.graphics.drawable.Drawable, listener: globalAndroid.content.DialogInterface.OnClickListener): void; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public onCreateContextMenu(menu: globalAndroid.view.ContextMenu, v: globalAndroid.view.View, menuInfo: globalAndroid.view.ContextMenu.ContextMenuInfo): void; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public constructor(context: globalAndroid.content.Context, theme: number); | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onSupportActionModeFinished(mode: androidx.appcompat.view.ActionMode): void; | |
public onAttachedToWindow(): void; | |
public dispatchTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
} | |
export module AlertDialog { | |
export class Builder extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AlertDialog.Builder>; | |
public setOnItemSelectedListener(listener: globalAndroid.widget.AdapterView.OnItemSelectedListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setOnKeyListener(onKeyListener: globalAndroid.content.DialogInterface.OnKeyListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setCancelable(cancelable: boolean): androidx.appcompat.app.AlertDialog.Builder; | |
public setMultiChoiceItems(cursor: globalAndroid.database.Cursor, isCheckedColumn: string, labelColumn: string, listener: globalAndroid.content.DialogInterface.OnMultiChoiceClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setTitle(title: string): androidx.appcompat.app.AlertDialog.Builder; | |
public setOnCancelListener(onCancelListener: globalAndroid.content.DialogInterface.OnCancelListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setItems(itemsId: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setMessage(messageId: number): androidx.appcompat.app.AlertDialog.Builder; | |
public setNeutralButtonIcon(icon: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.AlertDialog.Builder; | |
public setOnDismissListener(onDismissListener: globalAndroid.content.DialogInterface.OnDismissListener): androidx.appcompat.app.AlertDialog.Builder; | |
/** @deprecated */ | |
public setInverseBackgroundForced(useInverseBackground: boolean): androidx.appcompat.app.AlertDialog.Builder; | |
public setPositiveButton(text: string, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setRecycleOnMeasureEnabled(enabled: boolean): androidx.appcompat.app.AlertDialog.Builder; | |
public getContext(): globalAndroid.content.Context; | |
public setPositiveButton(textId: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setSingleChoiceItems(adapter: globalAndroid.widget.ListAdapter, checkedItem: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setNeutralButton(textId: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
/** @deprecated */ | |
public setView(view: globalAndroid.view.View, viewSpacingLeft: number, viewSpacingTop: number, viewSpacingRight: number, viewSpacingBottom: number): androidx.appcompat.app.AlertDialog.Builder; | |
public constructor(context: globalAndroid.content.Context, themeResId: number); | |
public setAdapter(adapter: globalAndroid.widget.ListAdapter, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setNeutralButton(text: string, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setNegativeButton(text: string, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setNegativeButtonIcon(icon: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.AlertDialog.Builder; | |
public setMultiChoiceItems(items: native.Array<string>, checkedItems: native.Array<boolean>, listener: globalAndroid.content.DialogInterface.OnMultiChoiceClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setMultiChoiceItems(itemsId: number, checkedItems: native.Array<boolean>, listener: globalAndroid.content.DialogInterface.OnMultiChoiceClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setNegativeButton(textId: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setCustomTitle(customTitleView: globalAndroid.view.View): androidx.appcompat.app.AlertDialog.Builder; | |
public setIconAttribute(attrId: number): androidx.appcompat.app.AlertDialog.Builder; | |
public setItems(items: native.Array<string>, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setSingleChoiceItems(items: native.Array<string>, checkedItem: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setPositiveButtonIcon(icon: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.AlertDialog.Builder; | |
public show(): androidx.appcompat.app.AlertDialog; | |
public create(): androidx.appcompat.app.AlertDialog; | |
public setCursor(cursor: globalAndroid.database.Cursor, listener: globalAndroid.content.DialogInterface.OnClickListener, labelColumn: string): androidx.appcompat.app.AlertDialog.Builder; | |
public setView(view: globalAndroid.view.View): androidx.appcompat.app.AlertDialog.Builder; | |
public setIcon(iconId: number): androidx.appcompat.app.AlertDialog.Builder; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.AlertDialog.Builder; | |
public constructor(context: globalAndroid.content.Context); | |
public setTitle(titleId: number): androidx.appcompat.app.AlertDialog.Builder; | |
public setSingleChoiceItems(cursor: globalAndroid.database.Cursor, checkedItem: number, labelColumn: string, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setView(layoutResId: number): androidx.appcompat.app.AlertDialog.Builder; | |
public setSingleChoiceItems(itemsId: number, checkedItem: number, listener: globalAndroid.content.DialogInterface.OnClickListener): androidx.appcompat.app.AlertDialog.Builder; | |
public setMessage(message: string): androidx.appcompat.app.AlertDialog.Builder; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AppCompatActivity extends androidx.fragment.app.FragmentActivity implements androidx.appcompat.app.AppCompatCallback, androidx.core.app.TaskStackBuilder.SupportParentable, androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatActivity>; | |
public onWindowAttributesChanged(params: globalAndroid.view.WindowManager.LayoutParams): void; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public constructor(base: globalAndroid.content.Context, themeResId: number); | |
public startSupportActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public onSupportNavigateUp(): boolean; | |
public onPostCreate(savedInstanceState: globalAndroid.os.Bundle, persistentState: any): void; | |
public supportNavigateUpTo(upIntent: globalAndroid.content.Intent): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreateView(name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public supportShouldUpRecreateTask(targetIntent: globalAndroid.content.Intent): boolean; | |
/** @deprecated */ | |
public supportInvalidateOptionsMenu(): void; | |
public setTheme(resId: number): void; | |
public getLifecycle(): androidx.lifecycle.Lifecycle; | |
public constructor(); | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public openOptionsMenu(): void; | |
public onWindowStartingSupportActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle, persistentState: any): void; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onPrepareSupportNavigateUpTaskStack(builder: androidx.core.app.TaskStackBuilder): void; | |
public setSupportActionBar(toolbar: androidx.appcompat.widget.Toolbar): void; | |
public dispatchGenericMotionEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public constructor(base: globalAndroid.content.Context, theme: globalAndroid.content.res.Resources.Theme); | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
/** @deprecated */ | |
public setSupportProgressBarVisibility(visible: boolean): void; | |
public onSaveInstanceState(outState: globalAndroid.os.Bundle, outPersistentState: any): void; | |
public onCreateSupportNavigateUpTaskStack(builder: androidx.core.app.TaskStackBuilder): void; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setContentView(layoutResID: number): void; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public onTitleChanged(title: string, color: number): void; | |
public findViewById(id: number): globalAndroid.view.View; | |
/** @deprecated */ | |
public setSupportProgressBarIndeterminate(indeterminate: boolean): void; | |
public setTheme(theme: globalAndroid.content.res.Resources.Theme): void; | |
public supportInvalidateOptionsMenu(): void; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onSaveInstanceState(outState: globalAndroid.os.Bundle): void; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public getOnBackPressedDispatcher(): androidx.activity.OnBackPressedDispatcher; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onContentChanged(): void; | |
public onSearchRequested(searchEvent: any): boolean; | |
public onPostResume(): void; | |
public onStart(): void; | |
public onDetachedFromWindow(): void; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public getSupportActionBar(): androidx.appcompat.app.ActionBar; | |
public onSearchRequested(): boolean; | |
public onSupportActionModeStarted(mode: androidx.appcompat.view.ActionMode): void; | |
public dispatchTrackballEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public attachBaseContext(newBase: globalAndroid.content.Context): void; | |
public invalidateOptionsMenu(): void; | |
public getViewModelStore(): androidx.lifecycle.ViewModelStore; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public closeOptionsMenu(): void; | |
public onTrimMemory(level: number): void; | |
public getSavedStateRegistry(): androidx.savedstate.SavedStateRegistry; | |
public constructor(base: globalAndroid.content.Context); | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public getDelegate(): androidx.appcompat.app.AppCompatDelegate; | |
public validateRequestPermissionsRequestCode(requestCode: number): void; | |
public setContentView(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
/** @deprecated */ | |
public setSupportProgress(progress: number): void; | |
public onRequestPermissionsResult(requestCode: number, permissions: native.Array<string>, grantResults: native.Array<number>): void; | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public onStop(): void; | |
public superDispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
/** @deprecated */ | |
public onSupportContentChanged(): void; | |
public onPostCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public onNightModeChanged(mode: number): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
/** @deprecated */ | |
public setSupportProgressBarIndeterminateVisibility(visible: boolean): void; | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
public getSupportParentActivityIntent(): globalAndroid.content.Intent; | |
public getDrawerToggleDelegate(): androidx.appcompat.app.ActionBarDrawerToggle.Delegate; | |
public getResources(): globalAndroid.content.res.Resources; | |
public onCreateView(parent: globalAndroid.view.View, name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public setTheme(resid: number): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setContentView(view: globalAndroid.view.View): void; | |
public addContentView(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onCreateContextMenu(menu: globalAndroid.view.ContextMenu, v: globalAndroid.view.View, menuInfo: globalAndroid.view.ContextMenu.ContextMenuInfo): void; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public supportRequestWindowFeature(featureId: number): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(contentLayoutId: number); | |
public onDestroy(): void; | |
public onSupportActionModeFinished(mode: androidx.appcompat.view.ActionMode): void; | |
public onAttachedToWindow(): void; | |
public dispatchTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AppCompatCallback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatCallback>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.AppCompatCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onSupportActionModeStarted(actionMode0: androidx.appcompat.view.ActionMode): void; | |
onSupportActionModeFinished(actionMode0: androidx.appcompat.view.ActionMode): void; | |
onWindowStartingSupportActionMode(callback0: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
}); | |
public constructor(); | |
public onSupportActionModeStarted(actionMode0: androidx.appcompat.view.ActionMode): void; | |
public onSupportActionModeFinished(actionMode0: androidx.appcompat.view.ActionMode): void; | |
public onWindowStartingSupportActionMode(callback0: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export abstract class AppCompatDelegate extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegate>; | |
public static MODE_NIGHT_FOLLOW_SYSTEM: number; | |
public static MODE_NIGHT_AUTO_TIME: number; | |
public static MODE_NIGHT_AUTO: number; | |
public static MODE_NIGHT_NO: number; | |
public static MODE_NIGHT_YES: number; | |
public static MODE_NIGHT_AUTO_BATTERY: number; | |
public static MODE_NIGHT_UNSPECIFIED: number; | |
public static FEATURE_SUPPORT_ACTION_BAR: number; | |
public static FEATURE_SUPPORT_ACTION_BAR_OVERLAY: number; | |
public static FEATURE_ACTION_MODE_OVERLAY: number; | |
public invalidateOptionsMenu(): void; | |
public setContentView(view0: globalAndroid.view.View): void; | |
public setTitle(charSequence0: string): void; | |
public static isCompatVectorFromResourcesEnabled(): boolean; | |
public onCreate(bundle0: globalAndroid.os.Bundle): void; | |
public static getDefaultNightMode(): number; | |
public hasWindowFeature(int0: number): boolean; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public requestWindowFeature(int0: number): boolean; | |
public setHandleNativeActionModesEnabled(boolean0: boolean): void; | |
public isHandleNativeActionModesEnabled(): boolean; | |
public startSupportActionMode(callback0: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public setTheme(themeResId: number): void; | |
public onPostCreate(bundle0: globalAndroid.os.Bundle): void; | |
public applyDayNight(): boolean; | |
public onStop(): void; | |
public attachBaseContext2(context: globalAndroid.content.Context): globalAndroid.content.Context; | |
public setContentView(view0: globalAndroid.view.View, layoutParams1: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public createView(view0: globalAndroid.view.View, string1: string, context2: globalAndroid.content.Context, attributeSet3: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public getLocalNightMode(): number; | |
public findViewById(int0: number): globalAndroid.view.View; | |
public getDrawerToggleDelegate(): androidx.appcompat.app.ActionBarDrawerToggle.Delegate; | |
public addContentView(view0: globalAndroid.view.View, layoutParams1: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onSaveInstanceState(bundle0: globalAndroid.os.Bundle): void; | |
public static create(context: globalAndroid.content.Context, window: globalAndroid.view.Window, callback: androidx.appcompat.app.AppCompatCallback): androidx.appcompat.app.AppCompatDelegate; | |
public setLocalNightMode(int0: number): void; | |
public onConfigurationChanged(configuration0: globalAndroid.content.res.Configuration): void; | |
/** @deprecated */ | |
public attachBaseContext(context: globalAndroid.content.Context): void; | |
public static setCompatVectorFromResourcesEnabled(enabled: boolean): void; | |
public installViewFactory(): void; | |
public static create(dialog: globalAndroid.app.Dialog, callback: androidx.appcompat.app.AppCompatCallback): androidx.appcompat.app.AppCompatDelegate; | |
public onStart(): void; | |
public onPostResume(): void; | |
public static create(context: globalAndroid.content.Context, activity: globalAndroid.app.Activity, callback: androidx.appcompat.app.AppCompatCallback): androidx.appcompat.app.AppCompatDelegate; | |
public getSupportActionBar(): androidx.appcompat.app.ActionBar; | |
public setSupportActionBar(toolbar0: androidx.appcompat.widget.Toolbar): void; | |
public onDestroy(): void; | |
public static create(activity: globalAndroid.app.Activity, callback: androidx.appcompat.app.AppCompatCallback): androidx.appcompat.app.AppCompatDelegate; | |
public setContentView(int0: number): void; | |
public static setDefaultNightMode(mode: number): void; | |
} | |
export module AppCompatDelegate { | |
export class NightMode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegate.NightMode>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.app.AppCompatDelegate$NightMode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AppCompatDelegateImpl extends androidx.appcompat.app.AppCompatDelegate implements androidx.appcompat.view.menu.MenuBuilder.Callback, globalAndroid.view.LayoutInflater.Factory2 { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl>; | |
public setContentView(view0: globalAndroid.view.View): void; | |
public setTitle(charSequence0: string): void; | |
public startSupportActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public onCreateView(name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public onCreate(bundle0: globalAndroid.os.Bundle): void; | |
public requestWindowFeature(int0: number): boolean; | |
public setHandleNativeActionModesEnabled(boolean0: boolean): void; | |
public isHandleNativeActionModesEnabled(): boolean; | |
public attachBaseContext2(baseContext: globalAndroid.content.Context): globalAndroid.content.Context; | |
public startSupportActionMode(callback0: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public getPanelState(featureId: number, required: boolean): androidx.appcompat.app.AppCompatDelegateImpl.PanelFeatureState; | |
public setHandleNativeActionModesEnabled(enabled: boolean): void; | |
public attachBaseContext2(context: globalAndroid.content.Context): globalAndroid.content.Context; | |
public setSupportActionBar(toolbar: androidx.appcompat.widget.Toolbar): void; | |
public onMenuItemSelected(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): boolean; | |
public getLocalNightMode(): number; | |
public findViewById(int0: number): globalAndroid.view.View; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public findViewById(id: number): globalAndroid.view.View; | |
public onSaveInstanceState(outState: globalAndroid.os.Bundle): void; | |
public setLocalNightMode(mode: number): void; | |
public addContentView(v: globalAndroid.view.View, lp: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onStart(): void; | |
public onPostResume(): void; | |
public requestWindowFeature(featureId: number): boolean; | |
public getSupportActionBar(): androidx.appcompat.app.ActionBar; | |
public setSupportActionBar(toolbar0: androidx.appcompat.widget.Toolbar): void; | |
public onMenuModeChange(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public invalidateOptionsMenu(): void; | |
public hasWindowFeature(int0: number): boolean; | |
public hasWindowFeature(featureId: number): boolean; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public setTheme(themeResId: number): void; | |
public onPostCreate(bundle0: globalAndroid.os.Bundle): void; | |
public applyDayNight(): boolean; | |
public onStop(): void; | |
public setContentView(view0: globalAndroid.view.View, layoutParams1: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public setTitle(title: string): void; | |
public onPostCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public setContentView(resId: number): void; | |
public createView(view0: globalAndroid.view.View, string1: string, context2: globalAndroid.content.Context, attributeSet3: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public getDrawerToggleDelegate(): androidx.appcompat.app.ActionBarDrawerToggle.Delegate; | |
public onCreateView(parent: globalAndroid.view.View, name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public addContentView(view0: globalAndroid.view.View, layoutParams1: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onSaveInstanceState(bundle0: globalAndroid.os.Bundle): void; | |
public setLocalNightMode(int0: number): void; | |
public createView(parent: globalAndroid.view.View, name: string, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public onConfigurationChanged(configuration0: globalAndroid.content.res.Configuration): void; | |
public installViewFactory(): void; | |
public setContentView(v: globalAndroid.view.View): void; | |
public onDestroy(): void; | |
public setContentView(v: globalAndroid.view.View, lp: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public setContentView(int0: number): void; | |
} | |
export module AppCompatDelegateImpl { | |
export class ActionBarDrawableToggleImpl extends java.lang.Object implements androidx.appcompat.app.ActionBarDrawerToggle.Delegate { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ActionBarDrawableToggleImpl>; | |
public getThemeUpIndicator(): globalAndroid.graphics.drawable.Drawable; | |
public setActionBarUpIndicator(upDrawable: globalAndroid.graphics.drawable.Drawable, contentDescRes: number): void; | |
public setActionBarDescription(contentDescRes: number): void; | |
public isNavigationVisible(): boolean; | |
public getActionBarThemedContext(): globalAndroid.content.Context; | |
} | |
export class ActionMenuPresenterCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter.Callback { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ActionMenuPresenterCallback>; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onOpenSubMenu(subMenu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
} | |
export class ActionModeCallbackWrapperV9 extends java.lang.Object implements androidx.appcompat.view.ActionMode.Callback { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ActionModeCallbackWrapperV9>; | |
public constructor(this0: androidx.appcompat.app.AppCompatDelegateImpl, wrapped: androidx.appcompat.view.ActionMode.Callback); | |
public onCreateActionMode(mode: androidx.appcompat.view.ActionMode, menu: globalAndroid.view.Menu): boolean; | |
public onDestroyActionMode(mode: androidx.appcompat.view.ActionMode): void; | |
public onPrepareActionMode(mode: androidx.appcompat.view.ActionMode, menu: globalAndroid.view.Menu): boolean; | |
public onActionItemClicked(mode: androidx.appcompat.view.ActionMode, item: globalAndroid.view.MenuItem): boolean; | |
} | |
export class AppCompatWindowCallback extends androidx.appcompat.view.WindowCallbackWrapper { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.AppCompatWindowCallback>; | |
public dispatchTrackballEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onSearchRequested(): boolean; | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public onWindowAttributesChanged(attrs: globalAndroid.view.WindowManager.LayoutParams): void; | |
public onAttachedToWindow(): void; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public onSearchRequested(searchEvent: any): boolean; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public onDetachedFromWindow(): void; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public dispatchTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public dispatchGenericMotionEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public onContentChanged(): void; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
} | |
export class AutoBatteryNightModeManager extends androidx.appcompat.app.AppCompatDelegateImpl.AutoNightModeManager { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.AutoBatteryNightModeManager>; | |
public getApplyableNightMode(): number; | |
public onChange(): void; | |
} | |
export abstract class AutoNightModeManager extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.AutoNightModeManager>; | |
} | |
export class AutoTimeNightModeManager extends androidx.appcompat.app.AppCompatDelegateImpl.AutoNightModeManager { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.AutoTimeNightModeManager>; | |
public getApplyableNightMode(): number; | |
public onChange(): void; | |
} | |
export class ConfigurationImplApi17 extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ConfigurationImplApi17>; | |
} | |
export class ConfigurationImplApi24 extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ConfigurationImplApi24>; | |
} | |
export class ConfigurationImplApi26 extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ConfigurationImplApi26>; | |
} | |
export class ContextThemeWrapperCompatApi17Impl extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ContextThemeWrapperCompatApi17Impl>; | |
} | |
export class ListMenuDecorView extends androidx.appcompat.widget.ContentFrameLayout { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.ListMenuDecorView>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onInterceptTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public constructor(param0: androidx.appcompat.app.AppCompatDelegateImpl, context: globalAndroid.content.Context); | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onInterceptTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setBackgroundResource(resid: number): void; | |
} | |
export class PanelFeatureState extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.PanelFeatureState>; | |
public qwertyMode: boolean; | |
public hasPanelItems(): boolean; | |
public clearMenuPresenters(): void; | |
} | |
export module PanelFeatureState { | |
export class SavedState extends java.lang.Object implements globalAndroid.os.Parcelable { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.PanelFeatureState.SavedState>; | |
public static CREATOR: globalAndroid.os.Parcelable.Creator<androidx.appcompat.app.AppCompatDelegateImpl.PanelFeatureState.SavedState>; | |
public describeContents(): number; | |
public writeToParcel(dest: globalAndroid.os.Parcel, flags: number): void; | |
} | |
} | |
export class PanelMenuPresenterCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter.Callback { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDelegateImpl.PanelMenuPresenterCallback>; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onOpenSubMenu(subMenu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AppCompatDialog extends globalAndroid.app.Dialog implements androidx.appcompat.app.AppCompatCallback { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDialog>; | |
public onWindowAttributesChanged(params: globalAndroid.view.WindowManager.LayoutParams): void; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public constructor(context: globalAndroid.content.Context, themeResId: number); | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, cancelable: boolean, cancelListener: globalAndroid.content.DialogInterface.OnCancelListener); | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onWindowStartingSupportActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public cancel(): void; | |
public dispatchGenericMotionEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setContentView(layoutResID: number): void; | |
public findViewById(id: number): globalAndroid.view.View; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onContentChanged(): void; | |
public onSearchRequested(searchEvent: any): boolean; | |
public onDetachedFromWindow(): void; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public getSupportActionBar(): androidx.appcompat.app.ActionBar; | |
public onSearchRequested(): boolean; | |
public onSupportActionModeStarted(mode: androidx.appcompat.view.ActionMode): void; | |
public dispatchTrackballEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public invalidateOptionsMenu(): void; | |
public onCreate(savedInstanceState: globalAndroid.os.Bundle): void; | |
public dismiss(): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public getDelegate(): androidx.appcompat.app.AppCompatDelegate; | |
public setContentView(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public onStop(): void; | |
public setTitle(title: string): void; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public setTitle(titleId: number): void; | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setContentView(view: globalAndroid.view.View): void; | |
public addContentView(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onCreateContextMenu(menu: globalAndroid.view.ContextMenu, v: globalAndroid.view.View, menuInfo: globalAndroid.view.ContextMenu.ContextMenuInfo): void; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public constructor(context: globalAndroid.content.Context, theme: number); | |
public supportRequestWindowFeature(featureId: number): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onSupportActionModeFinished(mode: androidx.appcompat.view.ActionMode): void; | |
public onAttachedToWindow(): void; | |
public dispatchTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AppCompatDialogFragment extends androidx.fragment.app.DialogFragment { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatDialogFragment>; | |
public getSavedStateRegistry(): androidx.savedstate.SavedStateRegistry; | |
public onCancel(dialog: globalAndroid.content.DialogInterface): void; | |
public onCreateContextMenu(menu: globalAndroid.view.ContextMenu, v: globalAndroid.view.View, menuInfo: globalAndroid.view.ContextMenu.ContextMenuInfo): void; | |
public setupDialog(dialog: globalAndroid.app.Dialog, style: number): void; | |
public getViewModelStore(): androidx.lifecycle.ViewModelStore; | |
public onDismiss(dialog: globalAndroid.content.DialogInterface): void; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public onLowMemory(): void; | |
public onCreateDialog(savedInstanceState: globalAndroid.os.Bundle): globalAndroid.app.Dialog; | |
public constructor(contentLayoutId: number); | |
public getLifecycle(): androidx.lifecycle.Lifecycle; | |
public constructor(); | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class AppCompatViewInflater extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatViewInflater>; | |
public createView(context: globalAndroid.content.Context, name: string, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public createCheckBox(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatCheckBox; | |
public createSpinner(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatSpinner; | |
public constructor(); | |
public createTextView(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatTextView; | |
public createImageButton(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatImageButton; | |
public createAutoCompleteTextView(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatAutoCompleteTextView; | |
public createMultiAutoCompleteTextView(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatMultiAutoCompleteTextView; | |
public createRadioButton(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatRadioButton; | |
public createToggleButton(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatToggleButton; | |
public createEditText(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatEditText; | |
public createButton(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatButton; | |
public createCheckedTextView(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatCheckedTextView; | |
public createSeekBar(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatSeekBar; | |
public createRatingBar(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatRatingBar; | |
public createImageView(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.AppCompatImageView; | |
} | |
export module AppCompatViewInflater { | |
export class DeclaredOnClickListener extends java.lang.Object implements globalAndroid.view.View.OnClickListener { | |
public static class: java.lang.Class<androidx.appcompat.app.AppCompatViewInflater.DeclaredOnClickListener>; | |
public onClick(v: globalAndroid.view.View): void; | |
public constructor(hostView: globalAndroid.view.View, methodName: string); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class NavItemSelectedListener extends java.lang.Object implements globalAndroid.widget.AdapterView.OnItemSelectedListener { | |
public static class: java.lang.Class<androidx.appcompat.app.NavItemSelectedListener>; | |
public constructor(listener: androidx.appcompat.app.ActionBar.OnNavigationListener); | |
public onItemSelected(parent: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public onNothingSelected(parent: globalAndroid.widget.AdapterView<any>): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class ResourcesFlusher extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.ResourcesFlusher>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class ToolbarActionBar extends androidx.appcompat.app.ActionBar { | |
public static class: java.lang.Class<androidx.appcompat.app.ToolbarActionBar>; | |
/** @deprecated */ | |
public selectTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public setTitle(charSequence0: string): void; | |
public getHeight(): number; | |
public setDisplayOptions(options: number): void; | |
public setDisplayOptions(options: number, mask: number): void; | |
/** @deprecated */ | |
public getTabAt(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, boolean1: boolean): void; | |
public show(): void; | |
/** @deprecated */ | |
public setListNavigationCallbacks(spinnerAdapter0: globalAndroid.widget.SpinnerAdapter, onNavigationListener1: androidx.appcompat.app.ActionBar.OnNavigationListener): void; | |
public removeTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
/** @deprecated */ | |
public getNavigationItemCount(): number; | |
public setSubtitle(int0: number): void; | |
public setCustomView(resId: number): void; | |
/** @deprecated */ | |
public setSelectedNavigationItem(int0: number): void; | |
public setDisplayShowTitleEnabled(showTitle: boolean): void; | |
public setIcon(int0: number): void; | |
public setHomeAsUpIndicator(indicator: globalAndroid.graphics.drawable.Drawable): void; | |
public addOnMenuVisibilityListener(onMenuVisibilityListener0: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setListNavigationCallbacks(adapter: globalAndroid.widget.SpinnerAdapter, callback: androidx.appcompat.app.ActionBar.OnNavigationListener): void; | |
public setTitle(int0: number): void; | |
public setDisplayShowCustomEnabled(boolean0: boolean): void; | |
public setDefaultDisplayHomeAsUpEnabled(enabled: boolean): void; | |
public setDisplayShowTitleEnabled(boolean0: boolean): void; | |
public openOptionsMenu(): boolean; | |
public getElevation(): number; | |
public setDisplayUseLogoEnabled(boolean0: boolean): void; | |
public getSubtitle(): string; | |
public removeAllTabs(): void; | |
public setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setDisplayOptions(int0: number, int1: number): void; | |
public dispatchMenuVisibilityChanged(isVisible: boolean): void; | |
public removeOnMenuVisibilityListener(onMenuVisibilityListener0: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setSplitBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public getCustomView(): globalAndroid.view.View; | |
/** @deprecated */ | |
public getNavigationMode(): number; | |
public addOnMenuVisibilityListener(listener: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setDisplayShowHomeEnabled(boolean0: boolean): void; | |
public setDisplayShowCustomEnabled(showCustom: boolean): void; | |
public setHomeActionContentDescription(resId: number): void; | |
public setLogo(resId: number): void; | |
public getSelectedNavigationIndex(): number; | |
public setLogo(logo: globalAndroid.graphics.drawable.Drawable): void; | |
public setSubtitle(charSequence0: string): void; | |
public setDisplayHomeAsUpEnabled(showHomeAsUp: boolean): void; | |
public setTitle(resId: number): void; | |
public setDisplayShowHomeEnabled(showHome: boolean): void; | |
public isTitleTruncated(): boolean; | |
public getTitle(): string; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public setSubtitle(subtitle: string): void; | |
public hide(): void; | |
public setDisplayHomeAsUpEnabled(boolean0: boolean): void; | |
public setBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public onKeyShortcut(keyCode: number, ev: globalAndroid.view.KeyEvent): boolean; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
/** @deprecated */ | |
public newTab(): androidx.appcompat.app.ActionBar.Tab; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public setDisplayUseLogoEnabled(useLogo: boolean): void; | |
public removeTabAt(position: number): void; | |
public setIcon(resId: number): void; | |
public setHomeButtonEnabled(enabled: boolean): void; | |
public setLogo(int0: number): void; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, int1: number): void; | |
public getWrappedWindowCallback(): globalAndroid.view.Window.Callback; | |
public isShowing(): boolean; | |
public newTab(): androidx.appcompat.app.ActionBar.Tab; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setCustomView(view0: globalAndroid.view.View, layoutParams1: androidx.appcompat.app.ActionBar.LayoutParams): void; | |
public getThemedContext(): globalAndroid.content.Context; | |
/** @deprecated */ | |
public removeTabAt(int0: number): void; | |
public invalidateOptionsMenu(): boolean; | |
public setElevation(elevation: number): void; | |
public setCustomView(int0: number): void; | |
public setShowHideAnimationEnabled(enabled: boolean): void; | |
public setLogo(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public getSelectedTab(): androidx.appcompat.app.ActionBar.Tab; | |
public setHomeAsUpIndicator(resId: number): void; | |
/** @deprecated */ | |
public getSelectedTab(): androidx.appcompat.app.ActionBar.Tab; | |
/** @deprecated */ | |
public getSelectedNavigationIndex(): number; | |
public setCustomView(view: globalAndroid.view.View, layoutParams: androidx.appcompat.app.ActionBar.LayoutParams): void; | |
public setDisplayOptions(int0: number): void; | |
public getNavigationMode(): number; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, int1: number, boolean2: boolean): void; | |
public onConfigurationChanged(config: globalAndroid.content.res.Configuration): void; | |
/** @deprecated */ | |
public removeTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public getDisplayOptions(): number; | |
/** @deprecated */ | |
public getTabCount(): number; | |
public setStackedBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public setSelectedNavigationItem(position: number): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, position: number, setSelected: boolean): void; | |
public getTabAt(index: number): androidx.appcompat.app.ActionBar.Tab; | |
public closeOptionsMenu(): boolean; | |
public setTitle(title: string): void; | |
public getTabCount(): number; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public requestFocus(): boolean; | |
public collapseActionView(): boolean; | |
/** @deprecated */ | |
public setNavigationMode(int0: number): void; | |
public getNavigationItemCount(): number; | |
/** @deprecated */ | |
public removeAllTabs(): void; | |
public dispatchMenuVisibilityChanged(visible: boolean): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, position: number): void; | |
public setSubtitle(resId: number): void; | |
public selectTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public removeOnMenuVisibilityListener(listener: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setHomeActionContentDescription(description: string): void; | |
public setNavigationMode(mode: number): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, setSelected: boolean): void; | |
public onMenuKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public setWindowTitle(title: string): void; | |
} | |
export module ToolbarActionBar { | |
export class ActionMenuPresenterCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter.Callback { | |
public static class: java.lang.Class<androidx.appcompat.app.ToolbarActionBar.ActionMenuPresenterCallback>; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onOpenSubMenu(subMenu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
} | |
export class MenuBuilderCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuBuilder.Callback { | |
public static class: java.lang.Class<androidx.appcompat.app.ToolbarActionBar.MenuBuilderCallback>; | |
public onMenuModeChange(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public onMenuItemSelected(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): boolean; | |
} | |
export class ToolbarCallbackWrapper extends androidx.appcompat.view.WindowCallbackWrapper { | |
public static class: java.lang.Class<androidx.appcompat.app.ToolbarActionBar.ToolbarCallbackWrapper>; | |
public dispatchTrackballEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onSearchRequested(): boolean; | |
public constructor(param0: androidx.appcompat.app.ToolbarActionBar, wrapped: globalAndroid.view.Window.Callback); | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public onWindowAttributesChanged(attrs: globalAndroid.view.WindowManager.LayoutParams): void; | |
public onAttachedToWindow(): void; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public onSearchRequested(searchEvent: any): boolean; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public constructor(wrapped: globalAndroid.view.Window.Callback); | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public onDetachedFromWindow(): void; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public dispatchTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public dispatchGenericMotionEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public onContentChanged(): void; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class TwilightCalculator extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.TwilightCalculator>; | |
public static DAY: number; | |
public static NIGHT: number; | |
public sunset: number; | |
public sunrise: number; | |
public state: number; | |
public calculateTwilight(time: number, latitude: number, longitude: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class TwilightManager extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.TwilightManager>; | |
} | |
export module TwilightManager { | |
export class TwilightState extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.app.TwilightManager.TwilightState>; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module app { | |
export class WindowDecorActionBar extends androidx.appcompat.app.ActionBar implements androidx.appcompat.widget.ActionBarOverlayLayout.ActionBarVisibilityCallback { | |
public static class: java.lang.Class<androidx.appcompat.app.WindowDecorActionBar>; | |
/** @deprecated */ | |
public selectTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public setTitle(charSequence0: string): void; | |
public getHeight(): number; | |
public setDisplayOptions(options: number): void; | |
public setDisplayOptions(options: number, mask: number): void; | |
public onContentScrollStopped(): void; | |
public showForSystem(): void; | |
/** @deprecated */ | |
public getTabAt(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, boolean1: boolean): void; | |
public constructor(layout: globalAndroid.view.View); | |
public show(): void; | |
public removeTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
/** @deprecated */ | |
public setListNavigationCallbacks(spinnerAdapter0: globalAndroid.widget.SpinnerAdapter, onNavigationListener1: androidx.appcompat.app.ActionBar.OnNavigationListener): void; | |
/** @deprecated */ | |
public getNavigationItemCount(): number; | |
public onKeyShortcut(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSubtitle(int0: number): void; | |
public setCustomView(resId: number): void; | |
/** @deprecated */ | |
public setSelectedNavigationItem(int0: number): void; | |
public setDisplayShowTitleEnabled(showTitle: boolean): void; | |
public onWindowVisibilityChanged(visibility: number): void; | |
public setIcon(int0: number): void; | |
public setHomeAsUpIndicator(indicator: globalAndroid.graphics.drawable.Drawable): void; | |
public addOnMenuVisibilityListener(onMenuVisibilityListener0: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setListNavigationCallbacks(adapter: globalAndroid.widget.SpinnerAdapter, callback: androidx.appcompat.app.ActionBar.OnNavigationListener): void; | |
public setTitle(int0: number): void; | |
public setDefaultDisplayHomeAsUpEnabled(enable: boolean): void; | |
public setDisplayShowCustomEnabled(boolean0: boolean): void; | |
public enableContentAnimations(enabled: boolean): void; | |
public setDefaultDisplayHomeAsUpEnabled(enabled: boolean): void; | |
public setDisplayShowTitleEnabled(boolean0: boolean): void; | |
public doHide(fromSystem: boolean): void; | |
public getElevation(): number; | |
public setDisplayUseLogoEnabled(boolean0: boolean): void; | |
public getSubtitle(): string; | |
public removeAllTabs(): void; | |
public onContentScrollStarted(): void; | |
public setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setDisplayOptions(int0: number, int1: number): void; | |
public dispatchMenuVisibilityChanged(isVisible: boolean): void; | |
public removeOnMenuVisibilityListener(onMenuVisibilityListener0: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setSplitBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public startActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode; | |
public getHideOffset(): number; | |
public getCustomView(): globalAndroid.view.View; | |
/** @deprecated */ | |
public getNavigationMode(): number; | |
public addOnMenuVisibilityListener(listener: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
public setDisplayShowHomeEnabled(boolean0: boolean): void; | |
public setDisplayShowCustomEnabled(showCustom: boolean): void; | |
public setHomeActionContentDescription(resId: number): void; | |
public setLogo(resId: number): void; | |
public getSelectedNavigationIndex(): number; | |
public setLogo(logo: globalAndroid.graphics.drawable.Drawable): void; | |
public setSubtitle(charSequence0: string): void; | |
public setDisplayHomeAsUpEnabled(showHomeAsUp: boolean): void; | |
public setTitle(resId: number): void; | |
public setDisplayShowHomeEnabled(showHome: boolean): void; | |
public isTitleTruncated(): boolean; | |
public setHideOnContentScrollEnabled(hideOnContentScroll: boolean): void; | |
public getTitle(): string; | |
public hasIcon(): boolean; | |
public setSubtitle(subtitle: string): void; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public hide(): void; | |
public setDisplayHomeAsUpEnabled(boolean0: boolean): void; | |
public setBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public onKeyShortcut(keyCode: number, ev: globalAndroid.view.KeyEvent): boolean; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
/** @deprecated */ | |
public newTab(): androidx.appcompat.app.ActionBar.Tab; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public setHomeButtonEnabled(enable: boolean): void; | |
public hasLogo(): boolean; | |
public setDisplayUseLogoEnabled(useLogo: boolean): void; | |
public removeTabAt(position: number): void; | |
public setIcon(resId: number): void; | |
public constructor(); | |
public setHomeButtonEnabled(enabled: boolean): void; | |
public setLogo(int0: number): void; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, int1: number): void; | |
public isShowing(): boolean; | |
public newTab(): androidx.appcompat.app.ActionBar.Tab; | |
public animateToMode(toActionMode: boolean): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setCustomView(view0: globalAndroid.view.View, layoutParams1: androidx.appcompat.app.ActionBar.LayoutParams): void; | |
public getThemedContext(): globalAndroid.content.Context; | |
/** @deprecated */ | |
public removeTabAt(int0: number): void; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public setElevation(elevation: number): void; | |
public setCustomView(int0: number): void; | |
public setShowHideAnimationEnabled(enabled: boolean): void; | |
public getSelectedTab(): androidx.appcompat.app.ActionBar.Tab; | |
public setLogo(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setHomeAsUpIndicator(resId: number): void; | |
/** @deprecated */ | |
public getSelectedTab(): androidx.appcompat.app.ActionBar.Tab; | |
/** @deprecated */ | |
public getSelectedNavigationIndex(): number; | |
public setCustomView(view: globalAndroid.view.View, layoutParams: androidx.appcompat.app.ActionBar.LayoutParams): void; | |
public constructor(dialog: globalAndroid.app.Dialog); | |
public constructor(activity: globalAndroid.app.Activity, overlayMode: boolean); | |
public doShow(fromSystem: boolean): void; | |
public setDisplayOptions(int0: number): void; | |
public getNavigationMode(): number; | |
public isHideOnContentScrollEnabled(): boolean; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab, int1: number, boolean2: boolean): void; | |
public onConfigurationChanged(config: globalAndroid.content.res.Configuration): void; | |
/** @deprecated */ | |
public removeTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public getDisplayOptions(): number; | |
/** @deprecated */ | |
public getTabCount(): number; | |
public setStackedBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public setSelectedNavigationItem(position: number): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, position: number, setSelected: boolean): void; | |
public getTabAt(index: number): androidx.appcompat.app.ActionBar.Tab; | |
public setTitle(title: string): void; | |
public getTabCount(): number; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public requestFocus(): boolean; | |
public collapseActionView(): boolean; | |
/** @deprecated */ | |
public setNavigationMode(int0: number): void; | |
public hideForSystem(): void; | |
public getNavigationItemCount(): number; | |
/** @deprecated */ | |
public removeAllTabs(): void; | |
public dispatchMenuVisibilityChanged(visible: boolean): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, position: number): void; | |
public setSubtitle(resId: number): void; | |
public selectTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
public removeOnMenuVisibilityListener(listener: androidx.appcompat.app.ActionBar.OnMenuVisibilityListener): void; | |
/** @deprecated */ | |
public addTab(tab0: androidx.appcompat.app.ActionBar.Tab): void; | |
public setHomeActionContentDescription(description: string): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, setSelected: boolean): void; | |
public setNavigationMode(mode: number): void; | |
public setWindowTitle(title: string): void; | |
public setHideOffset(offset: number): void; | |
} | |
export module WindowDecorActionBar { | |
export class ActionModeImpl extends androidx.appcompat.view.ActionMode implements androidx.appcompat.view.menu.MenuBuilder.Callback { | |
public static class: java.lang.Class<androidx.appcompat.app.WindowDecorActionBar.ActionModeImpl>; | |
public setSubtitle(int0: number): void; | |
public getTitle(): string; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public setTitle(int0: number): void; | |
public getCustomView(): globalAndroid.view.View; | |
public dispatchOnCreate(): boolean; | |
public onMenuItemSelected(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): boolean; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public setTitleOptionalHint(titleOptional: boolean): void; | |
public constructor(); | |
public onMenuModeChange(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public isTitleOptional(): boolean; | |
public setSubtitle(subtitle: string): void; | |
public setTitle(charSequence0: string): void; | |
public getMenu(): globalAndroid.view.Menu; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public finish(): void; | |
public constructor(this0: androidx.appcompat.app.WindowDecorActionBar, context: globalAndroid.content.Context, callback: androidx.appcompat.view.ActionMode.Callback); | |
public setTitle(resId: number): void; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public getSubtitle(): string; | |
public setSubtitle(resId: number): void; | |
public onCloseSubMenu(menu: androidx.appcompat.view.menu.SubMenuBuilder): void; | |
public setTitle(title: string): void; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public invalidate(): void; | |
public setSubtitle(charSequence0: string): void; | |
} | |
export class TabImpl extends androidx.appcompat.app.ActionBar.Tab { | |
public static class: java.lang.Class<androidx.appcompat.app.WindowDecorActionBar.TabImpl>; | |
public setContentDescription(resId: number): androidx.appcompat.app.ActionBar.Tab; | |
public getCustomView(): globalAndroid.view.View; | |
public setCustomView(view0: globalAndroid.view.View): androidx.appcompat.app.ActionBar.Tab; | |
public getTag(): any; | |
public setCustomView(layoutResId: number): androidx.appcompat.app.ActionBar.Tab; | |
public setContentDescription(contentDesc: string): androidx.appcompat.app.ActionBar.Tab; | |
public setTag(object0: any): androidx.appcompat.app.ActionBar.Tab; | |
public setIcon(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public getIcon(): globalAndroid.graphics.drawable.Drawable; | |
public setText(resId: number): androidx.appcompat.app.ActionBar.Tab; | |
public setTabListener(callback: androidx.appcompat.app.ActionBar.TabListener): androidx.appcompat.app.ActionBar.Tab; | |
public setPosition(position: number): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.ActionBar.Tab; | |
public getContentDescription(): string; | |
public getCallback(): androidx.appcompat.app.ActionBar.TabListener; | |
public setIcon(resId: number): androidx.appcompat.app.ActionBar.Tab; | |
public constructor(); | |
public setText(text: string): androidx.appcompat.app.ActionBar.Tab; | |
public setTag(tag: any): androidx.appcompat.app.ActionBar.Tab; | |
public setTabListener(tabListener0: androidx.appcompat.app.ActionBar.TabListener): androidx.appcompat.app.ActionBar.Tab; | |
public constructor(this0: androidx.appcompat.app.WindowDecorActionBar); | |
public setCustomView(view: globalAndroid.view.View): androidx.appcompat.app.ActionBar.Tab; | |
public setText(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public getText(): string; | |
public setContentDescription(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public select(): void; | |
public setText(charSequence0: string): androidx.appcompat.app.ActionBar.Tab; | |
public setCustomView(int0: number): androidx.appcompat.app.ActionBar.Tab; | |
public setContentDescription(charSequence0: string): androidx.appcompat.app.ActionBar.Tab; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.app.ActionBar.Tab; | |
public getPosition(): number; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module content { | |
export module res { | |
export class AppCompatResources extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.content.res.AppCompatResources>; | |
public static getColorStateList(context: globalAndroid.content.Context, resId: number): globalAndroid.content.res.ColorStateList; | |
public static getDrawable(context: globalAndroid.content.Context, resId: number): globalAndroid.graphics.drawable.Drawable; | |
} | |
export module AppCompatResources { | |
export class ColorStateListCacheEntry extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.content.res.AppCompatResources.ColorStateListCacheEntry>; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module graphics { | |
export module drawable { | |
export class AnimatedStateListDrawableCompat extends androidx.appcompat.graphics.drawable.StateListDrawable implements androidx.core.graphics.drawable.TintAwareDrawable { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat>; | |
public setTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onStateChange(stateSet: native.Array<number>): boolean; | |
public inflate(r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): void; | |
public setTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public jumpToCurrentState(): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public isStateful(): boolean; | |
public setVisible(visible: boolean, restart: boolean): boolean; | |
public setTint(tintColor: number): void; | |
public mutate(): globalAndroid.graphics.drawable.Drawable; | |
public inflate(context: globalAndroid.content.Context, resources: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): void; | |
public addState(stateSet: native.Array<number>, drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public static createFromXmlInner(r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet): globalAndroid.graphics.drawable.Drawable; | |
public addState(stateSet: native.Array<number>, drawable: globalAndroid.graphics.drawable.Drawable, id: number): void; | |
public constructor(); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public static createFromXmlInner(r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public addTransition(fromId: number, toId: number, transition: globalAndroid.graphics.drawable.Drawable, reversible: boolean): void; | |
public static create(context: globalAndroid.content.Context, resId: number, theme: globalAndroid.content.res.Resources.Theme): androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat; | |
public invalidateDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public inflate(context: globalAndroid.content.Context, r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): void; | |
public inflate(r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet): void; | |
public static createFromXmlInner(context: globalAndroid.content.Context, resources: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat; | |
} | |
export module AnimatedStateListDrawableCompat { | |
export class AnimatableTransition extends androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.Transition { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.AnimatableTransition>; | |
public start(): void; | |
public stop(): void; | |
} | |
export class AnimatedStateListState extends androidx.appcompat.graphics.drawable.StateListDrawable.StateListState { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.AnimatedStateListState>; | |
public newDrawable(res: globalAndroid.content.res.Resources, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public newDrawable(): globalAndroid.graphics.drawable.Drawable; | |
public newDrawable(res: globalAndroid.content.res.Resources): globalAndroid.graphics.drawable.Drawable; | |
} | |
export class AnimatedVectorDrawableTransition extends androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.Transition { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.AnimatedVectorDrawableTransition>; | |
public start(): void; | |
public stop(): void; | |
} | |
export class AnimationDrawableTransition extends androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.Transition { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.AnimationDrawableTransition>; | |
public start(): void; | |
public reverse(): void; | |
public canReverse(): boolean; | |
public stop(): void; | |
} | |
export class FrameInterpolator extends java.lang.Object implements globalAndroid.animation.TimeInterpolator { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.FrameInterpolator>; | |
public getInterpolation(input: number): number; | |
} | |
export abstract class Transition extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.Transition>; | |
public start(): void; | |
public reverse(): void; | |
public canReverse(): boolean; | |
public stop(): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module graphics { | |
export module drawable { | |
export class DrawableContainer extends globalAndroid.graphics.drawable.Drawable implements globalAndroid.graphics.drawable.Drawable.Callback { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.DrawableContainer>; | |
public setColorFilter(colorFilter0: globalAndroid.graphics.ColorFilter): void; | |
public getMinimumWidth(): number; | |
public onLevelChange(level: number): boolean; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public isStateful(): boolean; | |
public setDither(dither: boolean): void; | |
public getIntrinsicWidth(): number; | |
/** @deprecated */ | |
public setColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onLayoutDirectionChanged(layoutDirection: number): boolean; | |
public setEnterFadeDuration(ms: number): void; | |
/** @deprecated */ | |
public getOpacity(): number; | |
public getChangingConfigurations(): number; | |
public setAutoMirrored(mirrored: boolean): void; | |
public applyTheme(t: globalAndroid.content.res.Resources.Theme): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public applyTheme(theme: globalAndroid.content.res.Resources.Theme): void; | |
public getMinimumHeight(): number; | |
public draw(canvas0: globalAndroid.graphics.Canvas): void; | |
public getOutline(outline: any): void; | |
public canApplyTheme(): boolean; | |
public setHotspot(x: number, y: number): void; | |
public setAlpha(int0: number): void; | |
public getOpacity(): number; | |
public setTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public getAlpha(): number; | |
public getHotspotBounds(outRect: globalAndroid.graphics.Rect): void; | |
public onStateChange(state: native.Array<number>): boolean; | |
public setTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setExitFadeDuration(ms: number): void; | |
public jumpToCurrentState(): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
/** @deprecated */ | |
public setDither(dither: boolean): void; | |
public getIntrinsicHeight(): number; | |
public getConstantState(): globalAndroid.graphics.drawable.Drawable.ConstantState; | |
public setVisible(visible: boolean, restart: boolean): boolean; | |
public getCurrent(): globalAndroid.graphics.drawable.Drawable; | |
public getPadding(padding: globalAndroid.graphics.Rect): boolean; | |
public setColorFilter(colorFilter: globalAndroid.graphics.ColorFilter): void; | |
public mutate(): globalAndroid.graphics.drawable.Drawable; | |
public setHotspotBounds(left: number, top: number, right: number, bottom: number): void; | |
public onBoundsChange(bounds: globalAndroid.graphics.Rect): void; | |
public isAutoMirrored(): boolean; | |
public invalidateDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setAlpha(alpha: number): void; | |
} | |
export module DrawableContainer { | |
export class BlockInvalidateCallback extends java.lang.Object implements globalAndroid.graphics.drawable.Drawable.Callback { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.DrawableContainer.BlockInvalidateCallback>; | |
public invalidateDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public unwrap(): globalAndroid.graphics.drawable.Drawable.Callback; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public wrap(callback: globalAndroid.graphics.drawable.Drawable.Callback): androidx.appcompat.graphics.drawable.DrawableContainer.BlockInvalidateCallback; | |
} | |
export abstract class DrawableContainerState extends globalAndroid.graphics.drawable.Drawable.ConstantState { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState>; | |
public getConstantMinimumHeight(): number; | |
public getChangingConfigurations(): number; | |
public getChildCount(): number; | |
public getExitFadeDuration(): number; | |
public computeConstantSize(): void; | |
public getConstantHeight(): number; | |
public getOpacity(): number; | |
public getConstantWidth(): number; | |
public growArray(oldSize: number, newSize: number): void; | |
public setVariablePadding(variable: boolean): void; | |
public canConstantState(): boolean; | |
public isStateful(): boolean; | |
public getConstantPadding(): globalAndroid.graphics.Rect; | |
public setConstantSize(constant: boolean): void; | |
public getChild(index: number): globalAndroid.graphics.drawable.Drawable; | |
public isConstantSize(): boolean; | |
public setEnterFadeDuration(duration: number): void; | |
public addChild(dr: globalAndroid.graphics.drawable.Drawable): number; | |
public canApplyTheme(): boolean; | |
public setExitFadeDuration(duration: number): void; | |
public getConstantMinimumWidth(): number; | |
public getEnterFadeDuration(): number; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module graphics { | |
export module drawable { | |
export class DrawableWrapper extends globalAndroid.graphics.drawable.Drawable implements globalAndroid.graphics.drawable.Drawable.Callback { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.DrawableWrapper>; | |
public setColorFilter(colorFilter0: globalAndroid.graphics.ColorFilter): void; | |
public setState(stateSet: native.Array<number>): boolean; | |
public getMinimumWidth(): number; | |
public onLevelChange(level: number): boolean; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public isStateful(): boolean; | |
public setDither(dither: boolean): void; | |
public getIntrinsicWidth(): number; | |
/** @deprecated */ | |
public setColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setTint(tintColor: number): void; | |
public constructor(drawable: globalAndroid.graphics.drawable.Drawable); | |
/** @deprecated */ | |
public getOpacity(): number; | |
public getChangingConfigurations(): number; | |
public setAutoMirrored(mirrored: boolean): void; | |
public constructor(); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public getState(): native.Array<number>; | |
public setWrappedDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getMinimumHeight(): number; | |
public setChangingConfigurations(configs: number): void; | |
public setColorFilter(cf: globalAndroid.graphics.ColorFilter): void; | |
public draw(canvas0: globalAndroid.graphics.Canvas): void; | |
public getWrappedDrawable(): globalAndroid.graphics.drawable.Drawable; | |
public setHotspot(x: number, y: number): void; | |
public setAlpha(int0: number): void; | |
public getOpacity(): number; | |
public setTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setFilterBitmap(filter: boolean): void; | |
public jumpToCurrentState(): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public setTint(tint: number): void; | |
/** @deprecated */ | |
public setDither(dither: boolean): void; | |
public getTransparentRegion(): globalAndroid.graphics.Region; | |
public getIntrinsicHeight(): number; | |
public getCurrent(): globalAndroid.graphics.drawable.Drawable; | |
public setVisible(visible: boolean, restart: boolean): boolean; | |
public getPadding(padding: globalAndroid.graphics.Rect): boolean; | |
public setHotspotBounds(left: number, top: number, right: number, bottom: number): void; | |
public onBoundsChange(bounds: globalAndroid.graphics.Rect): void; | |
public isAutoMirrored(): boolean; | |
public invalidateDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setAlpha(alpha: number): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module graphics { | |
export module drawable { | |
export class DrawerArrowDrawable extends globalAndroid.graphics.drawable.Drawable { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.DrawerArrowDrawable>; | |
public static ARROW_DIRECTION_LEFT: number; | |
public static ARROW_DIRECTION_RIGHT: number; | |
public static ARROW_DIRECTION_START: number; | |
public static ARROW_DIRECTION_END: number; | |
public getArrowShaftLength(): number; | |
public setColorFilter(colorFilter0: globalAndroid.graphics.ColorFilter): void; | |
public getDirection(): number; | |
public getGapSize(): number; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public getIntrinsicWidth(): number; | |
/** @deprecated */ | |
public setColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setVerticalMirror(verticalMirror: boolean): void; | |
public setBarLength(length: number): void; | |
/** @deprecated */ | |
public getOpacity(): number; | |
public constructor(); | |
public setArrowHeadLength(length: number): void; | |
public getBarThickness(): number; | |
public draw(canvas0: globalAndroid.graphics.Canvas): void; | |
public setAlpha(int0: number): void; | |
public getOpacity(): number; | |
public setProgress(progress: number): void; | |
public setSpinEnabled(enabled: boolean): void; | |
public setColor(color: number): void; | |
public getColor(): number; | |
public setArrowShaftLength(length: number): void; | |
public getBarLength(): number; | |
public getIntrinsicHeight(): number; | |
public getArrowHeadLength(): number; | |
public setColorFilter(colorFilter: globalAndroid.graphics.ColorFilter): void; | |
public getPaint(): globalAndroid.graphics.Paint; | |
public getProgress(): number; | |
public setDirection(direction: number): void; | |
public isSpinEnabled(): boolean; | |
public setGapSize(gap: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setAlpha(alpha: number): void; | |
public setBarThickness(width: number): void; | |
} | |
export module DrawerArrowDrawable { | |
export class ArrowDirection extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ArrowDirection>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.graphics.drawable.DrawerArrowDrawable$ArrowDirection interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module graphics { | |
export module drawable { | |
export class StateListDrawable extends androidx.appcompat.graphics.drawable.DrawableContainer { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.StateListDrawable>; | |
public addState(stateSet: native.Array<number>, drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onStateChange(state: native.Array<number>): boolean; | |
public onStateChange(stateSet: native.Array<number>): boolean; | |
public inflate(r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public applyTheme(theme: globalAndroid.content.res.Resources.Theme): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public isStateful(): boolean; | |
public invalidateDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public inflate(r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet): void; | |
public inflate(context: globalAndroid.content.Context, r: globalAndroid.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): void; | |
public mutate(): globalAndroid.graphics.drawable.Drawable; | |
} | |
export module StateListDrawable { | |
export class StateListState extends androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState { | |
public static class: java.lang.Class<androidx.appcompat.graphics.drawable.StateListDrawable.StateListState>; | |
public newDrawable(res: globalAndroid.content.res.Resources, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public newDrawable(): globalAndroid.graphics.drawable.Drawable; | |
public newDrawable(res: globalAndroid.content.res.Resources): globalAndroid.graphics.drawable.Drawable; | |
public growArray(oldSize: number, newSize: number): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module res { | |
export class ColorStateListAlphaDetector { | |
public static class: java.lang.Class<androidx.appcompat.res.ColorStateListAlphaDetector>; | |
public static Companion: androidx.appcompat.res.ColorStateListAlphaDetector.Companion; | |
public getApplicableElements(): java.util.Collection<string>; | |
public visitElement(context: com.android.tools.lint.detector.api.XmlContext, element: org.w3c.dom.Element): void; | |
public constructor(); | |
} | |
export module ColorStateListAlphaDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.res.ColorStateListAlphaDetector.Companion>; | |
public getNOT_USING_ANDROID_ALPHA$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module res { | |
export class ColorStateListLoadingDetector extends androidx.appcompat.BaseMethodDeprecationDetector { | |
public static class: java.lang.Class<androidx.appcompat.res.ColorStateListLoadingDetector>; | |
public static Companion: androidx.appcompat.res.ColorStateListLoadingDetector.Companion; | |
public constructor(issue: com.android.tools.lint.detector.api.Issue, conditions: native.Array<androidx.appcompat.BaseMethodDeprecationDetector.DeprecationCondition>); | |
public constructor(); | |
} | |
export module ColorStateListLoadingDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.res.ColorStateListLoadingDetector.Companion>; | |
public getNOT_USING_COMPAT_LOADING$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module res { | |
export class DrawableLoadingDetector extends androidx.appcompat.BaseMethodDeprecationDetector { | |
public static class: java.lang.Class<androidx.appcompat.res.DrawableLoadingDetector>; | |
public static Companion: androidx.appcompat.res.DrawableLoadingDetector.Companion; | |
public constructor(issue: com.android.tools.lint.detector.api.Issue, conditions: native.Array<androidx.appcompat.BaseMethodDeprecationDetector.DeprecationCondition>); | |
public constructor(); | |
} | |
export module DrawableLoadingDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.res.DrawableLoadingDetector.Companion>; | |
public getNOT_USING_COMPAT_LOADING$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module res { | |
export class ImageViewTintDetector { | |
public static class: java.lang.Class<androidx.appcompat.res.ImageViewTintDetector>; | |
public static Companion: androidx.appcompat.res.ImageViewTintDetector.Companion; | |
public getApplicableElements(): java.util.Collection<string>; | |
public visitElement(context: com.android.tools.lint.detector.api.XmlContext, element: org.w3c.dom.Element): void; | |
public constructor(); | |
} | |
export module ImageViewTintDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.res.ImageViewTintDetector.Companion>; | |
public getUSING_ANDROID_TINT$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module text { | |
export class AllCapsTransformationMethod extends java.lang.Object implements globalAndroid.text.method.TransformationMethod { | |
public static class: java.lang.Class<androidx.appcompat.text.AllCapsTransformationMethod>; | |
public constructor(context: globalAndroid.content.Context); | |
public onFocusChanged(view: globalAndroid.view.View, sourceText: string, focused: boolean, direction: number, previouslyFocusedRect: globalAndroid.graphics.Rect): void; | |
public getTransformation(source: string, view: globalAndroid.view.View): string; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class ActionBarPolicy extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.ActionBarPolicy>; | |
public showsOverflowMenuButton(): boolean; | |
public enableHomeButtonByDefault(): boolean; | |
public getStackedTabMaxWidth(): number; | |
public hasEmbeddedTabs(): boolean; | |
public getMaxActionButtons(): number; | |
public getEmbeddedMenuWidthLimit(): number; | |
public static get(context: globalAndroid.content.Context): androidx.appcompat.view.ActionBarPolicy; | |
public getTabContainerHeight(): number; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export abstract class ActionMode extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.ActionMode>; | |
public setSubtitle(charSequence0: string): void; | |
public isUiFocusable(): boolean; | |
public setTitle(charSequence0: string): void; | |
public setTitle(int0: number): void; | |
public finish(): void; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public setTag(tag: any): void; | |
public getCustomView(): globalAndroid.view.View; | |
public getMenu(): globalAndroid.view.Menu; | |
public getTitle(): string; | |
public constructor(); | |
public isTitleOptional(): boolean; | |
public setTitleOptionalHint(titleOptional: boolean): void; | |
public invalidate(): void; | |
public getTag(): any; | |
public setSubtitle(int0: number): void; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public getSubtitle(): string; | |
public getTitleOptionalHint(): boolean; | |
} | |
export module ActionMode { | |
export class Callback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.ActionMode.Callback>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.ActionMode$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onCreateActionMode(actionMode0: androidx.appcompat.view.ActionMode, menu1: globalAndroid.view.Menu): boolean; | |
onPrepareActionMode(actionMode0: androidx.appcompat.view.ActionMode, menu1: globalAndroid.view.Menu): boolean; | |
onActionItemClicked(actionMode0: androidx.appcompat.view.ActionMode, menuItem1: globalAndroid.view.MenuItem): boolean; | |
onDestroyActionMode(actionMode0: androidx.appcompat.view.ActionMode): void; | |
}); | |
public constructor(); | |
public onActionItemClicked(actionMode0: androidx.appcompat.view.ActionMode, menuItem1: globalAndroid.view.MenuItem): boolean; | |
public onCreateActionMode(actionMode0: androidx.appcompat.view.ActionMode, menu1: globalAndroid.view.Menu): boolean; | |
public onDestroyActionMode(actionMode0: androidx.appcompat.view.ActionMode): void; | |
public onPrepareActionMode(actionMode0: androidx.appcompat.view.ActionMode, menu1: globalAndroid.view.Menu): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class CollapsibleActionView extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.CollapsibleActionView>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.CollapsibleActionView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onActionViewExpanded(): void; | |
onActionViewCollapsed(): void; | |
}); | |
public constructor(); | |
public onActionViewExpanded(): void; | |
public onActionViewCollapsed(): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class ContextThemeWrapper extends globalAndroid.content.ContextWrapper { | |
public static class: java.lang.Class<androidx.appcompat.view.ContextThemeWrapper>; | |
public attachBaseContext(newBase: globalAndroid.content.Context): void; | |
public applyOverrideConfiguration(overrideConfiguration: globalAndroid.content.res.Configuration): void; | |
public constructor(base: globalAndroid.content.Context, themeResId: number); | |
public attachBaseContext(base: globalAndroid.content.Context): void; | |
public getResources(): globalAndroid.content.res.Resources; | |
public setTheme(resid: number): void; | |
public getTheme(): globalAndroid.content.res.Resources.Theme; | |
public constructor(); | |
public constructor(base: globalAndroid.content.Context); | |
public getThemeResId(): number; | |
public onApplyThemeResource(theme: globalAndroid.content.res.Resources.Theme, resid: number, first: boolean): void; | |
public getSystemService(name: string): any; | |
public constructor(base: globalAndroid.content.Context, theme: globalAndroid.content.res.Resources.Theme); | |
public getSystemService(serviceClass: java.lang.Class<any>): any; | |
public getAssets(): globalAndroid.content.res.AssetManager; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class StandaloneActionMode extends androidx.appcompat.view.ActionMode implements androidx.appcompat.view.menu.MenuBuilder.Callback { | |
public static class: java.lang.Class<androidx.appcompat.view.StandaloneActionMode>; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public isUiFocusable(): boolean; | |
public setTitle(charSequence0: string): void; | |
public finish(): void; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public getCustomView(): globalAndroid.view.View; | |
public constructor(); | |
public isTitleOptional(): boolean; | |
public setTitleOptionalHint(titleOptional: boolean): void; | |
public onCloseSubMenu(menu: androidx.appcompat.view.menu.SubMenuBuilder): void; | |
public setSubtitle(int0: number): void; | |
public constructor(context: globalAndroid.content.Context, view: androidx.appcompat.widget.ActionBarContextView, callback: androidx.appcompat.view.ActionMode.Callback, isFocusable: boolean); | |
public setTitle(title: string): void; | |
public onMenuItemSelected(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): boolean; | |
public setSubtitle(charSequence0: string): void; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public setTitle(resId: number): void; | |
public setTitle(int0: number): void; | |
public setSubtitle(resId: number): void; | |
public getMenu(): globalAndroid.view.Menu; | |
public getTitle(): string; | |
public setSubtitle(subtitle: string): void; | |
public invalidate(): void; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public getSubtitle(): string; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onMenuModeChange(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class SupportActionModeWrapper extends globalAndroid.view.ActionMode { | |
public static class: java.lang.Class<androidx.appcompat.view.SupportActionModeWrapper>; | |
public setSubtitle(charSequence0: string): void; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, supportActionMode: androidx.appcompat.view.ActionMode); | |
public setTitle(charSequence0: string): void; | |
public setTitle(resId: number): void; | |
public setTitle(int0: number): void; | |
public finish(): void; | |
public setSubtitle(resId: number): void; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public setTag(tag: any): void; | |
public getCustomView(): globalAndroid.view.View; | |
public getMenu(): globalAndroid.view.Menu; | |
public getTitle(): string; | |
public constructor(); | |
public setSubtitle(subtitle: string): void; | |
public isTitleOptional(): boolean; | |
public setTitleOptionalHint(titleOptional: boolean): void; | |
public invalidate(): void; | |
public getTag(): any; | |
public setSubtitle(int0: number): void; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public getSubtitle(): string; | |
public getTitleOptionalHint(): boolean; | |
public setTitle(title: string): void; | |
} | |
export module SupportActionModeWrapper { | |
export class CallbackWrapper extends java.lang.Object implements androidx.appcompat.view.ActionMode.Callback { | |
public static class: java.lang.Class<androidx.appcompat.view.SupportActionModeWrapper.CallbackWrapper>; | |
public getActionModeWrapper(mode: androidx.appcompat.view.ActionMode): globalAndroid.view.ActionMode; | |
public onCreateActionMode(mode: androidx.appcompat.view.ActionMode, menu: globalAndroid.view.Menu): boolean; | |
public constructor(context: globalAndroid.content.Context, supportCallback: globalAndroid.view.ActionMode.Callback); | |
public onDestroyActionMode(mode: androidx.appcompat.view.ActionMode): void; | |
public onPrepareActionMode(mode: androidx.appcompat.view.ActionMode, menu: globalAndroid.view.Menu): boolean; | |
public onActionItemClicked(mode: androidx.appcompat.view.ActionMode, item: globalAndroid.view.MenuItem): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class SupportMenuInflater extends globalAndroid.view.MenuInflater { | |
public static class: java.lang.Class<androidx.appcompat.view.SupportMenuInflater>; | |
public constructor(context: globalAndroid.content.Context); | |
public inflate(menuRes: number, menu: globalAndroid.view.Menu): void; | |
} | |
export module SupportMenuInflater { | |
export class InflatedOnMenuItemClickListener extends java.lang.Object implements globalAndroid.view.MenuItem.OnMenuItemClickListener { | |
public static class: java.lang.Class<androidx.appcompat.view.SupportMenuInflater.InflatedOnMenuItemClickListener>; | |
public constructor(realOwner: any, methodName: string); | |
public onMenuItemClick(item: globalAndroid.view.MenuItem): boolean; | |
} | |
export class MenuState extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.SupportMenuInflater.MenuState>; | |
public resetGroup(): void; | |
public hasAddedItem(): boolean; | |
public constructor(param0: androidx.appcompat.view.SupportMenuInflater, menu: globalAndroid.view.Menu); | |
public addSubMenuItem(): globalAndroid.view.SubMenu; | |
public readGroup(attrs: globalAndroid.util.AttributeSet): void; | |
public readItem(attrs: globalAndroid.util.AttributeSet): void; | |
public addItem(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class ViewPropertyAnimatorCompatSet extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.ViewPropertyAnimatorCompatSet>; | |
public play(animator: androidx.core.view.ViewPropertyAnimatorCompat): androidx.appcompat.view.ViewPropertyAnimatorCompatSet; | |
public setInterpolator(interpolator: globalAndroid.view.animation.Interpolator): androidx.appcompat.view.ViewPropertyAnimatorCompatSet; | |
public start(): void; | |
public cancel(): void; | |
public playSequentially(anim1: androidx.core.view.ViewPropertyAnimatorCompat, anim2: androidx.core.view.ViewPropertyAnimatorCompat): androidx.appcompat.view.ViewPropertyAnimatorCompatSet; | |
public setDuration(duration: number): androidx.appcompat.view.ViewPropertyAnimatorCompatSet; | |
public constructor(); | |
public setListener(listener: androidx.core.view.ViewPropertyAnimatorListener): androidx.appcompat.view.ViewPropertyAnimatorCompatSet; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export class WindowCallbackWrapper extends java.lang.Object implements globalAndroid.view.Window.Callback { | |
public static class: java.lang.Class<androidx.appcompat.view.WindowCallbackWrapper>; | |
public onMenuOpened(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onWindowAttributesChanged(attrs: globalAndroid.view.WindowManager.LayoutParams): void; | |
public dispatchTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onCreatePanelMenu(featureId: number, menu: globalAndroid.view.Menu): boolean; | |
public onActionModeFinished(mode: globalAndroid.view.ActionMode): void; | |
public onWindowFocusChanged(hasFocus: boolean): void; | |
public dispatchKeyEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: globalAndroid.view.Menu, deviceId: number): void; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onWindowStartingActionMode(callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public dispatchGenericMotionEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onPanelClosed(featureId: number, menu: globalAndroid.view.Menu): void; | |
public onCreatePanelView(featureId: number): globalAndroid.view.View; | |
public onPreparePanel(featureId: number, view: globalAndroid.view.View, menu: globalAndroid.view.Menu): boolean; | |
public onActionModeStarted(mode: globalAndroid.view.ActionMode): void; | |
public onContentChanged(): void; | |
public onSearchRequested(searchEvent: any): boolean; | |
public onMenuItemSelected(featureId: number, item: globalAndroid.view.MenuItem): boolean; | |
public getWrapped(): globalAndroid.view.Window.Callback; | |
public dispatchTrackballEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onDetachedFromWindow(): void; | |
public dispatchKeyShortcutEvent(event: globalAndroid.view.KeyEvent): boolean; | |
public onPointerCaptureChanged(hasCapture: boolean): void; | |
public onSearchRequested(): boolean; | |
public constructor(wrapped: globalAndroid.view.Window.Callback); | |
public onAttachedToWindow(): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class ActionMenuItem extends java.lang.Object implements androidx.core.internal.view.SupportMenuItem { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ActionMenuItem>; | |
public getTitle(): string; | |
public setActionProvider(actionProvider: globalAndroid.view.ActionProvider): globalAndroid.view.MenuItem; | |
public setTitleCondensed(title: string): globalAndroid.view.MenuItem; | |
public getGroupId(): number; | |
public hasSubMenu(): boolean; | |
public setEnabled(enabled: boolean): globalAndroid.view.MenuItem; | |
public setIconTintBlendMode(blendMode: globalAndroid.graphics.BlendMode): globalAndroid.view.MenuItem; | |
public getContentDescription(): string; | |
public setTooltipText(tooltipText: string): globalAndroid.view.MenuItem; | |
public setNumericShortcut(numericChar: string, numericModifiers: number): globalAndroid.view.MenuItem; | |
public setChecked(checked: boolean): globalAndroid.view.MenuItem; | |
public getTitleCondensed(): string; | |
public setActionView(view0: globalAndroid.view.View): globalAndroid.view.MenuItem; | |
public isEnabled(): boolean; | |
public setActionView(actionView: globalAndroid.view.View): androidx.core.internal.view.SupportMenuItem; | |
public getSupportActionProvider(): androidx.core.view.ActionProvider; | |
public setIconTintMode(iconTintMode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.view.MenuItem; | |
public setAlphabeticShortcut(alphaChar: string): globalAndroid.view.MenuItem; | |
public getSubMenu(): globalAndroid.view.SubMenu; | |
public setOnMenuItemClickListener(menuItemClickListener: globalAndroid.view.MenuItem.OnMenuItemClickListener): globalAndroid.view.MenuItem; | |
public getIntent(): globalAndroid.content.Intent; | |
public setTitle(title: number): globalAndroid.view.MenuItem; | |
public requiresActionButton(): boolean; | |
public setIconTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.view.MenuItem; | |
public setAlphabeticShortcut(alphaChar: string, alphaModifiers: number): globalAndroid.view.MenuItem; | |
public getMenuInfo(): globalAndroid.view.ContextMenu.ContextMenuInfo; | |
public invoke(): boolean; | |
public getNumericModifiers(): number; | |
public isVisible(): boolean; | |
public setShortcut(numericChar: string, alphaChar: string, numericModifiers: number, alphaModifiers: number): globalAndroid.view.MenuItem; | |
public setActionView(resId: number): androidx.core.internal.view.SupportMenuItem; | |
public getAlphabeticModifiers(): number; | |
public setIntent(intent: globalAndroid.content.Intent): globalAndroid.view.MenuItem; | |
public collapseActionView(): boolean; | |
public setSupportActionProvider(actionProvider: androidx.core.view.ActionProvider): androidx.core.internal.view.SupportMenuItem; | |
public getTooltipText(): string; | |
public expandActionView(): boolean; | |
public setIconTintList(iconTintList: globalAndroid.content.res.ColorStateList): globalAndroid.view.MenuItem; | |
public getIconTintBlendMode(): globalAndroid.graphics.BlendMode; | |
public getNumericShortcut(): string; | |
public setShowAsAction(show: number): void; | |
public setTooltipText(tooltipText: string): androidx.core.internal.view.SupportMenuItem; | |
public isActionViewExpanded(): boolean; | |
public requiresOverflow(): boolean; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.MenuItem; | |
public setContentDescription(contentDescription: string): globalAndroid.view.MenuItem; | |
public getAlphabeticShortcut(): string; | |
public setTitle(title: string): globalAndroid.view.MenuItem; | |
public getIcon(): globalAndroid.graphics.drawable.Drawable; | |
public setShortcut(numericChar: string, alphaChar: string): globalAndroid.view.MenuItem; | |
public setNumericShortcut(numericChar: string): globalAndroid.view.MenuItem; | |
public setContentDescription(contentDescription: string): androidx.core.internal.view.SupportMenuItem; | |
public getIconTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getOrder(): number; | |
public getActionProvider(): globalAndroid.view.ActionProvider; | |
public isCheckable(): boolean; | |
public setOnActionExpandListener(listener: globalAndroid.view.MenuItem.OnActionExpandListener): globalAndroid.view.MenuItem; | |
public isChecked(): boolean; | |
public setShowAsActionFlags(int0: number): globalAndroid.view.MenuItem; | |
public setActionView(int0: number): globalAndroid.view.MenuItem; | |
public constructor(context: globalAndroid.content.Context, group: number, id: number, categoryOrder: number, ordering: number, title: string); | |
public setIcon(iconRes: number): globalAndroid.view.MenuItem; | |
public getItemId(): number; | |
public getIconTintList(): globalAndroid.content.res.ColorStateList; | |
public setVisible(visible: boolean): globalAndroid.view.MenuItem; | |
public setIconTintList(tint: globalAndroid.content.res.ColorStateList): globalAndroid.view.MenuItem; | |
public getActionView(): globalAndroid.view.View; | |
public setExclusiveCheckable(exclusive: boolean): androidx.appcompat.view.menu.ActionMenuItem; | |
public setShowAsActionFlags(actionEnum: number): androidx.core.internal.view.SupportMenuItem; | |
public setCheckable(checkable: boolean): globalAndroid.view.MenuItem; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class ActionMenuItemView extends androidx.appcompat.widget.AppCompatTextView implements androidx.appcompat.view.menu.MenuView.ItemView, globalAndroid.view.View.OnClickListener, androidx.appcompat.widget.ActionMenuView.ActionMenuChildView { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ActionMenuItemView>; | |
public setCheckable(checkable: boolean): void; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public showsIcon(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onClick(v: globalAndroid.view.View): void; | |
public setSupportCompoundDrawablesTintList(tintList: globalAndroid.content.res.ColorStateList): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setPopupCallback(popupCallback: androidx.appcompat.view.menu.ActionMenuItemView.PopupCallback): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public initialize(itemData: androidx.appcompat.view.menu.MenuItemImpl, menuType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setAutoSizeTextTypeWithDefaults(autoSizeTextType: number): void; | |
public setShortcut(showShortcut: boolean, shortcutKey: string): void; | |
public setAutoSizeTextTypeUniformWithPresetSizes(presetSizes: native.Array<number>, unit: number): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public getSupportCompoundDrawablesTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setAutoSizeTextTypeUniformWithConfiguration(autoSizeMinTextSize: number, autoSizeMaxTextSize: number, autoSizeStepGranularity: number, unit: number): void; | |
public setSupportCompoundDrawablesTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public needsDividerAfter(): boolean; | |
public setEnabled(enabled: boolean): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setChecked(checked: boolean): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getAutoSizeMinTextSize(): number; | |
public getItemData(): androidx.appcompat.view.menu.MenuItemImpl; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyle: number); | |
public getAutoSizeTextAvailableSizes(): native.Array<number>; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getAutoSizeStepGranularity(): number; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public prefersCondensedTitle(): boolean; | |
public hasText(): boolean; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public setItemInvoker(invoker: androidx.appcompat.view.menu.MenuBuilder.ItemInvoker): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onPreDraw(): boolean; | |
public getAutoSizeTextType(): number; | |
public setPadding(left: number, top: number, right: number, bottom: number): void; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public setPadding(l: number, t: number, r: number, b: number): void; | |
public getAutoSizeMaxTextSize(): number; | |
public setExpandedFormat(expandedFormat: boolean): void; | |
public setTitle(title: string): void; | |
public onTouchEvent(e: globalAndroid.view.MotionEvent): boolean; | |
public getSupportCompoundDrawablesTintList(): globalAndroid.content.res.ColorStateList; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public needsDividerBefore(): boolean; | |
} | |
export module ActionMenuItemView { | |
export class ActionMenuItemForwardingListener extends androidx.appcompat.widget.ForwardingListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ActionMenuItemView.ActionMenuItemForwardingListener>; | |
public onTouch(v: globalAndroid.view.View, event: globalAndroid.view.MotionEvent): boolean; | |
public constructor(src: globalAndroid.view.View); | |
public onForwardingStarted(): boolean; | |
public getPopup(): androidx.appcompat.view.menu.ShowableListMenu; | |
public onViewAttachedToWindow(v: globalAndroid.view.View): void; | |
public constructor(param0: androidx.appcompat.view.menu.ActionMenuItemView); | |
public onViewDetachedFromWindow(v: globalAndroid.view.View): void; | |
} | |
export abstract class PopupCallback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ActionMenuItemView.PopupCallback>; | |
public constructor(); | |
public getPopup(): androidx.appcompat.view.menu.ShowableListMenu; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export abstract class BaseMenuPresenter extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.BaseMenuPresenter>; | |
public mSystemContext: globalAndroid.content.Context; | |
public mContext: globalAndroid.content.Context; | |
public mMenu: androidx.appcompat.view.menu.MenuBuilder; | |
public mSystemInflater: globalAndroid.view.LayoutInflater; | |
public mInflater: globalAndroid.view.LayoutInflater; | |
public mMenuView: androidx.appcompat.view.menu.MenuView; | |
public constructor(context: globalAndroid.content.Context, menuLayoutRes: number, itemLayoutRes: number); | |
public onRestoreInstanceState(parcelable0: globalAndroid.os.Parcelable): void; | |
public filterLeftoverView(parent: globalAndroid.view.ViewGroup, childIndex: number): boolean; | |
public getItemView(item: androidx.appcompat.view.menu.MenuItemImpl, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public shouldIncludeItem(childIndex: number, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public getId(): number; | |
public createItemView(parent: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView.ItemView; | |
public onSubMenuSelected(menu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public updateMenuView(cleared: boolean): void; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public addItemView(itemView: globalAndroid.view.View, childIndex: number): void; | |
public setId(id: number): void; | |
public bindItemView(menuItemImpl0: androidx.appcompat.view.menu.MenuItemImpl, itemView1: androidx.appcompat.view.menu.MenuView.ItemView): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public getCallback(): androidx.appcompat.view.menu.MenuPresenter.Callback; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public flagActionItems(): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export abstract class BaseMenuWrapper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.BaseMenuWrapper<any>>; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class CascadingMenuPopup extends androidx.appcompat.view.menu.MenuPopup implements androidx.appcompat.view.menu.MenuPresenter, globalAndroid.view.View.OnKeyListener, globalAndroid.widget.PopupWindow.OnDismissListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.CascadingMenuPopup>; | |
public setHorizontalOffset(int0: number): void; | |
public setGravity(int0: number): void; | |
public isShowing(): boolean; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public setGravity(dropDownGravity: number): void; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public onDismiss(): void; | |
public closeMenuOnSubMenuOpened(): boolean; | |
public addMenu(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public setHorizontalOffset(x: number): void; | |
public setShowTitle(boolean0: boolean): void; | |
public flagActionItems(): boolean; | |
public constructor(context: globalAndroid.content.Context, anchor: globalAndroid.view.View, popupStyleAttr: number, popupStyleRes: number, overflowOnly: boolean); | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public onKey(v: globalAndroid.view.View, keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
public show(): void; | |
public setOnDismissListener(listener: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public getListView(): globalAndroid.widget.ListView; | |
public getId(): number; | |
public setVerticalOffset(y: number): void; | |
public setOnDismissListener(onDismissListener0: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public updateMenuView(cleared: boolean): void; | |
public setVerticalOffset(int0: number): void; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public setAnchorView(anchor: globalAndroid.view.View): void; | |
public setForceShowIcon(boolean0: boolean): void; | |
public setForceShowIcon(forceShow: boolean): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public dismiss(): void; | |
public setAnchorView(view0: globalAndroid.view.View): void; | |
public setShowTitle(showTitle: boolean): void; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
} | |
export module CascadingMenuPopup { | |
export class CascadingMenuInfo extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.CascadingMenuPopup.CascadingMenuInfo>; | |
public window: androidx.appcompat.widget.MenuPopupWindow; | |
public menu: androidx.appcompat.view.menu.MenuBuilder; | |
public position: number; | |
public getListView(): globalAndroid.widget.ListView; | |
public constructor(window: androidx.appcompat.widget.MenuPopupWindow, menu: androidx.appcompat.view.menu.MenuBuilder, position: number); | |
} | |
export class HorizPosition extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.CascadingMenuPopup.HorizPosition>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.CascadingMenuPopup$HorizPosition interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class ExpandedMenuView extends globalAndroid.widget.ListView implements androidx.appcompat.view.menu.MenuBuilder.ItemInvoker, androidx.appcompat.view.menu.MenuView, globalAndroid.widget.AdapterView.OnItemClickListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ExpandedMenuView>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onFilterComplete(count: number): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onTouchModeChanged(isInTouchMode: boolean): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public beforeTextChanged(s: string, start: number, count: number, after: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onGlobalLayout(): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public getWindowAnimations(): number; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public invokeItem(item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, v: globalAndroid.view.View, position: number, id: number): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rect: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, v: globalAndroid.view.View, position: number, id: number): void; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public afterTextChanged(s: globalAndroid.text.Editable): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onDetachedFromWindow(): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onTextChanged(s: string, start: number, before: number, count: number): void; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public initialize(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public removeView(child: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class ListMenuItemView extends globalAndroid.widget.LinearLayout implements androidx.appcompat.view.menu.MenuView.ItemView, globalAndroid.widget.AbsListView.SelectionBoundsAdjuster { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ListMenuItemView>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public setCheckable(checkable: boolean): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public showsIcon(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public initialize(itemData: androidx.appcompat.view.menu.MenuItemImpl, menuType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public setShortcut(showShortcut: boolean, shortcutKey: string): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public setEnabled(enabled: boolean): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setChecked(checked: boolean): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setForceShowIcon(forceShow: boolean): void; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public getItemData(): androidx.appcompat.view.menu.MenuItemImpl; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public prefersCondensedTitle(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public onFinishInflate(): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public adjustListItemSelectionBounds(rect: globalAndroid.graphics.Rect): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public setGroupDividerEnabled(groupDividerEnabled: boolean): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public setTitle(title: string): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class ListMenuPresenter extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter, globalAndroid.widget.AdapterView.OnItemClickListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ListMenuPresenter>; | |
public static VIEWS_TAG: string; | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public saveHierarchyState(outState: globalAndroid.os.Bundle): void; | |
public restoreHierarchyState(inState: globalAndroid.os.Bundle): void; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public getId(): number; | |
public getAdapter(): globalAndroid.widget.ListAdapter; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public constructor(itemLayoutRes: number, themeRes: number); | |
public setCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public updateMenuView(cleared: boolean): void; | |
public constructor(context: globalAndroid.content.Context, itemLayoutRes: number); | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public setId(id: number): void; | |
public setItemIndexOffset(offset: number): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public flagActionItems(): boolean; | |
} | |
export module ListMenuPresenter { | |
export class MenuAdapter extends globalAndroid.widget.BaseAdapter { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ListMenuPresenter.MenuAdapter>; | |
public constructor(param0: androidx.appcompat.view.menu.ListMenuPresenter); | |
public areAllItemsEnabled(): boolean; | |
public constructor(); | |
public notifyDataSetChanged(): void; | |
public isEnabled(position: number): boolean; | |
public getItem(position: number): androidx.appcompat.view.menu.MenuItemImpl; | |
public getView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getCount(): number; | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getItemId(position: number): number; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuAdapter extends globalAndroid.widget.BaseAdapter { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuAdapter>; | |
public getForceShowIcon(): boolean; | |
public getCount(): number; | |
public areAllItemsEnabled(): boolean; | |
public isEnabled(position: number): boolean; | |
public getItem(position: number): androidx.appcompat.view.menu.MenuItemImpl; | |
public notifyDataSetChanged(): void; | |
public getItemId(position: number): number; | |
public constructor(); | |
public setForceShowIcon(forceShow: boolean): void; | |
public constructor(menu: androidx.appcompat.view.menu.MenuBuilder, inflater: globalAndroid.view.LayoutInflater, overflowOnly: boolean, itemLayoutRes: number); | |
public getView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getAdapterMenu(): androidx.appcompat.view.menu.MenuBuilder; | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuBuilder extends java.lang.Object implements androidx.core.internal.view.SupportMenu { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuBuilder>; | |
public add(group: number, id: number, categoryOrder: number, title: string): globalAndroid.view.MenuItem; | |
public findGroupIndex(group: number, start: number): number; | |
public performItemAction(item: globalAndroid.view.MenuItem, flags: number): boolean; | |
public setGroupEnabled(group: number, enabled: boolean): void; | |
public size(): number; | |
public startDispatchingItemsChanged(): void; | |
public addSubMenu(group: number, id: number, categoryOrder: number, title: string): globalAndroid.view.SubMenu; | |
public addSubMenu(title: string): globalAndroid.view.SubMenu; | |
public isShortcutsVisible(): boolean; | |
public addMenuPresenter(presenter: androidx.appcompat.view.menu.MenuPresenter, menuContext: globalAndroid.content.Context): void; | |
public getNonActionItems(): java.util.ArrayList<androidx.appcompat.view.menu.MenuItemImpl>; | |
public close(): void; | |
public getContext(): globalAndroid.content.Context; | |
public getItem(index: number): globalAndroid.view.MenuItem; | |
public changeMenuMode(): void; | |
public stopDispatchingItemsChanged(): void; | |
public saveActionViewStates(outStates: globalAndroid.os.Bundle): void; | |
public onItemsChanged(structureChanged: boolean): void; | |
public getHeaderIcon(): globalAndroid.graphics.drawable.Drawable; | |
public collapseItemActionView(item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public performShortcut(keyCode: number, event: globalAndroid.view.KeyEvent, flags: number): boolean; | |
public setHeaderTitleInt(title: string): androidx.appcompat.view.menu.MenuBuilder; | |
public setShortcutsVisible(shortcutsVisible: boolean): void; | |
public removeItemAt(index: number): void; | |
public performItemAction(item: globalAndroid.view.MenuItem, preferredPresenter: androidx.appcompat.view.menu.MenuPresenter, flags: number): boolean; | |
public removeMenuPresenter(presenter: androidx.appcompat.view.menu.MenuPresenter): void; | |
public add(group: number, id: number, categoryOrder: number, title: number): globalAndroid.view.MenuItem; | |
public close(closeAllMenus: boolean): void; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
public getVisibleItems(): java.util.ArrayList<androidx.appcompat.view.menu.MenuItemImpl>; | |
public constructor(context: globalAndroid.content.Context); | |
public addMenuPresenter(presenter: androidx.appcompat.view.menu.MenuPresenter): void; | |
public setCurrentMenuInfo(menuInfo: globalAndroid.view.ContextMenu.ContextMenuInfo): void; | |
public clearAll(): void; | |
public hasVisibleItems(): boolean; | |
public getActionViewStatesKey(): string; | |
public addInternal(group: number, id: number, categoryOrder: number, title: string): globalAndroid.view.MenuItem; | |
public getHeaderView(): globalAndroid.view.View; | |
public setHeaderViewInt(view: globalAndroid.view.View): androidx.appcompat.view.menu.MenuBuilder; | |
public expandItemActionView(item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public performIdentifierAction(id: number, flags: number): boolean; | |
public setHeaderIconInt(iconRes: number): androidx.appcompat.view.menu.MenuBuilder; | |
public findItemIndex(id: number): number; | |
public restorePresenterStates(state: globalAndroid.os.Bundle): void; | |
public getActionItems(): java.util.ArrayList<androidx.appcompat.view.menu.MenuItemImpl>; | |
public getExpandedItem(): androidx.appcompat.view.menu.MenuItemImpl; | |
public isGroupDividerEnabled(): boolean; | |
public getRootMenu(): androidx.appcompat.view.menu.MenuBuilder; | |
public clear(): void; | |
public savePresenterStates(outState: globalAndroid.os.Bundle): void; | |
public add(titleRes: number): globalAndroid.view.MenuItem; | |
public isShortcutKey(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public flagActionItems(): void; | |
public setQwertyMode(isQwerty: boolean): void; | |
public getHeaderTitle(): string; | |
public addSubMenu(group: number, id: number, categoryOrder: number, title: number): globalAndroid.view.SubMenu; | |
public findGroupIndex(group: number): number; | |
public setOverrideVisibleItems(override: boolean): void; | |
public setDefaultShowAsAction(defaultShowAsAction: number): androidx.appcompat.view.menu.MenuBuilder; | |
public setGroupDividerEnabled(enabled: boolean): void; | |
public restoreActionViewStates(states: globalAndroid.os.Bundle): void; | |
public addIntentOptions(group: number, id: number, categoryOrder: number, caller: globalAndroid.content.ComponentName, specifics: native.Array<globalAndroid.content.Intent>, intent: globalAndroid.content.Intent, flags: number, outSpecificItems: native.Array<globalAndroid.view.MenuItem>): number; | |
public setGroupVisible(group: number, visible: boolean): void; | |
public add(title: string): globalAndroid.view.MenuItem; | |
public clearHeader(): void; | |
public setOptionalIconsVisible(visible: boolean): void; | |
public setGroupDividerEnabled(groupDividerEnabled: boolean): void; | |
public setHeaderIconInt(icon: globalAndroid.graphics.drawable.Drawable): androidx.appcompat.view.menu.MenuBuilder; | |
public addSubMenu(titleRes: number): globalAndroid.view.SubMenu; | |
public removeItem(id: number): void; | |
public removeGroup(group: number): void; | |
public findItem(id: number): globalAndroid.view.MenuItem; | |
public setGroupCheckable(group: number, checkable: boolean, exclusive: boolean): void; | |
public setHeaderTitleInt(titleRes: number): androidx.appcompat.view.menu.MenuBuilder; | |
} | |
export module MenuBuilder { | |
export class Callback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuBuilder.Callback>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuBuilder$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onMenuItemSelected(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItem1: globalAndroid.view.MenuItem): boolean; | |
onMenuModeChange(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
}); | |
public constructor(); | |
public onMenuModeChange(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
public onMenuItemSelected(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItem1: globalAndroid.view.MenuItem): boolean; | |
} | |
export class ItemInvoker extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuBuilder.ItemInvoker>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuBuilder$ItemInvoker interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
invokeItem(menuItemImpl0: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
}); | |
public constructor(); | |
public invokeItem(menuItemImpl0: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuDialogHelper extends java.lang.Object implements globalAndroid.content.DialogInterface.OnKeyListener, globalAndroid.content.DialogInterface.OnClickListener, globalAndroid.content.DialogInterface.OnDismissListener, androidx.appcompat.view.menu.MenuPresenter.Callback { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuDialogHelper>; | |
public setPresenterCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onDismiss(dialog: globalAndroid.content.DialogInterface): void; | |
public show(windowToken: globalAndroid.os.IBinder): void; | |
public constructor(menu: androidx.appcompat.view.menu.MenuBuilder); | |
public dismiss(): void; | |
public onOpenSubMenu(subMenu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
public onKey(dialog: globalAndroid.content.DialogInterface, keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onClick(dialog: globalAndroid.content.DialogInterface, which: number): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuHelper>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuHelper interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setPresenterCallback(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
dismiss(): void; | |
}); | |
public constructor(); | |
public setPresenterCallback(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public dismiss(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuItemImpl extends java.lang.Object implements androidx.core.internal.view.SupportMenuItem { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemImpl>; | |
public getTitle(): string; | |
public setActionProvider(actionProvider: globalAndroid.view.ActionProvider): globalAndroid.view.MenuItem; | |
public setTitleCondensed(title: string): globalAndroid.view.MenuItem; | |
public getGroupId(): number; | |
public hasSubMenu(): boolean; | |
public setEnabled(enabled: boolean): globalAndroid.view.MenuItem; | |
public setIconTintBlendMode(blendMode: globalAndroid.graphics.BlendMode): globalAndroid.view.MenuItem; | |
public getContentDescription(): string; | |
public setTooltipText(tooltipText: string): globalAndroid.view.MenuItem; | |
public setNumericShortcut(numericChar: string, numericModifiers: number): globalAndroid.view.MenuItem; | |
public setSubMenu(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): void; | |
public setChecked(checked: boolean): globalAndroid.view.MenuItem; | |
public getTitleCondensed(): string; | |
public setActionView(view0: globalAndroid.view.View): globalAndroid.view.MenuItem; | |
public isEnabled(): boolean; | |
public setIcon(iconResId: number): globalAndroid.view.MenuItem; | |
public getSupportActionProvider(): androidx.core.view.ActionProvider; | |
public setIconTintMode(iconTintMode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.view.MenuItem; | |
public setActionViewExpanded(isExpanded: boolean): void; | |
public setAlphabeticShortcut(alphaChar: string): globalAndroid.view.MenuItem; | |
public getSubMenu(): globalAndroid.view.SubMenu; | |
public getIntent(): globalAndroid.content.Intent; | |
public setTitle(title: number): globalAndroid.view.MenuItem; | |
public requiresActionButton(): boolean; | |
public setIconTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.view.MenuItem; | |
public setShowAsAction(actionEnum: number): void; | |
public setAlphabeticShortcut(alphaChar: string, alphaModifiers: number): globalAndroid.view.MenuItem; | |
public setIsActionButton(isActionButton: boolean): void; | |
public getMenuInfo(): globalAndroid.view.ContextMenu.ContextMenuInfo; | |
public invoke(): boolean; | |
public getNumericModifiers(): number; | |
public setShortcut(numericChar: string, alphaChar: string, numericModifiers: number, alphaModifiers: number): globalAndroid.view.MenuItem; | |
public isVisible(): boolean; | |
public setActionView(resId: number): androidx.core.internal.view.SupportMenuItem; | |
public getAlphabeticModifiers(): number; | |
public requestsActionButton(): boolean; | |
public setIntent(intent: globalAndroid.content.Intent): globalAndroid.view.MenuItem; | |
public collapseActionView(): boolean; | |
public setSupportActionProvider(actionProvider: androidx.core.view.ActionProvider): androidx.core.internal.view.SupportMenuItem; | |
public getTooltipText(): string; | |
public expandActionView(): boolean; | |
public setIconTintList(iconTintList: globalAndroid.content.res.ColorStateList): globalAndroid.view.MenuItem; | |
public setOnMenuItemClickListener(clickListener: globalAndroid.view.MenuItem.OnMenuItemClickListener): globalAndroid.view.MenuItem; | |
public actionFormatChanged(): void; | |
public getIconTintBlendMode(): globalAndroid.graphics.BlendMode; | |
public getNumericShortcut(): string; | |
public setTooltipText(tooltipText: string): androidx.core.internal.view.SupportMenuItem; | |
public isActionViewExpanded(): boolean; | |
public requiresOverflow(): boolean; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.MenuItem; | |
public setContentDescription(contentDescription: string): globalAndroid.view.MenuItem; | |
public getAlphabeticShortcut(): string; | |
public setTitle(title: string): globalAndroid.view.MenuItem; | |
public hasCollapsibleActionView(): boolean; | |
public getIcon(): globalAndroid.graphics.drawable.Drawable; | |
public setShortcut(numericChar: string, alphaChar: string): globalAndroid.view.MenuItem; | |
public setActionView(view: globalAndroid.view.View): androidx.core.internal.view.SupportMenuItem; | |
public setNumericShortcut(numericChar: string): globalAndroid.view.MenuItem; | |
public isExclusiveCheckable(): boolean; | |
public setVisible(shown: boolean): globalAndroid.view.MenuItem; | |
public shouldShowIcon(): boolean; | |
public getIconTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setContentDescription(contentDescription: string): androidx.core.internal.view.SupportMenuItem; | |
public toString(): string; | |
public getOrder(): number; | |
public getActionProvider(): globalAndroid.view.ActionProvider; | |
public isCheckable(): boolean; | |
public setOnActionExpandListener(listener: globalAndroid.view.MenuItem.OnActionExpandListener): globalAndroid.view.MenuItem; | |
public isChecked(): boolean; | |
public isActionButton(): boolean; | |
public setShowAsActionFlags(int0: number): globalAndroid.view.MenuItem; | |
public setActionView(int0: number): globalAndroid.view.MenuItem; | |
public setCallback(callback: java.lang.Runnable): globalAndroid.view.MenuItem; | |
public getItemId(): number; | |
public getIconTintList(): globalAndroid.content.res.ColorStateList; | |
public getOrdering(): number; | |
public setIconTintList(tint: globalAndroid.content.res.ColorStateList): globalAndroid.view.MenuItem; | |
public setExclusiveCheckable(exclusive: boolean): void; | |
public getActionView(): globalAndroid.view.View; | |
public showsTextAsAction(): boolean; | |
public setShowAsActionFlags(actionEnum: number): androidx.core.internal.view.SupportMenuItem; | |
public setCheckable(checkable: boolean): globalAndroid.view.MenuItem; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuItemWrapperICS extends androidx.appcompat.view.menu.BaseMenuWrapper<any> implements globalAndroid.view.MenuItem { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemWrapperICS>; | |
public getTitle(): string; | |
public setTitleCondensed(title: string): globalAndroid.view.MenuItem; | |
public getGroupId(): number; | |
public hasSubMenu(): boolean; | |
public setEnabled(enabled: boolean): globalAndroid.view.MenuItem; | |
public setIconTintBlendMode(blendMode: globalAndroid.graphics.BlendMode): globalAndroid.view.MenuItem; | |
public constructor(context: globalAndroid.content.Context, object: androidx.core.internal.view.SupportMenuItem); | |
public getContentDescription(): string; | |
public setTooltipText(tooltipText: string): globalAndroid.view.MenuItem; | |
public setNumericShortcut(numericChar: string, numericModifiers: number): globalAndroid.view.MenuItem; | |
public setChecked(checked: boolean): globalAndroid.view.MenuItem; | |
public getTitleCondensed(): string; | |
public isEnabled(): boolean; | |
public setShowAsActionFlags(actionEnum: number): globalAndroid.view.MenuItem; | |
public setAlphabeticShortcut(alphaChar: string): globalAndroid.view.MenuItem; | |
public setActionView(view: globalAndroid.view.View): globalAndroid.view.MenuItem; | |
public getSubMenu(): globalAndroid.view.SubMenu; | |
public setOnMenuItemClickListener(menuItemClickListener: globalAndroid.view.MenuItem.OnMenuItemClickListener): globalAndroid.view.MenuItem; | |
public setTitle(title: number): globalAndroid.view.MenuItem; | |
public getIntent(): globalAndroid.content.Intent; | |
public setIconTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.view.MenuItem; | |
public setShowAsAction(actionEnum: number): void; | |
public setAlphabeticShortcut(alphaChar: string, alphaModifiers: number): globalAndroid.view.MenuItem; | |
public getMenuInfo(): globalAndroid.view.ContextMenu.ContextMenuInfo; | |
public setExclusiveCheckable(checkable: boolean): void; | |
public setShortcut(numericChar: string, alphaChar: string, numericModifiers: number, alphaModifiers: number): globalAndroid.view.MenuItem; | |
public getNumericModifiers(): number; | |
public isVisible(): boolean; | |
public setActionProvider(provider: globalAndroid.view.ActionProvider): globalAndroid.view.MenuItem; | |
public getAlphabeticModifiers(): number; | |
public setIntent(intent: globalAndroid.content.Intent): globalAndroid.view.MenuItem; | |
public collapseActionView(): boolean; | |
public getTooltipText(): string; | |
public expandActionView(): boolean; | |
public getIconTintBlendMode(): globalAndroid.graphics.BlendMode; | |
public getNumericShortcut(): string; | |
public isActionViewExpanded(): boolean; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.MenuItem; | |
public setContentDescription(contentDescription: string): globalAndroid.view.MenuItem; | |
public setTitle(title: string): globalAndroid.view.MenuItem; | |
public getAlphabeticShortcut(): string; | |
public getIcon(): globalAndroid.graphics.drawable.Drawable; | |
public setShortcut(numericChar: string, alphaChar: string): globalAndroid.view.MenuItem; | |
public setNumericShortcut(numericChar: string): globalAndroid.view.MenuItem; | |
public getIconTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getOrder(): number; | |
public getActionProvider(): globalAndroid.view.ActionProvider; | |
public setActionView(resId: number): globalAndroid.view.MenuItem; | |
public isCheckable(): boolean; | |
public setOnActionExpandListener(listener: globalAndroid.view.MenuItem.OnActionExpandListener): globalAndroid.view.MenuItem; | |
public isChecked(): boolean; | |
public setIcon(iconRes: number): globalAndroid.view.MenuItem; | |
public getItemId(): number; | |
public getIconTintList(): globalAndroid.content.res.ColorStateList; | |
public setVisible(visible: boolean): globalAndroid.view.MenuItem; | |
public setIconTintList(tint: globalAndroid.content.res.ColorStateList): globalAndroid.view.MenuItem; | |
public getActionView(): globalAndroid.view.View; | |
public setCheckable(checkable: boolean): globalAndroid.view.MenuItem; | |
} | |
export module MenuItemWrapperICS { | |
export class ActionProviderWrapper extends androidx.core.view.ActionProvider { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemWrapperICS.ActionProviderWrapper>; | |
public onCreateActionView(): globalAndroid.view.View; | |
public onCreateActionView(forItem: globalAndroid.view.MenuItem): globalAndroid.view.View; | |
public onPrepareSubMenu(subMenu: globalAndroid.view.SubMenu): void; | |
public onPerformDefaultAction(): boolean; | |
public hasSubMenu(): boolean; | |
} | |
export class ActionProviderWrapperJB extends androidx.appcompat.view.menu.MenuItemWrapperICS.ActionProviderWrapper implements globalAndroid.view.ActionProvider.VisibilityListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemWrapperICS.ActionProviderWrapperJB>; | |
public onCreateActionView(): globalAndroid.view.View; | |
public onCreateActionView(forItem: globalAndroid.view.MenuItem): globalAndroid.view.View; | |
public setVisibilityListener(listener: androidx.core.view.ActionProvider.VisibilityListener): void; | |
public overridesItemVisibility(): boolean; | |
public refreshVisibility(): void; | |
public isVisible(): boolean; | |
public onActionProviderVisibilityChanged(isVisible: boolean): void; | |
} | |
export class CollapsibleActionViewWrapper extends globalAndroid.widget.FrameLayout implements androidx.appcompat.view.CollapsibleActionView { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemWrapperICS.CollapsibleActionViewWrapper>; | |
public isLayoutRequested(): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public onActionViewExpanded(): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextDirection(): number; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public addView(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public sendAccessibilityEvent(eventType: number): void; | |
public canResolveTextDirection(): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public requestLayout(): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public removeView(view: globalAndroid.view.View): void; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public requestFitSystemWindows(): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public getTextAlignment(): number; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public onActionViewCollapsed(): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public getLayoutDirection(): number; | |
public canResolveTextAlignment(): boolean; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
} | |
export class OnActionExpandListenerWrapper extends java.lang.Object implements globalAndroid.view.MenuItem.OnActionExpandListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemWrapperICS.OnActionExpandListenerWrapper>; | |
public onMenuItemActionExpand(item: globalAndroid.view.MenuItem): boolean; | |
public onMenuItemActionCollapse(item: globalAndroid.view.MenuItem): boolean; | |
} | |
export class OnMenuItemClickListenerWrapper extends java.lang.Object implements globalAndroid.view.MenuItem.OnMenuItemClickListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuItemWrapperICS.OnMenuItemClickListenerWrapper>; | |
public onMenuItemClick(item: globalAndroid.view.MenuItem): boolean; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export abstract class MenuPopup extends java.lang.Object implements androidx.appcompat.view.menu.ShowableListMenu, androidx.appcompat.view.menu.MenuPresenter, globalAndroid.widget.AdapterView.OnItemClickListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuPopup>; | |
public setHorizontalOffset(int0: number): void; | |
public setGravity(int0: number): void; | |
public static shouldPreserveIconSpacing(menu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
public isShowing(): boolean; | |
public static measureIndividualMenuWidth(adapter: globalAndroid.widget.ListAdapter, parent: globalAndroid.view.ViewGroup, context: globalAndroid.content.Context, maxAllowedWidth: number): number; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onSubMenuSelected(subMenuBuilder0: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public setCallback(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public updateMenuView(boolean0: boolean): void; | |
public closeMenuOnSubMenuOpened(): boolean; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public static toMenuAdapter(adapter: globalAndroid.widget.ListAdapter): androidx.appcompat.view.menu.MenuAdapter; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public setShowTitle(boolean0: boolean): void; | |
public getEpicenterBounds(): globalAndroid.graphics.Rect; | |
public flagActionItems(): boolean; | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public onRestoreInstanceState(parcelable0: globalAndroid.os.Parcelable): void; | |
public addMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
public show(): void; | |
public getId(): number; | |
public getListView(): globalAndroid.widget.ListView; | |
public setOnDismissListener(onDismissListener0: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public setVerticalOffset(int0: number): void; | |
public onCloseMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, boolean1: boolean): void; | |
public setEpicenterBounds(bounds: globalAndroid.graphics.Rect): void; | |
public setForceShowIcon(boolean0: boolean): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public setAnchorView(view0: globalAndroid.view.View): void; | |
public dismiss(): void; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuPopupHelper extends java.lang.Object implements androidx.appcompat.view.menu.MenuHelper { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuPopupHelper>; | |
public getGravity(): number; | |
public tryShow(): boolean; | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean, popupStyleAttr: number, popupStyleRes: number); | |
public show(): void; | |
public setPresenterCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public getPopup(): androidx.appcompat.view.menu.MenuPopup; | |
public isShowing(): boolean; | |
public setOnDismissListener(listener: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public getListView(): globalAndroid.widget.ListView; | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean, popupStyleAttr: number); | |
public setForceShowIcon(forceShowIcon: boolean): void; | |
public show(x: number, y: number): void; | |
public onDismiss(): void; | |
public setGravity(gravity: number): void; | |
public setAnchorView(anchor: globalAndroid.view.View): void; | |
public tryShow(x: number, y: number): boolean; | |
public dismiss(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuPresenter extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuPresenter>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuPresenter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
initForMenu(context0: globalAndroid.content.Context, menuBuilder1: androidx.appcompat.view.menu.MenuBuilder): void; | |
getMenuView(viewGroup0: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
updateMenuView(boolean0: boolean): void; | |
setCallback(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
onSubMenuSelected(subMenuBuilder0: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
onCloseMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, boolean1: boolean): void; | |
flagActionItems(): boolean; | |
expandItemActionView(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItemImpl1: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
collapseItemActionView(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItemImpl1: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
getId(): number; | |
onSaveInstanceState(): globalAndroid.os.Parcelable; | |
onRestoreInstanceState(parcelable0: globalAndroid.os.Parcelable): void; | |
}); | |
public constructor(); | |
public onRestoreInstanceState(parcelable0: globalAndroid.os.Parcelable): void; | |
public onCloseMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, boolean1: boolean): void; | |
public collapseItemActionView(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItemImpl1: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onSubMenuSelected(subMenuBuilder0: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public getId(): number; | |
public setCallback(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public initForMenu(context0: globalAndroid.content.Context, menuBuilder1: androidx.appcompat.view.menu.MenuBuilder): void; | |
public getMenuView(viewGroup0: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public updateMenuView(boolean0: boolean): void; | |
public flagActionItems(): boolean; | |
public expandItemActionView(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItemImpl1: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
} | |
export module MenuPresenter { | |
export class Callback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuPresenter.Callback>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuPresenter$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onCloseMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, boolean1: boolean): void; | |
onOpenSubMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
}); | |
public constructor(); | |
public onCloseMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, boolean1: boolean): void; | |
public onOpenSubMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuView extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuView>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
initialize(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
getWindowAnimations(): number; | |
}); | |
public constructor(); | |
public initialize(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
public getWindowAnimations(): number; | |
} | |
export module MenuView { | |
export class ItemView extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuView.ItemView>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.MenuView$ItemView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
initialize(menuItemImpl0: androidx.appcompat.view.menu.MenuItemImpl, int1: number): void; | |
getItemData(): androidx.appcompat.view.menu.MenuItemImpl; | |
setTitle(charSequence0: string): void; | |
setEnabled(boolean0: boolean): void; | |
setCheckable(boolean0: boolean): void; | |
setChecked(boolean0: boolean): void; | |
setShortcut(boolean0: boolean, char1: string): void; | |
setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
prefersCondensedTitle(): boolean; | |
showsIcon(): boolean; | |
}); | |
public constructor(); | |
public prefersCondensedTitle(): boolean; | |
public setCheckable(boolean0: boolean): void; | |
public getItemData(): androidx.appcompat.view.menu.MenuItemImpl; | |
public setTitle(charSequence0: string): void; | |
public showsIcon(): boolean; | |
public setChecked(boolean0: boolean): void; | |
public setShortcut(boolean0: boolean, char1: string): void; | |
public initialize(menuItemImpl0: androidx.appcompat.view.menu.MenuItemImpl, int1: number): void; | |
public setEnabled(boolean0: boolean): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class MenuWrapperICS extends androidx.appcompat.view.menu.BaseMenuWrapper<any> implements globalAndroid.view.Menu { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.MenuWrapperICS>; | |
public performIdentifierAction(id: number, flags: number): boolean; | |
public setGroupEnabled(group: number, enabled: boolean): void; | |
public size(): number; | |
public addSubMenu(title: string): globalAndroid.view.SubMenu; | |
public clear(): void; | |
public close(): void; | |
public constructor(context: globalAndroid.content.Context, object: androidx.core.internal.view.SupportMenu); | |
public add(titleRes: number): globalAndroid.view.MenuItem; | |
public getItem(index: number): globalAndroid.view.MenuItem; | |
public isShortcutKey(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setQwertyMode(isQwerty: boolean): void; | |
public removeGroup(groupId: number): void; | |
public add(groupId: number, itemId: number, order: number, title: string): globalAndroid.view.MenuItem; | |
public setGroupVisible(group: number, visible: boolean): void; | |
public add(title: string): globalAndroid.view.MenuItem; | |
public performShortcut(keyCode: number, event: globalAndroid.view.KeyEvent, flags: number): boolean; | |
public add(groupId: number, itemId: number, order: number, titleRes: number): globalAndroid.view.MenuItem; | |
public addIntentOptions(groupId: number, itemId: number, order: number, caller: globalAndroid.content.ComponentName, specifics: native.Array<globalAndroid.content.Intent>, intent: globalAndroid.content.Intent, flags: number, outSpecificItems: native.Array<globalAndroid.view.MenuItem>): number; | |
public addSubMenu(groupId: number, itemId: number, order: number, titleRes: number): globalAndroid.view.SubMenu; | |
public setGroupDividerEnabled(groupDividerEnabled: boolean): void; | |
public hasVisibleItems(): boolean; | |
public addSubMenu(titleRes: number): globalAndroid.view.SubMenu; | |
public removeItem(id: number): void; | |
public findItem(id: number): globalAndroid.view.MenuItem; | |
public addSubMenu(groupId: number, itemId: number, order: number, title: string): globalAndroid.view.SubMenu; | |
public setGroupCheckable(group: number, checkable: boolean, exclusive: boolean): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class ShowableListMenu extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.ShowableListMenu>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.view.menu.ShowableListMenu interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
show(): void; | |
dismiss(): void; | |
isShowing(): boolean; | |
getListView(): globalAndroid.widget.ListView; | |
}); | |
public constructor(); | |
public show(): void; | |
public isShowing(): boolean; | |
public getListView(): globalAndroid.widget.ListView; | |
public dismiss(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class StandardMenuPopup extends androidx.appcompat.view.menu.MenuPopup implements globalAndroid.widget.PopupWindow.OnDismissListener, globalAndroid.widget.AdapterView.OnItemClickListener, androidx.appcompat.view.menu.MenuPresenter, globalAndroid.view.View.OnKeyListener { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.StandardMenuPopup>; | |
public setHorizontalOffset(int0: number): void; | |
public setGravity(int0: number): void; | |
public isShowing(): boolean; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public onDismiss(): void; | |
public addMenu(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public setHorizontalOffset(x: number): void; | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, popupStyleAttr: number, popupStyleRes: number, overflowOnly: boolean); | |
public setShowTitle(boolean0: boolean): void; | |
public flagActionItems(): boolean; | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public addMenu(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder): void; | |
public onKey(v: globalAndroid.view.View, keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public show(): void; | |
public setOnDismissListener(listener: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public getListView(): globalAndroid.widget.ListView; | |
public getId(): number; | |
public setVerticalOffset(y: number): void; | |
public setOnDismissListener(onDismissListener0: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public setGravity(gravity: number): void; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public updateMenuView(cleared: boolean): void; | |
public setVerticalOffset(int0: number): void; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public setAnchorView(anchor: globalAndroid.view.View): void; | |
public setForceShowIcon(boolean0: boolean): void; | |
public setForceShowIcon(forceShow: boolean): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public dismiss(): void; | |
public setAnchorView(view0: globalAndroid.view.View): void; | |
public setShowTitle(showTitle: boolean): void; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class SubMenuBuilder extends androidx.appcompat.view.menu.MenuBuilder implements globalAndroid.view.SubMenu { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.SubMenuBuilder>; | |
public add(group: number, id: number, categoryOrder: number, title: string): globalAndroid.view.MenuItem; | |
public isQwertyMode(): boolean; | |
public setHeaderIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.SubMenu; | |
public setGroupEnabled(group: number, enabled: boolean): void; | |
public size(): number; | |
public addSubMenu(group: number, id: number, categoryOrder: number, title: string): globalAndroid.view.SubMenu; | |
public isShortcutsVisible(): boolean; | |
public addSubMenu(title: string): globalAndroid.view.SubMenu; | |
public close(): void; | |
public getItem(index: number): globalAndroid.view.MenuItem; | |
public setCallback(callback: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
public collapseItemActionView(item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public performShortcut(keyCode: number, event: globalAndroid.view.KeyEvent, flags: number): boolean; | |
public setShortcutsVisible(shortcutsVisible: boolean): void; | |
public setHeaderTitle(titleRes: number): globalAndroid.view.SubMenu; | |
public add(group: number, id: number, categoryOrder: number, title: number): globalAndroid.view.MenuItem; | |
public close(closeAllMenus: boolean): void; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setIcon(iconRes: number): globalAndroid.view.SubMenu; | |
public hasVisibleItems(): boolean; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.SubMenu; | |
public getActionViewStatesKey(): string; | |
public expandItemActionView(item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public performIdentifierAction(id: number, flags: number): boolean; | |
public setHeaderTitle(title: string): globalAndroid.view.SubMenu; | |
public getItem(): globalAndroid.view.MenuItem; | |
public getParentMenu(): globalAndroid.view.Menu; | |
public getRootMenu(): androidx.appcompat.view.menu.MenuBuilder; | |
public isGroupDividerEnabled(): boolean; | |
public clear(): void; | |
public add(titleRes: number): globalAndroid.view.MenuItem; | |
public setHeaderIcon(iconRes: number): globalAndroid.view.SubMenu; | |
public isShortcutKey(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, parentMenu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl); | |
public setQwertyMode(isQwerty: boolean): void; | |
public setHeaderView(view: globalAndroid.view.View): globalAndroid.view.SubMenu; | |
public addSubMenu(group: number, id: number, categoryOrder: number, title: number): globalAndroid.view.SubMenu; | |
public setGroupDividerEnabled(enabled: boolean): void; | |
public addIntentOptions(group: number, id: number, categoryOrder: number, caller: globalAndroid.content.ComponentName, specifics: native.Array<globalAndroid.content.Intent>, intent: globalAndroid.content.Intent, flags: number, outSpecificItems: native.Array<globalAndroid.view.MenuItem>): number; | |
public setGroupVisible(group: number, visible: boolean): void; | |
public clearHeader(): void; | |
public add(title: string): globalAndroid.view.MenuItem; | |
public setGroupDividerEnabled(groupDividerEnabled: boolean): void; | |
public addSubMenu(titleRes: number): globalAndroid.view.SubMenu; | |
public removeItem(id: number): void; | |
public removeGroup(group: number): void; | |
public findItem(id: number): globalAndroid.view.MenuItem; | |
public setGroupCheckable(group: number, checkable: boolean, exclusive: boolean): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module view { | |
export module menu { | |
export class SubMenuWrapperICS extends androidx.appcompat.view.menu.MenuWrapperICS implements globalAndroid.view.SubMenu { | |
public static class: java.lang.Class<androidx.appcompat.view.menu.SubMenuWrapperICS>; | |
public performIdentifierAction(id: number, flags: number): boolean; | |
public setHeaderIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.SubMenu; | |
public setHeaderTitle(title: string): globalAndroid.view.SubMenu; | |
public setGroupEnabled(group: number, enabled: boolean): void; | |
public size(): number; | |
public getItem(): globalAndroid.view.MenuItem; | |
public addSubMenu(title: string): globalAndroid.view.SubMenu; | |
public clear(): void; | |
public close(): void; | |
public add(titleRes: number): globalAndroid.view.MenuItem; | |
public setHeaderIcon(iconRes: number): globalAndroid.view.SubMenu; | |
public getItem(index: number): globalAndroid.view.MenuItem; | |
public isShortcutKey(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setQwertyMode(isQwerty: boolean): void; | |
public setHeaderView(view: globalAndroid.view.View): globalAndroid.view.SubMenu; | |
public removeGroup(groupId: number): void; | |
public add(groupId: number, itemId: number, order: number, title: string): globalAndroid.view.MenuItem; | |
public setGroupVisible(group: number, visible: boolean): void; | |
public clearHeader(): void; | |
public add(title: string): globalAndroid.view.MenuItem; | |
public performShortcut(keyCode: number, event: globalAndroid.view.KeyEvent, flags: number): boolean; | |
public setHeaderTitle(titleRes: number): globalAndroid.view.SubMenu; | |
public add(groupId: number, itemId: number, order: number, titleRes: number): globalAndroid.view.MenuItem; | |
public addIntentOptions(groupId: number, itemId: number, order: number, caller: globalAndroid.content.ComponentName, specifics: native.Array<globalAndroid.content.Intent>, intent: globalAndroid.content.Intent, flags: number, outSpecificItems: native.Array<globalAndroid.view.MenuItem>): number; | |
public addSubMenu(groupId: number, itemId: number, order: number, titleRes: number): globalAndroid.view.SubMenu; | |
public setGroupDividerEnabled(groupDividerEnabled: boolean): void; | |
public setIcon(iconRes: number): globalAndroid.view.SubMenu; | |
public hasVisibleItems(): boolean; | |
public setIcon(icon: globalAndroid.graphics.drawable.Drawable): globalAndroid.view.SubMenu; | |
public addSubMenu(titleRes: number): globalAndroid.view.SubMenu; | |
public removeItem(id: number): void; | |
public findItem(id: number): globalAndroid.view.MenuItem; | |
public addSubMenu(groupId: number, itemId: number, order: number, title: string): globalAndroid.view.SubMenu; | |
public setGroupCheckable(group: number, checkable: boolean, exclusive: boolean): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export abstract class AbsActionBarView extends globalAndroid.view.ViewGroup { | |
public static class: java.lang.Class<androidx.appcompat.widget.AbsActionBarView>; | |
public mVisAnimListener: androidx.appcompat.widget.AbsActionBarView.VisibilityAnimListener; | |
public mPopupContext: globalAndroid.content.Context; | |
public mMenuView: androidx.appcompat.widget.ActionMenuView; | |
public mActionMenuPresenter: androidx.appcompat.widget.ActionMenuPresenter; | |
public mContentHeight: number; | |
public mVisibilityAnim: androidx.core.view.ViewPropertyAnimatorCompat; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public animateToVisibility(visibility: number): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public showOverflowMenu(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setupAnimatorToVisibility(visibility: number, duration: number): androidx.core.view.ViewPropertyAnimatorCompat; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onHoverEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public setVisibility(visibility: number): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public hideOverflowMenu(): boolean; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public getAnimatedVisibility(): number; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public setContentHeight(height: number): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public getContentHeight(): number; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public postShowOverflowMenu(): void; | |
public static next(x: number, val: number, isRtl: boolean): number; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public dismissPopupMenus(): void; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public isOverflowReserved(): boolean; | |
public canShowOverflowMenu(): boolean; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public onTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public positionChild(child: globalAndroid.view.View, x: number, y: number, contentHeight: number, reverse: boolean): number; | |
public canResolveLayoutDirection(): boolean; | |
public isOverflowMenuShowing(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onHoverEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public isOverflowMenuShowPending(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
public measureChildView(child: globalAndroid.view.View, availableWidth: number, childSpecHeight: number, spacing: number): number; | |
} | |
export module AbsActionBarView { | |
export class VisibilityAnimListener extends java.lang.Object implements androidx.core.view.ViewPropertyAnimatorListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.AbsActionBarView.VisibilityAnimListener>; | |
public withFinalVisibility(animation: androidx.core.view.ViewPropertyAnimatorCompat, visibility: number): androidx.appcompat.widget.AbsActionBarView.VisibilityAnimListener; | |
public onAnimationCancel(view: globalAndroid.view.View): void; | |
public onAnimationEnd(view: globalAndroid.view.View): void; | |
public onAnimationStart(view: globalAndroid.view.View): void; | |
public constructor(this0: androidx.appcompat.widget.AbsActionBarView); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActionBarBackgroundDrawable extends globalAndroid.graphics.drawable.Drawable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionBarBackgroundDrawable>; | |
/** @deprecated */ | |
public getOpacity(): number; | |
public setColorFilter(colorFilter0: globalAndroid.graphics.ColorFilter): void; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public constructor(container: androidx.appcompat.widget.ActionBarContainer); | |
public setAlpha(int0: number): void; | |
public draw(canvas0: globalAndroid.graphics.Canvas): void; | |
public getOutline(outline: any): void; | |
public setColorFilter(cf: globalAndroid.graphics.ColorFilter): void; | |
/** @deprecated */ | |
public setColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setAlpha(alpha: number): void; | |
public getOpacity(): number; | |
public constructor(); | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActionBarContainer extends globalAndroid.widget.FrameLayout { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionBarContainer>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public setStackedBackground(bg: globalAndroid.graphics.drawable.Drawable): void; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTabContainer(): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onHoverEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public startActionModeForChild(child: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getTextDirection(): number; | |
public setSplitBackground(bg: globalAndroid.graphics.drawable.Drawable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onInterceptTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public setTransitioning(isTransitioning: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setVisibility(visibility: number): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public verifyDrawable(who: globalAndroid.graphics.drawable.Drawable): boolean; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public drawableStateChanged(): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public jumpDrawablesToCurrentState(): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public onFinishInflate(): void; | |
public setPrimaryBackground(bg: globalAndroid.graphics.drawable.Drawable): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public startActionModeForChild(child: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public onTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onHoverEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public setTabContainer(tabView: androidx.appcompat.widget.ScrollingTabContainerView): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActionBarContextView extends androidx.appcompat.widget.AbsActionBarView { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionBarContextView>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public setTitleOptional(titleOptional: boolean): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public showOverflowMenu(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): globalAndroid.view.ViewGroup.LayoutParams; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): globalAndroid.view.ViewGroup.LayoutParams; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public hideOverflowMenu(): boolean; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public setContentHeight(height: number): void; | |
public getSubtitle(): string; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public generateDefaultLayoutParams(): globalAndroid.view.ViewGroup.LayoutParams; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public isTitleOptional(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyle: number); | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public setTitle(title: string): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public killMode(): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public onInitializeAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public getTitle(): string; | |
public setSubtitle(subtitle: string): void; | |
public isOverflowMenuShowing(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public initForMode(mode: androidx.appcompat.view.ActionMode): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public closeMode(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public shouldDelayChildPressedState(): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActionBarOverlayLayout extends globalAndroid.view.ViewGroup implements androidx.appcompat.widget.DecorContentParent, androidx.core.view.NestedScrollingParent, androidx.core.view.NestedScrollingParent2, androidx.core.view.NestedScrollingParent3 { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionBarOverlayLayout>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public generateDefaultLayoutParams(): androidx.appcompat.widget.ActionBarOverlayLayout.LayoutParams; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
/** @deprecated */ | |
public fitSystemWindows(insets: globalAndroid.graphics.Rect): boolean; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public restoreToolbarHierarchyState(toolbarStates: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public getTextDirection(): number; | |
public onWindowVisibilityChanged(visibility: number): void; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.ActionBarOverlayLayout.LayoutParams; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): globalAndroid.view.ViewGroup.LayoutParams; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number, type: number): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public hideOverflowMenu(): boolean; | |
public setShowingForActionMode(showing: boolean): void; | |
public isTextDirectionResolved(): boolean; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public onApplyWindowInsets(in0: globalAndroid.view.WindowInsets): globalAndroid.view.WindowInsets; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number, type: number): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void; | |
public onApplyWindowInsets(insets: globalAndroid.view.WindowInsets): globalAndroid.view.WindowInsets; | |
public saveToolbarHierarchyState(toolbarStates: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setLogo(resId: number): void; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public setMenu(menu: globalAndroid.view.Menu, cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public dismissPopups(): void; | |
public onWindowSystemUiVisibilityChanged(visible: number): void; | |
public setHideOnContentScrollEnabled(hideOnContentScroll: boolean): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public canShowOverflowMenu(): boolean; | |
public getTitle(): string; | |
public hasIcon(): boolean; | |
public isOverflowMenuShowing(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public isOverflowMenuShowPending(): boolean; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public setHasNonEmbeddedTabs(hasNonEmbeddedTabs: boolean): void; | |
public setUiOptions(uiOptions: number): void; | |
public hasLogo(): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public checkLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public showOverflowMenu(): boolean; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public fitSystemWindows(insets: globalAndroid.graphics.Rect): boolean; | |
public onStopNestedScroll(target: globalAndroid.view.View, type: number): void; | |
public getActionBarHideOffset(): number; | |
public setIcon(resId: number): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public setIcon(d: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public draw(c: globalAndroid.graphics.Canvas): void; | |
public getNestedScrollAxes(): number; | |
public setActionBarHideOffset(offset: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public getTextAlignment(): number; | |
public setActionBarVisibilityCallback(cb: androidx.appcompat.widget.ActionBarOverlayLayout.ActionBarVisibilityCallback): void; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): globalAndroid.view.ViewGroup.LayoutParams; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>, type: number): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public setMenuPrepared(): void; | |
public generateDefaultLayoutParams(): globalAndroid.view.ViewGroup.LayoutParams; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public isHideOnContentScrollEnabled(): boolean; | |
public initFeature(windowFeature: number): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number, consumed: native.Array<number>): void; | |
public requestLayout(): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(target: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public isInOverlayMode(): boolean; | |
public setOverlayMode(overlayMode: boolean): void; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public setWindowTitle(title: string): void; | |
public shouldDelayChildPressedState(): boolean; | |
public setWindowCallback(cb: globalAndroid.view.Window.Callback): void; | |
} | |
export module ActionBarOverlayLayout { | |
export class ActionBarVisibilityCallback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionBarOverlayLayout.ActionBarVisibilityCallback>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ActionBarOverlayLayout$ActionBarVisibilityCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onWindowVisibilityChanged(int0: number): void; | |
showForSystem(): void; | |
hideForSystem(): void; | |
enableContentAnimations(boolean0: boolean): void; | |
onContentScrollStarted(): void; | |
onContentScrollStopped(): void; | |
}); | |
public constructor(); | |
public enableContentAnimations(boolean0: boolean): void; | |
public onContentScrollStarted(): void; | |
public onContentScrollStopped(): void; | |
public showForSystem(): void; | |
public hideForSystem(): void; | |
public onWindowVisibilityChanged(int0: number): void; | |
} | |
export class LayoutParams extends globalAndroid.view.ViewGroup.MarginLayoutParams { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionBarOverlayLayout.LayoutParams>; | |
public constructor(source: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(c: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public constructor(width: number, height: number); | |
public constructor(source: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActionMenuPresenter extends androidx.appcompat.view.menu.BaseMenuPresenter implements androidx.core.view.ActionProvider.SubUiVisibilityListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter>; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public setExpandedActionViewsExclusive(isExclusive: boolean): void; | |
public getItemView(item: androidx.appcompat.view.menu.MenuItemImpl, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public bindItemView(menuItemImpl0: androidx.appcompat.view.menu.MenuItemImpl, itemView1: androidx.appcompat.view.menu.MenuView.ItemView): void; | |
public constructor(context: globalAndroid.content.Context); | |
public showOverflowMenu(): boolean; | |
public getOverflowIcon(): globalAndroid.graphics.drawable.Drawable; | |
public flagActionItems(): boolean; | |
public constructor(context: globalAndroid.content.Context, menuLayoutRes: number, itemLayoutRes: number); | |
public filterLeftoverView(parent: globalAndroid.view.ViewGroup, childIndex: number): boolean; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public setOverflowIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public onSubUiVisibilityChanged(isVisible: boolean): void; | |
public updateMenuView(cleared: boolean): void; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public dismissPopupMenus(): boolean; | |
public bindItemView(item: androidx.appcompat.view.menu.MenuItemImpl, itemView: androidx.appcompat.view.menu.MenuView.ItemView): void; | |
public shouldIncludeItem(childIndex: number, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public getId(): number; | |
public isOverflowReserved(): boolean; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public hideSubMenus(): boolean; | |
public isOverflowMenuShowing(): boolean; | |
public hideOverflowMenu(): boolean; | |
public setWidthLimit(width: number, strict: boolean): void; | |
public isOverflowMenuShowPending(): boolean; | |
public setMenuView(menuView: androidx.appcompat.widget.ActionMenuView): void; | |
public setItemLimit(itemCount: number): void; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onSubMenuSelected(menu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public setReserveOverflow(reserveOverflow: boolean): void; | |
} | |
export module ActionMenuPresenter { | |
export class ActionButtonSubmenu extends androidx.appcompat.view.menu.MenuPopupHelper { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.ActionButtonSubmenu>; | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean, popupStyleAttr: number, popupStyleRes: number); | |
public setPresenterCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public constructor(param0: androidx.appcompat.widget.ActionMenuPresenter, context: globalAndroid.content.Context, subMenu: androidx.appcompat.view.menu.SubMenuBuilder, anchorView: globalAndroid.view.View); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean, popupStyleAttr: number); | |
public dismiss(): void; | |
public onDismiss(): void; | |
} | |
export class ActionMenuPopupCallback extends androidx.appcompat.view.menu.ActionMenuItemView.PopupCallback { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.ActionMenuPopupCallback>; | |
public getPopup(): androidx.appcompat.view.menu.ShowableListMenu; | |
} | |
export class OpenOverflowRunnable extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.OpenOverflowRunnable>; | |
public run(): void; | |
public constructor(param0: androidx.appcompat.widget.ActionMenuPresenter, popup: androidx.appcompat.widget.ActionMenuPresenter.OverflowPopup); | |
} | |
export class OverflowMenuButton extends androidx.appcompat.widget.AppCompatImageView implements androidx.appcompat.widget.ActionMenuView.ActionMenuChildView { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.OverflowMenuButton>; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setFrame(l: number, t: number, r: number, b: number): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public getSupportImageTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setSupportImageTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public constructor(param0: androidx.appcompat.widget.ActionMenuPresenter, context: globalAndroid.content.Context); | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public performClick(): boolean; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public invalidateDrawable(dr: globalAndroid.graphics.drawable.Drawable): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public needsDividerAfter(): boolean; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getSupportImageTintList(): globalAndroid.content.res.ColorStateList; | |
public constructor(context: globalAndroid.content.Context); | |
public setSupportImageTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public needsDividerBefore(): boolean; | |
} | |
export class OverflowPopup extends androidx.appcompat.view.menu.MenuPopupHelper { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.OverflowPopup>; | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean, popupStyleAttr: number, popupStyleRes: number); | |
public setPresenterCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public constructor(param0: androidx.appcompat.widget.ActionMenuPresenter, context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder); | |
public constructor(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder, anchorView: globalAndroid.view.View, overflowOnly: boolean, popupStyleAttr: number); | |
public dismiss(): void; | |
public onDismiss(): void; | |
} | |
export class PopupPresenterCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter.Callback { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.PopupPresenterCallback>; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onOpenSubMenu(subMenu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
} | |
export class SavedState extends java.lang.Object implements globalAndroid.os.Parcelable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuPresenter.SavedState>; | |
public openSubMenuId: number; | |
public static CREATOR: globalAndroid.os.Parcelable.Creator<androidx.appcompat.widget.ActionMenuPresenter.SavedState>; | |
public describeContents(): number; | |
public writeToParcel(dest: globalAndroid.os.Parcel, flags: number): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActionMenuView extends androidx.appcompat.widget.LinearLayoutCompat implements androidx.appcompat.view.menu.MenuBuilder.ItemInvoker, androidx.appcompat.view.menu.MenuView { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuView>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public getTextDirection(): number; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.ActionMenuView.LayoutParams; | |
public peekMenu(): androidx.appcompat.view.menu.MenuBuilder; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
public setMenuCallbacks(pcb: androidx.appcompat.view.menu.MenuPresenter.Callback, mcb: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public setOverflowReserved(reserveOverflow: boolean): void; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): globalAndroid.view.ViewGroup.LayoutParams; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): androidx.appcompat.widget.ActionMenuView.LayoutParams; | |
public getMenu(): globalAndroid.view.Menu; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public hideOverflowMenu(): boolean; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public initialize(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public isLayoutDirectionResolved(): boolean; | |
public generateDefaultLayoutParams(): androidx.appcompat.widget.LinearLayoutCompat.LayoutParams; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public invokeItem(item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setOverflowIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public dismissPopupMenus(): void; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setPopupTheme(resId: number): void; | |
public generateDefaultLayoutParams(): androidx.appcompat.widget.ActionMenuView.LayoutParams; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public isOverflowReserved(): boolean; | |
public hasSupportDividerBeforeChildAt(childIndex: number): boolean; | |
public isOverflowMenuShowing(): boolean; | |
public getWindowAnimations(): number; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public isOverflowMenuShowPending(): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
public setExpandedActionViewsExclusive(exclusive: boolean): void; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): androidx.appcompat.widget.LinearLayoutCompat.LayoutParams; | |
public setPresenter(presenter: androidx.appcompat.widget.ActionMenuPresenter): void; | |
public generateOverflowButtonLayoutParams(): androidx.appcompat.widget.ActionMenuView.LayoutParams; | |
public constructor(context: globalAndroid.content.Context); | |
public checkLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): boolean; | |
public showOverflowMenu(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getOverflowIcon(): globalAndroid.graphics.drawable.Drawable; | |
public sendAccessibilityEvent(eventType: number): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public dispatchPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public getTextAlignment(): number; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): globalAndroid.view.ViewGroup.LayoutParams; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public generateDefaultLayoutParams(): globalAndroid.view.ViewGroup.LayoutParams; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public requestLayout(): void; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.LinearLayoutCompat.LayoutParams; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getPopupTheme(): number; | |
public setOnMenuItemClickListener(listener: androidx.appcompat.widget.ActionMenuView.OnMenuItemClickListener): void; | |
} | |
export module ActionMenuView { | |
export class ActionMenuChildView extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuView.ActionMenuChildView>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ActionMenuView$ActionMenuChildView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
needsDividerBefore(): boolean; | |
needsDividerAfter(): boolean; | |
}); | |
public constructor(); | |
public needsDividerBefore(): boolean; | |
public needsDividerAfter(): boolean; | |
} | |
export class ActionMenuPresenterCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter.Callback { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuView.ActionMenuPresenterCallback>; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public onOpenSubMenu(subMenu: androidx.appcompat.view.menu.MenuBuilder): boolean; | |
} | |
export class LayoutParams extends androidx.appcompat.widget.LinearLayoutCompat.LayoutParams { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuView.LayoutParams>; | |
public isOverflowButton: boolean; | |
public cellsUsed: number; | |
public extraPixels: number; | |
public expandable: boolean; | |
public preventEdgeOffset: boolean; | |
public constructor(c: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public constructor(other: androidx.appcompat.widget.ActionMenuView.LayoutParams); | |
public constructor(width: number, height: number, weight: number); | |
public constructor(source: androidx.appcompat.widget.LinearLayoutCompat.LayoutParams); | |
public constructor(other: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(width: number, height: number); | |
public constructor(p: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(source: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
} | |
export class MenuBuilderCallback extends java.lang.Object implements androidx.appcompat.view.menu.MenuBuilder.Callback { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuView.MenuBuilderCallback>; | |
public onMenuModeChange(menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public onMenuItemSelected(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): boolean; | |
} | |
export class OnMenuItemClickListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActionMenuView.OnMenuItemClickListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ActionMenuView$OnMenuItemClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onMenuItemClick(menuItem0: globalAndroid.view.MenuItem): boolean; | |
}); | |
public constructor(); | |
public onMenuItemClick(menuItem0: globalAndroid.view.MenuItem): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActivityChooserModel extends globalAndroid.database.DataSetObservable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel>; | |
public static DEFAULT_HISTORY_FILE_NAME: string; | |
public static DEFAULT_HISTORY_MAX_LENGTH: number; | |
public setIntent(intent: globalAndroid.content.Intent): void; | |
public setActivitySorter(activitySorter: androidx.appcompat.widget.ActivityChooserModel.ActivitySorter): void; | |
public getIntent(): globalAndroid.content.Intent; | |
public getDefaultActivity(): globalAndroid.content.pm.ResolveInfo; | |
public getActivityIndex(activity: globalAndroid.content.pm.ResolveInfo): number; | |
public setDefaultActivity(index: number): void; | |
public getActivity(index: number): globalAndroid.content.pm.ResolveInfo; | |
public setOnChooseActivityListener(listener: androidx.appcompat.widget.ActivityChooserModel.OnChooseActivityListener): void; | |
public getHistoryMaxSize(): number; | |
public getHistorySize(): number; | |
public chooseActivity(index: number): globalAndroid.content.Intent; | |
public setHistoryMaxSize(historyMaxSize: number): void; | |
public static get(context: globalAndroid.content.Context, historyFileName: string): androidx.appcompat.widget.ActivityChooserModel; | |
public getActivityCount(): number; | |
} | |
export module ActivityChooserModel { | |
export class ActivityChooserModelClient extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.ActivityChooserModelClient>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ActivityChooserModel$ActivityChooserModelClient interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setActivityChooserModel(activityChooserModel0: androidx.appcompat.widget.ActivityChooserModel): void; | |
}); | |
public constructor(); | |
public setActivityChooserModel(activityChooserModel0: androidx.appcompat.widget.ActivityChooserModel): void; | |
} | |
export class ActivityResolveInfo extends java.lang.Comparable<androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo> { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo>; | |
public resolveInfo: globalAndroid.content.pm.ResolveInfo; | |
public weight: number; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public compareTo(another: androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo): number; | |
public constructor(resolveInfo: globalAndroid.content.pm.ResolveInfo); | |
public hashCode(): number; | |
} | |
export class ActivitySorter extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.ActivitySorter>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ActivityChooserModel$ActivitySorter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
sort(intent0: globalAndroid.content.Intent, list1: java.util.List<androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo>, list2: java.util.List<androidx.appcompat.widget.ActivityChooserModel.HistoricalRecord>): void; | |
}); | |
public constructor(); | |
public sort(intent0: globalAndroid.content.Intent, list1: java.util.List<androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo>, list2: java.util.List<androidx.appcompat.widget.ActivityChooserModel.HistoricalRecord>): void; | |
} | |
export class DefaultSorter extends java.lang.Object implements androidx.appcompat.widget.ActivityChooserModel.ActivitySorter { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.DefaultSorter>; | |
public sort(intent: globalAndroid.content.Intent, activities: java.util.List<androidx.appcompat.widget.ActivityChooserModel.ActivityResolveInfo>, historicalRecords: java.util.List<androidx.appcompat.widget.ActivityChooserModel.HistoricalRecord>): void; | |
} | |
export class HistoricalRecord extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.HistoricalRecord>; | |
public activity: globalAndroid.content.ComponentName; | |
public time: number; | |
public weight: number; | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public constructor(activityName: string, time: number, weight: number); | |
public constructor(activityName: globalAndroid.content.ComponentName, time: number, weight: number); | |
public hashCode(): number; | |
} | |
export class OnChooseActivityListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.OnChooseActivityListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ActivityChooserModel$OnChooseActivityListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onChooseActivity(activityChooserModel0: androidx.appcompat.widget.ActivityChooserModel, intent1: globalAndroid.content.Intent): boolean; | |
}); | |
public constructor(); | |
public onChooseActivity(activityChooserModel0: androidx.appcompat.widget.ActivityChooserModel, intent1: globalAndroid.content.Intent): boolean; | |
} | |
export class PersistHistoryAsyncTask extends globalAndroid.os.AsyncTask<any,java.lang.Void,java.lang.Void> { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserModel.PersistHistoryAsyncTask>; | |
public doInBackground(objects0: native.Array<any>): any; | |
public doInBackground(objects0: native.Array<any>): java.lang.Void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ActivityChooserView extends globalAndroid.view.ViewGroup implements androidx.appcompat.widget.ActivityChooserModel.ActivityChooserModelClient { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserView>; | |
public isShowingPopup(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getDataModel(): androidx.appcompat.widget.ActivityChooserModel; | |
public requestFitSystemWindows(): void; | |
public setExpandActivityOverflowButtonDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public setProvider(provider: androidx.core.view.ActionProvider): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public setOnDismissListener(listener: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public setActivityChooserModel(dataModel: androidx.appcompat.widget.ActivityChooserModel): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyle: number); | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public setDefaultActionButtonContentDescription(resourceId: number): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public showPopup(): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public setInitialActivityCount(itemCount: number): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public dismissPopup(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public setExpandActivityOverflowButtonContentDescription(resourceId: number): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public onAttachedToWindow(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
export module ActivityChooserView { | |
export class ActivityChooserViewAdapter extends globalAndroid.widget.BaseAdapter { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserView.ActivityChooserViewAdapter>; | |
public static MAX_ACTIVITY_COUNT_UNLIMITED: number; | |
public static MAX_ACTIVITY_COUNT_DEFAULT: number; | |
public getDefaultActivity(): globalAndroid.content.pm.ResolveInfo; | |
public getItemViewType(position: number): number; | |
public getViewTypeCount(): number; | |
public getCount(): number; | |
public getShowDefaultActivity(): boolean; | |
public areAllItemsEnabled(): boolean; | |
public isEnabled(position: number): boolean; | |
public getActivityCount(): number; | |
public measureContentWidth(): number; | |
public setShowDefaultActivity(showDefaultActivity: boolean, highlightDefaultActivity: boolean): void; | |
public getItemId(position: number): number; | |
public getDataModel(): androidx.appcompat.widget.ActivityChooserModel; | |
public setShowFooterView(showFooterView: boolean): void; | |
public getItem(position: number): any; | |
public getHistorySize(): number; | |
public setMaxActivityCount(maxActivityCount: number): void; | |
public setDataModel(dataModel: androidx.appcompat.widget.ActivityChooserModel): void; | |
public getView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
} | |
export class Callbacks extends java.lang.Object implements globalAndroid.widget.AdapterView.OnItemClickListener, globalAndroid.view.View.OnClickListener, globalAndroid.view.View.OnLongClickListener, globalAndroid.widget.PopupWindow.OnDismissListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserView.Callbacks>; | |
public onItemClick(parent: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public onClick(view: globalAndroid.view.View): void; | |
public onLongClick(view: globalAndroid.view.View): boolean; | |
public onDismiss(): void; | |
} | |
export class InnerLayout extends globalAndroid.widget.LinearLayout { | |
public static class: java.lang.Class<androidx.appcompat.widget.ActivityChooserView.InnerLayout>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AlertDialogLayout extends androidx.appcompat.widget.LinearLayoutCompat { | |
public static class: java.lang.Class<androidx.appcompat.widget.AlertDialogLayout>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatAutoCompleteTextView extends globalAndroid.widget.AutoCompleteTextView implements androidx.core.view.TintableBackgroundView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatAutoCompleteTextView>; | |
public drawableStateChanged(): void; | |
/** @deprecated */ | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setDropDownBackgroundResource(resId: number): void; | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreateInputConnection(outAttrs: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setDropDownBackgroundResource(id: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number, popupTheme: globalAndroid.content.res.Resources.Theme); | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setBackgroundResource(resId: number): void; | |
public onFilterComplete(count: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setCustomSelectionActionModeCallback(actionModeCallback: globalAndroid.view.ActionMode.Callback): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setTextAppearance(resId: number): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatBackgroundHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatBackgroundHelper>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatButton extends globalAndroid.widget.Button implements androidx.core.view.TintableBackgroundView, androidx.core.widget.AutoSizeableTextView, androidx.core.widget.TintableCompoundDrawablesView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatButton>; | |
public drawableStateChanged(): void; | |
public setSupportAllCaps(allCaps: boolean): void; | |
/** @deprecated */ | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getAutoSizeStepGranularity(): number; | |
public setSupportCompoundDrawablesTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public getAutoSizeTextAvailableSizes(): native.Array<number>; | |
public getSupportCompoundDrawablesTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setTextSize(unit: number, size: number): void; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onInitializeAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setTextSize(size: number): void; | |
public getAutoSizeTextType(): number; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onInitializeAccessibilityNodeInfo(info: globalAndroid.view.accessibility.AccessibilityNodeInfo): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getAutoSizeMinTextSize(): number; | |
public getSupportCompoundDrawablesTintList(): globalAndroid.content.res.ColorStateList; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public setSupportCompoundDrawablesTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public getAutoSizeMaxTextSize(): number; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onTextChanged(text: string, start: number, lengthBefore: number, lengthAfter: number): void; | |
public setAutoSizeTextTypeUniformWithPresetSizes(presetSizes: native.Array<number>, unit: number): void; | |
public setCustomSelectionActionModeCallback(actionModeCallback: globalAndroid.view.ActionMode.Callback): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setTextAppearance(resId: number): void; | |
public setBackgroundResource(resid: number): void; | |
public setAutoSizeTextTypeUniformWithConfiguration(autoSizeMinTextSize: number, autoSizeMaxTextSize: number, autoSizeStepGranularity: number, unit: number): void; | |
public setAutoSizeTextTypeWithDefaults(autoSizeTextType: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatCheckBox extends globalAndroid.widget.CheckBox implements androidx.core.widget.TintableCompoundButton, androidx.core.view.TintableBackgroundView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatCheckBox>; | |
public setSupportButtonTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public drawableStateChanged(): void; | |
public getSupportButtonTintList(): globalAndroid.content.res.ColorStateList; | |
public isChecked(): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getSupportButtonTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setButtonDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public toggle(): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setChecked(checked: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getCompoundPaddingLeft(): number; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setButtonDrawable(buttonDrawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public setSupportButtonTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setButtonDrawable(resId: number): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatCheckedTextView extends globalAndroid.widget.CheckedTextView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatCheckedTextView>; | |
public drawableStateChanged(): void; | |
public isChecked(): boolean; | |
/** @deprecated */ | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreateInputConnection(outAttrs: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public toggle(): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setChecked(checked: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setCheckMarkDrawable(resId: number): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setCustomSelectionActionModeCallback(actionModeCallback: globalAndroid.view.ActionMode.Callback): void; | |
public setCheckMarkDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setTextAppearance(resId: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatCompoundButtonHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatCompoundButtonHelper>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatDrawableManager extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatDrawableManager>; | |
public static preload(): void; | |
public static getPorterDuffColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.graphics.PorterDuffColorFilter; | |
public static get(): androidx.appcompat.widget.AppCompatDrawableManager; | |
public onConfigurationChanged(context: globalAndroid.content.Context): void; | |
public constructor(); | |
public getDrawable(context: globalAndroid.content.Context, resId: number): globalAndroid.graphics.drawable.Drawable; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatEditText extends globalAndroid.widget.EditText implements androidx.core.view.TintableBackgroundView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatEditText>; | |
public drawableStateChanged(): void; | |
/** @deprecated */ | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public setTextClassifier(textClassifier: any): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getText(): globalAndroid.text.Editable; | |
public onCreateInputConnection(outAttrs: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public getTextClassifier(): any; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getText(): string; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setCustomSelectionActionModeCallback(actionModeCallback: globalAndroid.view.ActionMode.Callback): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setTextAppearance(resId: number): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatHintHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatHintHelper>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatImageButton extends globalAndroid.widget.ImageButton implements androidx.core.view.TintableBackgroundView, androidx.core.widget.TintableImageSourceView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatImageButton>; | |
public drawableStateChanged(): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setImageURI(uri: globalAndroid.net.Uri): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setImageBitmap(bm: globalAndroid.graphics.Bitmap): void; | |
public setSupportImageTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getSupportImageTintList(): globalAndroid.content.res.ColorStateList; | |
public setImageResource(resId: number): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setSupportImageTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public invalidateDrawable(dr: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportImageTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setImageDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public hasOverlappingRendering(): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatImageHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatImageHelper>; | |
public constructor(view: globalAndroid.widget.ImageView); | |
public loadFromAttributes(attrs: globalAndroid.util.AttributeSet, defStyleAttr: number): void; | |
public setImageResource(resId: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatImageView extends globalAndroid.widget.ImageView implements androidx.core.view.TintableBackgroundView, androidx.core.widget.TintableImageSourceView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatImageView>; | |
public drawableStateChanged(): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setImageURI(uri: globalAndroid.net.Uri): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setImageBitmap(bm: globalAndroid.graphics.Bitmap): void; | |
public setSupportImageTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getSupportImageTintList(): globalAndroid.content.res.ColorStateList; | |
public setImageResource(resId: number): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setSupportImageTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public invalidateDrawable(dr: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportImageTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setImageDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public hasOverlappingRendering(): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatMultiAutoCompleteTextView extends globalAndroid.widget.MultiAutoCompleteTextView implements androidx.core.view.TintableBackgroundView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatMultiAutoCompleteTextView>; | |
public drawableStateChanged(): void; | |
/** @deprecated */ | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setDropDownBackgroundResource(resId: number): void; | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onCreateInputConnection(outAttrs: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setDropDownBackgroundResource(id: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number, popupTheme: globalAndroid.content.res.Resources.Theme); | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setBackgroundResource(resId: number): void; | |
public onFilterComplete(count: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setTextAppearance(resId: number): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatPopupWindow extends globalAndroid.widget.PopupWindow { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatPopupWindow>; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public constructor(context: globalAndroid.content.Context); | |
public showAsDropDown(anchor: globalAndroid.view.View): void; | |
public update(): void; | |
public constructor(contentView: globalAndroid.view.View, width: number, height: number, focusable: boolean); | |
public constructor(width: number, height: number); | |
public update(width: number, height: number): void; | |
public showAsDropDown(anchor: globalAndroid.view.View, xoff: number, yoff: number, gravity: number): void; | |
public update(anchor: globalAndroid.view.View, xoff: number, yoff: number, width: number, height: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public constructor(contentView: globalAndroid.view.View, width: number, height: number); | |
public constructor(); | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public showAsDropDown(anchor: globalAndroid.view.View, xoff: number, yoff: number): void; | |
public update(anchor: globalAndroid.view.View, width: number, height: number): void; | |
public constructor(contentView: globalAndroid.view.View); | |
public update(x: number, y: number, width: number, height: number): void; | |
public update(x: number, y: number, width: number, height: number, force: boolean): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatProgressBarHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatProgressBarHelper>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatRadioButton extends globalAndroid.widget.RadioButton implements androidx.core.widget.TintableCompoundButton, androidx.core.view.TintableBackgroundView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatRadioButton>; | |
public setSupportButtonTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public drawableStateChanged(): void; | |
public getSupportButtonTintList(): globalAndroid.content.res.ColorStateList; | |
public isChecked(): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getSupportButtonTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setButtonDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public toggle(): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setChecked(checked: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getCompoundPaddingLeft(): number; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setButtonDrawable(buttonDrawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public setSupportButtonTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setButtonDrawable(resId: number): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatRatingBar extends globalAndroid.widget.RatingBar { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatRatingBar>; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public invalidateDrawable(dr: globalAndroid.graphics.drawable.Drawable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatSeekBar extends globalAndroid.widget.SeekBar { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSeekBar>; | |
public drawableStateChanged(): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public jumpDrawablesToCurrentState(): void; | |
public constructor(context: globalAndroid.content.Context); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public invalidateDrawable(dr: globalAndroid.graphics.drawable.Drawable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public onDraw(canvas: globalAndroid.graphics.Canvas): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatSeekBarHelper extends androidx.appcompat.widget.AppCompatProgressBarHelper { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSeekBarHelper>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatSpinner extends globalAndroid.widget.Spinner implements androidx.core.view.TintableBackgroundView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSpinner>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, mode: number); | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public setDropDownHorizontalOffset(pixels: number): void; | |
public getTextDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public setPrompt(prompt: string): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setDropDownWidth(pixels: number): void; | |
public getPopupBackground(): globalAndroid.graphics.drawable.Drawable; | |
public getDropDownWidth(): number; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setBackgroundResource(resid: number): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public drawableStateChanged(): void; | |
public isLayoutDirectionResolved(): boolean; | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public setDropDownVerticalOffset(pixels: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public getPrompt(): string; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number, mode: number); | |
public onClick(dialog: globalAndroid.content.DialogInterface, which: number): void; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
public getDropDownHorizontalOffset(): number; | |
public constructor(context: globalAndroid.content.Context); | |
public setAdapter(adapter0: any): void; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public setAdapter(adapter: globalAndroid.widget.SpinnerAdapter): void; | |
public requestFitSystemWindows(): void; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public setBackgroundResource(resId: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getTextAlignment(): number; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public setPopupBackgroundResource(resId: number): void; | |
public getLayoutDirection(): number; | |
public removeView(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public performClick(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public constructor(context: globalAndroid.content.Context, mode: number); | |
public requestLayout(): void; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, mode: number, popupTheme: globalAndroid.content.res.Resources.Theme); | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getPopupContext(): globalAndroid.content.Context; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number, mode: number, popupTheme: globalAndroid.content.res.Resources.Theme); | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public canResolveLayoutDirection(): boolean; | |
public getDropDownVerticalOffset(): number; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setPopupBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
} | |
export module AppCompatSpinner { | |
export class DialogPopup extends java.lang.Object implements androidx.appcompat.widget.AppCompatSpinner.SpinnerPopup, globalAndroid.content.DialogInterface.OnClickListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSpinner.DialogPopup>; | |
public getBackground(): globalAndroid.graphics.drawable.Drawable; | |
public setBackgroundDrawable(bg: globalAndroid.graphics.drawable.Drawable): void; | |
public isShowing(): boolean; | |
public getHorizontalOriginalOffset(): number; | |
public getVerticalOffset(): number; | |
public setHorizontalOriginalOffset(px: number): void; | |
public onClick(dialog: globalAndroid.content.DialogInterface, which: number): void; | |
public show(textDirection: number, textAlignment: number): void; | |
public getHorizontalOffset(): number; | |
public getHintText(): string; | |
public setAdapter(adapter: globalAndroid.widget.ListAdapter): void; | |
public setHorizontalOffset(px: number): void; | |
public dismiss(): void; | |
public setPromptText(hintText: string): void; | |
public setVerticalOffset(px: number): void; | |
} | |
export class DropDownAdapter extends java.lang.Object implements globalAndroid.widget.ListAdapter, globalAndroid.widget.SpinnerAdapter { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSpinner.DropDownAdapter>; | |
public isEmpty(): boolean; | |
public getCount(): number; | |
public areAllItemsEnabled(): boolean; | |
public isEnabled(position: number): boolean; | |
public getItemViewType(position: number): number; | |
public getViewTypeCount(): number; | |
public unregisterDataSetObserver(observer: globalAndroid.database.DataSetObserver): void; | |
public getItemId(position: number): number; | |
public constructor(adapter: globalAndroid.widget.SpinnerAdapter, dropDownTheme: globalAndroid.content.res.Resources.Theme); | |
public hasStableIds(): boolean; | |
public registerDataSetObserver(observer: globalAndroid.database.DataSetObserver): void; | |
public getItem(position: number): any; | |
public getAutofillOptions(): native.Array<string>; | |
public getView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
} | |
export class DropdownPopup extends androidx.appcompat.widget.ListPopupWindow implements androidx.appcompat.widget.AppCompatSpinner.SpinnerPopup { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSpinner.DropdownPopup>; | |
public setVerticalOffset(offset: number): void; | |
public getBackground(): globalAndroid.graphics.drawable.Drawable; | |
public show(): void; | |
public isShowing(): boolean; | |
public getListView(): globalAndroid.widget.ListView; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getHorizontalOriginalOffset(): number; | |
public setHorizontalOriginalOffset(px: number): void; | |
public getVerticalOffset(): number; | |
public constructor(this0: androidx.appcompat.widget.AppCompatSpinner, context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public show(textDirection: number, textAlignment: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getHorizontalOffset(): number; | |
public setHorizontalOffset(offset: number): void; | |
public getHintText(): string; | |
public constructor(context: globalAndroid.content.Context); | |
public setAdapter(adapter: globalAndroid.widget.ListAdapter): void; | |
public setBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public dismiss(): void; | |
public setPromptText(hintText: string): void; | |
} | |
export class SavedState extends globalAndroid.view.View.BaseSavedState { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSpinner.SavedState>; | |
public static CREATOR: globalAndroid.os.Parcelable.Creator<androidx.appcompat.widget.AppCompatSpinner.SavedState>; | |
public describeContents(): number; | |
public writeToParcel(out: globalAndroid.os.Parcel, flags: number): void; | |
} | |
export class SpinnerPopup extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatSpinner.SpinnerPopup>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.AppCompatSpinner$SpinnerPopup interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setAdapter(listAdapter0: globalAndroid.widget.ListAdapter): void; | |
show(int0: number, int1: number): void; | |
dismiss(): void; | |
isShowing(): boolean; | |
setPromptText(charSequence0: string): void; | |
getHintText(): string; | |
setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
setVerticalOffset(int0: number): void; | |
setHorizontalOffset(int0: number): void; | |
setHorizontalOriginalOffset(int0: number): void; | |
getHorizontalOriginalOffset(): number; | |
getBackground(): globalAndroid.graphics.drawable.Drawable; | |
getVerticalOffset(): number; | |
getHorizontalOffset(): number; | |
}); | |
public constructor(); | |
public setHorizontalOffset(int0: number): void; | |
public getBackground(): globalAndroid.graphics.drawable.Drawable; | |
public isShowing(): boolean; | |
public setAdapter(listAdapter0: globalAndroid.widget.ListAdapter): void; | |
public getHorizontalOriginalOffset(): number; | |
public setHorizontalOriginalOffset(int0: number): void; | |
public show(int0: number, int1: number): void; | |
public setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public getVerticalOffset(): number; | |
public setVerticalOffset(int0: number): void; | |
public getHorizontalOffset(): number; | |
public setPromptText(charSequence0: string): void; | |
public getHintText(): string; | |
public dismiss(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatTextClassifierHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextClassifierHelper>; | |
public setTextClassifier(textClassifier: any): void; | |
public getTextClassifier(): any; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatTextHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextHelper>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatTextView extends globalAndroid.widget.TextView implements androidx.core.view.TintableBackgroundView, androidx.core.widget.TintableCompoundDrawablesView, androidx.core.widget.AutoSizeableTextView { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextView>; | |
/** @deprecated */ | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getAutoSizeStepGranularity(): number; | |
public setLineHeight(lineHeight: number): void; | |
public getFirstBaselineToTopHeight(): number; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public getTextClassifier(): any; | |
public getSupportCompoundDrawablesTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setTextSize(unit: number, size: number): void; | |
public setBackgroundResource(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getAutoSizeTextType(): number; | |
public setLastBaselineToBottomHeight(lastBaselineToBottomHeight: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getSupportCompoundDrawablesTintList(): globalAndroid.content.res.ColorStateList; | |
public setTypeface(tf: globalAndroid.graphics.Typeface): void; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public setSupportCompoundDrawablesTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setCompoundDrawablesRelativeWithIntrinsicBounds(start: number, top: number, end: number, bottom: number): void; | |
public setCompoundDrawablesRelativeWithIntrinsicBounds(start: globalAndroid.graphics.drawable.Drawable, top: globalAndroid.graphics.drawable.Drawable, end: globalAndroid.graphics.drawable.Drawable, bottom: globalAndroid.graphics.drawable.Drawable): void; | |
public setSupportCompoundDrawablesTintList(tintList: globalAndroid.content.res.ColorStateList): void; | |
public getAutoSizeMaxTextSize(): number; | |
public setAutoSizeTextTypeUniformWithPresetSizes(presetSizes: native.Array<number>, unit: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setBackgroundResource(resid: number): void; | |
/** @deprecated */ | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public drawableStateChanged(): void; | |
public setTextMetricsParamsCompat(params: androidx.core.text.PrecomputedTextCompat.Params): void; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public getTextMetricsParamsCompat(): androidx.core.text.PrecomputedTextCompat.Params; | |
public setBackgroundDrawable(background: globalAndroid.graphics.drawable.Drawable): void; | |
public setTextClassifier(textClassifier: any): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public setCompoundDrawablesRelative(start: globalAndroid.graphics.drawable.Drawable, top: globalAndroid.graphics.drawable.Drawable, end: globalAndroid.graphics.drawable.Drawable, bottom: globalAndroid.graphics.drawable.Drawable): void; | |
public onCreateInputConnection(outAttrs: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
public setCompoundDrawablesWithIntrinsicBounds(left: number, top: number, right: number, bottom: number): void; | |
public getLastBaselineToBottomHeight(): number; | |
public setCompoundDrawables(left: globalAndroid.graphics.drawable.Drawable, top: globalAndroid.graphics.drawable.Drawable, right: globalAndroid.graphics.drawable.Drawable, bottom: globalAndroid.graphics.drawable.Drawable): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setTextFuture(future: java.util.concurrent.Future<androidx.core.text.PrecomputedTextCompat>): void; | |
public getAutoSizeTextAvailableSizes(): native.Array<number>; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public setTypeface(tf: globalAndroid.graphics.Typeface, style: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setTextSize(size: number): void; | |
public setFirstBaselineToTopHeight(firstBaselineToTopHeight: number): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public setTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public getAutoSizeMinTextSize(): number; | |
public getText(): string; | |
public setCompoundDrawablesWithIntrinsicBounds(left: globalAndroid.graphics.drawable.Drawable, top: globalAndroid.graphics.drawable.Drawable, right: globalAndroid.graphics.drawable.Drawable, bottom: globalAndroid.graphics.drawable.Drawable): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onTextChanged(text: string, start: number, lengthBefore: number, lengthAfter: number): void; | |
public setCustomSelectionActionModeCallback(actionModeCallback: globalAndroid.view.ActionMode.Callback): void; | |
public setTextAppearance(resId: number): void; | |
public setAutoSizeTextTypeUniformWithConfiguration(autoSizeMinTextSize: number, autoSizeMaxTextSize: number, autoSizeStepGranularity: number, unit: number): void; | |
public setPrecomputedText(precomputed: androidx.core.text.PrecomputedTextCompat): void; | |
public setAutoSizeTextTypeWithDefaults(autoSizeTextType: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatTextViewAutoSizeHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper>; | |
} | |
export module AppCompatTextViewAutoSizeHelper { | |
export class Impl extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper.Impl>; | |
} | |
export class Impl23 extends androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper.Impl { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper.Impl23>; | |
} | |
export class Impl29 extends androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper.Impl23 { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper.Impl29>; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class AppCompatToggleButton extends globalAndroid.widget.ToggleButton { | |
public static class: java.lang.Class<androidx.appcompat.widget.AppCompatToggleButton>; | |
public isChecked(): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public toggle(): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setChecked(checked: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ButtonBarLayout extends globalAndroid.widget.LinearLayout { | |
public static class: java.lang.Class<androidx.appcompat.widget.ButtonBarLayout>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public getMinimumHeight(): number; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public setAllowStacking(allowStacking: boolean): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ContentFrameLayout extends globalAndroid.widget.FrameLayout { | |
public static class: java.lang.Class<androidx.appcompat.widget.ContentFrameLayout>; | |
public setDecorPadding(left: number, top: number, right: number, bottom: number): void; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getMinWidthMinor(): globalAndroid.util.TypedValue; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public setAttachListener(attachListener: androidx.appcompat.widget.ContentFrameLayout.OnAttachListener): void; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public getFixedWidthMajor(): globalAndroid.util.TypedValue; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public getFixedHeightMajor(): globalAndroid.util.TypedValue; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public getFixedWidthMinor(): globalAndroid.util.TypedValue; | |
public getFixedHeightMinor(): globalAndroid.util.TypedValue; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public getMinWidthMajor(): globalAndroid.util.TypedValue; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public dispatchFitSystemWindows(insets: globalAndroid.graphics.Rect): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public onAttachedToWindow(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
export module ContentFrameLayout { | |
export class OnAttachListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ContentFrameLayout.OnAttachListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ContentFrameLayout$OnAttachListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onDetachedFromWindow(): void; | |
onAttachedFromWindow(): void; | |
}); | |
public constructor(); | |
public onDetachedFromWindow(): void; | |
public onAttachedFromWindow(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class DecorContentParent extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.DecorContentParent>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.DecorContentParent interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setWindowCallback(callback0: globalAndroid.view.Window.Callback): void; | |
setWindowTitle(charSequence0: string): void; | |
getTitle(): string; | |
initFeature(int0: number): void; | |
setUiOptions(int0: number): void; | |
hasIcon(): boolean; | |
hasLogo(): boolean; | |
setIcon(int0: number): void; | |
setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
setLogo(int0: number): void; | |
canShowOverflowMenu(): boolean; | |
isOverflowMenuShowing(): boolean; | |
isOverflowMenuShowPending(): boolean; | |
showOverflowMenu(): boolean; | |
hideOverflowMenu(): boolean; | |
setMenuPrepared(): void; | |
setMenu(menu0: globalAndroid.view.Menu, callback1: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
saveToolbarHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
restoreToolbarHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
dismissPopups(): void; | |
}); | |
public constructor(); | |
public setIcon(int0: number): void; | |
public setMenu(menu0: globalAndroid.view.Menu, callback1: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public hasLogo(): boolean; | |
public showOverflowMenu(): boolean; | |
public restoreToolbarHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public dismissPopups(): void; | |
public setUiOptions(int0: number): void; | |
public canShowOverflowMenu(): boolean; | |
public getTitle(): string; | |
public hasIcon(): boolean; | |
public saveToolbarHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public isOverflowMenuShowing(): boolean; | |
public setLogo(int0: number): void; | |
public hideOverflowMenu(): boolean; | |
public initFeature(int0: number): void; | |
public isOverflowMenuShowPending(): boolean; | |
public setMenuPrepared(): void; | |
public setWindowCallback(callback0: globalAndroid.view.Window.Callback): void; | |
public setWindowTitle(charSequence0: string): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class DecorToolbar extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.DecorToolbar>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.DecorToolbar interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
getViewGroup(): globalAndroid.view.ViewGroup; | |
getContext(): globalAndroid.content.Context; | |
hasExpandedActionView(): boolean; | |
collapseActionView(): void; | |
setWindowCallback(callback0: globalAndroid.view.Window.Callback): void; | |
setWindowTitle(charSequence0: string): void; | |
getTitle(): string; | |
setTitle(charSequence0: string): void; | |
getSubtitle(): string; | |
setSubtitle(charSequence0: string): void; | |
initProgress(): void; | |
initIndeterminateProgress(): void; | |
hasIcon(): boolean; | |
hasLogo(): boolean; | |
setIcon(int0: number): void; | |
setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
setLogo(int0: number): void; | |
setLogo(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
canShowOverflowMenu(): boolean; | |
isOverflowMenuShowing(): boolean; | |
isOverflowMenuShowPending(): boolean; | |
showOverflowMenu(): boolean; | |
hideOverflowMenu(): boolean; | |
setMenuPrepared(): void; | |
setMenu(menu0: globalAndroid.view.Menu, callback1: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
dismissPopupMenus(): void; | |
getDisplayOptions(): number; | |
setDisplayOptions(int0: number): void; | |
setEmbeddedTabView(scrollingTabContainerView0: androidx.appcompat.widget.ScrollingTabContainerView): void; | |
hasEmbeddedTabs(): boolean; | |
isTitleTruncated(): boolean; | |
setCollapsible(boolean0: boolean): void; | |
setHomeButtonEnabled(boolean0: boolean): void; | |
getNavigationMode(): number; | |
setNavigationMode(int0: number): void; | |
setDropdownParams(spinnerAdapter0: globalAndroid.widget.SpinnerAdapter, onItemSelectedListener1: globalAndroid.widget.AdapterView.OnItemSelectedListener): void; | |
setDropdownSelectedPosition(int0: number): void; | |
getDropdownSelectedPosition(): number; | |
getDropdownItemCount(): number; | |
setCustomView(view0: globalAndroid.view.View): void; | |
getCustomView(): globalAndroid.view.View; | |
animateToVisibility(int0: number): void; | |
setupAnimatorToVisibility(int0: number, long1: number): androidx.core.view.ViewPropertyAnimatorCompat; | |
setNavigationIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
setNavigationIcon(int0: number): void; | |
setNavigationContentDescription(charSequence0: string): void; | |
setNavigationContentDescription(int0: number): void; | |
setDefaultNavigationContentDescription(int0: number): void; | |
setDefaultNavigationIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
saveHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
restoreHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
getHeight(): number; | |
setVisibility(int0: number): void; | |
getVisibility(): number; | |
setMenuCallbacks(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback, callback1: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
getMenu(): globalAndroid.view.Menu; | |
}); | |
public constructor(); | |
public setTitle(charSequence0: string): void; | |
public setNavigationContentDescription(int0: number): void; | |
public getHeight(): number; | |
public hasLogo(): boolean; | |
public showOverflowMenu(): boolean; | |
public setLogo(int0: number): void; | |
public getDropdownSelectedPosition(): number; | |
public setWindowTitle(charSequence0: string): void; | |
public setIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public setIcon(int0: number): void; | |
public setMenu(menu0: globalAndroid.view.Menu, callback1: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public setNavigationIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public collapseActionView(): void; | |
public getContext(): globalAndroid.content.Context; | |
public setNavigationMode(int0: number): void; | |
public restoreHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public setLogo(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public getMenu(): globalAndroid.view.Menu; | |
public hideOverflowMenu(): boolean; | |
public initIndeterminateProgress(): void; | |
public hasEmbeddedTabs(): boolean; | |
public getVisibility(): number; | |
public getSubtitle(): string; | |
public setMenuCallbacks(callback0: androidx.appcompat.view.menu.MenuPresenter.Callback, callback1: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
public setMenuPrepared(): void; | |
public setWindowCallback(callback0: globalAndroid.view.Window.Callback): void; | |
public setBackgroundDrawable(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public initProgress(): void; | |
public setDisplayOptions(int0: number): void; | |
public setHomeButtonEnabled(boolean0: boolean): void; | |
public setVisibility(int0: number): void; | |
public setEmbeddedTabView(scrollingTabContainerView0: androidx.appcompat.widget.ScrollingTabContainerView): void; | |
public getNavigationMode(): number; | |
public setDropdownSelectedPosition(int0: number): void; | |
public getCustomView(): globalAndroid.view.View; | |
public setNavigationContentDescription(charSequence0: string): void; | |
public getDisplayOptions(): number; | |
public setNavigationIcon(int0: number): void; | |
public setDropdownParams(spinnerAdapter0: globalAndroid.widget.SpinnerAdapter, onItemSelectedListener1: globalAndroid.widget.AdapterView.OnItemSelectedListener): void; | |
public setupAnimatorToVisibility(int0: number, long1: number): androidx.core.view.ViewPropertyAnimatorCompat; | |
public dismissPopupMenus(): void; | |
public setSubtitle(charSequence0: string): void; | |
public isTitleTruncated(): boolean; | |
public getDropdownItemCount(): number; | |
public setCollapsible(boolean0: boolean): void; | |
public setDefaultNavigationContentDescription(int0: number): void; | |
public saveHierarchyState(sparseArray0: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public canShowOverflowMenu(): boolean; | |
public hasExpandedActionView(): boolean; | |
public getTitle(): string; | |
public hasIcon(): boolean; | |
public isOverflowMenuShowing(): boolean; | |
public animateToVisibility(int0: number): void; | |
public setDefaultNavigationIcon(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public isOverflowMenuShowPending(): boolean; | |
public setCustomView(view0: globalAndroid.view.View): void; | |
public getViewGroup(): globalAndroid.view.ViewGroup; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class DialogTitle extends androidx.appcompat.widget.AppCompatTextView { | |
public static class: java.lang.Class<androidx.appcompat.widget.DialogTitle>; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getAutoSizeStepGranularity(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public getAutoSizeTextAvailableSizes(): native.Array<number>; | |
public getSupportCompoundDrawablesTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public getAutoSizeTextType(): number; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getAutoSizeMinTextSize(): number; | |
public getSupportCompoundDrawablesTintList(): globalAndroid.content.res.ColorStateList; | |
public setSupportCompoundDrawablesTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setSupportCompoundDrawablesTintList(tintList: globalAndroid.content.res.ColorStateList): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getAutoSizeMaxTextSize(): number; | |
public setAutoSizeTextTypeUniformWithPresetSizes(presetSizes: native.Array<number>, unit: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setAutoSizeTextTypeUniformWithConfiguration(autoSizeMinTextSize: number, autoSizeMaxTextSize: number, autoSizeStepGranularity: number, unit: number): void; | |
public setAutoSizeTextTypeWithDefaults(autoSizeTextType: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class DrawableUtils extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.DrawableUtils>; | |
public static INSETS_NONE: globalAndroid.graphics.Rect; | |
public static parseTintMode(value: number, defaultMode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.graphics.PorterDuff.Mode; | |
public static canSafelyMutateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): boolean; | |
public static getOpticalBounds(drawable: globalAndroid.graphics.drawable.Drawable): globalAndroid.graphics.Rect; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class DropDownListView extends globalAndroid.widget.ListView { | |
public static class: java.lang.Class<androidx.appcompat.widget.DropDownListView>; | |
public static INVALID_POSITION: number; | |
public static NO_POSITION: number; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onHoverEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public requestFitSystemWindows(): void; | |
public hasWindowFocus(): boolean; | |
public getTextDirection(): number; | |
public onTextChanged(s: string, start: number, before: number, count: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
public hasFocus(): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public onGlobalLayout(): void; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public afterTextChanged(s: globalAndroid.text.Editable): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public setSelector(sel: globalAndroid.graphics.drawable.Drawable): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public drawableStateChanged(): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public removeView(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public isInTouchMode(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public dispatchDraw(canvas: globalAndroid.graphics.Canvas): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public isFocused(): boolean; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public setSelector(resID: number): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rect: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public measureHeightOfChildrenCompat(widthMeasureSpec: number, startPosition: number, endPosition: number, maxHeight: number, disallowPartialChildPosition: number): number; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onFilterComplete(count: number): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onTouchModeChanged(isInTouchMode: boolean): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public beforeTextChanged(s: string, start: number, count: number, after: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public onTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public canResolveLayoutDirection(): boolean; | |
public onForwardedEvent(event: globalAndroid.view.MotionEvent, activePointerId: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onHoverEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
public lookForSelectablePosition(position: number, lookDown: boolean): number; | |
} | |
export module DropDownListView { | |
export class GateKeeperDrawable extends androidx.appcompat.graphics.drawable.DrawableWrapper { | |
public static class: java.lang.Class<androidx.appcompat.widget.DropDownListView.GateKeeperDrawable>; | |
public setState(stateSet: native.Array<number>): boolean; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public invalidateDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setVisible(visible: boolean, restart: boolean): boolean; | |
public setHotspot(x: number, y: number): void; | |
public setHotspotBounds(left: number, top: number, right: number, bottom: number): void; | |
} | |
export class ResolveHoverRunnable extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<androidx.appcompat.widget.DropDownListView.ResolveHoverRunnable>; | |
public run(): void; | |
public cancel(): void; | |
public post(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class FitWindowsFrameLayout extends globalAndroid.widget.FrameLayout implements androidx.appcompat.widget.FitWindowsViewGroup { | |
public static class: java.lang.Class<androidx.appcompat.widget.FitWindowsFrameLayout>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public fitSystemWindows(insets: globalAndroid.graphics.Rect): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
/** @deprecated */ | |
public fitSystemWindows(insets: globalAndroid.graphics.Rect): boolean; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setOnFitSystemWindowsListener(listener: androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener): void; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class FitWindowsLinearLayout extends globalAndroid.widget.LinearLayout implements androidx.appcompat.widget.FitWindowsViewGroup { | |
public static class: java.lang.Class<androidx.appcompat.widget.FitWindowsLinearLayout>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public fitSystemWindows(insets: globalAndroid.graphics.Rect): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
/** @deprecated */ | |
public fitSystemWindows(insets: globalAndroid.graphics.Rect): boolean; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setOnFitSystemWindowsListener(listener: androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener): void; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class FitWindowsViewGroup extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.FitWindowsViewGroup>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.FitWindowsViewGroup interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setOnFitSystemWindowsListener(onFitSystemWindowsListener0: androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener): void; | |
}); | |
public constructor(); | |
public setOnFitSystemWindowsListener(onFitSystemWindowsListener0: androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener): void; | |
} | |
export module FitWindowsViewGroup { | |
export class OnFitSystemWindowsListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.FitWindowsViewGroup$OnFitSystemWindowsListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onFitSystemWindows(rect0: globalAndroid.graphics.Rect): void; | |
}); | |
public constructor(); | |
public onFitSystemWindows(rect0: globalAndroid.graphics.Rect): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export abstract class ForwardingListener extends java.lang.Object implements globalAndroid.view.View.OnTouchListener, globalAndroid.view.View.OnAttachStateChangeListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ForwardingListener>; | |
public onViewDetachedFromWindow(v: globalAndroid.view.View): void; | |
public constructor(src: globalAndroid.view.View); | |
public getPopup(): androidx.appcompat.view.menu.ShowableListMenu; | |
public onForwardingStopped(): boolean; | |
public onViewAttachedToWindow(v: globalAndroid.view.View): void; | |
public onForwardingStarted(): boolean; | |
public onTouch(v: globalAndroid.view.View, event: globalAndroid.view.MotionEvent): boolean; | |
} | |
export module ForwardingListener { | |
export class DisallowIntercept extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ForwardingListener.DisallowIntercept>; | |
public run(): void; | |
} | |
export class TriggerLongPress extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ForwardingListener.TriggerLongPress>; | |
public run(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class LinearLayoutCompat extends globalAndroid.view.ViewGroup { | |
public static class: java.lang.Class<androidx.appcompat.widget.LinearLayoutCompat>; | |
public static HORIZONTAL: number; | |
public static VERTICAL: number; | |
public static SHOW_DIVIDER_NONE: number; | |
public static SHOW_DIVIDER_BEGINNING: number; | |
public static SHOW_DIVIDER_MIDDLE: number; | |
public static SHOW_DIVIDER_END: number; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isBaselineAligned(): boolean; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public isMeasureWithLargestChildEnabled(): boolean; | |
public getTextDirection(): number; | |
public getDividerWidth(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public setBaselineAligned(baselineAligned: boolean): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): globalAndroid.view.ViewGroup.LayoutParams; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public onDraw(canvas: globalAndroid.graphics.Canvas): void; | |
public isLayoutDirectionResolved(): boolean; | |
public generateDefaultLayoutParams(): androidx.appcompat.widget.LinearLayoutCompat.LayoutParams; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void; | |
public getOrientation(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public getGravity(): number; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public getShowDividers(): number; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setHorizontalGravity(horizontalGravity: number): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onInitializeAccessibilityNodeInfo(info: globalAndroid.view.accessibility.AccessibilityNodeInfo): void; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): androidx.appcompat.widget.LinearLayoutCompat.LayoutParams; | |
public setGravity(gravity: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public checkLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getBaselineAlignedChildIndex(): number; | |
public getTextAlignment(): number; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): globalAndroid.view.ViewGroup.LayoutParams; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public setMeasureWithLargestChildEnabled(enabled: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public generateDefaultLayoutParams(): globalAndroid.view.ViewGroup.LayoutParams; | |
public addView(child: globalAndroid.view.View): void; | |
public getBaseline(): number; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public getDividerDrawable(): globalAndroid.graphics.drawable.Drawable; | |
public setShowDividers(showDividers: number): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public setBaselineAlignedChildIndex(i: number): void; | |
public hasDividerBeforeChildAt(childIndex: number): boolean; | |
public requestLayout(): void; | |
public setOrientation(orientation: number): void; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.LinearLayoutCompat.LayoutParams; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public getDividerPadding(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public onInitializeAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public setDividerPadding(padding: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getWeightSum(): number; | |
public setVerticalGravity(verticalGravity: number): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public setWeightSum(weightSum: number): void; | |
public setDividerDrawable(divider: globalAndroid.graphics.drawable.Drawable): void; | |
public shouldDelayChildPressedState(): boolean; | |
} | |
export module LinearLayoutCompat { | |
export class DividerMode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.widget.LinearLayoutCompat.DividerMode>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.LinearLayoutCompat$DividerMode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export class LayoutParams extends globalAndroid.view.ViewGroup.MarginLayoutParams { | |
public static class: java.lang.Class<androidx.appcompat.widget.LinearLayoutCompat.LayoutParams>; | |
public weight: number; | |
public gravity: number; | |
public constructor(source: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(c: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public constructor(width: number, height: number, weight: number); | |
public constructor(source: androidx.appcompat.widget.LinearLayoutCompat.LayoutParams); | |
public constructor(width: number, height: number); | |
public constructor(p: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(source: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
} | |
export class OrientationMode extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.appcompat.widget.LinearLayoutCompat.OrientationMode>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.LinearLayoutCompat$OrientationMode interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ListPopupWindow extends java.lang.Object implements androidx.appcompat.view.menu.ShowableListMenu { | |
public static class: java.lang.Class<androidx.appcompat.widget.ListPopupWindow>; | |
public static POSITION_PROMPT_ABOVE: number; | |
public static POSITION_PROMPT_BELOW: number; | |
public static MATCH_PARENT: number; | |
public static WRAP_CONTENT: number; | |
public static INPUT_METHOD_FROM_FOCUSABLE: number; | |
public static INPUT_METHOD_NEEDED: number; | |
public static INPUT_METHOD_NOT_NEEDED: number; | |
public getHeight(): number; | |
public getSelectedItem(): any; | |
public constructor(context: globalAndroid.content.Context); | |
public getListView(): globalAndroid.widget.ListView; | |
public onKeyPreIme(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public show(): void; | |
public setOverlapAnchor(overlapAnchor: boolean): void; | |
public setPromptPosition(position: number): void; | |
public isShowing(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getBackground(): globalAndroid.graphics.drawable.Drawable; | |
public setAdapter(adapter: globalAndroid.widget.ListAdapter): void; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getSoftInputMode(): number; | |
public setVerticalOffset(offset: number): void; | |
public postShow(): void; | |
public createDragToOpenListener(src: globalAndroid.view.View): globalAndroid.view.View.OnTouchListener; | |
public setContentWidth(width: number): void; | |
public getVerticalOffset(): number; | |
public clearListSelection(): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setOnItemClickListener(clickListener: globalAndroid.widget.AdapterView.OnItemClickListener): void; | |
public isDropDownAlwaysVisible(): boolean; | |
public getSelectedItemPosition(): number; | |
public setSoftInputMode(mode: number): void; | |
public setAnchorView(anchor: globalAndroid.view.View): void; | |
public setForceIgnoreOutsideTouch(forceIgnoreOutsideTouch: boolean): void; | |
public setDropDownAlwaysVisible(dropDownAlwaysVisible: boolean): void; | |
public setWidth(width: number): void; | |
public getInputMethodMode(): number; | |
public setListSelector(selector: globalAndroid.graphics.drawable.Drawable): void; | |
public setOnDismissListener(listener: globalAndroid.widget.PopupWindow.OnDismissListener): void; | |
public getEpicenterBounds(): globalAndroid.graphics.Rect; | |
public dismiss(): void; | |
public isModal(): boolean; | |
public setDropDownGravity(gravity: number): void; | |
public setSelection(position: number): void; | |
public getSelectedView(): globalAndroid.view.View; | |
public setPromptView(prompt: globalAndroid.view.View): void; | |
public getHorizontalOffset(): number; | |
public isInputMethodNotNeeded(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setAnimationStyle(animationStyle: number): void; | |
public setOnItemSelectedListener(selectedListener: globalAndroid.widget.AdapterView.OnItemSelectedListener): void; | |
public setInputMethodMode(mode: number): void; | |
public getAnimationStyle(): number; | |
public setWindowLayoutType(layoutType: number): void; | |
public setModal(modal: boolean): void; | |
public setHorizontalOffset(offset: number): void; | |
public getPromptPosition(): number; | |
public getAnchorView(): globalAndroid.view.View; | |
public setHeight(height: number): void; | |
public setBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public getWidth(): number; | |
public setEpicenterBounds(bounds: globalAndroid.graphics.Rect): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public performItemClick(position: number): boolean; | |
public getSelectedItemId(): number; | |
} | |
export module ListPopupWindow { | |
export class ListSelectorHider extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ListPopupWindow.ListSelectorHider>; | |
public run(): void; | |
} | |
export class PopupDataSetObserver extends globalAndroid.database.DataSetObserver { | |
public static class: java.lang.Class<androidx.appcompat.widget.ListPopupWindow.PopupDataSetObserver>; | |
public onChanged(): void; | |
public onInvalidated(): void; | |
} | |
export class PopupScrollListener extends java.lang.Object implements globalAndroid.widget.AbsListView.OnScrollListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ListPopupWindow.PopupScrollListener>; | |
public onScrollStateChanged(view: globalAndroid.widget.AbsListView, scrollState: number): void; | |
public onScroll(view: globalAndroid.widget.AbsListView, firstVisibleItem: number, visibleItemCount: number, totalItemCount: number): void; | |
} | |
export class PopupTouchInterceptor extends java.lang.Object implements globalAndroid.view.View.OnTouchListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ListPopupWindow.PopupTouchInterceptor>; | |
public onTouch(v: globalAndroid.view.View, event: globalAndroid.view.MotionEvent): boolean; | |
} | |
export class ResizePopupRunnable extends java.lang.Object implements java.lang.Runnable { | |
public static class: java.lang.Class<androidx.appcompat.widget.ListPopupWindow.ResizePopupRunnable>; | |
public run(): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class MenuItemHoverListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.MenuItemHoverListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.MenuItemHoverListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onItemHoverExit(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItem1: globalAndroid.view.MenuItem): void; | |
onItemHoverEnter(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItem1: globalAndroid.view.MenuItem): void; | |
}); | |
public constructor(); | |
public onItemHoverEnter(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItem1: globalAndroid.view.MenuItem): void; | |
public onItemHoverExit(menuBuilder0: androidx.appcompat.view.menu.MenuBuilder, menuItem1: globalAndroid.view.MenuItem): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class MenuPopupWindow extends androidx.appcompat.widget.ListPopupWindow implements androidx.appcompat.widget.MenuItemHoverListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.MenuPopupWindow>; | |
public setHoverListener(hoverListener: androidx.appcompat.widget.MenuItemHoverListener): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setEnterTransition(enterTransition: any): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setExitTransition(exitTransition: any): void; | |
public getListView(): globalAndroid.widget.ListView; | |
public dismiss(): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public show(): void; | |
public setTouchModal(touchModal: boolean): void; | |
public isShowing(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onItemHoverEnter(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): void; | |
public onItemHoverExit(menu: androidx.appcompat.view.menu.MenuBuilder, item: globalAndroid.view.MenuItem): void; | |
} | |
export module MenuPopupWindow { | |
export class MenuDropDownListView extends androidx.appcompat.widget.DropDownListView { | |
public static class: java.lang.Class<androidx.appcompat.widget.MenuPopupWindow.MenuDropDownListView>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onFilterComplete(count: number): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onTouchModeChanged(isInTouchMode: boolean): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public setHoverListener(hoverListener: androidx.appcompat.widget.MenuItemHoverListener): void; | |
public beforeTextChanged(s: string, start: number, count: number, after: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onGlobalLayout(): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rect: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public onHoverEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public afterTextChanged(s: globalAndroid.text.Editable): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onTextChanged(s: string, start: number, before: number, count: number): void; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public clearSelection(): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public removeView(child: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context, hijackFocus: boolean); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class PopupMenu extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.PopupMenu>; | |
public setGravity(gravity: number): void; | |
public setOnMenuItemClickListener(listener: androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener): void; | |
public setOnDismissListener(listener: androidx.appcompat.widget.PopupMenu.OnDismissListener): void; | |
public getMenuInflater(): globalAndroid.view.MenuInflater; | |
public getDragToOpenListener(): globalAndroid.view.View.OnTouchListener; | |
public dismiss(): void; | |
public getMenu(): globalAndroid.view.Menu; | |
public show(): void; | |
public inflate(menuRes: number): void; | |
public constructor(context: globalAndroid.content.Context, anchor: globalAndroid.view.View, gravity: number, popupStyleAttr: number, popupStyleRes: number); | |
public getGravity(): number; | |
public constructor(context: globalAndroid.content.Context, anchor: globalAndroid.view.View, gravity: number); | |
public constructor(context: globalAndroid.content.Context, anchor: globalAndroid.view.View); | |
} | |
export module PopupMenu { | |
export class OnDismissListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.PopupMenu.OnDismissListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.PopupMenu$OnDismissListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onDismiss(popupMenu0: androidx.appcompat.widget.PopupMenu): void; | |
}); | |
public constructor(); | |
public onDismiss(popupMenu0: androidx.appcompat.widget.PopupMenu): void; | |
} | |
export class OnMenuItemClickListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.PopupMenu$OnMenuItemClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onMenuItemClick(menuItem0: globalAndroid.view.MenuItem): boolean; | |
}); | |
public constructor(); | |
public onMenuItemClick(menuItem0: globalAndroid.view.MenuItem): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ResourceManagerInternal extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal>; | |
public setHooks(hooks: androidx.appcompat.widget.ResourceManagerInternal.ResourceManagerHooks): void; | |
public static get(): androidx.appcompat.widget.ResourceManagerInternal; | |
public static getPorterDuffColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): globalAndroid.graphics.PorterDuffColorFilter; | |
public onConfigurationChanged(context: globalAndroid.content.Context): void; | |
public constructor(); | |
public getDrawable(context: globalAndroid.content.Context, resId: number): globalAndroid.graphics.drawable.Drawable; | |
} | |
export module ResourceManagerInternal { | |
export class AsldcInflateDelegate extends java.lang.Object implements androidx.appcompat.widget.ResourceManagerInternal.InflateDelegate { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal.AsldcInflateDelegate>; | |
public createFromXmlInner(context: globalAndroid.content.Context, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
} | |
export class AvdcInflateDelegate extends java.lang.Object implements androidx.appcompat.widget.ResourceManagerInternal.InflateDelegate { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal.AvdcInflateDelegate>; | |
public createFromXmlInner(context: globalAndroid.content.Context, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
} | |
export class ColorFilterLruCache extends androidx.collection.LruCache<java.lang.Integer,globalAndroid.graphics.PorterDuffColorFilter> { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal.ColorFilterLruCache>; | |
public constructor(maxSize: number); | |
} | |
export class InflateDelegate extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal.InflateDelegate>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ResourceManagerInternal$InflateDelegate interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
createFromXmlInner(context0: globalAndroid.content.Context, xmlPullParser1: org.xmlpull.v1.XmlPullParser, attributeSet2: globalAndroid.util.AttributeSet, theme3: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
}); | |
public constructor(); | |
public createFromXmlInner(context0: globalAndroid.content.Context, xmlPullParser1: org.xmlpull.v1.XmlPullParser, attributeSet2: globalAndroid.util.AttributeSet, theme3: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
} | |
export class ResourceManagerHooks extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal.ResourceManagerHooks>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ResourceManagerInternal$ResourceManagerHooks interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
createDrawableFor(resourceManagerInternal0: androidx.appcompat.widget.ResourceManagerInternal, context1: globalAndroid.content.Context, int2: number): globalAndroid.graphics.drawable.Drawable; | |
tintDrawable(context0: globalAndroid.content.Context, int1: number, drawable2: globalAndroid.graphics.drawable.Drawable): boolean; | |
getTintListForDrawableRes(context0: globalAndroid.content.Context, int1: number): globalAndroid.content.res.ColorStateList; | |
tintDrawableUsingColorFilter(context0: globalAndroid.content.Context, int1: number, drawable2: globalAndroid.graphics.drawable.Drawable): boolean; | |
getTintModeForDrawableRes(int0: number): globalAndroid.graphics.PorterDuff.Mode; | |
}); | |
public constructor(); | |
public createDrawableFor(resourceManagerInternal0: androidx.appcompat.widget.ResourceManagerInternal, context1: globalAndroid.content.Context, int2: number): globalAndroid.graphics.drawable.Drawable; | |
public tintDrawable(context0: globalAndroid.content.Context, int1: number, drawable2: globalAndroid.graphics.drawable.Drawable): boolean; | |
public getTintModeForDrawableRes(int0: number): globalAndroid.graphics.PorterDuff.Mode; | |
public getTintListForDrawableRes(context0: globalAndroid.content.Context, int1: number): globalAndroid.content.res.ColorStateList; | |
public tintDrawableUsingColorFilter(context0: globalAndroid.content.Context, int1: number, drawable2: globalAndroid.graphics.drawable.Drawable): boolean; | |
} | |
export class VdcInflateDelegate extends java.lang.Object implements androidx.appcompat.widget.ResourceManagerInternal.InflateDelegate { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourceManagerInternal.VdcInflateDelegate>; | |
public createFromXmlInner(context: globalAndroid.content.Context, parser: org.xmlpull.v1.XmlPullParser, attrs: globalAndroid.util.AttributeSet, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ResourcesWrapper extends globalAndroid.content.res.Resources { | |
public static class: java.lang.Class<androidx.appcompat.widget.ResourcesWrapper>; | |
public obtainAttributes(set: globalAndroid.util.AttributeSet, attrs: native.Array<number>): globalAndroid.content.res.TypedArray; | |
public getColorStateList(id: number, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.content.res.ColorStateList; | |
public getConfiguration(): globalAndroid.content.res.Configuration; | |
public getDisplayMetrics(): globalAndroid.util.DisplayMetrics; | |
public parseBundleExtras(parser: globalAndroid.content.res.XmlResourceParser, outBundle: globalAndroid.os.Bundle): void; | |
public getDimension(id: number): number; | |
public getBoolean(id: number): boolean; | |
public parseBundleExtra(tagName: string, attrs: globalAndroid.util.AttributeSet, outBundle: globalAndroid.os.Bundle): void; | |
public getQuantityString(id: number, quantity: number): string; | |
public getQuantityString(id: number, quantity: number, formatArgs: native.Array<any>): string; | |
public getMovie(id: number): globalAndroid.graphics.Movie; | |
public getIntArray(id: number): native.Array<number>; | |
public getString(id: number): string; | |
public getQuantityText(id: number, quantity: number): string; | |
public getDrawable(id: number, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public openRawResource(id: number): java.io.InputStream; | |
public getColor(id: number, theme: globalAndroid.content.res.Resources.Theme): number; | |
/** @deprecated */ | |
public getColor(id: number): number; | |
/** @deprecated */ | |
public getColorStateList(id: number): globalAndroid.content.res.ColorStateList; | |
public getFraction(id: number, base: number, pbase: number): number; | |
public getXml(id: number): globalAndroid.content.res.XmlResourceParser; | |
public getText(id: number): string; | |
public getValue(id: number, outValue: globalAndroid.util.TypedValue, resolveRefs: boolean): void; | |
public getResourceName(resid: number): string; | |
public obtainTypedArray(id: number): globalAndroid.content.res.TypedArray; | |
/** @deprecated */ | |
public getDrawable(id: number): globalAndroid.graphics.drawable.Drawable; | |
public openRawResource(id: number, value: globalAndroid.util.TypedValue): java.io.InputStream; | |
/** @deprecated */ | |
public getDrawableForDensity(id: number, density: number): globalAndroid.graphics.drawable.Drawable; | |
public getColor(id: number): number; | |
public getResourceTypeName(resid: number): string; | |
public getIdentifier(name: string, defType: string, defPackage: string): number; | |
/** @deprecated */ | |
public constructor(assets: globalAndroid.content.res.AssetManager, metrics: globalAndroid.util.DisplayMetrics, config: globalAndroid.content.res.Configuration); | |
/** @deprecated */ | |
public updateConfiguration(config: globalAndroid.content.res.Configuration, metrics: globalAndroid.util.DisplayMetrics): void; | |
public getLayout(id: number): globalAndroid.content.res.XmlResourceParser; | |
public getColorStateList(id: number): globalAndroid.content.res.ColorStateList; | |
/** @deprecated */ | |
public getMovie(id: number): globalAndroid.graphics.Movie; | |
public getResourceEntryName(resid: number): string; | |
public getString(id: number, formatArgs: native.Array<any>): string; | |
public constructor(resources: globalAndroid.content.res.Resources); | |
public getValue(name: string, outValue: globalAndroid.util.TypedValue, resolveRefs: boolean): void; | |
public getStringArray(id: number): native.Array<string>; | |
public getAnimation(id: number): globalAndroid.content.res.XmlResourceParser; | |
public getDimensionPixelOffset(id: number): number; | |
public getInteger(id: number): number; | |
public getValueForDensity(id: number, density: number, outValue: globalAndroid.util.TypedValue, resolveRefs: boolean): void; | |
public updateConfiguration(config: globalAndroid.content.res.Configuration, metrics: globalAndroid.util.DisplayMetrics): void; | |
public getDimensionPixelSize(id: number): number; | |
public getDrawableForDensity(id: number, density: number): globalAndroid.graphics.drawable.Drawable; | |
public getText(id: number, def: string): string; | |
public openRawResourceFd(id: number): globalAndroid.content.res.AssetFileDescriptor; | |
public getDrawableForDensity(id: number, density: number, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public getResourcePackageName(resid: number): string; | |
public getTextArray(id: number): native.Array<string>; | |
public getDrawable(id: number): globalAndroid.graphics.drawable.Drawable; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class RtlSpacingHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.RtlSpacingHelper>; | |
public static UNDEFINED: number; | |
public getEnd(): number; | |
public setAbsolute(left: number, right: number): void; | |
public getLeft(): number; | |
public getStart(): number; | |
public getRight(): number; | |
public setDirection(isRtl: boolean): void; | |
public setRelative(start: number, end: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ScrollingTabContainerView extends globalAndroid.widget.HorizontalScrollView implements globalAndroid.widget.AdapterView.OnItemSelectedListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ScrollingTabContainerView>; | |
public mVisibilityAnim: globalAndroid.view.ViewPropertyAnimator; | |
public mVisAnimListener: androidx.appcompat.widget.ScrollingTabContainerView.VisibilityAnimListener; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public animateToVisibility(visibility: number): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public removeTabAt(position: number): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public setContentHeight(contentHeight: number): void; | |
public isLayoutRequested(): boolean; | |
public onItemSelected(adapterView: globalAndroid.widget.AdapterView<any>, view: globalAndroid.view.View, position: number, id: number): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onConfigurationChanged(newConfig: globalAndroid.content.res.Configuration): void; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public updateTab(position: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public removeAllTabs(): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public canResolveTextDirection(): boolean; | |
public onNothingSelected(adapterView: globalAndroid.widget.AdapterView<any>): void; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public animateToTab(position: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public setAllowCollapse(allowCollapse: boolean): void; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, position: number, setSelected: boolean): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public setTabSelected(position: number): void; | |
public addTab(tab: androidx.appcompat.app.ActionBar.Tab, setSelected: boolean): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public onAttachedToWindow(): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
export module ScrollingTabContainerView { | |
export class TabAdapter extends globalAndroid.widget.BaseAdapter { | |
public static class: java.lang.Class<androidx.appcompat.widget.ScrollingTabContainerView.TabAdapter>; | |
public getItem(position: number): any; | |
public getCount(): number; | |
public areAllItemsEnabled(): boolean; | |
public isEnabled(position: number): boolean; | |
public getView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getItemId(position: number): number; | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
} | |
export class TabClickListener extends java.lang.Object implements globalAndroid.view.View.OnClickListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ScrollingTabContainerView.TabClickListener>; | |
public onClick(view: globalAndroid.view.View): void; | |
} | |
export class TabView extends globalAndroid.widget.LinearLayout { | |
public static class: java.lang.Class<androidx.appcompat.widget.ScrollingTabContainerView.TabView>; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public isLayoutRequested(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public isTextDirectionResolved(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public isLayoutDirectionResolved(): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public onInitializeAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getLayoutDirection(): number; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getTextDirection(): number; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public requestFitSystemWindows(): void; | |
public onInitializeAccessibilityNodeInfo(info: globalAndroid.view.accessibility.AccessibilityNodeInfo): void; | |
public setSelected(selected: boolean): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isTextAlignmentResolved(): boolean; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public canResolveTextAlignment(): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getTab(): androidx.appcompat.app.ActionBar.Tab; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public addView(child: globalAndroid.view.View): void; | |
public canResolveTextDirection(): boolean; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public update(): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public requestLayout(): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public canResolveLayoutDirection(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public getTextAlignment(): number; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public constructor(param0: androidx.appcompat.widget.ScrollingTabContainerView, context: globalAndroid.content.Context, tab: androidx.appcompat.app.ActionBar.Tab, forList: boolean); | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public bindTab(tab: androidx.appcompat.app.ActionBar.Tab): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
} | |
export class VisibilityAnimListener extends globalAndroid.animation.AnimatorListenerAdapter { | |
public static class: java.lang.Class<androidx.appcompat.widget.ScrollingTabContainerView.VisibilityAnimListener>; | |
public onAnimationStart(animator: globalAndroid.animation.Animator): void; | |
public onAnimationPause(animation: globalAndroid.animation.Animator): void; | |
public onAnimationRepeat(animation: globalAndroid.animation.Animator): void; | |
public onAnimationResume(animation: globalAndroid.animation.Animator): void; | |
public withFinalVisibility(animation: globalAndroid.view.ViewPropertyAnimator, visibility: number): androidx.appcompat.widget.ScrollingTabContainerView.VisibilityAnimListener; | |
public onAnimationCancel(animator: globalAndroid.animation.Animator): void; | |
public constructor(this0: androidx.appcompat.widget.ScrollingTabContainerView); | |
public onAnimationEnd(animation: globalAndroid.animation.Animator): void; | |
public constructor(); | |
public onAnimationStart(animation: globalAndroid.animation.Animator): void; | |
public onAnimationEnd(animator: globalAndroid.animation.Animator): void; | |
public onAnimationCancel(animation: globalAndroid.animation.Animator): void; | |
public onAnimationEnd(animation: globalAndroid.animation.Animator, isReverse: boolean): void; | |
public onAnimationStart(animation: globalAndroid.animation.Animator, isReverse: boolean): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class SearchView extends androidx.appcompat.widget.LinearLayoutCompat implements androidx.appcompat.view.CollapsibleActionView { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public setQueryRefinementEnabled(enable: boolean): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public setInputType(inputType: number): void; | |
public isSubmitButtonEnabled(): boolean; | |
public getTextDirection(): number; | |
public getQueryHint(): string; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public requestFocus(direction: number, previouslyFocusedRect: globalAndroid.graphics.Rect): boolean; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
public onActionViewExpanded(): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestFocus(direction: number): boolean; | |
public clearFocus(): void; | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public setOnQueryTextFocusChangeListener(listener: globalAndroid.view.View.OnFocusChangeListener): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public onActionViewCollapsed(): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public isLayoutDirectionResolved(): boolean; | |
public setImeOptions(imeOptions: number): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setIconifiedByDefault(iconified: boolean): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public getInputType(): number; | |
public setSuggestionsAdapter(adapter: androidx.cursoradapter.widget.CursorAdapter): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public setSubmitButtonEnabled(enabled: boolean): void; | |
public setOnQueryTextListener(listener: androidx.appcompat.widget.SearchView.OnQueryTextListener): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setOnCloseListener(listener: androidx.appcompat.widget.SearchView.OnCloseListener): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public setQuery(query: string, submit: boolean): void; | |
public getImeOptions(): number; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public getQuery(): string; | |
public getParent(): globalAndroid.view.ViewParent; | |
public isIconified(): boolean; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public isQueryRefinementEnabled(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getTextAlignment(): number; | |
public setIconified(iconify: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public setQueryHint(hint: string): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public isIconfiedByDefault(): boolean; | |
public setOnSearchClickListener(listener: globalAndroid.view.View.OnClickListener): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public getMaxWidth(): number; | |
public canResolveTextAlignment(): boolean; | |
public setAppSearchData(appSearchData: globalAndroid.os.Bundle): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public requestLayout(): void; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public setMaxWidth(maxpixels: number): void; | |
public setOnSuggestionListener(listener: androidx.appcompat.widget.SearchView.OnSuggestionListener): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public requestFocus(): boolean; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public onWindowFocusChanged(hasWindowFocus: boolean): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public getSuggestionsAdapter(): androidx.cursoradapter.widget.CursorAdapter; | |
public setSearchableInfo(searchable: globalAndroid.app.SearchableInfo): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
} | |
export module SearchView { | |
export class OnCloseListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.OnCloseListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.SearchView$OnCloseListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onClose(): boolean; | |
}); | |
public constructor(); | |
public onClose(): boolean; | |
} | |
export class OnQueryTextListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.OnQueryTextListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.SearchView$OnQueryTextListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onQueryTextSubmit(string0: string): boolean; | |
onQueryTextChange(string0: string): boolean; | |
}); | |
public constructor(); | |
public onQueryTextChange(string0: string): boolean; | |
public onQueryTextSubmit(string0: string): boolean; | |
} | |
export class OnSuggestionListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.OnSuggestionListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.SearchView$OnSuggestionListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onSuggestionSelect(int0: number): boolean; | |
onSuggestionClick(int0: number): boolean; | |
}); | |
public constructor(); | |
public onSuggestionClick(int0: number): boolean; | |
public onSuggestionSelect(int0: number): boolean; | |
} | |
export class PreQAutoCompleteTextViewReflector extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.PreQAutoCompleteTextViewReflector>; | |
} | |
export class SavedState extends androidx.customview.view.AbsSavedState { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.SavedState>; | |
public static CREATOR: globalAndroid.os.Parcelable.Creator<androidx.appcompat.widget.SearchView.SavedState>; | |
public constructor(source: globalAndroid.os.Parcel); | |
public toString(): string; | |
public writeToParcel(dest: globalAndroid.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public constructor(superState: globalAndroid.os.Parcelable); | |
public constructor(source: globalAndroid.os.Parcel, loader: java.lang.ClassLoader); | |
} | |
export class SearchAutoComplete extends androidx.appcompat.widget.AppCompatAutoCompleteTextView { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.SearchAutoComplete>; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyle: number); | |
public sendAccessibilityEvent(eventType: number): void; | |
public replaceText(text: string): void; | |
public onFilterComplete(count: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public setSupportBackgroundTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onWindowFocusChanged(hasWindowFocus: boolean): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public onFinishInflate(): void; | |
public setSupportBackgroundTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public setThreshold(threshold: number): void; | |
public onPreDraw(): boolean; | |
public getSupportBackgroundTintList(): globalAndroid.content.res.ColorStateList; | |
public getSupportBackgroundTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public enoughToFilter(): boolean; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public performCompletion(): void; | |
public onCreateInputConnection(outAttrs: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
public onFocusChanged(focused: boolean, direction: number, previouslyFocusedRect: globalAndroid.graphics.Rect): void; | |
public onKeyPreIme(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number, popupTheme: globalAndroid.content.res.Resources.Theme); | |
public constructor(context: globalAndroid.content.Context); | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onCreateInputConnection(editorInfo: globalAndroid.view.inputmethod.EditorInfo): globalAndroid.view.inputmethod.InputConnection; | |
} | |
export class UpdatableTouchDelegate extends globalAndroid.view.TouchDelegate { | |
public static class: java.lang.Class<androidx.appcompat.widget.SearchView.UpdatableTouchDelegate>; | |
public constructor(bounds: globalAndroid.graphics.Rect, delegateView: globalAndroid.view.View); | |
public setBounds(desiredBounds: globalAndroid.graphics.Rect, actualBounds: globalAndroid.graphics.Rect): void; | |
public constructor(targetBounds: globalAndroid.graphics.Rect, actualBounds: globalAndroid.graphics.Rect, delegateView: globalAndroid.view.View); | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ShareActionProvider extends androidx.core.view.ActionProvider { | |
public static class: java.lang.Class<androidx.appcompat.widget.ShareActionProvider>; | |
public static DEFAULT_SHARE_HISTORY_FILE_NAME: string; | |
public setOnShareTargetSelectedListener(listener: androidx.appcompat.widget.ShareActionProvider.OnShareTargetSelectedListener): void; | |
public onPrepareSubMenu(subMenu: globalAndroid.view.SubMenu): void; | |
public constructor(context: globalAndroid.content.Context); | |
public setShareHistoryFileName(shareHistoryFile: string): void; | |
public onCreateActionView(): globalAndroid.view.View; | |
public hasSubMenu(): boolean; | |
public setShareIntent(shareIntent: globalAndroid.content.Intent): void; | |
public onCreateActionView(forItem: globalAndroid.view.MenuItem): globalAndroid.view.View; | |
} | |
export module ShareActionProvider { | |
export class OnShareTargetSelectedListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ShareActionProvider.OnShareTargetSelectedListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ShareActionProvider$OnShareTargetSelectedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onShareTargetSelected(shareActionProvider0: androidx.appcompat.widget.ShareActionProvider, intent1: globalAndroid.content.Intent): boolean; | |
}); | |
public constructor(); | |
public onShareTargetSelected(shareActionProvider0: androidx.appcompat.widget.ShareActionProvider, intent1: globalAndroid.content.Intent): boolean; | |
} | |
export class ShareActivityChooserModelPolicy extends java.lang.Object implements androidx.appcompat.widget.ActivityChooserModel.OnChooseActivityListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ShareActionProvider.ShareActivityChooserModelPolicy>; | |
public onChooseActivity(host: androidx.appcompat.widget.ActivityChooserModel, intent: globalAndroid.content.Intent): boolean; | |
} | |
export class ShareMenuItemOnMenuItemClickListener extends java.lang.Object implements globalAndroid.view.MenuItem.OnMenuItemClickListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.ShareActionProvider.ShareMenuItemOnMenuItemClickListener>; | |
public onMenuItemClick(item: globalAndroid.view.MenuItem): boolean; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class SuggestionsAdapter extends androidx.cursoradapter.widget.ResourceCursorAdapter implements globalAndroid.view.View.OnClickListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.SuggestionsAdapter>; | |
public setQueryRefinement(refineWhat: number): void; | |
public bindView(view: globalAndroid.view.View, context: globalAndroid.content.Context, cursor: globalAndroid.database.Cursor): void; | |
public getCursor(): globalAndroid.database.Cursor; | |
public getFilter(): globalAndroid.widget.Filter; | |
public constructor(context: globalAndroid.content.Context, c: globalAndroid.database.Cursor, autoRequery: boolean); | |
public constructor(); | |
public getView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
/** @deprecated */ | |
public constructor(context: globalAndroid.content.Context, layout: number, c: globalAndroid.database.Cursor, autoRequery: boolean); | |
public notifyDataSetInvalidated(): void; | |
public bindView(view0: globalAndroid.view.View, context1: globalAndroid.content.Context, cursor2: globalAndroid.database.Cursor): void; | |
public areAllItemsEnabled(): boolean; | |
public constructor(context: globalAndroid.content.Context, layout: number, c: globalAndroid.database.Cursor, flags: number); | |
/** @deprecated */ | |
public constructor(context: globalAndroid.content.Context, c: globalAndroid.database.Cursor); | |
public changeCursor(cursor: globalAndroid.database.Cursor): void; | |
public close(): void; | |
public notifyDataSetChanged(): void; | |
public static getColumnString(cursor: globalAndroid.database.Cursor, columnName: string): string; | |
/** @deprecated */ | |
public constructor(context: globalAndroid.content.Context, layout: number, c: globalAndroid.database.Cursor); | |
public newView(context: globalAndroid.content.Context, cursor: globalAndroid.database.Cursor, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public onClick(v: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, searchView: androidx.appcompat.widget.SearchView, searchable: globalAndroid.app.SearchableInfo, outsideDrawablesCache: java.util.WeakHashMap<string,globalAndroid.graphics.drawable.Drawable.ConstantState>); | |
public hasStableIds(): boolean; | |
public getQueryRefinement(): number; | |
public changeCursor(c: globalAndroid.database.Cursor): void; | |
public convertToString(cursor: globalAndroid.database.Cursor): string; | |
public runQueryOnBackgroundThread(constraint: string): globalAndroid.database.Cursor; | |
public isEnabled(position: number): boolean; | |
public constructor(context: globalAndroid.content.Context, c: globalAndroid.database.Cursor, flags: number); | |
public getDropDownView(position: number, convertView: globalAndroid.view.View, parent: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
} | |
export module SuggestionsAdapter { | |
export class ChildViewCache extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SuggestionsAdapter.ChildViewCache>; | |
public mText1: globalAndroid.widget.TextView; | |
public mText2: globalAndroid.widget.TextView; | |
public mIcon1: globalAndroid.widget.ImageView; | |
public mIcon2: globalAndroid.widget.ImageView; | |
public mIconRefine: globalAndroid.widget.ImageView; | |
public constructor(v: globalAndroid.view.View); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class SwitchCompat extends globalAndroid.widget.CompoundButton { | |
public static class: java.lang.Class<androidx.appcompat.widget.SwitchCompat>; | |
public setThumbTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setSwitchTypeface(tf: globalAndroid.graphics.Typeface, style: number): void; | |
public setSwitchMinWidth(pixels: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTextOff(): string; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setChecked(checked: boolean): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onPreDraw(): boolean; | |
public setSwitchPadding(pixels: number): void; | |
public getTrackTintList(): globalAndroid.content.res.ColorStateList; | |
public setThumbTextPadding(pixels: number): void; | |
public draw(c: globalAndroid.graphics.Canvas): void; | |
public setShowText(showText: boolean): void; | |
public setTrackResource(resId: number): void; | |
public setTextOn(textOn: string): void; | |
public getTextOn(): string; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public getThumbTintList(): globalAndroid.content.res.ColorStateList; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setThumbTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public getSplitTrack(): boolean; | |
public setTrackTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public onPopulateAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public getTrackTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void; | |
public verifyDrawable(who: globalAndroid.graphics.drawable.Drawable): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setSplitTrack(splitTrack: boolean): void; | |
public onDraw(canvas: globalAndroid.graphics.Canvas): void; | |
public drawableStateChanged(): void; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isChecked(): boolean; | |
public jumpDrawablesToCurrentState(): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public getThumbTextPadding(): number; | |
public setTrackDrawable(track: globalAndroid.graphics.drawable.Drawable): void; | |
public setSwitchTypeface(typeface: globalAndroid.graphics.Typeface): void; | |
public toggle(): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public onCreateDrawableState(extraSpace: number): native.Array<number>; | |
public getSwitchMinWidth(): number; | |
public getThumbTintMode(): globalAndroid.graphics.PorterDuff.Mode; | |
public getSwitchPadding(): number; | |
public getTrackDrawable(): globalAndroid.graphics.drawable.Drawable; | |
public getCompoundPaddingLeft(): number; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public getThumbDrawable(): globalAndroid.graphics.drawable.Drawable; | |
public onInitializeAccessibilityEvent(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public drawableHotspotChanged(x: number, y: number): void; | |
public setThumbDrawable(thumb: globalAndroid.graphics.drawable.Drawable): void; | |
public setTrackTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public onInitializeAccessibilityNodeInfo(info: globalAndroid.view.accessibility.AccessibilityNodeInfo): void; | |
public onTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public getShowText(): boolean; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setSwitchTextAppearance(context: globalAndroid.content.Context, resid: number): void; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public setTextOff(textOff: string): void; | |
public setCustomSelectionActionModeCallback(actionModeCallback: globalAndroid.view.ActionMode.Callback): void; | |
public setThumbResource(resId: number): void; | |
public getCompoundPaddingRight(): number; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class SwitchUsageCodeDetector { | |
public static class: java.lang.Class<androidx.appcompat.widget.SwitchUsageCodeDetector>; | |
public static Companion: androidx.appcompat.widget.SwitchUsageCodeDetector.Companion; | |
public createUastHandler(context: com.android.tools.lint.detector.api.JavaContext): androidx.appcompat.widget.SwitchUsageCodeDetector.SwitchUsageUastHandler; | |
public getApplicableUastTypes(): java.util.List<java.lang.Class<any>>; | |
public constructor(); | |
} | |
export module SwitchUsageCodeDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SwitchUsageCodeDetector.Companion>; | |
public getUSING_CORE_SWITCH_CODE$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
export class SwitchUsageUastHandler { | |
public static class: java.lang.Class<androidx.appcompat.widget.SwitchUsageCodeDetector.SwitchUsageUastHandler>; | |
public visitClass(node: org.jetbrains.uast.UClass): void; | |
public visitVariable(node: org.jetbrains.uast.UVariable): void; | |
public constructor(context: com.android.tools.lint.detector.api.JavaContext); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class SwitchUsageXmlDetector { | |
public static class: java.lang.Class<androidx.appcompat.widget.SwitchUsageXmlDetector>; | |
public static Companion: androidx.appcompat.widget.SwitchUsageXmlDetector.Companion; | |
public getApplicableElements(): java.util.Collection<string>; | |
public visitElement(context: com.android.tools.lint.detector.api.XmlContext, element: org.w3c.dom.Element): void; | |
public constructor(); | |
} | |
export module SwitchUsageXmlDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.SwitchUsageXmlDetector.Companion>; | |
public getUSING_CORE_SWITCH_XML$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TextViewCompoundDrawablesApiDetector extends androidx.appcompat.BaseMethodDeprecationDetector { | |
public static class: java.lang.Class<androidx.appcompat.widget.TextViewCompoundDrawablesApiDetector>; | |
public static Companion: androidx.appcompat.widget.TextViewCompoundDrawablesApiDetector.Companion; | |
public constructor(issue: com.android.tools.lint.detector.api.Issue, conditions: native.Array<androidx.appcompat.BaseMethodDeprecationDetector.DeprecationCondition>); | |
public constructor(); | |
} | |
export module TextViewCompoundDrawablesApiDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.TextViewCompoundDrawablesApiDetector.Companion>; | |
public getNOT_USING_COMPAT_TEXT_VIEW_DRAWABLE_APIS$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TextViewCompoundDrawablesXmlDetector { | |
public static class: java.lang.Class<androidx.appcompat.widget.TextViewCompoundDrawablesXmlDetector>; | |
public static Companion: androidx.appcompat.widget.TextViewCompoundDrawablesXmlDetector.Companion; | |
public getApplicableElements(): java.util.Collection<string>; | |
public visitElement(context: com.android.tools.lint.detector.api.XmlContext, element: org.w3c.dom.Element): void; | |
public constructor(); | |
} | |
export module TextViewCompoundDrawablesXmlDetector { | |
export class Companion extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.TextViewCompoundDrawablesXmlDetector.Companion>; | |
public getATTRS_MAP$appcompat_lint(): java.util.Map<string,string>; | |
public getNOT_USING_COMPAT_TEXT_VIEW_DRAWABLE_ATTRS$appcompat_lint(): com.android.tools.lint.detector.api.Issue; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ThemeUtils extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ThemeUtils>; | |
public static createDisabledStateList(textColor: number, disabledTextColor: number): globalAndroid.content.res.ColorStateList; | |
public static getThemeAttrColorStateList(context: globalAndroid.content.Context, attr: number): globalAndroid.content.res.ColorStateList; | |
public static checkAppCompatTheme(view: globalAndroid.view.View, context: globalAndroid.content.Context): void; | |
public static getDisabledThemeAttrColor(context: globalAndroid.content.Context, attr: number): number; | |
public static getThemeAttrColor(context: globalAndroid.content.Context, attr: number): number; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ThemedSpinnerAdapter extends java.lang.Object implements globalAndroid.widget.SpinnerAdapter { | |
public static class: java.lang.Class<androidx.appcompat.widget.ThemedSpinnerAdapter>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ThemedSpinnerAdapter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setDropDownViewTheme(theme0: globalAndroid.content.res.Resources.Theme): void; | |
getDropDownViewTheme(): globalAndroid.content.res.Resources.Theme; | |
getDropDownView(int0: number, view1: globalAndroid.view.View, viewGroup2: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
registerDataSetObserver(dataSetObserver0: globalAndroid.database.DataSetObserver): void; | |
unregisterDataSetObserver(dataSetObserver0: globalAndroid.database.DataSetObserver): void; | |
getCount(): number; | |
getItem(int0: number): any; | |
getItemId(int0: number): number; | |
hasStableIds(): boolean; | |
getView(int0: number, view1: globalAndroid.view.View, viewGroup2: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
getItemViewType(int0: number): number; | |
getViewTypeCount(): number; | |
isEmpty(): boolean; | |
getAutofillOptions(): native.Array<string>; | |
}); | |
public constructor(); | |
public static NO_SELECTION: number; | |
public static IGNORE_ITEM_VIEW_TYPE: number; | |
public getView(int0: number, view1: globalAndroid.view.View, viewGroup2: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getItem(int0: number): any; | |
public getViewTypeCount(): number; | |
public getAutofillOptions(): native.Array<string>; | |
public getCount(): number; | |
public unregisterDataSetObserver(dataSetObserver0: globalAndroid.database.DataSetObserver): void; | |
public setDropDownViewTheme(theme0: globalAndroid.content.res.Resources.Theme): void; | |
public hasStableIds(): boolean; | |
public getItemViewType(int0: number): number; | |
public getDropDownViewTheme(): globalAndroid.content.res.Resources.Theme; | |
public getDropDownView(int0: number, view1: globalAndroid.view.View, viewGroup2: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public getItemId(int0: number): number; | |
public registerDataSetObserver(dataSetObserver0: globalAndroid.database.DataSetObserver): void; | |
public isEmpty(): boolean; | |
} | |
export module ThemedSpinnerAdapter { | |
export class Helper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ThemedSpinnerAdapter.Helper>; | |
public setDropDownViewTheme(theme: globalAndroid.content.res.Resources.Theme): void; | |
public constructor(context: globalAndroid.content.Context); | |
public getDropDownViewInflater(): globalAndroid.view.LayoutInflater; | |
public getDropDownViewTheme(): globalAndroid.content.res.Resources.Theme; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TintContextWrapper extends globalAndroid.content.ContextWrapper { | |
public static class: java.lang.Class<androidx.appcompat.widget.TintContextWrapper>; | |
public getResources(): globalAndroid.content.res.Resources; | |
public static wrap(context: globalAndroid.content.Context): globalAndroid.content.Context; | |
public setTheme(resid: number): void; | |
public getTheme(): globalAndroid.content.res.Resources.Theme; | |
public getAssets(): globalAndroid.content.res.AssetManager; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TintInfo extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.TintInfo>; | |
public mTintList: globalAndroid.content.res.ColorStateList; | |
public mTintMode: globalAndroid.graphics.PorterDuff.Mode; | |
public mHasTintMode: boolean; | |
public mHasTintList: boolean; | |
public constructor(); | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TintResources extends androidx.appcompat.widget.ResourcesWrapper { | |
public static class: java.lang.Class<androidx.appcompat.widget.TintResources>; | |
public getDrawable(id: number, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public constructor(context: globalAndroid.content.Context, res: globalAndroid.content.res.Resources); | |
/** @deprecated */ | |
public constructor(assets: globalAndroid.content.res.AssetManager, metrics: globalAndroid.util.DisplayMetrics, config: globalAndroid.content.res.Configuration); | |
public constructor(resources: globalAndroid.content.res.Resources); | |
public getDrawable(id: number): globalAndroid.graphics.drawable.Drawable; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TintTypedArray extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.TintTypedArray>; | |
public getColorStateList(index: number): globalAndroid.content.res.ColorStateList; | |
public recycle(): void; | |
public getDimensionPixelOffset(index: number, defValue: number): number; | |
public getValue(index: number, outValue: globalAndroid.util.TypedValue): boolean; | |
public static obtainStyledAttributes(context: globalAndroid.content.Context, resid: number, attrs: native.Array<number>): androidx.appcompat.widget.TintTypedArray; | |
public getTextArray(index: number): native.Array<string>; | |
public getType(index: number): number; | |
public getPositionDescription(): string; | |
public getDrawable(index: number): globalAndroid.graphics.drawable.Drawable; | |
public getDrawableIfKnown(index: number): globalAndroid.graphics.drawable.Drawable; | |
public static obtainStyledAttributes(context: globalAndroid.content.Context, set: globalAndroid.util.AttributeSet, attrs: native.Array<number>, defStyleAttr: number, defStyleRes: number): androidx.appcompat.widget.TintTypedArray; | |
public getNonResourceString(index: number): string; | |
public getDimension(index: number, defValue: number): number; | |
public peekValue(index: number): globalAndroid.util.TypedValue; | |
public getIndexCount(): number; | |
public getFont(index: number, style: number, fontCallback: androidx.core.content.res.ResourcesCompat.FontCallback): globalAndroid.graphics.Typeface; | |
public getIndex(at: number): number; | |
public getResources(): globalAndroid.content.res.Resources; | |
public getWrappedTypeArray(): globalAndroid.content.res.TypedArray; | |
public length(): number; | |
public getBoolean(index: number, defValue: boolean): boolean; | |
public getChangingConfigurations(): number; | |
public hasValue(index: number): boolean; | |
public getString(index: number): string; | |
public getInteger(index: number, defValue: number): number; | |
public getLayoutDimension(index: number, defValue: number): number; | |
public getFloat(index: number, defValue: number): number; | |
public getDimensionPixelSize(index: number, defValue: number): number; | |
public getColor(index: number, defValue: number): number; | |
public getFraction(index: number, base: number, pbase: number, defValue: number): number; | |
public getText(index: number): string; | |
public getLayoutDimension(index: number, name: string): number; | |
public getInt(index: number, defValue: number): number; | |
public getResourceId(index: number, defValue: number): number; | |
public static obtainStyledAttributes(context: globalAndroid.content.Context, set: globalAndroid.util.AttributeSet, attrs: native.Array<number>): androidx.appcompat.widget.TintTypedArray; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class Toolbar extends globalAndroid.view.ViewGroup { | |
public static class: java.lang.Class<androidx.appcompat.widget.Toolbar>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public setContentInsetStartWithNavigation(insetStartWithNavigation: number): void; | |
public onHoverEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public setSubtitleTextColor(color: globalAndroid.content.res.ColorStateList): void; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public getTextDirection(): number; | |
public setLogoDescription(description: string): void; | |
public getNavigationContentDescription(): string; | |
public setTitleTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
public setMenuCallbacks(pcb: androidx.appcompat.view.menu.MenuPresenter.Callback, mcb: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public getCollapseContentDescription(): string; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): globalAndroid.view.ViewGroup.LayoutParams; | |
public getTitleMarginStart(): number; | |
public getMenu(): globalAndroid.view.Menu; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public hideOverflowMenu(): boolean; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): androidx.appcompat.widget.Toolbar.LayoutParams; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): androidx.appcompat.widget.Toolbar.LayoutParams; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public setTitleMarginTop(margin: number): void; | |
public getSubtitle(): string; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public getTitleMarginTop(): number; | |
public isLayoutDirectionResolved(): boolean; | |
public setMenu(menu: androidx.appcompat.view.menu.MenuBuilder, outerPresenter: androidx.appcompat.widget.ActionMenuPresenter): void; | |
public getContentInsetRight(): number; | |
public getCurrentContentInsetEnd(): number; | |
public onRtlPropertiesChanged(layoutDirection: number): void; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void; | |
public setTitleMarginEnd(margin: number): void; | |
public setTitleMargin(start: number, top: number, end: number, bottom: number): void; | |
public setCollapseContentDescription(resId: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public getTitleMarginEnd(): number; | |
public setOverflowIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public setContentInsetsRelative(contentInsetStart: number, contentInsetEnd: number): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public setCollapseIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setNavigationOnClickListener(listener: globalAndroid.view.View.OnClickListener): void; | |
public setLogo(resId: number): void; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public getCurrentContentInsetStart(): number; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public dismissPopupMenus(): void; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setTitleTextColor(color: number): void; | |
public generateDefaultLayoutParams(): androidx.appcompat.widget.Toolbar.LayoutParams; | |
public setPopupTheme(resId: number): void; | |
public setTitle(resId: number): void; | |
public isTitleTruncated(): boolean; | |
public setNavigationContentDescription(description: string): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public canShowOverflowMenu(): boolean; | |
public hasExpandedActionView(): boolean; | |
public getTitle(): string; | |
public setTitleTextColor(color: globalAndroid.content.res.ColorStateList): void; | |
public isOverflowMenuShowing(): boolean; | |
public setSubtitle(subtitle: string): void; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onHoverEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public isOverflowMenuShowPending(): boolean; | |
public getContentInsetStart(): number; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
public getWrapper(): androidx.appcompat.widget.DecorToolbar; | |
public constructor(context: globalAndroid.content.Context); | |
public showOverflowMenu(): boolean; | |
public getContentInsetLeft(): number; | |
public checkLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getTitleMarginBottom(): number; | |
public setCollapseContentDescription(description: string): void; | |
public getOverflowIcon(): globalAndroid.graphics.drawable.Drawable; | |
public setSubtitleTextAppearance(context: globalAndroid.content.Context, resId: number): void; | |
public setLogoDescription(resId: number): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public setTitleMarginBottom(margin: number): void; | |
public setCollapsible(collapsible: boolean): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public setSubtitleTextColor(color: number): void; | |
public getContentInsetStartWithNavigation(): number; | |
public getLogo(): globalAndroid.graphics.drawable.Drawable; | |
public getContentInsetEndWithActions(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public collapseActionView(): void; | |
public getTextAlignment(): number; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): globalAndroid.view.ViewGroup.LayoutParams; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getContentInsetEnd(): number; | |
public setContentInsetEndWithActions(insetEndWithActions: number): void; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public setTitleMarginStart(margin: number): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public setLogo(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public generateDefaultLayoutParams(): globalAndroid.view.ViewGroup.LayoutParams; | |
public setNavigationContentDescription(resId: number): void; | |
public getCurrentContentInsetRight(): number; | |
public getCollapseIcon(): globalAndroid.graphics.drawable.Drawable; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public getNavigationIcon(): globalAndroid.graphics.drawable.Drawable; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public requestLayout(): void; | |
public setNavigationIcon(resId: number): void; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public setContentInsetsAbsolute(contentInsetLeft: number, contentInsetRight: number): void; | |
public setCollapseIcon(resId: number): void; | |
public setTitle(title: string): void; | |
public inflateMenu(resId: number): void; | |
public getLogoDescription(): string; | |
public setNavigationIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public setSubtitle(resId: number): void; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public setOnMenuItemClickListener(listener: androidx.appcompat.widget.Toolbar.OnMenuItemClickListener): void; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public onTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public canResolveLayoutDirection(): boolean; | |
public getCurrentContentInsetLeft(): number; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getPopupTheme(): number; | |
} | |
export module Toolbar { | |
export class ExpandedActionViewMenuPresenter extends java.lang.Object implements androidx.appcompat.view.menu.MenuPresenter { | |
public static class: java.lang.Class<androidx.appcompat.widget.Toolbar.ExpandedActionViewMenuPresenter>; | |
public getMenuView(root: globalAndroid.view.ViewGroup): androidx.appcompat.view.menu.MenuView; | |
public updateMenuView(cleared: boolean): void; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public expandItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public onCloseMenu(menu: androidx.appcompat.view.menu.MenuBuilder, allMenusAreClosing: boolean): void; | |
public collapseItemActionView(menu: androidx.appcompat.view.menu.MenuBuilder, item: androidx.appcompat.view.menu.MenuItemImpl): boolean; | |
public getId(): number; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public onSubMenuSelected(subMenu: androidx.appcompat.view.menu.SubMenuBuilder): boolean; | |
public initForMenu(context: globalAndroid.content.Context, menu: androidx.appcompat.view.menu.MenuBuilder): void; | |
public setCallback(cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public flagActionItems(): boolean; | |
} | |
export class LayoutParams extends androidx.appcompat.app.ActionBar.LayoutParams { | |
public static class: java.lang.Class<androidx.appcompat.widget.Toolbar.LayoutParams>; | |
public constructor(source: globalAndroid.view.ViewGroup.LayoutParams); | |
public constructor(c: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public constructor(width: number, height: number, gravity: number); | |
public constructor(gravity: number); | |
public constructor(source: androidx.appcompat.app.ActionBar.LayoutParams); | |
public constructor(source: androidx.appcompat.widget.Toolbar.LayoutParams); | |
public constructor(width: number, height: number); | |
public constructor(source: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
} | |
export class OnMenuItemClickListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.Toolbar.OnMenuItemClickListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.Toolbar$OnMenuItemClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onMenuItemClick(menuItem0: globalAndroid.view.MenuItem): boolean; | |
}); | |
public constructor(); | |
public onMenuItemClick(menuItem0: globalAndroid.view.MenuItem): boolean; | |
} | |
export class SavedState extends androidx.customview.view.AbsSavedState { | |
public static class: java.lang.Class<androidx.appcompat.widget.Toolbar.SavedState>; | |
public static CREATOR: globalAndroid.os.Parcelable.Creator<androidx.appcompat.widget.Toolbar.SavedState>; | |
public constructor(source: globalAndroid.os.Parcel); | |
public writeToParcel(dest: globalAndroid.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public constructor(superState: globalAndroid.os.Parcelable); | |
public writeToParcel(out: globalAndroid.os.Parcel, flags: number): void; | |
public constructor(source: globalAndroid.os.Parcel, loader: java.lang.ClassLoader); | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ToolbarWidgetWrapper extends java.lang.Object implements androidx.appcompat.widget.DecorToolbar { | |
public static class: java.lang.Class<androidx.appcompat.widget.ToolbarWidgetWrapper>; | |
public setHomeButtonEnabled(enable: boolean): void; | |
public setMenuCallbacks(actionMenuPresenterCallback: androidx.appcompat.view.menu.MenuPresenter.Callback, menuBuilderCallback: androidx.appcompat.view.menu.MenuBuilder.Callback): void; | |
public animateToVisibility(visibility: number): void; | |
public getHeight(): number; | |
public setDropdownSelectedPosition(position: number): void; | |
public hasLogo(): boolean; | |
public showOverflowMenu(): boolean; | |
public setDefaultNavigationContentDescription(defaultNavigationContentDescription: number): void; | |
public setupAnimatorToVisibility(visibility: number, duration: number): androidx.core.view.ViewPropertyAnimatorCompat; | |
public setIcon(resId: number): void; | |
public setVisibility(visible: number): void; | |
public restoreHierarchyState(toolbarStates: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public setCollapsible(collapsible: boolean): void; | |
public setIcon(d: globalAndroid.graphics.drawable.Drawable): void; | |
public getDropdownSelectedPosition(): number; | |
public collapseActionView(): void; | |
public getContext(): globalAndroid.content.Context; | |
public getMenu(): globalAndroid.view.Menu; | |
public hideOverflowMenu(): boolean; | |
public initIndeterminateProgress(): void; | |
public hasEmbeddedTabs(): boolean; | |
public getVisibility(): number; | |
public getSubtitle(): string; | |
public setMenuPrepared(): void; | |
public setNavigationContentDescription(resId: number): void; | |
public setEmbeddedTabView(tabView: androidx.appcompat.widget.ScrollingTabContainerView): void; | |
public initProgress(): void; | |
public setDisplayOptions(newOpts: number): void; | |
public saveHierarchyState(toolbarStates: globalAndroid.util.SparseArray<globalAndroid.os.Parcelable>): void; | |
public getNavigationMode(): number; | |
public getCustomView(): globalAndroid.view.View; | |
public setDropdownParams(adapter: globalAndroid.widget.SpinnerAdapter, listener: globalAndroid.widget.AdapterView.OnItemSelectedListener): void; | |
public getDisplayOptions(): number; | |
public setNavigationIcon(resId: number): void; | |
public setLogo(resId: number): void; | |
public setTitle(title: string): void; | |
public dismissPopupMenus(): void; | |
public setNavigationIcon(icon: globalAndroid.graphics.drawable.Drawable): void; | |
public setMenu(menu: globalAndroid.view.Menu, cb: androidx.appcompat.view.menu.MenuPresenter.Callback): void; | |
public setCustomView(view: globalAndroid.view.View): void; | |
public isTitleTruncated(): boolean; | |
public setLogo(d: globalAndroid.graphics.drawable.Drawable): void; | |
public getDropdownItemCount(): number; | |
public setNavigationContentDescription(description: string): void; | |
public canShowOverflowMenu(): boolean; | |
public constructor(toolbar: androidx.appcompat.widget.Toolbar, style: boolean); | |
public hasExpandedActionView(): boolean; | |
public getTitle(): string; | |
public hasIcon(): boolean; | |
public setDefaultNavigationIcon(defaultNavigationIcon: globalAndroid.graphics.drawable.Drawable): void; | |
public setSubtitle(subtitle: string): void; | |
public isOverflowMenuShowing(): boolean; | |
public constructor(toolbar: androidx.appcompat.widget.Toolbar, style: boolean, defaultNavigationContentDescription: number, defaultNavigationIcon: number); | |
public setBackgroundDrawable(d: globalAndroid.graphics.drawable.Drawable): void; | |
public isOverflowMenuShowPending(): boolean; | |
public setNavigationMode(mode: number): void; | |
public getViewGroup(): globalAndroid.view.ViewGroup; | |
public setWindowTitle(title: string): void; | |
public setWindowCallback(cb: globalAndroid.view.Window.Callback): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TooltipCompat extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.TooltipCompat>; | |
public static setTooltipText(view: globalAndroid.view.View, tooltipText: string): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TooltipCompatHandler extends java.lang.Object implements globalAndroid.view.View.OnLongClickListener, globalAndroid.view.View.OnHoverListener, globalAndroid.view.View.OnAttachStateChangeListener { | |
public static class: java.lang.Class<androidx.appcompat.widget.TooltipCompatHandler>; | |
public onHover(v: globalAndroid.view.View, event: globalAndroid.view.MotionEvent): boolean; | |
public onViewDetachedFromWindow(v: globalAndroid.view.View): void; | |
public onLongClick(v: globalAndroid.view.View): boolean; | |
public static setTooltipText(view: globalAndroid.view.View, tooltipText: string): void; | |
public onViewAttachedToWindow(v: globalAndroid.view.View): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class TooltipPopup extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.TooltipPopup>; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class VectorEnabledTintResources extends globalAndroid.content.res.Resources { | |
public static class: java.lang.Class<androidx.appcompat.widget.VectorEnabledTintResources>; | |
public static MAX_SDK_WHERE_REQUIRED: number; | |
public static shouldBeUsed(): boolean; | |
public static setCompatVectorFromResourcesEnabled(enabled: boolean): void; | |
public getDrawable(id: number, theme: globalAndroid.content.res.Resources.Theme): globalAndroid.graphics.drawable.Drawable; | |
public constructor(context: globalAndroid.content.Context, res: globalAndroid.content.res.Resources); | |
public static isCompatVectorFromResourcesEnabled(): boolean; | |
/** @deprecated */ | |
public constructor(assets: globalAndroid.content.res.AssetManager, metrics: globalAndroid.util.DisplayMetrics, config: globalAndroid.content.res.Configuration); | |
/** @deprecated */ | |
public getDrawable(id: number): globalAndroid.graphics.drawable.Drawable; | |
public getDrawable(id: number): globalAndroid.graphics.drawable.Drawable; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ViewStubCompat extends globalAndroid.view.View { | |
public static class: java.lang.Class<androidx.appcompat.widget.ViewStubCompat>; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public constructor(context: globalAndroid.content.Context); | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setOnInflateListener(inflateListener: androidx.appcompat.widget.ViewStubCompat.OnInflateListener): void; | |
public static inflate(context: globalAndroid.content.Context, resource: number, root: globalAndroid.view.ViewGroup): globalAndroid.view.View; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public dispatchDraw(canvas: globalAndroid.graphics.Canvas): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyle: number); | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public getLayoutInflater(): globalAndroid.view.LayoutInflater; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public setLayoutInflater(inflater: globalAndroid.view.LayoutInflater): void; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public getInflatedId(): number; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public setVisibility(visibility: number): void; | |
public setInflatedId(inflatedId: number): void; | |
public getLayoutResource(): number; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setLayoutResource(layoutResource: number): void; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public inflate(): globalAndroid.view.View; | |
} | |
export module ViewStubCompat { | |
export class OnInflateListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ViewStubCompat.OnInflateListener>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.ViewStubCompat$OnInflateListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onInflate(viewStubCompat0: androidx.appcompat.widget.ViewStubCompat, view1: globalAndroid.view.View): void; | |
}); | |
public constructor(); | |
public onInflate(viewStubCompat0: androidx.appcompat.widget.ViewStubCompat, view1: globalAndroid.view.View): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class ViewUtils extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.ViewUtils>; | |
public static makeOptionalFitsSystemWindows(view: globalAndroid.view.View): void; | |
public static computeFitSystemWindows(view: globalAndroid.view.View, inoutInsets: globalAndroid.graphics.Rect, outLocalInsets: globalAndroid.graphics.Rect): void; | |
public static isLayoutRtl(view: globalAndroid.view.View): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module appcompat { | |
export module widget { | |
export class WithHint extends java.lang.Object { | |
public static class: java.lang.Class<androidx.appcompat.widget.WithHint>; | |
/** | |
* Constructs a new instance of the androidx.appcompat.widget.WithHint interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
getHint(): string; | |
}); | |
public constructor(); | |
public getHint(): string; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module arch { | |
export module core { | |
export module executor { | |
export class ArchTaskExecutor extends androidx.arch.core.executor.TaskExecutor { | |
public static class: java.lang.Class<androidx.arch.core.executor.ArchTaskExecutor>; | |
public static getInstance(): androidx.arch.core.executor.ArchTaskExecutor; | |
public executeOnDiskIO(runnable0: java.lang.Runnable): void; | |
public setDelegate(taskExecutor: androidx.arch.core.executor.TaskExecutor): void; | |
public static getMainThreadExecutor(): java.util.concurrent.Executor; | |
public isMainThread(): boolean; | |
public postToMainThread(runnable: java.lang.Runnable): void; | |
public postToMainThread(runnable0: java.lang.Runnable): void; | |
public executeOnDiskIO(runnable: java.lang.Runnable): void; | |
public static getIOThreadExecutor(): java.util.concurrent.Executor; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module arch { | |
export module core { | |
export module executor { | |
export class DefaultTaskExecutor extends androidx.arch.core.executor.TaskExecutor { | |
public static class: java.lang.Class<androidx.arch.core.executor.DefaultTaskExecutor>; | |
public executeOnDiskIO(runnable0: java.lang.Runnable): void; | |
public constructor(); | |
public isMainThread(): boolean; | |
public postToMainThread(runnable: java.lang.Runnable): void; | |
public postToMainThread(runnable0: java.lang.Runnable): void; | |
public executeOnDiskIO(runnable: java.lang.Runnable): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module arch { | |
export module core { | |
export module executor { | |
export abstract class TaskExecutor extends java.lang.Object { | |
public static class: java.lang.Class<androidx.arch.core.executor.TaskExecutor>; | |
public executeOnMainThread(runnable: java.lang.Runnable): void; | |
public executeOnDiskIO(runnable0: java.lang.Runnable): void; | |
public constructor(); | |
public isMainThread(): boolean; | |
public postToMainThread(runnable0: java.lang.Runnable): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module arch { | |
export module core { | |
export module internal { | |
export class FastSafeIterableMap<K, V> extends androidx.arch.core.internal.SafeIterableMap<any,any> { | |
public static class: java.lang.Class<androidx.arch.core.internal.FastSafeIterableMap<any,any>>; | |
public remove(key: any): any; | |
public iterator(): java.util.Iterator<any>; | |
public contains(key: any): boolean; | |
public constructor(); | |
public spliterator(): java.util.Spliterator<any>; | |
public iterator(): java.util.Iterator<java.util.Map.Entry<any,any>>; | |
public get(k: any): androidx.arch.core.internal.SafeIterableMap.Entry<any,any>; | |
public ceil(k: any): java.util.Map.Entry<any,any>; | |
public putIfAbsent(key: any, v: any): any; | |
public forEach(action: any /* any*/): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module arch { | |
export module core { | |
export module internal { | |
export class SafeIterableMap<K, V> extends java.lang.Iterable<java.util.Map.Entry<any,any>> { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap<any,any>>; | |
public put(key: any, v: any): androidx.arch.core.internal.SafeIterableMap.Entry<any,any>; | |
public remove(key: any): any; | |
public descendingIterator(): java.util.Iterator<java.util.Map.Entry<any,any>>; | |
public equals(obj: any): boolean; | |
public eldest(): java.util.Map.Entry<any,any>; | |
public spliterator(): java.util.Spliterator<any>; | |
public iterator(): java.util.Iterator<java.util.Map.Entry<any,any>>; | |
public get(k: any): androidx.arch.core.internal.SafeIterableMap.Entry<any,any>; | |
public size(): number; | |
public putIfAbsent(key: any, v: any): any; | |
public iteratorWithAdditions(): androidx.arch.core.internal.SafeIterableMap.IteratorWithAdditions; | |
public toString(): string; | |
public iterator(): java.util.Iterator<any>; | |
public constructor(); | |
public newest(): java.util.Map.Entry<any,any>; | |
public hashCode(): number; | |
public forEach(action: any /* any*/): void; | |
} | |
export module SafeIterableMap { | |
export class AscendingIterator<K, V> extends androidx.arch.core.internal.SafeIterableMap.ListIterator<any,any> { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap.AscendingIterator<any,any>>; | |
public supportRemove(entry: androidx.arch.core.internal.SafeIterableMap.Entry<any,any>): void; | |
} | |
export class DescendingIterator<K, V> extends androidx.arch.core.internal.SafeIterableMap.ListIterator<any,any> { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap.DescendingIterator<any,any>>; | |
public supportRemove(entry: androidx.arch.core.internal.SafeIterableMap.Entry<any,any>): void; | |
} | |
export class Entry<K, V> extends java.util.Map.Entry<any,any> { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap.Entry<any,any>>; | |
public equals(obj: any): boolean; | |
public static comparingByValue(cmp: java.util.Comparator<any>): java.util.Comparator<any>; | |
public getValue(): any; | |
public setValue(value: any): any; | |
public getKey(): any; | |
public static comparingByValue(): java.util.Comparator<any>; | |
public hashCode(): number; | |
public static comparingByKey(): java.util.Comparator<any>; | |
public static comparingByKey(cmp: java.util.Comparator<any>): java.util.Comparator<any>; | |
public toString(): string; | |
} | |
export class IteratorWithAdditions extends java.lang.Object { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap.IteratorWithAdditions>; | |
public next(): java.util.Map.Entry<any,any>; | |
public hasNext(): boolean; | |
public supportRemove(entry: androidx.arch.core.internal.SafeIterableMap.Entry<any,any>): void; | |
} | |
export abstract class ListIterator<K, V> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap.ListIterator<any,any>>; | |
public supportRemove(entry: androidx.arch.core.internal.SafeIterableMap.Entry<K,V>): void; | |
public next(): java.util.Map.Entry<K,V>; | |
public hasNext(): boolean; | |
} | |
export class SupportRemove<K, V> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.arch.core.internal.SafeIterableMap.SupportRemove<any,any>>; | |
/** | |
* Constructs a new instance of the androidx.arch.core.internal.SafeIterableMap$SupportRemove interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
supportRemove(entry0: androidx.arch.core.internal.SafeIterableMap.Entry<K,V>): void; | |
}); | |
public constructor(); | |
public supportRemove(entry0: androidx.arch.core.internal.SafeIterableMap.Entry<K,V>): void; | |
} | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module arch { | |
export module core { | |
export module util { | |
export class Function<I, O> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.arch.core.util.Function<any,any>>; | |
/** | |
* Constructs a new instance of the androidx.arch.core.util.Function<any,any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
apply(object0: I): O; | |
}); | |
public constructor(); | |
public apply(object0: I): O; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module asynclayoutinflater { | |
export module view { | |
export class AsyncLayoutInflater extends java.lang.Object { | |
public static class: java.lang.Class<androidx.asynclayoutinflater.view.AsyncLayoutInflater>; | |
public constructor(context: globalAndroid.content.Context); | |
public inflate(resid: number, parent: globalAndroid.view.ViewGroup, callback: androidx.asynclayoutinflater.view.AsyncLayoutInflater.OnInflateFinishedListener): void; | |
} | |
export module AsyncLayoutInflater { | |
export class BasicInflater extends globalAndroid.view.LayoutInflater { | |
public static class: java.lang.Class<androidx.asynclayoutinflater.view.AsyncLayoutInflater.BasicInflater>; | |
public onCreateView(name: string, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public cloneInContext(context0: globalAndroid.content.Context): globalAndroid.view.LayoutInflater; | |
public cloneInContext(newContext: globalAndroid.content.Context): globalAndroid.view.LayoutInflater; | |
public onCreateView(parent: globalAndroid.view.View, name: string, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
public onCreateView(viewContext: globalAndroid.content.Context, parent: globalAndroid.view.View, name: string, attrs: globalAndroid.util.AttributeSet): globalAndroid.view.View; | |
} | |
export class InflateRequest extends java.lang.Object { | |
public static class: java.lang.Class<androidx.asynclayoutinflater.view.AsyncLayoutInflater.InflateRequest>; | |
} | |
export class InflateThread extends java.lang.Thread { | |
public static class: java.lang.Class<androidx.asynclayoutinflater.view.AsyncLayoutInflater.InflateThread>; | |
public releaseRequest(obj: androidx.asynclayoutinflater.view.AsyncLayoutInflater.InflateRequest): void; | |
public enqueue(request: androidx.asynclayoutinflater.view.AsyncLayoutInflater.InflateRequest): void; | |
public obtainRequest(): androidx.asynclayoutinflater.view.AsyncLayoutInflater.InflateRequest; | |
public run(): void; | |
public static getInstance(): androidx.asynclayoutinflater.view.AsyncLayoutInflater.InflateThread; | |
public runInner(): void; | |
} | |
export class OnInflateFinishedListener extends java.lang.Object { | |
public static class: java.lang.Class<androidx.asynclayoutinflater.view.AsyncLayoutInflater.OnInflateFinishedListener>; | |
/** | |
* Constructs a new instance of the androidx.asynclayoutinflater.view.AsyncLayoutInflater$OnInflateFinishedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onInflateFinished(view0: globalAndroid.view.View, int1: number, viewGroup2: globalAndroid.view.ViewGroup): void; | |
}); | |
public constructor(); | |
public onInflateFinished(view0: globalAndroid.view.View, int1: number, viewGroup2: globalAndroid.view.ViewGroup): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class CardView extends globalAndroid.widget.FrameLayout { | |
public static class: java.lang.Class<androidx.cardview.widget.CardView>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public setMaxCardElevation(maxElevation: number): void; | |
public getCardElevation(): number; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public constructor(context: globalAndroid.content.Context); | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public getContentPaddingBottom(): number; | |
public getMaxCardElevation(): number; | |
public isLayoutRequested(): boolean; | |
public sendAccessibilityEvent(eventType: number): void; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public getTextDirection(): number; | |
public setCardBackgroundColor(color: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public setMinimumHeight(minHeight: number): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setMinimumWidth(minWidth: number): void; | |
public getTextAlignment(): number; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getContentPaddingTop(): number; | |
public getPreventCornerOverlap(): boolean; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public setRadius(radius: number): void; | |
public getRadius(): number; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public setUseCompatPadding(useCompatPadding: boolean): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public isLayoutDirectionResolved(): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public setContentPadding(left: number, top: number, right: number, bottom: number): void; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public getCardBackgroundColor(): globalAndroid.content.res.ColorStateList; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public setCardBackgroundColor(color: globalAndroid.content.res.ColorStateList): void; | |
public canResolveTextDirection(): boolean; | |
public canResolveTextAlignment(): boolean; | |
public setPaddingRelative(start: number, top: number, end: number, bottom: number): void; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public getContentPaddingLeft(): number; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public requestLayout(): void; | |
public setPreventCornerOverlap(preventCornerOverlap: boolean): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public setCardElevation(elevation: number): void; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public setPadding(left: number, top: number, right: number, bottom: number): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public getContentPaddingRight(): number; | |
public removeView(view: globalAndroid.view.View): void; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public getUseCompatPadding(): boolean; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public canResolveLayoutDirection(): boolean; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public getParent(): globalAndroid.view.ViewParent; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class CardViewApi17Impl extends androidx.cardview.widget.CardViewBaseImpl { | |
public static class: java.lang.Class<androidx.cardview.widget.CardViewApi17Impl>; | |
public updatePadding(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public getElevation(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public getBackgroundColor(cardView: androidx.cardview.widget.CardViewDelegate): globalAndroid.content.res.ColorStateList; | |
public setRadius(cardView: androidx.cardview.widget.CardViewDelegate, radius: number): void; | |
public setMaxElevation(cardView: androidx.cardview.widget.CardViewDelegate, maxElevation: number): void; | |
public onCompatPaddingChanged(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public initStatic(): void; | |
public getMaxElevation(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public setElevation(cardView: androidx.cardview.widget.CardViewDelegate, elevation: number): void; | |
public initialize(cardView: androidx.cardview.widget.CardViewDelegate, context: globalAndroid.content.Context, backgroundColor: globalAndroid.content.res.ColorStateList, radius: number, elevation: number, maxElevation: number): void; | |
public onPreventCornerOverlapChanged(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public getMinWidth(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public setBackgroundColor(cardView: androidx.cardview.widget.CardViewDelegate, color: globalAndroid.content.res.ColorStateList): void; | |
public getRadius(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public getMinHeight(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class CardViewApi21Impl extends java.lang.Object implements androidx.cardview.widget.CardViewImpl { | |
public static class: java.lang.Class<androidx.cardview.widget.CardViewApi21Impl>; | |
public updatePadding(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public getElevation(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public getBackgroundColor(cardView: androidx.cardview.widget.CardViewDelegate): globalAndroid.content.res.ColorStateList; | |
public setRadius(cardView: androidx.cardview.widget.CardViewDelegate, radius: number): void; | |
public setMaxElevation(cardView: androidx.cardview.widget.CardViewDelegate, maxElevation: number): void; | |
public onCompatPaddingChanged(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public initStatic(): void; | |
public getMaxElevation(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public setElevation(cardView: androidx.cardview.widget.CardViewDelegate, elevation: number): void; | |
public initialize(cardView: androidx.cardview.widget.CardViewDelegate, context: globalAndroid.content.Context, backgroundColor: globalAndroid.content.res.ColorStateList, radius: number, elevation: number, maxElevation: number): void; | |
public onPreventCornerOverlapChanged(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public getMinWidth(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public setBackgroundColor(cardView: androidx.cardview.widget.CardViewDelegate, color: globalAndroid.content.res.ColorStateList): void; | |
public getRadius(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public getMinHeight(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class CardViewBaseImpl extends java.lang.Object implements androidx.cardview.widget.CardViewImpl { | |
public static class: java.lang.Class<androidx.cardview.widget.CardViewBaseImpl>; | |
public updatePadding(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public getElevation(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public getBackgroundColor(cardView: androidx.cardview.widget.CardViewDelegate): globalAndroid.content.res.ColorStateList; | |
public setRadius(cardView: androidx.cardview.widget.CardViewDelegate, radius: number): void; | |
public onCompatPaddingChanged(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public setMaxElevation(cardView: androidx.cardview.widget.CardViewDelegate, maxElevation: number): void; | |
public initStatic(): void; | |
public getMaxElevation(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public setElevation(cardView: androidx.cardview.widget.CardViewDelegate, elevation: number): void; | |
public initialize(cardView: androidx.cardview.widget.CardViewDelegate, context: globalAndroid.content.Context, backgroundColor: globalAndroid.content.res.ColorStateList, radius: number, elevation: number, maxElevation: number): void; | |
public onPreventCornerOverlapChanged(cardView: androidx.cardview.widget.CardViewDelegate): void; | |
public getMinWidth(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public setBackgroundColor(cardView: androidx.cardview.widget.CardViewDelegate, color: globalAndroid.content.res.ColorStateList): void; | |
public getRadius(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
public getMinHeight(cardView: androidx.cardview.widget.CardViewDelegate): number; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class CardViewDelegate extends java.lang.Object { | |
public static class: java.lang.Class<androidx.cardview.widget.CardViewDelegate>; | |
/** | |
* Constructs a new instance of the androidx.cardview.widget.CardViewDelegate interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
setCardBackground(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
getCardBackground(): globalAndroid.graphics.drawable.Drawable; | |
getUseCompatPadding(): boolean; | |
getPreventCornerOverlap(): boolean; | |
setShadowPadding(int0: number, int1: number, int2: number, int3: number): void; | |
setMinWidthHeightInternal(int0: number, int1: number): void; | |
getCardView(): globalAndroid.view.View; | |
}); | |
public constructor(); | |
public setCardBackground(drawable0: globalAndroid.graphics.drawable.Drawable): void; | |
public getCardView(): globalAndroid.view.View; | |
public getCardBackground(): globalAndroid.graphics.drawable.Drawable; | |
public getUseCompatPadding(): boolean; | |
public setShadowPadding(int0: number, int1: number, int2: number, int3: number): void; | |
public getPreventCornerOverlap(): boolean; | |
public setMinWidthHeightInternal(int0: number, int1: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class CardViewImpl extends java.lang.Object { | |
public static class: java.lang.Class<androidx.cardview.widget.CardViewImpl>; | |
/** | |
* Constructs a new instance of the androidx.cardview.widget.CardViewImpl interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
initialize(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, context1: globalAndroid.content.Context, colorStateList2: globalAndroid.content.res.ColorStateList, float3: number, float4: number, float5: number): void; | |
setRadius(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, float1: number): void; | |
getRadius(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
setElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, float1: number): void; | |
getElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
initStatic(): void; | |
setMaxElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, float1: number): void; | |
getMaxElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
getMinWidth(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
getMinHeight(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
updatePadding(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): void; | |
onCompatPaddingChanged(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): void; | |
onPreventCornerOverlapChanged(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): void; | |
setBackgroundColor(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, colorStateList1: globalAndroid.content.res.ColorStateList): void; | |
getBackgroundColor(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): globalAndroid.content.res.ColorStateList; | |
}); | |
public constructor(); | |
public getMinHeight(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
public updatePadding(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): void; | |
public onCompatPaddingChanged(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): void; | |
public getElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
public onPreventCornerOverlapChanged(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): void; | |
public setElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, float1: number): void; | |
public initStatic(): void; | |
public setBackgroundColor(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, colorStateList1: globalAndroid.content.res.ColorStateList): void; | |
public setRadius(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, float1: number): void; | |
public getBackgroundColor(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): globalAndroid.content.res.ColorStateList; | |
public getMaxElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
public getRadius(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
public initialize(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, context1: globalAndroid.content.Context, colorStateList2: globalAndroid.content.res.ColorStateList, float3: number, float4: number, float5: number): void; | |
public getMinWidth(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate): number; | |
public setMaxElevation(cardViewDelegate0: androidx.cardview.widget.CardViewDelegate, float1: number): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class RoundRectDrawable extends globalAndroid.graphics.drawable.Drawable { | |
public static class: java.lang.Class<androidx.cardview.widget.RoundRectDrawable>; | |
/** @deprecated */ | |
public getOpacity(): number; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public onStateChange(stateSet: native.Array<number>): boolean; | |
public setAlpha(int0: number): void; | |
public draw(canvas0: globalAndroid.graphics.Canvas): void; | |
public setColor(color: globalAndroid.content.res.ColorStateList): void; | |
public setColorFilter(cf: globalAndroid.graphics.ColorFilter): void; | |
public onBoundsChange(bounds: globalAndroid.graphics.Rect): void; | |
public getColor(): globalAndroid.content.res.ColorStateList; | |
public getRadius(): number; | |
public onStateChange(state: native.Array<number>): boolean; | |
public setColorFilter(colorFilter0: globalAndroid.graphics.ColorFilter): void; | |
public getOutline(outline: any): void; | |
public setTintList(tint: globalAndroid.content.res.ColorStateList): void; | |
public setTintMode(tintMode: globalAndroid.graphics.PorterDuff.Mode): void; | |
/** @deprecated */ | |
public setColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setAlpha(alpha: number): void; | |
public getOpacity(): number; | |
public isStateful(): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module cardview { | |
export module widget { | |
export class RoundRectDrawableWithShadow extends globalAndroid.graphics.drawable.Drawable { | |
public static class: java.lang.Class<androidx.cardview.widget.RoundRectDrawableWithShadow>; | |
/** @deprecated */ | |
public getOpacity(): number; | |
public onStateChange(stateSet: native.Array<number>): boolean; | |
public draw(canvas: globalAndroid.graphics.Canvas): void; | |
public getPadding(padding: globalAndroid.graphics.Rect): boolean; | |
public setAlpha(int0: number): void; | |
public draw(canvas0: globalAndroid.graphics.Canvas): void; | |
public setColorFilter(cf: globalAndroid.graphics.ColorFilter): void; | |
public onBoundsChange(bounds: globalAndroid.graphics.Rect): void; | |
public onStateChange(state: native.Array<number>): boolean; | |
public setColorFilter(colorFilter0: globalAndroid.graphics.ColorFilter): void; | |
/** @deprecated */ | |
public setColorFilter(color: number, mode: globalAndroid.graphics.PorterDuff.Mode): void; | |
public setAlpha(alpha: number): void; | |
public getOpacity(): number; | |
public isStateful(): boolean; | |
} | |
export module RoundRectDrawableWithShadow { | |
export class RoundRectHelper extends java.lang.Object { | |
public static class: java.lang.Class<androidx.cardview.widget.RoundRectDrawableWithShadow.RoundRectHelper>; | |
/** | |
* Constructs a new instance of the androidx.cardview.widget.RoundRectDrawableWithShadow$RoundRectHelper interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
drawRoundRect(canvas0: globalAndroid.graphics.Canvas, rectF1: globalAndroid.graphics.RectF, float2: number, paint3: globalAndroid.graphics.Paint): void; | |
}); | |
public constructor(); | |
public drawRoundRect(canvas0: globalAndroid.graphics.Canvas, rectF1: globalAndroid.graphics.RectF, float2: number, paint3: globalAndroid.graphics.Paint): void; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class ArrayMap<K, V> extends java.util.Map<any,any> { | |
public static class: java.lang.Class<androidx.collection.ArrayMap<any,any>>; | |
public replace(key: any, oldValue: any, newValue: any): boolean; | |
public computeIfPresent(key: any, remappingFunction: any /* any<any,any,any>*/): any; | |
public constructor(map: androidx.collection.SimpleArrayMap<any,any>); | |
public replace(key: any, value: any): any; | |
public putAll(array: androidx.collection.SimpleArrayMap<any,any>): void; | |
public putAll(map: java.util.Map<any,any>): void; | |
public containsKey(key: any): boolean; | |
public remove(key: any): any; | |
public constructor(map: androidx.collection.SimpleArrayMap<any,any>); | |
public containsValue(value: any): boolean; | |
public forEach(action: any /* any<any,any>*/): void; | |
public compute(key: any, remappingFunction: any /* any<any,any,any>*/): any; | |
public putIfAbsent(key: any, value: any): any; | |
public retainAll(collection: java.util.Collection<any>): boolean; | |
public values(): java.util.Collection<any>; | |
public merge(key: any, value: any, remappingFunction: any /* any<any,any,any>*/): any; | |
public clear(): void; | |
public get(key: any): any; | |
public equals(object: any): boolean; | |
public entrySet(): java.util.Set<java.util.Map.Entry<any,any>>; | |
public keySet(): java.util.Set<any>; | |
public size(): number; | |
public isEmpty(): boolean; | |
public computeIfAbsent(key: any, mappingFunction: any /* any<any,any>*/): any; | |
public replaceAll(function0: any /* any<any,any,any>*/): void; | |
public constructor(); | |
public constructor(capacity: number); | |
public getOrDefault(key: any, defaultValue: any): any; | |
public containsAll(collection: java.util.Collection<any>): boolean; | |
public removeAll(collection: java.util.Collection<any>): boolean; | |
public put(key: any, value: any): any; | |
public remove(key: any, value: any): boolean; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class ArraySet<E> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.ArraySet<any>>; | |
public toArray(): native.Array<any>; | |
public iterator(): java.util.Iterator<E>; | |
public removeAt(index: number): E; | |
public spliterator(): java.util.Spliterator<E>; | |
public add(value: E): boolean; | |
public removeIf(filter: any /* any*/): boolean; | |
public stream(): java.util.stream.Stream<E>; | |
public retainAll(collection: java.util.Collection<any>): boolean; | |
public iterator(): java.util.Iterator<any>; | |
public removeAll(array: androidx.collection.ArraySet<any>): boolean; | |
public clear(): void; | |
public addAll(array: androidx.collection.ArraySet<any>): void; | |
public equals(object: any): boolean; | |
public isEmpty(): boolean; | |
public size(): number; | |
public valueAt(index: number): E; | |
public parallelStream(): java.util.stream.Stream<E>; | |
public constructor(); | |
public constructor(set: androidx.collection.ArraySet<E>); | |
public forEach(action: any /* any*/): void; | |
public contains(key: any): boolean; | |
public toArray(array: native.Array<any>): native.Array<any>; | |
public remove(object: any): boolean; | |
public constructor(capacity: number); | |
public addAll(collection: java.util.Collection<any>): boolean; | |
public indexOf(key: any): number; | |
public toString(): string; | |
public containsAll(collection: java.util.Collection<any>): boolean; | |
public removeAll(collection: java.util.Collection<any>): boolean; | |
public equals(obj: any): boolean; | |
public constructor(set: java.util.Collection<E>); | |
public ensureCapacity(minimumCapacity: number): void; | |
public spliterator(): java.util.Spliterator<any>; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class CircularArray<E> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.CircularArray<any>>; | |
public clear(): void; | |
public size(): number; | |
public isEmpty(): boolean; | |
public constructor(minCapacity: number); | |
public constructor(); | |
public get(n: number): E; | |
public removeFromEnd(numOfElements: number): void; | |
public addLast(e: E): void; | |
public getLast(): E; | |
public popLast(): E; | |
public removeFromStart(numOfElements: number): void; | |
public getFirst(): E; | |
public popFirst(): E; | |
public addFirst(e: E): void; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class CircularIntArray extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.CircularIntArray>; | |
public clear(): void; | |
public popLast(): number; | |
public size(): number; | |
public isEmpty(): boolean; | |
public getFirst(): number; | |
public constructor(minCapacity: number); | |
public constructor(); | |
public removeFromEnd(numOfElements: number): void; | |
public popFirst(): number; | |
public removeFromStart(numOfElements: number): void; | |
public get(n: number): number; | |
public addLast(e: number): void; | |
public getLast(): number; | |
public addFirst(e: number): void; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class ContainerHelpers extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.ContainerHelpers>; | |
public static idealLongArraySize(need: number): number; | |
public static idealByteArraySize(need: number): number; | |
public static equal(a: any, b: any): boolean; | |
public static idealIntArraySize(need: number): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class LongSparseArray<E> extends java.lang.Cloneable { | |
public static class: java.lang.Class<androidx.collection.LongSparseArray<any>>; | |
public constructor(initialCapacity: number); | |
/** @deprecated */ | |
public delete(key: number): void; | |
public append(key: number, value: any): void; | |
public containsValue(value: any): boolean; | |
public get(key: number, valueIfKeyNotFound: any): any; | |
public remove(key: number): void; | |
public put(key: number, value: any): void; | |
public clone(): androidx.collection.LongSparseArray<any>; | |
public indexOfValue(value: any): number; | |
public replace(key: number, value: any): any; | |
public indexOfKey(key: number): number; | |
public clear(): void; | |
public putIfAbsent(key: number, value: any): any; | |
public size(): number; | |
public isEmpty(): boolean; | |
public removeAt(index: number): void; | |
public valueAt(index: number): any; | |
public constructor(); | |
public setValueAt(index: number, value: any): void; | |
public keyAt(index: number): number; | |
public clone(): any; | |
public toString(): string; | |
public putAll(other: androidx.collection.LongSparseArray<any>): void; | |
public get(key: number): any; | |
public containsKey(key: number): boolean; | |
public replace(key: number, oldValue: any, newValue: any): boolean; | |
public remove(key: number, value: any): boolean; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class LruCache<K, V> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.LruCache<any,any>>; | |
public sizeOf(key: K, value: V): number; | |
public create(key: K): V; | |
public size(): number; | |
public putCount(): number; | |
public createCount(): number; | |
public evictAll(): void; | |
public resize(maxSize: number): void; | |
public entryRemoved(evicted: boolean, key: K, oldValue: V, newValue: V): void; | |
public maxSize(): number; | |
public put(key: K, value: V): V; | |
public hitCount(): number; | |
public remove(key: K): V; | |
public snapshot(): java.util.Map<K,V>; | |
public toString(): string; | |
public get(key: K): V; | |
public trimToSize(maxSize: number): void; | |
public evictionCount(): number; | |
public constructor(maxSize: number); | |
public missCount(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export abstract class MapCollections<K, V> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.MapCollections<any,any>>; | |
public colIndexOfValue(object0: any): number; | |
public getEntrySet(): java.util.Set<java.util.Map.Entry<K,V>>; | |
public colPut(object0: K, object1: V): void; | |
public getKeySet(): java.util.Set<K>; | |
public toArrayHelper(array: native.Array<any>, offset: number): native.Array<any>; | |
public colIndexOfKey(object0: any): number; | |
public colGetEntry(int0: number, int1: number): any; | |
public colClear(): void; | |
public toArrayHelper(offset: number): native.Array<any>; | |
public getValues(): java.util.Collection<V>; | |
public colGetMap(): java.util.Map<K,V>; | |
public static containsAllHelper(map: java.util.Map<any,any>, collection: java.util.Collection<any>): boolean; | |
public static equalsSetHelper(set: java.util.Set<any>, object: any): boolean; | |
public static removeAllHelper(map: java.util.Map<any,any>, collection: java.util.Collection<any>): boolean; | |
public colRemoveAt(int0: number): void; | |
public static retainAllHelper(map: java.util.Map<any,any>, collection: java.util.Collection<any>): boolean; | |
public colSetValue(int0: number, object1: V): V; | |
public colGetSize(): number; | |
} | |
export module MapCollections { | |
export class ArrayIterator<T> extends java.util.Iterator<any> { | |
public static class: java.lang.Class<androidx.collection.MapCollections.ArrayIterator<any>>; | |
public remove(): void; | |
public next(): any; | |
public hasNext(): boolean; | |
} | |
export class EntrySet extends java.util.Set<java.util.Map.Entry<any,any>> { | |
public static class: java.lang.Class<androidx.collection.MapCollections.EntrySet>; | |
public contains(o: any): boolean; | |
public parallelStream(): java.util.stream.Stream<any>; | |
public removeAll(collection: java.util.Collection<any>): boolean; | |
public remove(object: any): boolean; | |
public spliterator(): java.util.Spliterator<any>; | |
public stream(): java.util.stream.Stream<any>; | |
public iterator(): java.util.Iterator<java.util.Map.Entry<any,any>>; | |
public add(object0: any): boolean; | |
public addAll(collection: java.util.Collection<any>): boolean; | |
public iterator(): java.util.Iterator<any>; | |
public forEach(action: any /* any*/): void; | |
public toArray(array: native.Array<any>): native.Array<any>; | |
public equals(object: any): boolean; | |
public size(): number; | |
public toArray(): native.Array<any>; | |
public containsAll(collection: java.util.Collection<any>): boolean; | |
public removeIf(filter: any /* any*/): boolean; | |
public equals(obj: any): boolean; | |
public add(object: java.util.Map.Entry<any,any>): boolean; | |
public hashCode(): number; | |
public clear(): void; | |
public isEmpty(): boolean; | |
public retainAll(collection: java.util.Collection<any>): boolean; | |
} | |
export class KeySet extends java.util.Set<any> { | |
public static class: java.lang.Class<androidx.collection.MapCollections.KeySet>; | |
public parallelStream(): java.util.stream.Stream<any>; | |
public removeAll(collection: java.util.Collection<any>): boolean; | |
public remove(object: any): boolean; | |
public spliterator(): java.util.Spliterator<any>; | |
public stream(): java.util.stream.Stream<any>; | |
public addAll(collection: java.util.Collection<any>): boolean; | |
public iterator(): java.util.Iterator<any>; | |
public forEach(action: any /* any*/): void; | |
public toArray(array: native.Array<any>): native.Array<any>; | |
public equals(object: any): boolean; | |
public size(): number; | |
public toArray(): native.Array<any>; | |
public containsAll(collection: java.util.Collection<any>): boolean; | |
public removeIf(filter: any /* any*/): boolean; | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public clear(): void; | |
public add(object: any): boolean; | |
public isEmpty(): boolean; | |
public contains(object: any): boolean; | |
public retainAll(collection: java.util.Collection<any>): boolean; | |
} | |
export class MapIterator extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.MapCollections.MapIterator>; | |
public remove(): void; | |
public static comparingByValue(): java.util.Comparator<any>; | |
public setValue(object: any): any; | |
public getKey(): any; | |
public static comparingByKey(cmp: java.util.Comparator<any>): java.util.Comparator<any>; | |
public next(): java.util.Map.Entry<any,any>; | |
public getValue(): any; | |
public toString(): string; | |
public static comparingByValue(cmp: java.util.Comparator<any>): java.util.Comparator<any>; | |
public static comparingByKey(): java.util.Comparator<any>; | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public hasNext(): boolean; | |
public equals(o: any): boolean; | |
} | |
export class ValuesCollection extends java.util.Collection<any> { | |
public static class: java.lang.Class<androidx.collection.MapCollections.ValuesCollection>; | |
public parallelStream(): java.util.stream.Stream<any>; | |
public removeAll(collection: java.util.Collection<any>): boolean; | |
public remove(object: any): boolean; | |
public spliterator(): java.util.Spliterator<any>; | |
public stream(): java.util.stream.Stream<any>; | |
public addAll(collection: java.util.Collection<any>): boolean; | |
public iterator(): java.util.Iterator<any>; | |
public forEach(action: any /* any*/): void; | |
public toArray(array: native.Array<any>): native.Array<any>; | |
public size(): number; | |
public toArray(): native.Array<any>; | |
public containsAll(collection: java.util.Collection<any>): boolean; | |
public removeIf(filter: any /* any*/): boolean; | |
public equals(obj: any): boolean; | |
public hashCode(): number; | |
public clear(): void; | |
public add(object: any): boolean; | |
public isEmpty(): boolean; | |
public contains(object: any): boolean; | |
public retainAll(collection: java.util.Collection<any>): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class SimpleArrayMap<K, V> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.collection.SimpleArrayMap<any,any>>; | |
public constructor(map: androidx.collection.SimpleArrayMap<K,V>); | |
public setValueAt(index: number, value: V): V; | |
public replace(key: K, value: V): V; | |
public putAll(array: androidx.collection.SimpleArrayMap<any,any>): void; | |
public containsKey(key: any): boolean; | |
public containsValue(value: any): boolean; | |
public valueAt(index: number): V; | |
public removeAt(index: number): V; | |
public keyAt(index: number): K; | |
public get(key: any): V; | |
public clear(): void; | |
public remove(key: any): V; | |
public replace(key: K, oldValue: V, newValue: V): boolean; | |
public getOrDefault(key: any, defaultValue: V): V; | |
public equals(object: any): boolean; | |
public isEmpty(): boolean; | |
public size(): number; | |
public putIfAbsent(key: K, value: V): V; | |
public constructor(); | |
public indexOfKey(key: any): number; | |
public put(key: K, value: V): V; | |
public constructor(capacity: number); | |
public toString(): string; | |
public equals(obj: any): boolean; | |
public ensureCapacity(minimumCapacity: number): void; | |
public remove(key: any, value: any): boolean; | |
public hashCode(): number; | |
} | |
} | |
} | |
declare module androidx { | |
export module collection { | |
export class SparseArrayCompat<E> extends java.lang.Cloneable { | |
public static class: java.lang.Class<androidx.collection.SparseArrayCompat<any>>; | |
public constructor(initialCapacity: number); | |
/** @deprecated */ | |
public delete(key: number): void; | |
public append(key: number, value: any): void; | |
public putAll(other: androidx.collection.SparseArrayCompat<any>): void; | |
public containsValue(value: any): boolean; | |
public get(key: number, valueIfKeyNotFound: any): any; | |
public remove(key: number): void; | |
public clone(): androidx.collection.SparseArrayCompat<any>; | |
public put(key: number, value: any): void; | |
public indexOfValue(value: any): number; | |
public replace(key: number, value: any): any; | |
public indexOfKey(key: number): number; | |
public clear(): void; | |
public putIfAbsent(key: number, value: any): any; | |
public size(): number; | |
public isEmpty(): boolean; | |
public removeAt(index: number): void; | |
public valueAt(index: number): any; | |
public constructor(); | |
public removeAtRange(index: number, size: number): void; | |
public setValueAt(index: number, value: any): void; | |
public keyAt(index: number): number; | |
public clone(): any; | |
public toString(): string; | |
public get(key: number): any; | |
public containsKey(key: number): boolean; | |
public replace(key: number, oldValue: any, newValue: any): boolean; | |
public remove(key: number, value: any): boolean; | |
} | |
} | |
} | |
declare module androidx { | |
export module coordinatorlayout { | |
export module widget { | |
export class CoordinatorLayout extends globalAndroid.view.ViewGroup implements androidx.core.view.NestedScrollingParent2, androidx.core.view.NestedScrollingParent3 { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout>; | |
/** @deprecated */ | |
public invalidateChild(child: globalAndroid.view.View, dirty: globalAndroid.graphics.Rect): void; | |
public focusSearch(direction: number): globalAndroid.view.View; | |
public getDependencies(child: globalAndroid.view.View): java.util.List<globalAndroid.view.View>; | |
public setOnHierarchyChangeListener(listener: globalAndroid.view.ViewGroup.OnHierarchyChangeListener): void; | |
public childDrawableStateChanged(child: globalAndroid.view.View): void; | |
public onStopNestedScroll(child: globalAndroid.view.View): void; | |
public isLayoutRequested(): boolean; | |
public onNestedPrePerformAccessibilityAction(target: globalAndroid.view.View, action: number, bundle2: globalAndroid.os.Bundle): boolean; | |
public getSuggestedMinimumHeight(): number; | |
public getTextDirection(): number; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): void; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable): void; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback): globalAndroid.view.ActionMode; | |
public onKeyDown(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void; | |
/** @deprecated */ | |
public invalidateChildInParent(location: native.Array<number>, dirty: globalAndroid.graphics.Rect): globalAndroid.view.ViewParent; | |
public getParentForAccessibility(): globalAndroid.view.ViewParent; | |
public onInterceptTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public onNestedFling(target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public doViewsOverlap(first: globalAndroid.view.View, second: globalAndroid.view.View): boolean; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): globalAndroid.view.ViewGroup.LayoutParams; | |
public setVisibility(visibility: number): void; | |
public keyboardNavigationClusterSearch(currentCluster: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
public verifyDrawable(who: globalAndroid.graphics.drawable.Drawable): boolean; | |
public isTextDirectionResolved(): boolean; | |
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void; | |
public onMeasureChild(child: globalAndroid.view.View, parentWidthMeasureSpec: number, widthUsed: number, parentHeightMeasureSpec: number, heightUsed: number): void; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): androidx.coordinatorlayout.widget.CoordinatorLayout.LayoutParams; | |
public showContextMenuForChild(originalView: globalAndroid.view.View): boolean; | |
public sendAccessibilityEventUnchecked(event: globalAndroid.view.accessibility.AccessibilityEvent): void; | |
public recomputeViewAttributes(child: globalAndroid.view.View): void; | |
public isPointInChildBounds(child: globalAndroid.view.View, x: number, y: number): boolean; | |
public onDraw(canvas: globalAndroid.graphics.Canvas): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number, type: number): boolean; | |
public drawableStateChanged(): void; | |
public isLayoutDirectionResolved(): boolean; | |
public scheduleDrawable(who: globalAndroid.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void; | |
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void; | |
public getStatusBarBackground(): globalAndroid.graphics.drawable.Drawable; | |
public unscheduleDrawable(who: globalAndroid.graphics.drawable.Drawable): void; | |
public updateViewLayout(view: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public focusSearch(focused: globalAndroid.view.View, direction: number): globalAndroid.view.View; | |
/** @deprecated */ | |
public requestFitSystemWindows(): void; | |
public showContextMenuForChild(originalView: globalAndroid.view.View, x: number, y: number): boolean; | |
public bringChildToFront(child: globalAndroid.view.View): void; | |
public clearChildFocus(child: globalAndroid.view.View): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number, defStyleRes: number); | |
public onLayoutChild(child: globalAndroid.view.View, layoutDirection: number): void; | |
public dispatchDependentViewsChanged(view: globalAndroid.view.View): void; | |
public onKeyLongPress(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public invalidateDrawable(drawable: globalAndroid.graphics.drawable.Drawable): void; | |
public addView(child: globalAndroid.view.View, index: number, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public getSuggestedMinimumWidth(): number; | |
public onDraw(c: globalAndroid.graphics.Canvas): void; | |
public onTouchEvent(event: globalAndroid.view.MotionEvent): boolean; | |
public drawChild(canvas: globalAndroid.graphics.Canvas, child: globalAndroid.view.View, drawingTime: number): boolean; | |
public onAttachedToWindow(): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number): void; | |
public getParent(): globalAndroid.view.ViewParent; | |
public constructor(context: globalAndroid.content.Context); | |
public checkLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onKeyMultiple(keyCode: number, repeatCount: number, event: globalAndroid.view.KeyEvent): boolean; | |
public setOnHierarchyChangeListener(onHierarchyChangeListener: globalAndroid.view.ViewGroup.OnHierarchyChangeListener): void; | |
public onStopNestedScroll(target: globalAndroid.view.View, type: number): void; | |
public sendAccessibilityEvent(eventType: number): void; | |
public addView(child: globalAndroid.view.View, index: number): void; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public requestFitSystemWindows(): void; | |
public onRestoreInstanceState(state: globalAndroid.os.Parcelable): void; | |
public setStatusBarBackgroundColor(color: number): void; | |
public getNestedScrollAxes(): number; | |
public startActionModeForChild(originalView: globalAndroid.view.View, callback: globalAndroid.view.ActionMode.Callback, type: number): globalAndroid.view.ActionMode; | |
public getTextAlignment(): number; | |
public generateLayoutParams(p: globalAndroid.view.ViewGroup.LayoutParams): globalAndroid.view.ViewGroup.LayoutParams; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet, defStyleAttr: number); | |
public getDependents(child: globalAndroid.view.View): java.util.List<globalAndroid.view.View>; | |
public addView(child: globalAndroid.view.View, width: number, height: number): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>, type: number): void; | |
public childHasTransientStateChanged(child: globalAndroid.view.View, childHasTransientState: boolean): void; | |
public onDetachedFromWindow(): void; | |
public focusableViewAvailable(v: globalAndroid.view.View): void; | |
public setStatusBarBackground(bg: globalAndroid.graphics.drawable.Drawable): void; | |
public generateDefaultLayoutParams(): globalAndroid.view.ViewGroup.LayoutParams; | |
public getLastWindowInsets(): androidx.core.view.WindowInsetsCompat; | |
public addView(child: globalAndroid.view.View): void; | |
public requestSendAccessibilityEvent(child: globalAndroid.view.View, event: globalAndroid.view.accessibility.AccessibilityEvent): boolean; | |
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; | |
public isTextAlignmentResolved(): boolean; | |
public getLayoutDirection(): number; | |
public addView(child: globalAndroid.view.View, params: globalAndroid.view.ViewGroup.LayoutParams): void; | |
public canResolveTextDirection(): boolean; | |
public generateDefaultLayoutParams(): androidx.coordinatorlayout.widget.CoordinatorLayout.LayoutParams; | |
public canResolveTextAlignment(): boolean; | |
public notifySubtreeAccessibilityStateChanged(child: globalAndroid.view.View, source: globalAndroid.view.View, changeType: number): void; | |
public onNestedScroll(target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number, consumed: native.Array<number>): void; | |
public setFitsSystemWindows(fitSystemWindows: boolean): void; | |
public requestLayout(): void; | |
public onStartNestedScroll(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number): boolean; | |
public requestTransparentRegion(child: globalAndroid.view.View): void; | |
public generateLayoutParams(attrs: globalAndroid.util.AttributeSet): androidx.coordinatorlayout.widget.CoordinatorLayout.LayoutParams; | |
public setStatusBarBackgroundResource(resId: number): void; | |
public onStopNestedScroll(target: globalAndroid.view.View): void; | |
public onNestedPreScroll(target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public onDescendantInvalidated(child: globalAndroid.view.View, target: globalAndroid.view.View): void; | |
public removeView(view: globalAndroid.view.View): void; | |
public onSaveInstanceState(): globalAndroid.os.Parcelable; | |
public requestChildRectangleOnScreen(child: globalAndroid.view.View, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public getChildVisibleRect(child: globalAndroid.view.View, r: globalAndroid.graphics.Rect, offset: globalAndroid.graphics.Point): boolean; | |
public requestChildFocus(child: globalAndroid.view.View, focused: globalAndroid.view.View): void; | |
public createContextMenu(menu: globalAndroid.view.ContextMenu): void; | |
public onTouchEvent(ev: globalAndroid.view.MotionEvent): boolean; | |
public canResolveLayoutDirection(): boolean; | |
public onNestedScrollAccepted(child: globalAndroid.view.View, target: globalAndroid.view.View, nestedScrollAxes: number, type: number): void; | |
public onKeyUp(keyCode: number, event: globalAndroid.view.KeyEvent): boolean; | |
public onNestedPreFling(target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
} | |
export module CoordinatorLayout { | |
export class AttachedBehavior extends java.lang.Object { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.AttachedBehavior>; | |
/** | |
* Constructs a new instance of the androidx.coordinatorlayout.widget.CoordinatorLayout$AttachedBehavior interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
getBehavior(): androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<any>; | |
}); | |
public constructor(); | |
public getBehavior(): androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<any>; | |
} | |
export abstract class Behavior<V> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<any>>; | |
public onInterceptTouchEvent(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, ev: globalAndroid.view.MotionEvent): boolean; | |
public onSaveInstanceState(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V): globalAndroid.os.Parcelable; | |
public onNestedFling(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean; | |
public constructor(context: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public onRequestChildRectangleOnScreen(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, rectangle: globalAndroid.graphics.Rect, immediate: boolean): boolean; | |
public getScrimColor(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V): number; | |
public onNestedScrollAccepted(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, directTargetChild: globalAndroid.view.View, target: globalAndroid.view.View, axes: number, type: number): void; | |
/** @deprecated */ | |
public onNestedPreScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>): void; | |
public onDependentViewRemoved(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, dependency: globalAndroid.view.View): void; | |
public static setTag(child: globalAndroid.view.View, tag: any): void; | |
public layoutDependsOn(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, dependency: globalAndroid.view.View): boolean; | |
/** @deprecated */ | |
public onStopNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View): void; | |
public constructor(); | |
public getScrimOpacity(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V): number; | |
/** @deprecated */ | |
public onNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number): void; | |
public onRestoreInstanceState(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, state: globalAndroid.os.Parcelable): void; | |
public onStartNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, directTargetChild: globalAndroid.view.View, target: globalAndroid.view.View, axes: number, type: number): boolean; | |
/** @deprecated */ | |
public onNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void; | |
public onNestedPreScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, dx: number, dy: number, consumed: native.Array<number>, type: number): void; | |
public onApplyWindowInsets(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, insets: androidx.core.view.WindowInsetsCompat): androidx.core.view.WindowInsetsCompat; | |
public static getTag(child: globalAndroid.view.View): any; | |
public onAttachedToLayoutParams(params: androidx.coordinatorlayout.widget.CoordinatorLayout.LayoutParams): void; | |
public blocksInteractionBelow(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V): boolean; | |
public onTouchEvent(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, ev: globalAndroid.view.MotionEvent): boolean; | |
public onDetachedFromLayoutParams(): void; | |
public getInsetDodgeRect(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, rect: globalAndroid.graphics.Rect): boolean; | |
/** @deprecated */ | |
public onStartNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, directTargetChild: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): boolean; | |
public onNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number, consumed: native.Array<number>): void; | |
public onMeasureChild(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, parentWidthMeasureSpec: number, widthUsed: number, parentHeightMeasureSpec: number, heightUsed: number): boolean; | |
/** @deprecated */ | |
public onNestedScrollAccepted(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, directTargetChild: globalAndroid.view.View, target: globalAndroid.view.View, axes: number): void; | |
public onStopNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, type: number): void; | |
public onLayoutChild(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, layoutDirection: number): boolean; | |
public onNestedPreFling(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, target: globalAndroid.view.View, velocityX: number, velocityY: number): boolean; | |
public onDependentViewChanged(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: V, dependency: globalAndroid.view.View): boolean; | |
} | |
export class DefaultBehavior extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.DefaultBehavior>; | |
/** | |
* Constructs a new instance of the androidx.coordinatorlayout.widget.CoordinatorLayout$DefaultBehavior interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
value(): java.lang.Class<any>; | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public value(): java.lang.Class<any>; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export class DispatchChangeEvent extends java.lang.Object implements java.lang.annotation.Annotation { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.DispatchChangeEvent>; | |
/** | |
* Constructs a new instance of the androidx.coordinatorlayout.widget.CoordinatorLayout$DispatchChangeEvent interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
equals(object0: any): boolean; | |
hashCode(): number; | |
toString(): string; | |
annotationType(): java.lang.Class<any>; | |
}); | |
public constructor(); | |
public equals(obj: any): boolean; | |
public toString(): string; | |
public annotationType(): java.lang.Class<any>; | |
public hashCode(): number; | |
} | |
export class HierarchyChangeListener extends java.lang.Object implements globalAndroid.view.ViewGroup.OnHierarchyChangeListener { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.HierarchyChangeListener>; | |
public onChildViewAdded(parent: globalAndroid.view.View, child: globalAndroid.view.View): void; | |
public onChildViewRemoved(parent: globalAndroid.view.View, child: globalAndroid.view.View): void; | |
} | |
export class LayoutParams extends globalAndroid.view.ViewGroup.MarginLayoutParams { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.LayoutParams>; | |
public gravity: number; | |
public anchorGravity: number; | |
public keyline: number; | |
public insetEdge: number; | |
public dodgeInsetEdges: number; | |
public constructor(p: androidx.coordinatorlayout.widget.CoordinatorLayout.LayoutParams); | |
public constructor(source: globalAndroid.view.ViewGroup.LayoutParams); | |
public setBehavior(behavior: androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<any>): void; | |
public constructor(c: globalAndroid.content.Context, attrs: globalAndroid.util.AttributeSet); | |
public constructor(p: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
public getAnchorId(): number; | |
public getBehavior(): androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<any>; | |
public constructor(width: number, height: number); | |
public constructor(p: globalAndroid.view.ViewGroup.LayoutParams); | |
public setAnchorId(id: number): void; | |
public constructor(source: globalAndroid.view.ViewGroup.MarginLayoutParams); | |
} | |
export class OnPreDrawListener extends java.lang.Object implements globalAndroid.view.ViewTreeObserver.OnPreDrawListener { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.OnPreDrawListener>; | |
public onPreDraw(): boolean; | |
} | |
export class SavedState extends androidx.customview.view.AbsSavedState { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.SavedState>; | |
public static CREATOR: globalAndroid.os.Parcelable.Creator<androidx.coordinatorlayout.widget.CoordinatorLayout.SavedState>; | |
public constructor(source: globalAndroid.os.Parcel); | |
public writeToParcel(dest: globalAndroid.os.Parcel, flags: number): void; | |
public describeContents(): number; | |
public constructor(superState: globalAndroid.os.Parcelable); | |
public constructor(source: globalAndroid.os.Parcel, loader: java.lang.ClassLoader); | |
} | |
export class ViewElevationComparator extends java.util.Comparator<globalAndroid.view.View> { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.CoordinatorLayout.ViewElevationComparator>; | |
public equals(obj: any): boolean; | |
public static nullsFirst(comparator: java.util.Comparator<any>): java.util.Comparator<any>; | |
public thenComparing(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public thenComparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public static comparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public thenComparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public thenComparing(other: java.util.Comparator<any>): java.util.Comparator<any>; | |
public static reverseOrder(): java.util.Comparator<any>; | |
public static comparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public compare(object0: any, object1: any): number; | |
public static nullsLast(comparator: java.util.Comparator<any>): java.util.Comparator<any>; | |
public static comparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>; | |
public thenComparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>; | |
public reversed(): java.util.Comparator<any>; | |
public compare(lhs: globalAndroid.view.View, rhs: globalAndroid.view.View): number; | |
public thenComparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public static comparing(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public static comparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>; | |
public static naturalOrder(): java.util.Comparator<any>; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module coordinatorlayout { | |
export module widget { | |
export class DirectedAcyclicGraph<T> extends java.lang.Object { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.DirectedAcyclicGraph<any>>; | |
public hasOutgoingEdges(node: T): boolean; | |
public clear(): void; | |
public getSortedList(): java.util.ArrayList<T>; | |
public addNode(node: T): void; | |
public getOutgoingEdges(node: T): java.util.List<T>; | |
public addEdge(node: T, incomingEdge: T): void; | |
public getIncomingEdges(node: T): java.util.List<any>; | |
public contains(node: T): boolean; | |
public constructor(); | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module coordinatorlayout { | |
export module widget { | |
export class ViewGroupUtils extends java.lang.Object { | |
public static class: java.lang.Class<androidx.coordinatorlayout.widget.ViewGroupUtils>; | |
public static getDescendantRect(parent: globalAndroid.view.ViewGroup, descendant: globalAndroid.view.View, out: globalAndroid.graphics.Rect): void; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module core { | |
export module accessibilityservice { | |
export class AccessibilityServiceInfoCompat extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.accessibilityservice.AccessibilityServiceInfoCompat>; | |
public static CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT: number; | |
public static CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION: number; | |
public static CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY: number; | |
public static CAPABILITY_CAN_FILTER_KEY_EVENTS: number; | |
public static FEEDBACK_BRAILLE: number; | |
public static FEEDBACK_ALL_MASK: number; | |
public static FLAG_INCLUDE_NOT_IMPORTANT_VIEWS: number; | |
public static FLAG_REQUEST_TOUCH_EXPLORATION_MODE: number; | |
public static FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY: number; | |
public static FLAG_REPORT_VIEW_IDS: number; | |
public static FLAG_REQUEST_FILTER_KEY_EVENTS: number; | |
public static feedbackTypeToString(feedbackType: number): string; | |
public static getCapabilities(info: globalAndroid.accessibilityservice.AccessibilityServiceInfo): number; | |
public static loadDescription(info: globalAndroid.accessibilityservice.AccessibilityServiceInfo, packageManager: globalAndroid.content.pm.PackageManager): string; | |
public static flagToString(flag: number): string; | |
public static capabilityToString(capability: number): string; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module core { | |
export module app { | |
export class ActivityCompat extends androidx.core.content.ContextCompat { | |
public static class: java.lang.Class<androidx.core.app.ActivityCompat>; | |
public static requestPermissions(activity: globalAndroid.app.Activity, permissions: native.Array<string>, requestCode: number): void; | |
public static finishAfterTransition(activity: globalAndroid.app.Activity): void; | |
public static setEnterSharedElementCallback(activity: globalAndroid.app.Activity, callback: androidx.core.app.SharedElementCallback): void; | |
public static startIntentSenderForResult(activity: globalAndroid.app.Activity, intent: globalAndroid.content.IntentSender, requestCode: number, fillInIntent: globalAndroid.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: globalAndroid.os.Bundle): void; | |
public static recreate(activity: globalAndroid.app.Activity): void; | |
public static getPermissionCompatDelegate(): androidx.core.app.ActivityCompat.PermissionCompatDelegate; | |
public static finishAffinity(activity: globalAndroid.app.Activity): void; | |
public static requestDragAndDropPermissions(activity: globalAndroid.app.Activity, dragEvent: globalAndroid.view.DragEvent): androidx.core.view.DragAndDropPermissionsCompat; | |
/** @deprecated */ | |
public static invalidateOptionsMenu(activity: globalAndroid.app.Activity): boolean; | |
public static postponeEnterTransition(activity: globalAndroid.app.Activity): void; | |
public static startActivityForResult(activity: globalAndroid.app.Activity, intent: globalAndroid.content.Intent, requestCode: number, options: globalAndroid.os.Bundle): void; | |
public static setExitSharedElementCallback(activity: globalAndroid.app.Activity, callback: androidx.core.app.SharedElementCallback): void; | |
public constructor(); | |
public static requireViewById(activity: globalAndroid.app.Activity, id: number): globalAndroid.view.View; | |
public static shouldShowRequestPermissionRationale(activity: globalAndroid.app.Activity, permission: string): boolean; | |
public static getReferrer(activity: globalAndroid.app.Activity): globalAndroid.net.Uri; | |
public static setPermissionCompatDelegate(delegate: androidx.core.app.ActivityCompat.PermissionCompatDelegate): void; | |
public static startPostponedEnterTransition(activity: globalAndroid.app.Activity): void; | |
} | |
export module ActivityCompat { | |
export class OnRequestPermissionsResultCallback extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback>; | |
/** | |
* Constructs a new instance of the androidx.core.app.ActivityCompat$OnRequestPermissionsResultCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
onRequestPermissionsResult(int0: number, strings1: native.Array<string>, ints2: native.Array<number>): void; | |
}); | |
public constructor(); | |
public onRequestPermissionsResult(int0: number, strings1: native.Array<string>, ints2: native.Array<number>): void; | |
} | |
export class PermissionCompatDelegate extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityCompat.PermissionCompatDelegate>; | |
/** | |
* Constructs a new instance of the androidx.core.app.ActivityCompat$PermissionCompatDelegate interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
requestPermissions(activity0: globalAndroid.app.Activity, strings1: native.Array<string>, int2: number): boolean; | |
onActivityResult(activity0: globalAndroid.app.Activity, int1: number, int2: number, intent3: globalAndroid.content.Intent): boolean; | |
}); | |
public constructor(); | |
public onActivityResult(activity0: globalAndroid.app.Activity, int1: number, int2: number, intent3: globalAndroid.content.Intent): boolean; | |
public requestPermissions(activity0: globalAndroid.app.Activity, strings1: native.Array<string>, int2: number): boolean; | |
} | |
export class RequestPermissionsRequestCodeValidator extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityCompat.RequestPermissionsRequestCodeValidator>; | |
/** | |
* Constructs a new instance of the androidx.core.app.ActivityCompat$RequestPermissionsRequestCodeValidator interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | |
*/ | |
public constructor(implementation: { | |
validateRequestPermissionsRequestCode(int0: number): void; | |
}); | |
public constructor(); | |
public validateRequestPermissionsRequestCode(int0: number): void; | |
} | |
export class SharedElementCallback21Impl extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityCompat.SharedElementCallback21Impl>; | |
public onSharedElementsArrived(sharedElementNames: java.util.List<string>, sharedElements: java.util.List<globalAndroid.view.View>, listener: any): void; | |
public onSharedElementStart(sharedElementNames: java.util.List<string>, sharedElements: java.util.List<globalAndroid.view.View>, sharedElementSnapshots: java.util.List<globalAndroid.view.View>): void; | |
public onRejectSharedElements(rejectedSharedElements: java.util.List<globalAndroid.view.View>): void; | |
public onMapSharedElements(names: java.util.List<string>, sharedElements: java.util.Map<string,globalAndroid.view.View>): void; | |
public onSharedElementEnd(sharedElementNames: java.util.List<string>, sharedElements: java.util.List<globalAndroid.view.View>, sharedElementSnapshots: java.util.List<globalAndroid.view.View>): void; | |
public onCaptureSharedElementSnapshot(sharedElement: globalAndroid.view.View, viewToGlobalMatrix: globalAndroid.graphics.Matrix, screenBounds: globalAndroid.graphics.RectF): globalAndroid.os.Parcelable; | |
public onCreateSnapshotView(context: globalAndroid.content.Context, snapshot: globalAndroid.os.Parcelable): globalAndroid.view.View; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module core { | |
export module app { | |
export class ActivityManagerCompat extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityManagerCompat>; | |
public static isLowRamDevice(activityManager: globalAndroid.app.ActivityManager): boolean; | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module core { | |
export module app { | |
export class ActivityOptionsCompat extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityOptionsCompat>; | |
public static EXTRA_USAGE_TIME_REPORT: string; | |
public static EXTRA_USAGE_TIME_REPORT_PACKAGES: string; | |
public static makeScaleUpAnimation(source: globalAndroid.view.View, startX: number, startY: number, startWidth: number, startHeight: number): androidx.core.app.ActivityOptionsCompat; | |
public static makeSceneTransitionAnimation(activity: globalAndroid.app.Activity, sharedElement: globalAndroid.view.View, sharedElementName: string): androidx.core.app.ActivityOptionsCompat; | |
public setLaunchBounds(screenSpacePixelRect: globalAndroid.graphics.Rect): androidx.core.app.ActivityOptionsCompat; | |
public toBundle(): globalAndroid.os.Bundle; | |
public requestUsageTimeReport(receiver: globalAndroid.app.PendingIntent): void; | |
public update(otherOptions: androidx.core.app.ActivityOptionsCompat): void; | |
public static makeSceneTransitionAnimation(activity: globalAndroid.app.Activity, sharedElements: native.Array<androidx.core.util.Pair<globalAndroid.view.View,string>>): androidx.core.app.ActivityOptionsCompat; | |
public constructor(); | |
public static makeCustomAnimation(context: globalAndroid.content.Context, enterResId: number, exitResId: number): androidx.core.app.ActivityOptionsCompat; | |
public static makeBasic(): androidx.core.app.ActivityOptionsCompat; | |
public getLaunchBounds(): globalAndroid.graphics.Rect; | |
public static makeClipRevealAnimation(source: globalAndroid.view.View, startX: number, startY: number, width: number, height: number): androidx.core.app.ActivityOptionsCompat; | |
public static makeThumbnailScaleUpAnimation(source: globalAndroid.view.View, thumbnail: globalAndroid.graphics.Bitmap, startX: number, startY: number): androidx.core.app.ActivityOptionsCompat; | |
public static makeTaskLaunchBehind(): androidx.core.app.ActivityOptionsCompat; | |
} | |
export module ActivityOptionsCompat { | |
export class ActivityOptionsCompatImpl extends androidx.core.app.ActivityOptionsCompat { | |
public static class: java.lang.Class<androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl>; | |
public update(otherOptions: androidx.core.app.ActivityOptionsCompat): void; | |
public getLaunchBounds(): globalAndroid.graphics.Rect; | |
public toBundle(): globalAndroid.os.Bundle; | |
public requestUsageTimeReport(receiver: globalAndroid.app.PendingIntent): void; | |
public setLaunchBounds(screenSpacePixelRect: globalAndroid.graphics.Rect): androidx.core.app.ActivityOptionsCompat; | |
} | |
} | |
} | |
} | |
} | |
declare module androidx { | |
export module core { | |
export module app { | |
export class ActivityRecreator extends java.lang.Object { | |
public static class: java.lang.Class<androidx.core.app.ActivityRecreator>; | |
public static activityThreadClass: java.lang.Class<any>; | |
public static mainThreadField: java.lang.reflect.Field; | |
public static tokenField: java.lang.reflect.Field; | |
public static performStopActivity3ParamsMethod: java.lang.reflect.Method; | |
public static performStopActivity2ParamsMethod: java.lang.reflect.Method; | |
public static requestRelaunchActivityMethod: java.lang.reflect.Method; | |
public static queueOnStopIfNecessary(currentlyRecreatingToken: any, activity: globalAndroid.app.Activity): boolean; | |
} | |
export module ActivityRecreator { | |
export class LifecycleCheckCallbacks extends java.lang.Object implements globalAndroid.app.Application.ActivityLifecycleCallbacks { | |
public static class: java.lang.Class<androidx.core.app.ActivityRecreator.LifecycleCheckCallbacks>; | |
public onActivityPreResumed(activity: globalAndroid.app.Activity): void; | |
public onActivityPreStopped(activity: globalAndroid.app.Activity): void; | |
public onActivityPrePaused(activity: globalAndroid.app.Activity): void; | |
public onActivityPreSaveInstanceState(activity: globalAndroid.app.Activity, outState: globalAndroid.os.Bundle): void; | |
public onActivityPreCreated(activity: globalAndroid.app.Activity, savedInstanceState: globalAndroid.os.Bundle): void; | |
public onActivityPostCreated(activity: globalAndroid.app.Activity, savedInstanceState: globalAndroid.os.Bundle): void; | |
public onActivityStopped(activity: globalAndroid.app.Activity): void; | |
public onActivityPostStarted(activity: globalAndroid.app.Activity): void; | |
public onActivityPostStopped(activity: globalAndroid.app.Activity): void; | |
public onActivityCreated(activity: globalAndroid.app.Activity, savedInstanceState: globalAndroid.os.Bundle): void; | |
public onActivityStarted(activity: globalAndroid.app.Activity): void; | |
public onActivityPostDestroyed(activity: globalAndroid.app.Activity): void; | |
public onActivityPreDestroyed(activity: globalAndroid.app.Activity): void; | |
public onActivityResumed(activity: globalAndroid.app.Activity): void; | |
public onActivityPostSaveInstanceState(activity: globalAndroid.app.Activity, outState: globalAndroid.os.Bundle): void; | |
public onActivityPostPaused(activity: globalAndroid.app.Activity): void; | |
public o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment