MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / initListMotion

Method initListMotion

CodenameOne/src/com/codename1/ui/List.java:1055–1062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1053 }
1054
1055 private void initListMotion() {
1056 Form p = getComponentForm();
1057 if (p != null) {
1058 p.registerAnimatedInternal(this);
1059 }
1060 listMotion = Motion.createSplineMotion(0, destination, getScrollAnimationSpeed());
1061 listMotion.start();
1062 }
1063
1064 /// Calculates the desired bounds for the component and returns them within the
1065 /// given rectangle.

Callers 2

animateMethod · 0.95

Calls 5

createSplineMotionMethod · 0.95
startMethod · 0.65
getComponentFormMethod · 0.45

Tested by

no test coverage detected