@icecreamcake/autojs6-dts
Version:
TypeScript Declarations for AutoJs6
755 lines (742 loc) • 1.43 MB
TypeScript
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class AnimatableView extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.AnimatableView>;
/**
* Constructs a new instance of the com.google.android.material.animation.AnimatableView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
startAnimation(param0: com.google.android.material.animation.AnimatableView.Listener): void;
stopAnimation(): void;
});
public constructor();
public startAnimation(param0: com.google.android.material.animation.AnimatableView.Listener): void;
public stopAnimation(): void;
}
export module AnimatableView {
export class Listener extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.AnimatableView.Listener>;
/**
* Constructs a new instance of the com.google.android.material.animation.AnimatableView$Listener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAnimationEnd(): void;
});
public constructor();
public onAnimationEnd(): void;
}
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class AnimationUtils extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.AnimationUtils>;
public static LINEAR_INTERPOLATOR: android.animation.TimeInterpolator;
public static FAST_OUT_SLOW_IN_INTERPOLATOR: android.animation.TimeInterpolator;
public static FAST_OUT_LINEAR_IN_INTERPOLATOR: android.animation.TimeInterpolator;
public static LINEAR_OUT_SLOW_IN_INTERPOLATOR: android.animation.TimeInterpolator;
public static DECELERATE_INTERPOLATOR: android.animation.TimeInterpolator;
public static lerp(startValue: number, endValue: number, fraction: number): number;
public constructor();
public static lerp(outputMin: number, outputMax: number, inputMin: number, inputMax: number, value: number): number;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class AnimatorSetCompat extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.AnimatorSetCompat>;
public constructor();
public static playTogether(animatorSet: android.animation.AnimatorSet, items: java.util.List<android.animation.Animator>): void;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class ArgbEvaluatorCompat extends android.animation.TypeEvaluator<java.lang.Integer> {
public static class: java.lang.Class<com.google.android.material.animation.ArgbEvaluatorCompat>;
public static getInstance(): com.google.android.material.animation.ArgbEvaluatorCompat;
public constructor();
public evaluate(fraction: number, startValue: java.lang.Integer, endValue: java.lang.Integer): java.lang.Integer;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class ChildrenAlphaProperty extends android.util.Property<android.view.ViewGroup,java.lang.Float> {
public static class: java.lang.Class<com.google.android.material.animation.ChildrenAlphaProperty>;
public static CHILDREN_ALPHA: android.util.Property<android.view.ViewGroup,java.lang.Float>;
public get(object: android.view.ViewGroup): java.lang.Float;
public set(object: any, value: any): void;
public set(object: android.view.ViewGroup, value: java.lang.Float): void;
public get(param0: any): any;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class DrawableAlphaProperty extends android.util.Property<android.graphics.drawable.Drawable,java.lang.Integer> {
public static class: java.lang.Class<com.google.android.material.animation.DrawableAlphaProperty>;
public static DRAWABLE_ALPHA_COMPAT: android.util.Property<android.graphics.drawable.Drawable,java.lang.Integer>;
public set(object: any, value: any): void;
public get(param0: any): any;
public get(object: android.graphics.drawable.Drawable): java.lang.Integer;
public set(object: android.graphics.drawable.Drawable, value: java.lang.Integer): void;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class ImageMatrixProperty extends android.util.Property<android.widget.ImageView,android.graphics.Matrix> {
public static class: java.lang.Class<com.google.android.material.animation.ImageMatrixProperty>;
public set(object: any, value: any): void;
public constructor();
public get(param0: any): any;
public set(object: android.widget.ImageView, value: android.graphics.Matrix): void;
public get(object: android.widget.ImageView): android.graphics.Matrix;
public constructor(type: java.lang.Class<any>, name: string);
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class MatrixEvaluator extends android.animation.TypeEvaluator<android.graphics.Matrix> {
public static class: java.lang.Class<com.google.android.material.animation.MatrixEvaluator>;
public constructor();
public evaluate(fraction: number, startValue: android.graphics.Matrix, endValue: android.graphics.Matrix): android.graphics.Matrix;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class MotionSpec extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.MotionSpec>;
public getTiming(name: string): com.google.android.material.animation.MotionTiming;
public constructor();
public hasPropertyValues(name: string): boolean;
public equals(obj: any): boolean;
public setTiming(name: string, timing: com.google.android.material.animation.MotionTiming): void;
public getPropertyValues(name: string): android.animation.PropertyValuesHolder[];
public hashCode(): number;
public setPropertyValues(name: string, values: android.animation.PropertyValuesHolder[]): void;
public toString(): string;
public getTotalDuration(): number;
public static createFromAttribute(context: android.content.Context, attributes: android.content.res.TypedArray, index: number): com.google.android.material.animation.MotionSpec;
public static createFromResource(context: android.content.Context, id: number): com.google.android.material.animation.MotionSpec;
public hasTiming(name: string): boolean;
public getAnimator(name: string, target: any, property: android.util.Property<any,any>): android.animation.ObjectAnimator;
public equals(o: any): boolean;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class MotionTiming extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.MotionTiming>;
public getDelay(): number;
public apply(animator: android.animation.Animator): void;
public equals(obj: any): boolean;
public getDuration(): number;
public getRepeatCount(): number;
public constructor(delay: number, param1: number, duration: android.animation.TimeInterpolator);
public constructor(delay: number, param1: number);
public getInterpolator(): android.animation.TimeInterpolator;
public hashCode(): number;
public getRepeatMode(): number;
public equals(o: any): boolean;
public toString(): string;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class Positioning extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.Positioning>;
public gravity: number;
public xAdjustment: number;
public yAdjustment: number;
public constructor(gravity: number, xAdjustment: number, yAdjustment: number);
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module animation {
export class TransformationCallback<T> extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.animation.TransformationCallback<any>>;
/**
* Constructs a new instance of the com.google.android.material.animation.TransformationCallback<any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onTranslationChanged(param0: T): void;
onScaleChanged(param0: T): void;
});
public constructor();
public onTranslationChanged(param0: T): void;
public onScaleChanged(param0: T): void;
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module appbar {
export class AppBarLayout extends android.widget.LinearLayout implements androidx.coordinatorlayout.widget.CoordinatorLayout.AttachedBehavior {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout>;
public isLayoutRequested(): boolean;
public onStopNestedScroll(param0: android.view.View): void;
public addLiftOnScrollListener(liftOnScrollListener: com.google.android.material.appbar.AppBarLayout.LiftOnScrollListener): void;
public requestSendAccessibilityEvent(child: android.view.View, event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyMultiple(param0: number, param1: number, param2: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public requestChildRectangleOnScreen(param0: android.view.View, param1: android.graphics.Rect, param2: boolean): boolean;
public onNestedScroll(target: android.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void;
public unscheduleDrawable(param0: android.graphics.drawable.Drawable, param1: java.lang.Runnable): void;
public requestTransparentRegion(param0: android.view.View): void;
public invalidateDrawable(param0: android.graphics.drawable.Drawable): void;
public constructor(context: android.content.Context);
public notifySubtreeAccessibilityStateChanged(child: android.view.View, source: android.view.View, changeType: number): void;
public addView(child: android.view.View): void;
public invalidateChild(child: android.view.View, dirty: android.graphics.Rect): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable): void;
public onNestedFling(target: android.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean;
public startActionModeForChild(param0: android.view.View, param1: android.view.ActionMode.Callback): android.view.ActionMode;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public setStatusBarForegroundColor(color: number): void;
public addView(child: android.view.View, index: number, params: android.view.ViewGroup.LayoutParams): void;
public setStatusBarForeground(drawable: android.graphics.drawable.Drawable): void;
public getTextDirection(): number;
public onNestedPreFling(param0: android.view.View, param1: number, param2: number): boolean;
/** @deprecated */
public getTargetElevation(): number;
public onNestedPrePerformAccessibilityAction(target: android.view.View, action: number, args: android.os.Bundle): boolean;
public sendAccessibilityEvent(eventType: number): void;
public generateDefaultLayoutParams(): com.google.android.material.appbar.AppBarLayout.LayoutParams;
public canResolveTextDirection(): boolean;
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback): android.view.ActionMode;
public requestDisallowInterceptTouchEvent(param0: boolean): void;
public getParent(): android.view.ViewParent;
public onNestedPreFling(target: android.view.View, velocityX: number, velocityY: number): boolean;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public clearLiftOnScrollListener(): void;
public setLiftOnScrollTargetViewId(liftOnScrollTargetViewId: number): void;
public invalidateChildInParent(param0: number[], param1: android.graphics.Rect): android.view.ViewParent;
public getBehavior(): androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior;
public requestLayout(): void;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public setExpanded(expanded: boolean, animate: boolean): void;
public requestChildRectangleOnScreen(child: android.view.View, rectangle: android.graphics.Rect, immediate: boolean): boolean;
public onNestedScrollAccepted(child: android.view.View, target: android.view.View, axes: number): void;
public sendAccessibilityEventUnchecked(param0: android.view.accessibility.AccessibilityEvent): void;
public addView(child: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public isTextDirectionResolved(): boolean;
public setLiftOnScrollTargetView(liftOnScrollTargetView: android.view.View): void;
public sendAccessibilityEventUnchecked(event: android.view.accessibility.AccessibilityEvent): void;
/** @deprecated */
public requestFitSystemWindows(): void;
public addOnOffsetChangedListener(listener: com.google.android.material.appbar.AppBarLayout.OnOffsetChangedListener): void;
public onAttachedToWindow(): void;
public focusSearch(focused: android.view.View, direction: number): android.view.View;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number, defStyleRes: number);
public generateLayoutParams(lp: android.view.ViewGroup.LayoutParams): android.widget.LinearLayout.LayoutParams;
public focusSearch(direction: number): android.view.View;
public isLiftOnScroll(): boolean;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number);
public scheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void;
public removeLiftOnScrollListener(liftOnScrollListener: com.google.android.material.appbar.AppBarLayout.LiftOnScrollListener): boolean;
public invalidateChildInParent(location: number[], dirty: android.graphics.Rect): android.view.ViewParent;
public startActionModeForChild(param0: android.view.View, param1: android.view.ActionMode.Callback, param2: number): android.view.ActionMode;
public addView(child: android.view.View, index: number): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public clearChildFocus(child: android.view.View): void;
public generateDefaultLayoutParams(): android.widget.LinearLayout.LayoutParams;
public childHasTransientStateChanged(param0: android.view.View, param1: boolean): void;
public onKeyUp(param0: number, param1: android.view.KeyEvent): boolean;
public unscheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable): void;
public showContextMenuForChild(originalView: android.view.View, x: number, y: number): boolean;
public requestFitSystemWindows(): void;
public onNestedPreScroll(target: android.view.View, dx: number, dy: number, consumed: number[]): void;
public onNestedScroll(param0: android.view.View, param1: number, param2: number, param3: number, param4: number): void;
public getTextAlignment(): number;
public setLiftOnScroll(liftOnScroll: boolean): void;
public focusSearch(param0: android.view.View, param1: number): android.view.View;
public createContextMenu(param0: android.view.ContextMenu): void;
public getLayoutDirection(): number;
public canResolveTextAlignment(): boolean;
public createContextMenu(menu: android.view.ContextMenu): void;
public generateLayoutParams(p: android.view.ViewGroup.LayoutParams): com.google.android.material.appbar.AppBarLayout.LayoutParams;
public draw(canvas: android.graphics.Canvas): void;
public generateLayoutParams(attrs: android.util.AttributeSet): com.google.android.material.appbar.AppBarLayout.LayoutParams;
public onStopNestedScroll(child: android.view.View): void;
public canResolveLayoutDirection(): boolean;
public getParentForAccessibility(): android.view.ViewParent;
public sendAccessibilityEvent(param0: number): void;
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void;
public onCreateDrawableState(extraSpace: number): number[];
public showContextMenuForChild(originalView: android.view.View): boolean;
public scheduleDrawable(param0: android.graphics.drawable.Drawable, param1: java.lang.Runnable, param2: number): void;
public requestChildFocus(child: android.view.View, focused: android.view.View): void;
public setLiftable(liftable: boolean): boolean;
public requestTransparentRegion(child: android.view.View): void;
public recomputeViewAttributes(param0: android.view.View): void;
public isTextAlignmentResolved(): boolean;
public getStatusBarForeground(): android.graphics.drawable.Drawable;
public bringChildToFront(child: android.view.View): void;
public focusableViewAvailable(param0: android.view.View): void;
public onKeyLongPress(param0: number, param1: android.view.KeyEvent): boolean;
public invalidateChild(param0: android.view.View, param1: android.graphics.Rect): void;
public getChildVisibleRect(child: android.view.View, r: android.graphics.Rect, offset: android.graphics.Point): boolean;
public showContextMenuForChild(param0: android.view.View): boolean;
public getLiftOnScrollTargetViewId(): number;
public setLiftableOverrideEnabled(enabled: boolean): void;
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
public showContextMenuForChild(param0: android.view.View, param1: number, param2: number): boolean;
public onNestedPrePerformAccessibilityAction(param0: android.view.View, param1: number, param2: android.os.Bundle): boolean;
public getTotalScrollRange(): number;
public requestSendAccessibilityEvent(param0: android.view.View, param1: android.view.accessibility.AccessibilityEvent): boolean;
public onStartNestedScroll(param0: android.view.View, param1: android.view.View, param2: number): boolean;
public focusableViewAvailable(v: android.view.View): void;
public updateViewLayout(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public isLifted(): boolean;
public isLayoutDirectionResolved(): boolean;
public recomputeViewAttributes(child: android.view.View): void;
public removeView(param0: android.view.View): void;
public generateLayoutParams(attrs: android.util.AttributeSet): android.widget.LinearLayout.LayoutParams;
public onNestedPreScroll(param0: android.view.View, param1: number, param2: number, param3: number[]): void;
public onKeyDown(param0: number, param1: android.view.KeyEvent): boolean;
public updateViewLayout(param0: android.view.View, param1: android.view.ViewGroup.LayoutParams): void;
public checkLayoutParams(p: android.view.ViewGroup.LayoutParams): boolean;
public onStartNestedScroll(child: android.view.View, target: android.view.View, nestedScrollAxes: number): boolean;
public onNestedFling(param0: android.view.View, param1: number, param2: number, param3: boolean): boolean;
public setVisibility(visibility: number): void;
public generateLayoutParams(p: android.view.ViewGroup.LayoutParams): android.view.ViewGroup.LayoutParams;
public getBehavior(): androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<com.google.android.material.appbar.AppBarLayout>;
public invalidateDrawable(drawable: android.graphics.drawable.Drawable): void;
public setOrientation(orientation: number): void;
public requestChildFocus(param0: android.view.View, param1: android.view.View): void;
public getChildVisibleRect(param0: android.view.View, param1: android.graphics.Rect, param2: android.graphics.Point): boolean;
public childDrawableStateChanged(param0: android.view.View): void;
public addView(child: android.view.View, width: number, height: number): void;
public childHasTransientStateChanged(child: android.view.View, childHasTransientState: boolean): void;
public removeOnOffsetChangedListener(listener: com.google.android.material.appbar.AppBarLayout.BaseOnOffsetChangedListener<any>): void;
public verifyDrawable(who: android.graphics.drawable.Drawable): boolean;
/** @deprecated */
public setTargetElevation(elevation: number): void;
public drawableStateChanged(): void;
public notifySubtreeAccessibilityStateChanged(param0: android.view.View, param1: android.view.View, param2: number): void;
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void;
public removeView(view: android.view.View): void;
public onNestedScrollAccepted(param0: android.view.View, param1: android.view.View, param2: number): void;
public getMinimumHeightForVisibleOverlappingContent(): number;
public setStatusBarForegroundResource(resId: number): void;
public clearChildFocus(param0: android.view.View): void;
public childDrawableStateChanged(child: android.view.View): void;
public setElevation(elevation: number): void;
public onDetachedFromWindow(): void;
public removeOnOffsetChangedListener(listener: com.google.android.material.appbar.AppBarLayout.OnOffsetChangedListener): void;
public generateLayoutParams(attrs: android.util.AttributeSet): android.view.ViewGroup.LayoutParams;
public setExpanded(expanded: boolean): void;
public generateDefaultLayoutParams(): android.view.ViewGroup.LayoutParams;
public bringChildToFront(param0: android.view.View): void;
public addView(param0: android.view.View, param1: android.view.ViewGroup.LayoutParams): void;
public addOnOffsetChangedListener(listener: com.google.android.material.appbar.AppBarLayout.BaseOnOffsetChangedListener<any>): void;
public setLifted(lifted: boolean): boolean;
}
export module AppBarLayout {
export class BaseBehavior<T> extends com.google.android.material.appbar.HeaderBehavior<any> {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.BaseBehavior<any>>;
public constructor();
public onStartNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: android.view.View, param4: number): boolean;
public onStartNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: android.view.View, param4: number, param5: number): boolean;
public onSaveInstanceState(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, abl: any): android.os.Parcelable;
public onRestoreInstanceState(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.os.Parcelable): void;
public onNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: number, param4: number, param5: number, param6: number, param7: number, param8: number[]): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public onMeasureChild(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: any, parentWidthMeasureSpec: number, widthUsed: number, parentHeightMeasureSpec: number, heightUsed: number): boolean;
public onStopNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View): void;
public setDragCallback(callback: com.google.android.material.appbar.AppBarLayout.BaseBehavior.BaseDragCallback<any>): void;
public onRestoreInstanceState(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, appBarLayout: any, state: android.os.Parcelable): void;
public onNestedPreScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: number, param4: number, param5: number[]): void;
public onStopNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, abl: any, target: android.view.View, type: number): void;
public onLayoutChild(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: any, layoutDirection: number): boolean;
public onNestedPreScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: any, target: android.view.View, dx: number, dy: number, consumed: number[], type: number): void;
public onNestedPreScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: number, param4: number, param5: number[], param6: number): void;
public onStopNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: number): void;
public onStartNestedScroll(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: any, directTargetChild: android.view.View, target: android.view.View, nestedScrollAxes: number, type: number): boolean;
public onMeasureChild(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: number, param3: number, param4: number, param5: number): boolean;
public onLayoutChild(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, abl: any, layoutDirection: number): boolean;
public onNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: number, param4: number, param5: number, param6: number, param7: number): void;
public onNestedScroll(coordinatorLayout: androidx.coordinatorlayout.widget.CoordinatorLayout, child: any, target: android.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number, type: number, consumed: number[]): void;
public onNestedScroll(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View, param3: number, param4: number, param5: number, param6: number): void;
public onSaveInstanceState(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any): android.os.Parcelable;
}
export module BaseBehavior {
export abstract class BaseDragCallback<T> extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.BaseBehavior.BaseDragCallback<any>>;
public canDrag(param0: T): boolean;
public constructor();
}
export class SavedState extends androidx.customview.view.AbsSavedState {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.BaseBehavior.SavedState>;
public static CREATOR: android.os.Parcelable.Creator<com.google.android.material.appbar.AppBarLayout.BaseBehavior.SavedState>;
public constructor(source: android.os.Parcel, loader: java.lang.ClassLoader);
public describeContents(): number;
public constructor(param0: android.os.Parcel, param1: java.lang.ClassLoader);
public constructor(param0: android.os.Parcelable);
public writeToParcel(param0: android.os.Parcel, param1: number): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(param0: android.os.Parcel);
public constructor(superState: android.os.Parcelable);
}
}
export class BaseOnOffsetChangedListener<T> extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.BaseOnOffsetChangedListener<any>>;
/**
* Constructs a new instance of the com.google.android.material.appbar.AppBarLayout$BaseOnOffsetChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onOffsetChanged(param0: T, param1: number): void;
});
public constructor();
public onOffsetChanged(param0: T, param1: number): void;
}
export class Behavior extends com.google.android.material.appbar.AppBarLayout.BaseBehavior<com.google.android.material.appbar.AppBarLayout> {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.Behavior>;
public constructor();
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
}
export module Behavior {
export abstract class DragCallback extends com.google.android.material.appbar.AppBarLayout.BaseBehavior.BaseDragCallback<com.google.android.material.appbar.AppBarLayout> {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.Behavior.DragCallback>;
public constructor();
}
}
export abstract class ChildScrollEffect extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.ChildScrollEffect>;
public constructor();
public onOffsetChanged(param0: com.google.android.material.appbar.AppBarLayout, param1: android.view.View, param2: number): void;
}
export class CompressChildScrollEffect extends com.google.android.material.appbar.AppBarLayout.ChildScrollEffect {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.CompressChildScrollEffect>;
public constructor();
public onOffsetChanged(appBarLayout: com.google.android.material.appbar.AppBarLayout, child: android.view.View, offset: number): void;
public onOffsetChanged(param0: com.google.android.material.appbar.AppBarLayout, param1: android.view.View, param2: number): void;
}
export class DrawableHelperV29 extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.DrawableHelperV29>;
}
export class LayoutParams extends android.widget.LinearLayout.LayoutParams {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.LayoutParams>;
public static SCROLL_FLAG_NO_SCROLL: number;
public static SCROLL_FLAG_SCROLL: number;
public static SCROLL_FLAG_EXIT_UNTIL_COLLAPSED: number;
public static SCROLL_FLAG_ENTER_ALWAYS: number;
public static SCROLL_FLAG_ENTER_ALWAYS_COLLAPSED: number;
public static SCROLL_FLAG_SNAP: number;
public static SCROLL_FLAG_SNAP_MARGINS: number;
public static SCROLL_EFFECT_NONE: number;
public static SCROLL_EFFECT_COMPRESS: number;
public setScrollFlags(flags: number): void;
public constructor(c: android.content.Context, attrs: android.util.AttributeSet);
public setScrollEffect(scrollEffect: com.google.android.material.appbar.AppBarLayout.ChildScrollEffect): void;
public constructor(width: number, height: number, weight: number);
public getScrollInterpolator(): android.view.animation.Interpolator;
public setScrollInterpolator(interpolator: android.view.animation.Interpolator): void;
public constructor(source: android.view.ViewGroup.MarginLayoutParams);
public constructor(source: android.widget.LinearLayout.LayoutParams);
public constructor(source: com.google.android.material.appbar.AppBarLayout.LayoutParams);
public constructor(width: number, height: number);
public getScrollFlags(): number;
public getScrollEffect(): com.google.android.material.appbar.AppBarLayout.ChildScrollEffect;
public setScrollEffect(scrollEffect: number): void;
public constructor(p: android.view.ViewGroup.LayoutParams);
}
export module LayoutParams {
export class ScrollEffect extends java.lang.Object implements java.lang.annotation.Annotation {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.LayoutParams.ScrollEffect>;
/**
* Constructs a new instance of the com.google.android.material.appbar.AppBarLayout$LayoutParams$ScrollEffect interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
equals(param0: any): boolean;
hashCode(): number;
toString(): string;
annotationType(): java.lang.Class<any>;
});
public constructor();
public toString(): string;
public equals(obj: any): boolean;
public equals(param0: any): boolean;
public annotationType(): java.lang.Class<any>;
public hashCode(): number;
}
export class ScrollFlags extends java.lang.Object implements java.lang.annotation.Annotation {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.LayoutParams.ScrollFlags>;
/**
* Constructs a new instance of the com.google.android.material.appbar.AppBarLayout$LayoutParams$ScrollFlags interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
equals(param0: any): boolean;
hashCode(): number;
toString(): string;
annotationType(): java.lang.Class<any>;
});
public constructor();
public toString(): string;
public equals(obj: any): boolean;
public equals(param0: any): boolean;
public annotationType(): java.lang.Class<any>;
public hashCode(): number;
}
}
export class LiftOnScrollListener extends java.lang.Object {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.LiftOnScrollListener>;
/**
* Constructs a new instance of the com.google.android.material.appbar.AppBarLayout$LiftOnScrollListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onUpdate(param0: number, param1: number): void;
});
public constructor();
public onUpdate(param0: number, param1: number): void;
}
export class OnOffsetChangedListener extends com.google.android.material.appbar.AppBarLayout.BaseOnOffsetChangedListener<com.google.android.material.appbar.AppBarLayout> {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.OnOffsetChangedListener>;
/**
* Constructs a new instance of the com.google.android.material.appbar.AppBarLayout$OnOffsetChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onOffsetChanged(param0: com.google.android.material.appbar.AppBarLayout, param1: number): void;
onOffsetChanged(param0: any, param1: number): void;
});
public constructor();
public onOffsetChanged(param0: com.google.android.material.appbar.AppBarLayout, param1: number): void;
public onOffsetChanged(param0: any, param1: number): void;
}
export class ScrollingViewBehavior extends com.google.android.material.appbar.HeaderScrollingViewBehavior {
public static class: java.lang.Class<com.google.android.material.appbar.AppBarLayout.ScrollingViewBehavior>;
public constructor();
public onRequestChildRectangleOnScreen(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: android.view.View, rectangle: android.graphics.Rect, immediate: boolean): boolean;
public onDependentViewRemoved(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: android.view.View, dependency: android.view.View): void;
public layoutDependsOn(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: android.view.View, dependency: android.view.View): boolean;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public onDependentViewChanged(parent: androidx.coordinatorlayout.widget.CoordinatorLayout, child: android.view.View, dependency: android.view.View): boolean;
public onDependentViewRemoved(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View): void;
public layoutDependsOn(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View): boolean;
public onRequestChildRectangleOnScreen(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.graphics.Rect, param3: boolean): boolean;
public onDependentViewChanged(param0: androidx.coordinatorlayout.widget.CoordinatorLayout, param1: any, param2: android.view.View): boolean;
}
}
}
}
}
}
}
declare module com {
export module google {
export module android {
export module material {
export module appbar {
export class CollapsingToolbarLayout extends android.widget.FrameLayout {
public static class: java.lang.Class<com.google.android.material.appbar.CollapsingToolbarLayout>;
public static TITLE_COLLAPSE_MODE_SCALE: number;
public static TITLE_COLLAPSE_MODE_FADE: number;
public isLayoutRequested(): boolean;
public onStopNestedScroll(param0: android.view.View): void;
public requestSendAccessibilityEvent(child: android.view.View, event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyMultiple(param0: number, param1: number, param2: android.view.KeyEvent): boolean;
public onNestedScroll(target: android.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void;
public invalidateDrawable(param0: android.graphics.drawable.Drawable): void;
public constructor(context: android.content.Context);
public notifySubtreeAccessibilityStateChanged(child: android.view.View, source: android.view.View, changeType: number): void;
public addView(child: android.view.View): void;
public onNestedFling(target: android.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean;
public startActionModeForChild(param0: android.view.View, param1: android.view.ActionMode.Callback): android.view.ActionMode;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public setExpandedTitleMarginEnd(margin: number): void;
public setStaticLayoutBuilderConfigurer(staticLayoutBuilderConfigurer: com.google.android.material.appbar.CollapsingToolbarLayout.StaticLayoutBuilderConfigurer): void;
public setCollapsedTitleTextColor(colors: android.content.res.ColorStateList): void;
public onNestedPreFling(param0: android.view.View, param1: number, param2: number): boolean;
public getHyphenationFrequency(): number;
public generateLayoutParams(p: android.view.ViewGroup.LayoutParams): android.widget.FrameLayout.LayoutParams;
public setCollapsedTitleTextAppearance(resId: number): void;
public onNestedPrePerformAccessibilityAction(target: android.view.View, action: number, args: android.os.Bundle): boolean;
public sendAccessibilityEvent(eventType: number): void;
public getTitlePositionInterpolator(): android.animation.TimeInterpolator;
public setExpandedTitleMargin(start: number, top: number, end: number, bottom: number): void;
public getParent(): android.view.ViewParent;
public isRtlTextDirectionHeuristicsEnabled(): boolean;
public onNestedPreFling(target: android.view.View, velocityX: number, velocityY: number): boolean;
public setCollapsedTitleTypeface(typeface: android.graphics.Typeface): void;
public invalidateChildInParent(param0: number[], param1: android.graphics.Rect): android.view.ViewParent;
public setLineSpacingAdd(spacingAdd: number): void;
public setStatusBarScrim(drawable: android.graphics.drawable.Drawable): void;
public requestChildRectangleOnScreen(child: android.view.View, rectangle: android.graphics.Rect, immediate: boolean): boolean;
public setTitle(title: string): void;
public getExpandedTitleMarginTop(): number;
public isTextDirectionResolved(): boolean;
public sendAccessibilityEventUnchecked(event: android.view.accessibility.AccessibilityEvent): void;
public focusSearch(direction: number): android.view.View;
public scheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void;
public invalidateChildInParent(location: number[], dirty: android.graphics.Rect): android.view.ViewParent;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public getCollapsedTitleTextSize(): number;
public setMaxLines(maxLines: number): void;
public onKeyUp(param0: number, param1: android.view.KeyEvent): boolean;
public unscheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable): void;
public showContextMenuForChild(originalView: android.view.View, x: number, y: number): boolean;
public requestFitSystemWindows(): void;
public onNestedPreScroll(target: android.view.View, dx: number, dy: number, consumed: number[]): void;
public setExpandedTitleTypeface(typeface: android.graphics.Typeface): void;
public focusSearch(param0: android.view.View, param1: number): android.view.View;
public canResolveTextAlignment(): boolean;
public draw(canvas: android.graphics.Canvas): void;
public onStopNestedScroll(child: android.view.View): void;
public getScrimVisibleHeightTrigger(): number;
public canResolveLayoutDirection(): boolean;
public getParentForAccessibility(): android.view.ViewParent;
public setRtlTextDirectionHeuristicsEnabled(rtlTextDirectionHeuristicsEnabled: boolean): void;
public isTitleEnabled(): boolean;
public drawChild(canvas: android.graphics.Canvas, child: android.view.View, drawingTime: number): boolean;
public requestChildFocus(child: android.view.View, focused: android.view.View): void;
public setTitleEllipsize(ellipsize: android.text.TextUtils.TruncateAt): void;
public recomputeViewAttributes(param0: android.view.View): void;
public isTextAlignmentResolved(): boolean;
public bringChildToFront(child: android.view.View): void;
public onKeyLongPress(param0: number, param1: android.view.KeyEvent): boolean;
public invalidateChild(param0: android.view.View, param1: android.graphics.Rect): void;
public getChildVisibleRect(child: android.view.View, r: android.graphics.Rect, offset: android.graphics.Point): boolean;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public showContextMenuForChild(param0: android.view.View): boolean;
public getStatusBarScrim(): android.graphics.drawable.Drawable;
public getCollapsedTitleTypeface(): android.graphics.Typeface;
public onStartNestedScroll(param0: android.view.View, param1: android.view.View, param2: number): boolean;
public setLineSpacingMultiplier(spacingMultiplier: number): void;
public getLineCount(): number;
public updateViewLayout(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public isLayoutDirectionResolved(): boolean;
public recomputeViewAttributes(child: android.view.View): void;
public setScrimsShown(shown: boolean): void;
public removeView(param0: android.view.View): void;
public onKeyDown(param0: number, param1: android.view.KeyEvent): boolean;
public updateViewLayout(param0: android.view.View, param1: android.view.ViewGroup.LayoutParams): void;
public checkLayoutParams(p: android.view.ViewGroup.LayoutParams): boolean;
public onNestedFling(param0: android.view.View, param1: number, param2: number, param3: boolean): boolean;
public setHyphenationFrequency(hyphenationFrequency: number): void;
public invalidateDrawable(drawable: android.graphics.drawable.Drawable): void;
public requestChildFocus(param0: android.view.View, param1: android.view.View): void;
public getChildVisibleRect(param0: android.view.View, param1: android.graphics.Rect, param2: android.graphics.Point): boolean;
public getMaxLines(): number;
public childHasTransientStateChanged(child: android.view.View, childHasTransientState: boolean): void;
public setForceApplySystemWindowInsetTop(forceApplySystemWindowInsetTop: boolean): void;
public generateLayoutParams(attrs: android.util.AttributeSet): android.widget.FrameLayout.LayoutParams;
public generateDefaultLayoutParams(): android.widget.FrameLayout.LayoutParams;
public getExpandedTitleTypeface(): android.graphics.Typeface;
public removeView(view: android.view.View): void;
public onDetachedFromWindow(): void;
public setTitlePositionInterpolator(interpolator: android.animation.TimeInterpolator): void;
public setExpandedTitleMarginBottom(margin: number): void;
public onSizeChanged(w: number, h: number, oldw: number, oldh: number): void;
public bringChildToFront(param0: android.view.View): void;
public addView(param0: android.view.View, param1: android.view.ViewGroup.LayoutParams): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public requestChildRectangleOnScreen(param0: android.view.View, param1: android.graphics.Rect, param2: boolean): boolean;
public setStatusBarScrimColor(color: number): void;
public unscheduleDrawable(param0: android.graphics.drawable.Drawable, param1: java.lang.Runnable): void;
public requestTransparentRegion(param0: android.view.View): void;
public invalidateChild(child: android.view.View, dirty: android.graphics.Rect): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable): void;
public setCollapsedTitleTextColor(color: number): void;
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void;
public setExpandedTitleTextColor(colors: android.content.res.ColorStateList): void;
public setContentScrimColor(color: number): void;
public addView(child: android.view.View, index: number, params: android.view.ViewGroup.LayoutParams): void;
public setTitleCollapseMode(titleCollapseMode: number): void;
public setExpandedTitleTextSize(textSize: number): void;
public setCollapsedTitleTextSize(textSize: number): void;
public getTextDirection(): number;
public getExpandedTitleMarginBottom(): number;
public canResolveTextDirection(): boolean;
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback): android.view.ActionMode;
public requestDisallowInterceptTouchEvent(param0: boolean): void;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public requestLayout(): void;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public onNestedScrollAccepted(child: android.view.View, target: android.view.View, axes: number): void;
public sendAccessibilityEventUnchecked(param0: android.view.accessibility.AccessibilityEvent): void;
public addView(child: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback, type: number): andro