Searched refs:lastRotateLen (Results 1 – 2 of 2) sorted by relevance
377 int16_t lastRotateLen = GetMaxRotate(); in OnRotateEndEvent() local379 …dir = (lastRotateLen >= 0) ? DragEvent::DIRECTION_LEFT_TO_RIGHT : DragEvent::DIRECTION_RIGHT_TO_LE… in OnRotateEndEvent()381 …dir = (lastRotateLen >= 0) ? DragEvent::DIRECTION_TOP_TO_BOTTOM : DragEvent::DIRECTION_BOTTOM_TO_T… in OnRotateEndEvent()383 bool triggerAnimator = (MATH_ABS(lastRotateLen) >= rotateThrowthreshold_); in OnRotateEndEvent()387 current = {lastRotateLen, 0}; in OnRotateEndEvent()389 current = {0, lastRotateLen}; in OnRotateEndEvent()
217 int16_t lastRotateLen = GetMaxRotate(); in OnRotateEndEvent() local219 …dir = (lastRotateLen >= 0) ? DragEvent::DIRECTION_LEFT_TO_RIGHT : DragEvent::DIRECTION_RIGHT_TO_LE… in OnRotateEndEvent()221 …dir = (lastRotateLen >= 0) ? DragEvent::DIRECTION_TOP_TO_BOTTOM : DragEvent::DIRECTION_BOTTOM_TO_T… in OnRotateEndEvent()224 RefreshCurrentViewByThrow(lastRotateLen, dir, &UIView::GetX, &UIView::GetWidthWithMargin); in OnRotateEndEvent()226 RefreshCurrentViewByThrow(lastRotateLen, dir, &UIView::GetY, &UIView::GetHeightWithMargin); in OnRotateEndEvent()