final Element element,
final float normalizedTime,
final Falloff falloff,
final NiftyRenderEngine r) {
if (normalizedTime > 0.0) {
final Element hintLayer = nifty.getCurrentScreen().findElementByName(hintLayerId);
if (hintLayer != null && !hintLayer.isVisible()) {
// decide if we can already show the hint
if (nifty.getNiftyMouse().getNoMouseMovementTime() > hintDelay) {
Element hintPanel = hintLayer.findElementByName(hintPanelId);
if (hintPanel != null) {
hintPanel.setConstraintX(new SizeValue(getPosX(element, hintPanel, r.getWidth()) + "px"));
hintPanel.setConstraintY(new SizeValue(getPosY(element, hintPanel, r.getHeight()) + "px"));
hintLayer.layoutElements();
hintLayer.show();
}
}