-
- All Implemented Interfaces:
-
android.view.View.OnLayoutChangeListener
public final class FxViewLocationHelper extends FxViewBasicHelper implements View.OnLayoutChangeListener
浮窗坐标的配置助手,用于处理坐标相关的处理
-
-
Constructor Summary
Constructors Constructor Description FxViewLocationHelper()
-
Method Summary
Modifier and Type Method Description UnitinitConfig(FxBasicContainerView parentView)UnitonInit()UnitonSizeChanged(Integer w, Integer h, Integer oldW, Integer oldH)UnitonConfigurationChanged(Configuration config)UnitonLayoutChange(View v, Integer left, Integer top, Integer right, Integer bottom, Integer oldLeft, Integer oldTop, Integer oldRight, Integer oldBottom)final UnitneedUpdateLocation()final Pair<Float, Float>getDefaultEdgeXY()final FloatsafeX(Float x, Boolean isMoveIng)final FloatsafeY(Float y, Boolean isMoveIng)final UnitcheckOrSaveLocation(Float x, Float y)-
-
Method Detail
-
initConfig
Unit initConfig(FxBasicContainerView parentView)
-
onConfigurationChanged
Unit onConfigurationChanged(Configuration config)
-
onLayoutChange
Unit onLayoutChange(View v, Integer left, Integer top, Integer right, Integer bottom, Integer oldLeft, Integer oldTop, Integer oldRight, Integer oldBottom)
-
needUpdateLocation
final Unit needUpdateLocation()
-
getDefaultEdgeXY
final Pair<Float, Float> getDefaultEdgeXY()
-
checkOrSaveLocation
final Unit checkOrSaveLocation(Float x, Float y)
-
-
-
-