Lines Matching refs:shakeAnim
640 shakeAnim = DemoItemAnimation(button, DemoItemAnimation.ANIM_UNSPECIFIED)
641 shakeAnim.setDuration(650)
642 shakeAnim.setStartValue(buttonIn.endValue())
643 shakeAnim.setKeyValueAt(0.60, buttonIn.endValue())
644 shakeAnim.setKeyValueAt(0.70, buttonIn.endValue() + QPointF(-3, 0))
645 shakeAnim.setKeyValueAt(0.80, buttonIn.endValue() + QPointF(2, 0))
646 shakeAnim.setKeyValueAt(0.90, buttonIn.endValue() + QPointF(-1, 0))
647 shakeAnim.setEndValue(buttonIn.endValue())
648 movieShake.append(shakeAnim)
802 shakeAnim = DemoItemAnimation(self.upButton,
804 shakeAnim.setDuration(650)
805 shakeAnim.setStartValue(self.upButton.pos())
806 shakeAnim.setKeyValueAt(0.60, self.upButton.pos())
807 shakeAnim.setKeyValueAt(0.70, self.upButton.pos() + QPointF(-2, 0))
808 shakeAnim.setKeyValueAt(0.80, self.upButton.pos() + QPointF(1, 0))
809 shakeAnim.setKeyValueAt(0.90, self.upButton.pos() + QPointF(-1, 0))
810 shakeAnim.setEndValue(self.upButton.pos())
811 movieShake.append(shakeAnim)
813 shakeAnim = DemoItemAnimation(self.downButton,
815 shakeAnim.setDuration(650)
816 shakeAnim.setStartValue(self.downButton.pos())
817 shakeAnim.setKeyValueAt(0.60, self.downButton.pos())
818 shakeAnim.setKeyValueAt(0.70, self.downButton.pos() + QPointF(-5, 0))
819 shakeAnim.setKeyValueAt(0.80, self.downButton.pos() + QPointF(-3, 0))
820 shakeAnim.setKeyValueAt(0.90, self.downButton.pos() + QPointF(-1, 0))
821 shakeAnim.setEndValue(self.downButton.pos())
822 movieShake.append(shakeAnim)