Fixed the maxPanelheight on the lockscreen

Previously the maxPanelHeight was depending
on the actual position also including the current
expand position. That could lead to flickering
and the hint animation being wrong.

Bug: 130327302
Test: expand and collapse panel, perform hint while dismiss function is enabled
Change-Id: I606690898a52a1999c391888149d490f20a0b9cb
3 files changed