CommonBehavior

abstract class CommonBehavior(val mode: FloatingPane.FloatingPaneMode, val callbackNotifier: FloatingPaneCallbackNotifier)

Base class for defining the behavior of a floating pane in different modes. This class provides common functionalities and properties that can be extended by specific behavior implementations.

Inheritors

Constructors

Link copied to clipboard
constructor(mode: FloatingPane.FloatingPaneMode, callbackNotifier: FloatingPaneCallbackNotifier)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var customHeight: Int?
Link copied to clipboard
open var customMaxHeight: Int?
Link copied to clipboard
open var customMaxWidth: Int?
Link copied to clipboard
open var customMinHeight: Int?
Link copied to clipboard
Link copied to clipboard
open var customMinWidth: Int?
Link copied to clipboard
open var customWidth: 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

The FloatingPaneMode this behavior is associated with.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun getHideAnimation(context: Context, target: View): AnimatorSet?
Link copied to clipboard
open fun getHideSpringAnimation(context: Context, target: View): SpringAnimation?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinimizeRect(minimize: Boolean, from: Rect): Rect
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getShowAnimation(context: Context, target: View): AnimatorSet?
Link copied to clipboard
open fun getShowSpringAnimation(context: Context, target: View): SpringAnimation?
Link copied to clipboard
open fun getTargetModeBounds(view: View, moveValidArea: Boolean = true): Rect
Link copied to clipboard
open fun initBehavior(parent: View)
Link copied to clipboard
open fun isMinimizableRect(newRect: Rect): Boolean
Link copied to clipboard
open fun isSupported(context: Context): Boolean
Link copied to clipboard
Link copied to clipboard
open fun loadState(parent: View)
Link copied to clipboard
open fun saveState(parent: View)
Link copied to clipboard
fun setMaxHeight(value: Int)
Link copied to clipboard
fun setMaxWidth(value: Int)
Link copied to clipboard
fun setMinHeight(value: Int)
Link copied to clipboard
open fun setMinimize(minimize: Boolean, view: View)
Link copied to clipboard
fun setMinWidth(value: Int)
Link copied to clipboard
open fun shouldInterceptTouch(view: View, event: MotionEvent): Boolean
Link copied to clipboard
abstract fun updateBehavior(parent: View)
Link copied to clipboard
open fun updateLayoutParams(view: View)
Link copied to clipboard
open fun updateMinimize(view: View): Boolean
Link copied to clipboard
open fun updateState(view: View, event: MotionEvent)