@nativescript-community/ui-pager-indicator
Version:
A NativeScript Indicator for Pager / Carousel /CollectionView
1,207 lines (1,157 loc) • 146 kB
TypeScript
/// <reference path="android-declarations.d.ts"/>
declare module com {
export module rd {
export class IndicatorManager extends java.lang.Object implements com.rd.animation.controller.ValueController.UpdateListener {
public static class: java.lang.Class<com.rd.IndicatorManager>;
public drawer(): com.rd.draw.DrawManager;
public onValueUpdated(param0: com.rd.animation.data.Value): void;
public indicator(): com.rd.draw.data.Indicator;
public animate(): com.rd.animation.AnimationManager;
}
export module IndicatorManager {
export class Listener extends java.lang.Object {
public static class: java.lang.Class<com.rd.IndicatorManager.Listener>;
/**
* Constructs a new instance of the com.rd.IndicatorManager$Listener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onIndicatorUpdated(): void;
});
public constructor();
public onIndicatorUpdated(): void;
}
}
}
}
declare module com {
export module rd {
export class PageIndicatorView extends globalAndroid.view.View implements com.rd.IndicatorManager.Listener, globalAndroid.view.View.OnTouchListener {
public static class: java.lang.Class<com.rd.PageIndicatorView>;
public setRtlMode(param0: com.rd.draw.data.RtlMode): void;
public setSelection(param0: number): void;
public setProgress(param0: number, param1: number): void;
public setSelectedColor(param0: number): void;
public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet, param2: number, param3: number);
public onMeasure(param0: number, param1: number): void;
public setCount(param0: number): void;
public getPadding(): number;
public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet, param2: number);
public getSelectedColor(): number;
public getUnselectedColor(): number;
public getCount(): number;
public setPadding(param0: number, param1: number, param2: number, param3: number): void;
public setInteractiveAnimation(param0: boolean): void;
public setClickListener(param0: com.rd.draw.controller.DrawController.ClickListener): void;
public constructor(param0: globalAndroid.content.Context);
public onDetachedFromWindow(): void;
public sendAccessibilityEvent(param0: number): void;
public setScaleFactor(param0: number): void;
public getAnimationDuration(): number;
public getStrokeWidth(): number;
public invalidateDrawable(param0: globalAndroid.graphics.drawable.Drawable): void;
public onIndicatorUpdated(): void;
public setViewPager(param0: androidx.viewpager.widget.ViewPager): void;
public getRadius(): number;
public onAdapterChanged(param0: androidx.viewpager.widget.ViewPager, param1: androidx.viewpager.widget.PagerAdapter, param2: androidx.viewpager.widget.PagerAdapter): void;
public setSelected(param0: boolean): void;
public setRadius(param0: number): void;
public setFadeOnIdle(param0: boolean): void;
public onTouchEvent(param0: globalAndroid.view.MotionEvent): boolean;
public onRestoreInstanceState(param0: globalAndroid.os.Parcelable): void;
public releaseViewPager(): void;
public getSelection(): number;
public setStrokeWidth(param0: number): void;
public onKeyMultiple(param0: number, param1: number, param2: globalAndroid.view.KeyEvent): boolean;
public setSelected(param0: number): void;
public onDraw(param0: globalAndroid.graphics.Canvas): void;
public onPageScrolled(param0: number, param1: number, param2: number): void;
public unscheduleDrawable(param0: globalAndroid.graphics.drawable.Drawable, param1: java.lang.Runnable): void;
public setAnimationType(param0: com.rd.animation.type.AnimationType): void;
public onPageScrollStateChanged(param0: number): void;
public sendAccessibilityEventUnchecked(param0: globalAndroid.view.accessibility.AccessibilityEvent): void;
public getScaleFactor(): number;
public setIdleDuration(param0: number): void;
public onKeyLongPress(param0: number, param1: globalAndroid.view.KeyEvent): boolean;
public unscheduleDrawable(param0: globalAndroid.graphics.drawable.Drawable): void;
public setPadding(param0: number): void;
public onSaveInstanceState(): globalAndroid.os.Parcelable;
public setOrientation(param0: com.rd.draw.data.Orientation): void;
public onTouch(param0: globalAndroid.view.View, param1: globalAndroid.view.MotionEvent): boolean;
public setAutoVisibility(param0: boolean): void;
public setAnimationDuration(param0: number): void;
public onPageSelected(param0: number): void;
public clearSelection(): void;
public onKeyDown(param0: number, param1: globalAndroid.view.KeyEvent): boolean;
public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet);
public setDynamicCount(param0: boolean): void;
public setUnselectedColor(param0: number): void;
public onKeyUp(param0: number, param1: globalAndroid.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public scheduleDrawable(param0: globalAndroid.graphics.drawable.Drawable, param1: java.lang.Runnable, param2: number): void;
}
}
}
declare module com {
export module rd {
export class PageIndicatorView2 extends globalAndroid.view.View implements com.rd.IndicatorManager.Listener, globalAndroid.view.View.OnTouchListener {
public static class: java.lang.Class<com.rd.PageIndicatorView2>;
public setRtlMode(param0: com.rd.draw.data.RtlMode): void;
public setSelection(param0: number): void;
public setProgress(param0: number, param1: number): void;
public setSelectedColor(param0: number): void;
public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet, param2: number, param3: number);
public onMeasure(param0: number, param1: number): void;
public setCount(param0: number): void;
public getPadding(): number;
public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet, param2: number);
public getSelectedColor(): number;
public getUnselectedColor(): number;
public getCount(): number;
public setPadding(param0: number, param1: number, param2: number, param3: number): void;
public setInteractiveAnimation(param0: boolean): void;
public setClickListener(param0: com.rd.draw.controller.DrawController.ClickListener): void;
public constructor(param0: globalAndroid.content.Context);
public onDetachedFromWindow(): void;
public sendAccessibilityEvent(param0: number): void;
public setScaleFactor(param0: number): void;
public getAnimationDuration(): number;
public getStrokeWidth(): number;
public invalidateDrawable(param0: globalAndroid.graphics.drawable.Drawable): void;
public onIndicatorUpdated(): void;
public getRadius(): number;
public setSelected(param0: boolean): void;
public setRadius(param0: number): void;
public setFadeOnIdle(param0: boolean): void;
public onTouchEvent(param0: globalAndroid.view.MotionEvent): boolean;
public onRestoreInstanceState(param0: globalAndroid.os.Parcelable): void;
public releaseViewPager(): void;
public getSelection(): number;
public setStrokeWidth(param0: number): void;
public onKeyMultiple(param0: number, param1: number, param2: globalAndroid.view.KeyEvent): boolean;
public setSelected(param0: number): void;
public onDraw(param0: globalAndroid.graphics.Canvas): void;
public unscheduleDrawable(param0: globalAndroid.graphics.drawable.Drawable, param1: java.lang.Runnable): void;
public setAnimationType(param0: com.rd.animation.type.AnimationType): void;
public sendAccessibilityEventUnchecked(param0: globalAndroid.view.accessibility.AccessibilityEvent): void;
public getScaleFactor(): number;
public setIdleDuration(param0: number): void;
public onKeyLongPress(param0: number, param1: globalAndroid.view.KeyEvent): boolean;
public unscheduleDrawable(param0: globalAndroid.graphics.drawable.Drawable): void;
public setPadding(param0: number): void;
public onSaveInstanceState(): globalAndroid.os.Parcelable;
public setOrientation(param0: com.rd.draw.data.Orientation): void;
public onTouch(param0: globalAndroid.view.View, param1: globalAndroid.view.MotionEvent): boolean;
public setViewPager(param0: androidx.viewpager2.widget.ViewPager2): void;
public setAutoVisibility(param0: boolean): void;
public setAnimationDuration(param0: number): void;
public clearSelection(): void;
public onKeyDown(param0: number, param1: globalAndroid.view.KeyEvent): boolean;
public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet);
public setDynamicCount(param0: boolean): void;
public setUnselectedColor(param0: number): void;
public onKeyUp(param0: number, param1: globalAndroid.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public scheduleDrawable(param0: globalAndroid.graphics.drawable.Drawable, param1: java.lang.Runnable, param2: number): void;
}
}
}
declare module com {
export module rd {
export module animation {
export class AnimationManager extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.AnimationManager>;
public basic(): void;
public interactive(param0: number): void;
public constructor(param0: com.rd.draw.data.Indicator, param1: com.rd.animation.controller.ValueController.UpdateListener);
public end(): void;
}
}
}
}
declare module com {
export module rd {
export module animation {
export module controller {
export class AnimationController extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.controller.AnimationController>;
public interactive(param0: number): void;
public end(): void;
public basic(): void;
public constructor(param0: com.rd.draw.data.Indicator, param1: com.rd.animation.controller.ValueController.UpdateListener);
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module controller {
export class ValueController extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.controller.ValueController>;
public slide(): com.rd.animation.type.SlideAnimation;
public thinWorm(): com.rd.animation.type.ThinWormAnimation;
public fill(): com.rd.animation.type.FillAnimation;
public color(): com.rd.animation.type.ColorAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public swap(): com.rd.animation.type.SwapAnimation;
public worm(): com.rd.animation.type.WormAnimation;
public scaleDown(): com.rd.animation.type.ScaleDownAnimation;
public scale(): com.rd.animation.type.ScaleAnimation;
public drop(): com.rd.animation.type.DropAnimation;
}
export module ValueController {
export class UpdateListener extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.controller.ValueController.UpdateListener>;
/**
* Constructs a new instance of the com.rd.animation.controller.ValueController$UpdateListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onValueUpdated(param0: com.rd.animation.data.Value): void;
});
public constructor();
public onValueUpdated(param0: com.rd.animation.data.Value): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export class AnimationValue extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.data.AnimationValue>;
public getSwapAnimationValue(): com.rd.animation.data.type.SwapAnimationValue;
public getThinWormAnimationValue(): com.rd.animation.data.type.ThinWormAnimationValue;
public constructor();
public getWormAnimationValue(): com.rd.animation.data.type.WormAnimationValue;
public getFillAnimationValue(): com.rd.animation.data.type.FillAnimationValue;
public getDropAnimationValue(): com.rd.animation.data.type.DropAnimationValue;
public getColorAnimationValue(): com.rd.animation.data.type.ColorAnimationValue;
public getScaleAnimationValue(): com.rd.animation.data.type.ScaleAnimationValue;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export class Value extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.data.Value>;
/**
* Constructs a new instance of the com.rd.animation.data.Value interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
});
public constructor();
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class ColorAnimationValue extends java.lang.Object implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.ColorAnimationValue>;
public getColor(): number;
public constructor();
public getColorReverse(): number;
public setColor(param0: number): void;
public setColorReverse(param0: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class DropAnimationValue extends java.lang.Object implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.DropAnimationValue>;
public constructor();
public setWidth(param0: number): void;
public getWidth(): number;
public setRadius(param0: number): void;
public setHeight(param0: number): void;
public getRadius(): number;
public getHeight(): number;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class FillAnimationValue extends com.rd.animation.data.type.ColorAnimationValue implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.FillAnimationValue>;
public getStrokeReverse(): number;
public constructor();
public setRadius(param0: number): void;
public getRadiusReverse(): number;
public getRadius(): number;
public setRadiusReverse(param0: number): void;
public getStroke(): number;
public setStrokeReverse(param0: number): void;
public setStroke(param0: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class ScaleAnimationValue extends com.rd.animation.data.type.ColorAnimationValue implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.ScaleAnimationValue>;
public constructor();
public setRadius(param0: number): void;
public getRadiusReverse(): number;
public getRadius(): number;
public setRadiusReverse(param0: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class SlideAnimationValue extends java.lang.Object implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.SlideAnimationValue>;
public constructor();
public getCoordinate(): number;
public setCoordinate(param0: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class SwapAnimationValue extends java.lang.Object implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.SwapAnimationValue>;
public constructor();
public getCoordinate(): number;
public getCoordinateReverse(): number;
public setCoordinate(param0: number): void;
public setCoordinateReverse(param0: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class ThinWormAnimationValue extends com.rd.animation.data.type.WormAnimationValue implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.ThinWormAnimationValue>;
public constructor();
public setHeight(param0: number): void;
public getHeight(): number;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module data {
export module type {
export class WormAnimationValue extends java.lang.Object implements com.rd.animation.data.Value {
public static class: java.lang.Class<com.rd.animation.data.type.WormAnimationValue>;
public constructor();
public getRectStart(): number;
public setRectStart(param0: number): void;
public setRectEnd(param0: number): void;
public getRectEnd(): number;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class AnimationType {
public static class: java.lang.Class<com.rd.animation.type.AnimationType>;
public static NONE: com.rd.animation.type.AnimationType;
public static COLOR: com.rd.animation.type.AnimationType;
public static SCALE: com.rd.animation.type.AnimationType;
public static WORM: com.rd.animation.type.AnimationType;
public static SLIDE: com.rd.animation.type.AnimationType;
public static FILL: com.rd.animation.type.AnimationType;
public static THIN_WORM: com.rd.animation.type.AnimationType;
public static DROP: com.rd.animation.type.AnimationType;
public static SWAP: com.rd.animation.type.AnimationType;
public static SCALE_DOWN: com.rd.animation.type.AnimationType;
public static valueOf(param0: string): com.rd.animation.type.AnimationType;
public static values(): androidNative.Array<com.rd.animation.type.AnimationType>;
public static valueOf(param0: java.lang.Class<any>, param1: string): java.lang.Enum<any>;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export abstract class BaseAnimation<T> extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.type.BaseAnimation<any>>;
public static DEFAULT_ANIMATION_TIME: number;
public animationDuration: number;
public listener: com.rd.animation.controller.ValueController.UpdateListener;
public animator: T;
public end(): void;
public createAnimator(): T;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public duration(param0: number): com.rd.animation.type.BaseAnimation<any>;
public start(): void;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class ColorAnimation extends com.rd.animation.type.BaseAnimation<globalAndroid.animation.ValueAnimator> {
public static class: java.lang.Class<com.rd.animation.type.ColorAnimation>;
public static DEFAULT_UNSELECTED_COLOR: string;
public static DEFAULT_SELECTED_COLOR: string;
public with(param0: number, param1: number): com.rd.animation.type.ColorAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public progress(param0: number): com.rd.animation.type.ColorAnimation;
public createAnimator(): globalAndroid.animation.ValueAnimator;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class DropAnimation extends com.rd.animation.type.BaseAnimation<globalAndroid.animation.AnimatorSet> {
public static class: java.lang.Class<com.rd.animation.type.DropAnimation>;
public createAnimator(): globalAndroid.animation.AnimatorSet;
public progress(param0: number): com.rd.animation.type.DropAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public duration(param0: number): com.rd.animation.type.DropAnimation;
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public duration(param0: number): com.rd.animation.type.BaseAnimation<any>;
public with(param0: number, param1: number, param2: number, param3: number, param4: number): com.rd.animation.type.DropAnimation;
}
export module DropAnimation {
export class AnimationType {
public static class: java.lang.Class<com.rd.animation.type.DropAnimation.AnimationType>;
public static Width: com.rd.animation.type.DropAnimation.AnimationType;
public static Height: com.rd.animation.type.DropAnimation.AnimationType;
public static Radius: com.rd.animation.type.DropAnimation.AnimationType;
public static valueOf(param0: string): com.rd.animation.type.DropAnimation.AnimationType;
public static values(): androidNative.Array<com.rd.animation.type.DropAnimation.AnimationType>;
public static valueOf(param0: java.lang.Class<any>, param1: string): java.lang.Enum<any>;
}
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class FillAnimation extends com.rd.animation.type.ColorAnimation {
public static class: java.lang.Class<com.rd.animation.type.FillAnimation>;
public static DEFAULT_STROKE_DP: number;
public with(param0: number, param1: number): com.rd.animation.type.ColorAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public with(param0: number, param1: number, param2: number, param3: number): com.rd.animation.type.FillAnimation;
public createAnimator(): globalAndroid.animation.ValueAnimator;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class ScaleAnimation extends com.rd.animation.type.ColorAnimation {
public static class: java.lang.Class<com.rd.animation.type.ScaleAnimation>;
public static DEFAULT_SCALE_FACTOR: number;
public static MIN_SCALE_FACTOR: number;
public static MAX_SCALE_FACTOR: number;
public with(param0: number, param1: number, param2: number, param3: number): com.rd.animation.type.ScaleAnimation;
public with(param0: number, param1: number): com.rd.animation.type.ColorAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public createAnimator(): globalAndroid.animation.ValueAnimator;
public createScalePropertyHolder(param0: boolean): globalAndroid.animation.PropertyValuesHolder;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class ScaleDownAnimation extends com.rd.animation.type.ScaleAnimation {
public static class: java.lang.Class<com.rd.animation.type.ScaleDownAnimation>;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createScalePropertyHolder(param0: boolean): globalAndroid.animation.PropertyValuesHolder;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class SlideAnimation extends com.rd.animation.type.BaseAnimation<globalAndroid.animation.ValueAnimator> {
public static class: java.lang.Class<com.rd.animation.type.SlideAnimation>;
public progress(param0: number): com.rd.animation.type.SlideAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public with(param0: number, param1: number): com.rd.animation.type.SlideAnimation;
public createAnimator(): globalAndroid.animation.ValueAnimator;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class SwapAnimation extends com.rd.animation.type.BaseAnimation<globalAndroid.animation.ValueAnimator> {
public static class: java.lang.Class<com.rd.animation.type.SwapAnimation>;
public with(param0: number, param1: number): com.rd.animation.type.SwapAnimation;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public progress(param0: number): com.rd.animation.type.SwapAnimation;
public createAnimator(): globalAndroid.animation.ValueAnimator;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class ThinWormAnimation extends com.rd.animation.type.WormAnimation {
public static class: java.lang.Class<com.rd.animation.type.ThinWormAnimation>;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public duration(param0: number): com.rd.animation.type.ThinWormAnimation;
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public duration(param0: number): com.rd.animation.type.BaseAnimation<any>;
public with(param0: number, param1: number, param2: number, param3: boolean): com.rd.animation.type.WormAnimation;
public progress(param0: number): com.rd.animation.type.WormAnimation;
public duration(param0: number): com.rd.animation.type.WormAnimation;
public progress(param0: number): com.rd.animation.type.ThinWormAnimation;
}
}
}
}
}
declare module com {
export module rd {
export module animation {
export module type {
export class WormAnimation extends com.rd.animation.type.BaseAnimation<globalAndroid.animation.AnimatorSet> {
public static class: java.lang.Class<com.rd.animation.type.WormAnimation>;
public createAnimator(): globalAndroid.animation.AnimatorSet;
public constructor(param0: com.rd.animation.controller.ValueController.UpdateListener);
public createAnimator(): any;
public progress(param0: number): com.rd.animation.type.BaseAnimation<any>;
public duration(param0: number): com.rd.animation.type.BaseAnimation<any>;
public with(param0: number, param1: number, param2: number, param3: boolean): com.rd.animation.type.WormAnimation;
public progress(param0: number): com.rd.animation.type.WormAnimation;
public duration(param0: number): com.rd.animation.type.WormAnimation;
}
export module WormAnimation {
export class RectValues extends java.lang.Object {
public static class: java.lang.Class<com.rd.animation.type.WormAnimation.RectValues>;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export class DrawManager extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.DrawManager>;
public measureViewSize(param0: number, param1: number): globalAndroid.util.Pair<java.lang.Integer,java.lang.Integer>;
public initAttributes(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet): void;
public touch(param0: globalAndroid.view.MotionEvent): void;
public updateValue(param0: com.rd.animation.data.Value): void;
public indicator(): com.rd.draw.data.Indicator;
public draw(param0: globalAndroid.graphics.Canvas): void;
public setClickListener(param0: com.rd.draw.controller.DrawController.ClickListener): void;
public constructor();
}
}
}
}
declare module com {
export module rd {
export module draw {
export module controller {
export class AttributeController extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.controller.AttributeController>;
public constructor(param0: com.rd.draw.data.Indicator);
public init(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet): void;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module controller {
export class DrawController extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.controller.DrawController>;
public touch(param0: globalAndroid.view.MotionEvent): void;
public constructor(param0: com.rd.draw.data.Indicator);
public updateValue(param0: com.rd.animation.data.Value): void;
public setClickListener(param0: com.rd.draw.controller.DrawController.ClickListener): void;
public draw(param0: globalAndroid.graphics.Canvas): void;
}
export module DrawController {
export class ClickListener extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.controller.DrawController.ClickListener>;
/**
* Constructs a new instance of the com.rd.draw.controller.DrawController$ClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onIndicatorClicked(param0: number): void;
});
public constructor();
public onIndicatorClicked(param0: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module controller {
export class MeasureController extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.controller.MeasureController>;
public constructor();
public measureViewSize(param0: com.rd.draw.data.Indicator, param1: number, param2: number): globalAndroid.util.Pair<java.lang.Integer,java.lang.Integer>;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module data {
export class Indicator extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.data.Indicator>;
public static DEFAULT_COUNT: number;
public static MIN_COUNT: number;
public static COUNT_NONE: number;
public static DEFAULT_RADIUS_DP: number;
public static DEFAULT_PADDING_DP: number;
public static IDLE_ANIMATION_DURATION: number;
public setCount(param0: number): void;
public getCount(): number;
public setHeight(param0: number): void;
public setDynamicCount(param0: boolean): void;
public setScaleFactor(param0: number): void;
public setLastSelectedPosition(param0: number): void;
public setSelectedColor(param0: number): void;
public isFadeOnIdle(): boolean;
public getScaleFactor(): number;
public constructor();
public getPaddingLeft(): number;
public setOrientation(param0: com.rd.draw.data.Orientation): void;
public setPaddingTop(param0: number): void;
public getAnimationType(): com.rd.animation.type.AnimationType;
public getPaddingTop(): number;
public getLastSelectedPosition(): number;
public getPaddingRight(): number;
public setPaddingRight(param0: number): void;
public getSelectedColor(): number;
public getHeight(): number;
public getUnselectedColor(): number;
public setIdleDuration(param0: number): void;
public getPaddingBottom(): number;
public getRadius(): number;
public setAnimationType(param0: com.rd.animation.type.AnimationType): void;
public setPaddingLeft(param0: number): void;
public getPadding(): number;
public setPadding(param0: number): void;
public isInteractiveAnimation(): boolean;
public getOrientation(): com.rd.draw.data.Orientation;
public setAnimationDuration(param0: number): void;
public getRtlMode(): com.rd.draw.data.RtlMode;
public getStroke(): number;
public setSelectingPosition(param0: number): void;
public isDynamicCount(): boolean;
public setPaddingBottom(param0: number): void;
public getViewPagerId(): number;
public getSelectingPosition(): number;
public getSelectedPosition(): number;
public setIdle(param0: boolean): void;
public getIdleDuration(): number;
public setRtlMode(param0: com.rd.draw.data.RtlMode): void;
public setWidth(param0: number): void;
public setViewPagerId(param0: number): void;
public getWidth(): number;
public setFadeOnIdle(param0: boolean): void;
public setSelectedPosition(param0: number): void;
public getAnimationDuration(): number;
public isAutoVisibility(): boolean;
public isIdle(): boolean;
public setRadius(param0: number): void;
public setStroke(param0: number): void;
public setUnselectedColor(param0: number): void;
public setInteractiveAnimation(param0: boolean): void;
public setAutoVisibility(param0: boolean): void;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module data {
export class Orientation {
public static class: java.lang.Class<com.rd.draw.data.Orientation>;
public static HORIZONTAL: com.rd.draw.data.Orientation;
public static VERTICAL: com.rd.draw.data.Orientation;
public static values(): androidNative.Array<com.rd.draw.data.Orientation>;
public static valueOf(param0: string): com.rd.draw.data.Orientation;
public static valueOf(param0: java.lang.Class<any>, param1: string): java.lang.Enum<any>;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module data {
export class PositionSavedState extends globalAndroid.view.View.BaseSavedState {
public static class: java.lang.Class<com.rd.draw.data.PositionSavedState>;
public static CREATOR: globalAndroid.os.Parcelable.Creator<com.rd.draw.data.PositionSavedState>;
public constructor(param0: globalAndroid.os.Parcel);
public describeContents(): number;
public constructor(param0: globalAndroid.os.Parcel, param1: java.lang.ClassLoader);
public getSelectingPosition(): number;
public setSelectedPosition(param0: number): void;
public writeToParcel(param0: globalAndroid.os.Parcel, param1: number): void;
public constructor(param0: globalAndroid.os.Parcelable);
public setSelectingPosition(param0: number): void;
public getLastSelectedPosition(): number;
public getSelectedPosition(): number;
public setLastSelectedPosition(param0: number): void;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module data {
export class RtlMode {
public static class: java.lang.Class<com.rd.draw.data.RtlMode>;
public static On: com.rd.draw.data.RtlMode;
public static Off: com.rd.draw.data.RtlMode;
public static Auto: com.rd.draw.data.RtlMode;
public static values(): androidNative.Array<com.rd.draw.data.RtlMode>;
public static valueOf(param0: java.lang.Class<any>, param1: string): java.lang.Enum<any>;
public static valueOf(param0: string): com.rd.draw.data.RtlMode;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export class Drawer extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.drawer.Drawer>;
public drawThinWorm(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public constructor(param0: com.rd.draw.data.Indicator);
public drawFill(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public drawBasic(param0: globalAndroid.graphics.Canvas, param1: boolean): void;
public drawDrop(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public drawSwap(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public drawWorm(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public drawColor(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public drawScaleDown(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public setup(param0: number, param1: number, param2: number): void;
public drawScale(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
public drawSlide(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value): void;
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class BaseDrawer extends java.lang.Object {
public static class: java.lang.Class<com.rd.draw.drawer.type.BaseDrawer>;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class BasicDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.BasicDrawer>;
public draw(param0: globalAndroid.graphics.Canvas, param1: number, param2: boolean, param3: number, param4: number): void;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class ColorDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.ColorDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number, param4: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class DropDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.DropDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class FillDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.FillDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number, param4: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class ScaleDownDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.ScaleDownDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number, param4: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class ScaleDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.ScaleDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number, param4: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class SlideDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.SlideDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class SwapDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.SwapDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number, param4: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class ThinWormDrawer extends com.rd.draw.drawer.type.WormDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.ThinWormDrawer>;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module draw {
export module drawer {
export module type {
export class WormDrawer extends com.rd.draw.drawer.type.BaseDrawer {
public static class: java.lang.Class<com.rd.draw.drawer.type.WormDrawer>;
public rect: globalAndroid.graphics.RectF;
public constructor(param0: globalAndroid.graphics.Paint, param1: com.rd.draw.data.Indicator);
public draw(param0: globalAndroid.graphics.Canvas, param1: com.rd.animation.data.Value, param2: number, param3: number): void;
}
}
}
}
}
}
declare module com {
export module rd {
export module pageindicatorview {
export class BuildConfig extends java.lang.Object {
public static class: java.lang.Class<com.rd.pageindicatorview.BuildConfig>;
public static DEBUG: boolean;
public static APPLICATION_ID: string;
public static BUILD_TYPE: string;
public static FLAVOR: string;
public static VERSION_CODE: number;
public static VERSION_NAME: string;
public constructor();
}
}
}
}
declare module com {
export module rd {
export module pageindicatorview {
export class R extends java.lang.Object {
public static class: java.lang.Class<com.rd.pageindicatorview.R>;
}
export module R {
export class anim extends java.lang.Object {
public static class: java.lang.Class<com.rd.pageindicatorview.R.anim>;
public static abc_fade_in: number;
public static abc_fade_out: number;
public static abc_grow_fade_in_from_bottom: number;
public static abc_popup_enter: number;
public static abc_popup_exit: number;
public static abc_shrink_fade_out_from_bottom: number;
public static abc_slide_in_bottom: number;
public static abc_slide_in_top: number;
public static abc_slide_out_bottom: number;
public static abc_slide_out_top: number;
public static abc_tooltip_enter: number;
public static abc_tooltip_exit: number;
public static btn_checkbox_to_checked_box_inner_merged_animation: number;
public static btn_checkbox_to_checked_box_outer_merged_animation: number;
public static btn_checkbox_to_checked_icon_null_animation: number;
public static btn_checkbox_to_unchecked_box_inner_merged_animation: number;
public static btn_checkbox_to_unchecked_check_path_merged_animation: number;
public static btn_checkbox_to_unchecked_icon_null_animation: number;
public static btn_radio_to_off_mtrl_dot_group_animation: number;
public static btn_radio_to_off_mtrl_ring_outer_animation: number;
public static btn_radio_to_off_mtrl_ring_outer_path_animation: number;
public static btn_radio_to_on_mtrl_dot_group_animation: number;
public static btn_radio_to_on_mtrl_ring_outer_animation: number;
public static btn_radio_to_on_mtrl_ring_outer_path_animation: number;
}
export class attr extends java.lang.Object {
public static class: java.lang.Class<com.rd.pageindicatorview.R.attr>;
public static actionBarDivider: number;
public static actionBarItemBackground: number;
public static actionBarPopupTheme: number;
public static actionBarSize: number;
public static actionBarSplitStyle: number;
public static actionBarStyle: number;
public static actionBarTabBarStyle: number;
public static actionBarTabStyle: number;
public static actionBarTabTextStyle: number;
public static actionBarTheme: number;
public static actionBarWidgetTheme: number;
public static actionButtonStyle: number;
public static actionDropDownStyle: number;
public static actionLayout: number;
public static actionMenuTextAppearance: number;
public static actionMenuTextColor: number;
public static actionModeBackground: number;
public static actionModeCloseButtonStyle: number;
public static actionModeCloseDrawable: number;
public static actionModeCopyDrawable: number;
public static actionModeCutDrawable: number;
public static actionModeFindDrawable: number;
public static actionModePasteDrawable: number;
public static actionModePopupWindowStyle: number;
public static actionModeSelectAllDrawable: number;
public static actionModeShareDrawable: number;
public static actionModeSplitBackground: number;
public static actionModeStyle: number;
public static actionModeWebSearchDrawable: number;
public static actionOverflowButtonStyle: number;
public static actionOverflowMenuStyle: number;
public static actionProviderClass: number;
public static actionViewClass: number;
public static activityChooserViewStyle: number;
public static alertDialogButtonGroupStyle: number;
public static alertDialogCenterButtons: number;
public static alertDialogStyle: number;
public static alertDialogTheme: number;
public static allowStacking: number;
public static alpha: number;
public static alphabeticModifiers: number;
public static arrowHeadLength: number;
public static arrowShaftLength: number;
public static autoCompleteTextViewStyle: number;
public static autoSizeMaxTextSize: number;
public static autoSizeMinTextSize: number;
public static autoSizePresetSizes: number;
public static autoSizeStepGranularity: number;
public static autoSizeTextType: number;
public static background: number;
public static backgroundSplit: number;
public static backgroundStacked: number;
public static backgroundTint: number;
public static backgroundTintMode: number;
public static barLength: number;
public static borderlessButtonStyle: number;
public static buttonBarButtonStyle: number;
public static buttonBarNegativeButtonStyle: number;
public static buttonBarNeutralButtonStyle: number;
public static buttonBarPositiveButtonStyle: number;
public static buttonBarStyle: number;
public static buttonCompat: number;
public static buttonGravity: number;
public static buttonIconDimen: number;
public static buttonPanelSideLayout: number;
public static buttonStyle: number;
public static buttonStyleSmall: number;
public static buttonTint: number;
public static buttonTintMode: number;
public static checkboxStyle: number;
public static checkedTextViewStyle: number;
public static closeIcon: number;
public static closeItemLayout: number;
public static collapseContentDescription: number;
public static collapseIcon: number;
public static color: number;
public static colorAccent: number;
public static colorBackgroundFloating: number;
public static colorButtonNormal: number;
public static colorControlActivated: number;
public static colorControlHighlight: number;
public static colorControlNormal: number;
public static colorError: number;
public static colorPrimary: number;
public static colorPrimaryDark: number;
public static colorSwitchThumbNormal: number;
public static commitIcon: number;
public static contentDescription: number;
public static contentInsetEnd: number;
public static contentInsetEndWithActions: number;
public static contentInsetLeft: number;
public static contentInsetRight: number;
public static contentInsetStart: number;
public static contentInsetStartWithNavigation: number;
public static controlBackground: number;
public static coordinatorLayoutStyle: number;