TtSmoothProgressBar

class TtSmoothProgressBar @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : ProgressBar

A reusable smooth progress bar control where the progress will be animated when updated.

Parameters

context

The display context.

attrs

The attribute set provided in the layout XML file.

defStyleAttr

The default style attribute set.

Constructors

Link copied to clipboard
fun TtSmoothProgressBar(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Properties

Link copied to clipboard

The time transition information which contains the start and end point, and is used for the animation.

Link copied to clipboard

Shows or hides a secondary progress drawable that indicates an indeterminate progress besides the determinate primary progress.

Functions

Link copied to clipboard
open override fun setProgressDrawable(drawable: Drawable?)
Link copied to clipboard

Inherited functions

Link copied to clipboard
Link copied to clipboard
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun bringToFront()
Link copied to clipboard
Link copied to clipboard
open fun buildLayer()
Link copied to clipboard
open fun callOnClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun cancelLongPress()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearAnimation()
Link copied to clipboard
open fun clearFocus()
Link copied to clipboard
Link copied to clipboard
open fun computeScroll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchDisplayHint(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedFling(p0: Float, p1: Float, p2: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?): Boolean
Link copied to clipboard
open fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun draw(p0: Canvas)
Link copied to clipboard
open override fun drawableHotspotChanged(p0: Float, p1: Float)
Link copied to clipboard
open fun findFocus(): View
Link copied to clipboard
fun <T : View> findViewById(p0: Int): T
Link copied to clipboard
Link copied to clipboard
fun <T : View> findViewWithTag(p0: Any): T
Link copied to clipboard
open fun focusSearch(p0: Int): View
Link copied to clipboard
Link copied to clipboard
open fun forceLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAlpha(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAutofillType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBaseline(): Int
Link copied to clipboard
fun getBottom(): Int
Link copied to clipboard
Link copied to clipboard
open fun getClipBounds(): Rect
open fun getClipBounds(p0: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDrawingRect(p0: Rect)
Link copied to clipboard
open fun getDrawingTime(): Long
Link copied to clipboard
open fun getElevation(): Float
Link copied to clipboard
open fun getExplicitStyle(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusable(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusedRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getHandler(): Handler
Link copied to clipboard
fun getHeight(): Int
Link copied to clipboard
open fun getHitRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
open fun getId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLabelFor(): Int
Link copied to clipboard
open fun getLayerType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLeft(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMatrix(): Matrix
Link copied to clipboard
open fun getMax(): Int
Link copied to clipboard
open fun getMaxHeight(): Int
Link copied to clipboard
open fun getMaxWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMin(): Int
Link copied to clipboard
open fun getMinHeight(): Int
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
open fun getMinWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getNextFocusUpId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPaddingBottom(): Int
Link copied to clipboard
open fun getPaddingEnd(): Int
Link copied to clipboard
open fun getPaddingLeft(): Int
Link copied to clipboard
open fun getPaddingRight(): Int
Link copied to clipboard
open fun getPaddingStart(): Int
Link copied to clipboard
open fun getPaddingTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPivotX(): Float
Link copied to clipboard
open fun getPivotY(): Float
Link copied to clipboard
Link copied to clipboard
open fun getProgress(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getRight(): Int
Link copied to clipboard
open fun getRootView(): View
Link copied to clipboard
Link copied to clipboard
open fun getRotation(): Float
Link copied to clipboard
open fun getRotationX(): Float
Link copied to clipboard
open fun getRotationY(): Float
Link copied to clipboard
open fun getScaleX(): Float
Link copied to clipboard
open fun getScaleY(): Float
Link copied to clipboard
Link copied to clipboard
open fun getScrollBarSize(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSolidColor(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTag(): Any
open fun getTag(p0: Int): Any
Link copied to clipboard
open fun getTextAlignment(): Int
Link copied to clipboard
open fun getTextDirection(): Int
Link copied to clipboard
Link copied to clipboard
fun getTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getVisibility(): Int
Link copied to clipboard
fun getWidth(): Int
Link copied to clipboard
open fun getWindowId(): WindowId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getX(): Float
Link copied to clipboard
open fun getY(): Float
Link copied to clipboard
open fun getZ(): Float
Link copied to clipboard
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun hasFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun invalidate()
open fun invalidate(p0: Rect)
open fun invalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open override fun invalidateDrawable(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isActivated(): Boolean
Link copied to clipboard
open fun isAnimating(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isClickable(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isDirty(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isFocused(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isHovered(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInEditMode(): Boolean
Link copied to clipboard
open fun isInLayout(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isLaidOut(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPivotSet(): Boolean
Link copied to clipboard
open fun isPressed(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSelected(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isShown(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun jumpDrawablesToCurrentState()
Link copied to clipboard
Link copied to clipboard
open fun layout(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
fun measure(p0: Int, p1: Int)
Link copied to clipboard
open fun offsetLeftAndRight(p0: Int)
Link copied to clipboard
open fun offsetTopAndBottom(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onDrawForeground(p0: Canvas)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onHoverChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyPreIme(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onRestoreInstanceState(p0: Parcelable)
Link copied to clipboard
Link copied to clipboard
open override fun onSaveInstanceState(): Parcelable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onVisibilityAggregated(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun performClick(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun playSoundEffect(p0: Int)
Link copied to clipboard
open fun post(p0: Runnable): Boolean
Link copied to clipboard
open fun postDelayed(p0: Runnable, p1: Long): Boolean
Link copied to clipboard
open override fun postInvalidate()
open fun postInvalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun postInvalidateDelayed(p0: Long, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun postInvalidateOnAnimation(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View> requireViewById(p0: Int): T
Link copied to clipboard
open fun resetPivot()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
Link copied to clipboard
open fun scrollBy(p0: Int, p1: Int)
Link copied to clipboard
open fun scrollTo(p0: Int, p1: Int)
Link copied to clipboard
open override fun sendAccessibilityEvent(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setActivated(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setAlpha(p0: Float)
Link copied to clipboard
open fun setAnimation(p0: Animation)
Link copied to clipboard
open fun setAnimationMatrix(p0: Matrix?)
Link copied to clipboard
open fun setAutofillHints(vararg p0: String)
Link copied to clipboard
open fun setAutofillId(p0: AutofillId?)
Link copied to clipboard
open fun setBackground(p0: Drawable)
Link copied to clipboard
open fun setBackgroundColor(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setBottom(p0: Int)
Link copied to clipboard
open fun setCameraDistance(p0: Float)
Link copied to clipboard
open fun setClickable(p0: Boolean)
Link copied to clipboard
open fun setClipBounds(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setElevation(p0: Float)
Link copied to clipboard
open fun setEnabled(p0: Boolean)
Link copied to clipboard
open fun setFadingEdgeLength(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setFocusable(p0: Boolean)
open fun setFocusable(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setForeground(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHovered(p0: Boolean)
Link copied to clipboard
open fun setId(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setInterpolator(p0: Context, p1: Int)
Link copied to clipboard
open fun setKeepScreenOn(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setLabelFor(p0: Int)
Link copied to clipboard
open fun setLayerPaint(p0: Paint?)
Link copied to clipboard
open fun setLayerType(p0: Int, p1: Paint?)
Link copied to clipboard
open fun setLayoutDirection(p0: Int)
Link copied to clipboard
Link copied to clipboard
fun setLeft(p0: Int)
Link copied to clipboard
fun setLeftTopRightBottom(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setMax(p0: Int)
Link copied to clipboard
open fun setMaxHeight(p0: Int)
Link copied to clipboard
open fun setMaxWidth(p0: Int)
Link copied to clipboard
open fun setMin(p0: Int)
Link copied to clipboard
open fun setMinHeight(p0: Int)
Link copied to clipboard
open fun setMinimumHeight(p0: Int)
Link copied to clipboard
open fun setMinimumWidth(p0: Int)
Link copied to clipboard
open fun setMinWidth(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusDownId(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusLeftId(p0: Int)
Link copied to clipboard
open fun setNextFocusRightId(p0: Int)
Link copied to clipboard
open fun setNextFocusUpId(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOverScrollMode(p0: Int)
Link copied to clipboard
open fun setPadding(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun setPaddingRelative(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun setPivotX(p0: Float)
Link copied to clipboard
open fun setPivotY(p0: Float)
Link copied to clipboard
Link copied to clipboard
open fun setPressed(p0: Boolean)
Link copied to clipboard
open fun setProgress(p0: Int)
open fun setProgress(p0: Int, p1: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setRight(p0: Int)
Link copied to clipboard
open fun setRotation(p0: Float)
Link copied to clipboard
open fun setRotationX(p0: Float)
Link copied to clipboard
open fun setRotationY(p0: Float)
Link copied to clipboard
open fun setSaveEnabled(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setScaleX(p0: Float)
Link copied to clipboard
open fun setScaleY(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollBarSize(p0: Int)
Link copied to clipboard
open fun setScrollBarStyle(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollIndicators(p0: Int)
open fun setScrollIndicators(p0: Int, p1: Int)
Link copied to clipboard
open fun setScrollX(p0: Int)
Link copied to clipboard
open fun setScrollY(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setSelected(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun setStateDescription(p0: CharSequence?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTag(p0: Any)
open fun setTag(p0: Int, p1: Any)
Link copied to clipboard
open fun setTextAlignment(p0: Int)
Link copied to clipboard
open fun setTextDirection(p0: Int)
Link copied to clipboard
Link copied to clipboard
fun setTop(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTranslationX(p0: Float)
Link copied to clipboard
open fun setTranslationY(p0: Float)
Link copied to clipboard
open fun setTranslationZ(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setVisibility(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setWillNotDraw(p0: Boolean)
Link copied to clipboard
open fun setX(p0: Float)
Link copied to clipboard
open fun setY(p0: Float)
Link copied to clipboard
open fun setZ(p0: Float)
Link copied to clipboard
open fun showContextMenu(p0: Float, p1: Float): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun stopNestedScroll()
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun willNotDraw(): Boolean