| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | static const int FlickThreshold = 15; | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | static const int RetainGrabVelocity = 100; | - |
| 19 | template<typename T> | - |
| 20 | static T Round(T t) { | - |
| 21 | returnexecuted 3734 times by 9 tests: return round(t);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
round(t);executed 3734 times by 9 tests: return round(t);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 3734 |
| 22 | } | - |
| 23 | template<> | - |
| 24 | __attribute__((__unused__)) float Round<float>(float f) { | - |
| 25 | return never executed: return roundf(f); roundf(f);never executed: return roundf(f); | 0 |
| 26 | } | - |
| 27 | | - |
| 28 | static qreal EaseOvershoot(qreal t) { | - |
| 29 | return never executed: return qAtan(t); qAtan(t);never executed: return qAtan(t); | 0 |
| 30 | } | - |
| 31 | | - |
| 32 | QQuickFlickableVisibleArea::QQuickFlickableVisibleArea(QQuickFlickable *parent) | - |
| 33 | : QObject(parent), flickable(parent), m_xPosition(0.), m_widthRatio(0.) | - |
| 34 | , m_yPosition(0.), m_heightRatio(0.) | - |
| 35 | { | - |
| 36 | }executed 566 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 566 |
| 37 | | - |
| 38 | qreal QQuickFlickableVisibleArea::widthRatio() const | - |
| 39 | { | - |
| 40 | returnexecuted 18 times by 2 tests: return m_widthRatio;Executed by:- tst_examples
- tst_qquickflickable
m_widthRatio;executed 18 times by 2 tests: return m_widthRatio;Executed by:- tst_examples
- tst_qquickflickable
| 18 |
| 41 | } | - |
| 42 | | - |
| 43 | qreal QQuickFlickableVisibleArea::xPosition() const | - |
| 44 | { | - |
| 45 | returnexecuted 8 times by 1 test: return m_xPosition; m_xPosition;executed 8 times by 1 test: return m_xPosition; | 8 |
| 46 | } | - |
| 47 | | - |
| 48 | qreal QQuickFlickableVisibleArea::heightRatio() const | - |
| 49 | { | - |
| 50 | returnexecuted 2324 times by 3 tests: return m_heightRatio;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
m_heightRatio;executed 2324 times by 3 tests: return m_heightRatio;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 2324 |
| 51 | } | - |
| 52 | | - |
| 53 | qreal QQuickFlickableVisibleArea::yPosition() const | - |
| 54 | { | - |
| 55 | returnexecuted 18 times by 1 test: return m_yPosition; m_yPosition;executed 18 times by 1 test: return m_yPosition; | 18 |
| 56 | } | - |
| 57 | | - |
| 58 | void QQuickFlickableVisibleArea::updateVisible() | - |
| 59 | { | - |
| 60 | QQuickFlickablePrivate *p = QQuickFlickablePrivate::get(flickable); | - |
| 61 | | - |
| 62 | bool changeX = false; | - |
| 63 | bool changeY = false; | - |
| 64 | bool changeWidth = false; | - |
| 65 | bool changeHeight = false; | - |
| 66 | | - |
| 67 | | - |
| 68 | const qreal viewheight = flickable->height(); | - |
| 69 | const qreal maxyextent = -flickable->maxYExtent() + flickable->minYExtent(); | - |
| 70 | qreal pagePos = (-p->vData.move.value() + flickable->minYExtent()) / (maxyextent + viewheight); | - |
| 71 | qreal pageSize = viewheight / (maxyextent + viewheight); | - |
| 72 | | - |
| 73 | if (pageSize != m_heightRatio| TRUE | evaluated 2318 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 2483 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) { | 2318-2483 |
| 74 | m_heightRatio = pageSize; | - |
| 75 | changeHeight = true; | - |
| 76 | }executed 2318 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 2318 |
| 77 | if (pagePos != m_yPosition| TRUE | evaluated 946 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 3855 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) { | 946-3855 |
| 78 | m_yPosition = pagePos; | - |
| 79 | changeY = true; | - |
| 80 | }executed 946 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 946 |
| 81 | | - |
| 82 | | - |
| 83 | const qreal viewwidth = flickable->width(); | - |
| 84 | const qreal maxxextent = -flickable->maxXExtent() + flickable->minXExtent(); | - |
| 85 | pagePos = (-p->hData.move.value() + flickable->minXExtent()) / (maxxextent + viewwidth); | - |
| 86 | pageSize = viewwidth / (maxxextent + viewwidth); | - |
| 87 | | - |
| 88 | if (pageSize != m_widthRatio| TRUE | evaluated 584 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 4217 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) { | 584-4217 |
| 89 | m_widthRatio = pageSize; | - |
| 90 | changeWidth = true; | - |
| 91 | }executed 584 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 584 |
| 92 | if (pagePos != m_xPosition| TRUE | evaluated 4787 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 14 times by 1 test |
) { | 14-4787 |
| 93 | m_xPosition = pagePos; | - |
| 94 | changeX = true; | - |
| 95 | }executed 4787 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 4787 |
| 96 | | - |
| 97 | if (changeX| TRUE | evaluated 4787 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 14 times by 1 test |
) | 14-4787 |
| 98 | xPositionChanged(m_xPosition);executed 4787 times by 3 tests: xPositionChanged(m_xPosition);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 4787 |
| 99 | if (changeY| TRUE | evaluated 946 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 3855 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) | 946-3855 |
| 100 | yPositionChanged(m_yPosition);executed 946 times by 3 tests: yPositionChanged(m_yPosition);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 946 |
| 101 | if (changeWidth| TRUE | evaluated 584 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 4217 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) | 584-4217 |
| 102 | widthRatioChanged(m_widthRatio);executed 584 times by 3 tests: widthRatioChanged(m_widthRatio);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 584 |
| 103 | if (changeHeight| TRUE | evaluated 2318 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 2483 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) | 2318-2483 |
| 104 | heightRatioChanged(m_heightRatio);executed 2318 times by 3 tests: heightRatioChanged(m_heightRatio);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 2318 |
| 105 | }executed 4801 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 4801 |
| 106 | | - |
| 107 | | - |
| 108 | class QQuickFlickableReboundTransition : public QQuickTransitionManager | - |
| 109 | { | - |
| 110 | public: | - |
| 111 | QQuickFlickableReboundTransition(QQuickFlickable *f, const QString &name) | - |
| 112 | : flickable(f), axisData(nullptr), propName(name), active(false) | - |
| 113 | { | - |
| 114 | }executed 8 times by 1 test: end of block | 8 |
| 115 | | - |
| 116 | ~QQuickFlickableReboundTransition() | - |
| 117 | { | - |
| 118 | flickable = nullptr; | - |
| 119 | }executed 8 times by 1 test: end of block | 8 |
| 120 | | - |
| 121 | bool startTransition(QQuickFlickablePrivate::AxisData *data, qreal toPos) { | - |
| 122 | QQuickFlickablePrivate *fp = QQuickFlickablePrivate::get(flickable); | - |
| 123 | if (!fp->rebound| TRUE | never evaluated | | FALSE | never evaluated |
|| !fp->rebound->enabled()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 124 | return never executed: return false; false;never executed: return false; | 0 |
| 125 | active = true; | - |
| 126 | axisData = data; | - |
| 127 | axisData->transitionTo = toPos; | - |
| 128 | axisData->transitionToSet = true; | - |
| 129 | | - |
| 130 | actions.clear(); | - |
| 131 | actions << QQuickStateAction(fp->contentItem, propName, toPos); | - |
| 132 | QQuickTransitionManager::transition(actions, fp->rebound, fp->contentItem); | - |
| 133 | return never executed: return true; true;never executed: return true; | 0 |
| 134 | } | - |
| 135 | | - |
| 136 | bool isActive() const { | - |
| 137 | return never executed: return active; active;never executed: return active; | 0 |
| 138 | } | - |
| 139 | | - |
| 140 | void stopTransition() { | - |
| 141 | if (!flickable| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
|| !isRunning()| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-4 |
| 142 | return;executed 4 times by 1 test: return; | 4 |
| 143 | QQuickFlickablePrivate *fp = QQuickFlickablePrivate::get(flickable); | - |
| 144 | if (axisData == &fp->hData| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 145 | axisData->move.setValue(-flickable->contentX()); never executed: axisData->move.setValue(-flickable->contentX()); | 0 |
| 146 | else | - |
| 147 | axisData->move.setValue(-flickable->contentY()); never executed: axisData->move.setValue(-flickable->contentY()); | 0 |
| 148 | cancel(); | - |
| 149 | active = false; | - |
| 150 | } never executed: end of block | 0 |
| 151 | | - |
| 152 | protected: | - |
| 153 | void finished() override { | - |
| 154 | if (!flickable| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 155 | return; never executed: return; | 0 |
| 156 | axisData->move.setValue(axisData->transitionTo); | - |
| 157 | QQuickFlickablePrivate *fp = QQuickFlickablePrivate::get(flickable); | - |
| 158 | active = false; | - |
| 159 | | - |
| 160 | if (!fp->hData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 161 | && !fp->vData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 162 | flickable->movementEnding(); | - |
| 163 | } never executed: end of block | 0 |
| 164 | } never executed: end of block | 0 |
| 165 | | - |
| 166 | private: | - |
| 167 | QQuickStateOperation::ActionList actions; | - |
| 168 | QQuickFlickable *flickable; | - |
| 169 | QQuickFlickablePrivate::AxisData *axisData; | - |
| 170 | QString propName; | - |
| 171 | bool active; | - |
| 172 | }; | - |
| 173 | | - |
| 174 | QQuickFlickablePrivate::AxisData::~AxisData() | - |
| 175 | { | - |
| 176 | delete transitionToBounds; | - |
| 177 | }executed 8184 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 8184 |
| 178 | | - |
| 179 | | - |
| 180 | QQuickFlickablePrivate::QQuickFlickablePrivate() | - |
| 181 | : contentItem(new QQuickItem) | - |
| 182 | , hData(this, &QQuickFlickablePrivate::setViewportX) | - |
| 183 | , vData(this, &QQuickFlickablePrivate::setViewportY) | - |
| 184 | , hMoved(false), vMoved(false) | - |
| 185 | , stealMouse(false), pressed(false) | - |
| 186 | , scrollingPhase(false), interactive(true), calcVelocity(false) | - |
| 187 | , pixelAligned(false) | - |
| 188 | , lastPosTime(-1) | - |
| 189 | , lastPressTime(0) | - |
| 190 | , deceleration(1500) | - |
| 191 | , maxVelocity(2500), reportedVelocitySmoothing(100) | - |
| 192 | , delayedPressEvent(nullptr), pressDelay(0), fixupDuration(400) | - |
| 193 | , flickBoost(1.0), fixupMode(Normal), vTime(0), visibleArea(nullptr) | - |
| 194 | , flickableDirection(QQuickFlickable::AutoFlickDirection) | - |
| 195 | , boundsBehavior(QQuickFlickable::DragAndOvershootBounds) | - |
| 196 | , boundsMovement(QQuickFlickable::FollowBoundsBehavior) | - |
| 197 | , rebound(nullptr) | - |
| 198 | { | - |
| 199 | }executed 4100 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4100 |
| 200 | | - |
| 201 | void QQuickFlickablePrivate::init() | - |
| 202 | { | - |
| 203 | QQuickFlickable * const q = q_func(); | - |
| 204 | QQml_setParent_noEvent(contentItem, q); | - |
| 205 | contentItem->setParentItem(q); | - |
| 206 | { QQuickTimeLine *sender = (&timeline); QQuickFlickable *receiver = (q); const char *signal = (qFlagLocation("2""completed()" "\0" __FILE__ ":" "270")); const char *method = (qFlagLocation("1""timelineCompleted()" "\0" __FILE__ ":" "270")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 36 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 4064 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 36-4064 |
| 207 | __FILE__ | - |
| 208 | , | - |
| 209 | 270 | - |
| 210 | )); signalIdx = QQuickTimeLine::staticMetaObject.indexOfSignal(signal+1); }executed 36 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
if (methodIdx < 0| TRUE | evaluated 36 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 4064 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 36-4064 |
| 211 | __FILE__ | - |
| 212 | , | - |
| 213 | 270 | - |
| 214 | )); if (code == 1| TRUE | evaluated 36 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
) methodIdx = QQuickFlickable::staticMetaObject.indexOfSlot(method+1);executed 36 times by 18 tests: methodIdx = QQuickFlickable::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
else methodIdx = QQuickFlickable::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickFlickable::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-36 |
| 215 | __FILE__ | - |
| 216 | , | - |
| 217 | 270 | - |
| 218 | )); QMetaObject::connect(sender, signalIdx, receiver, methodIdx, Qt::DirectConnection); } | - |
| 219 | | - |
| 220 | { QQuickTimeLine *sender = (&velocityTimeline); QQuickFlickable *receiver = (q); const char *signal = (qFlagLocation("2""completed()" "\0" __FILE__ ":" "272")); const char *method = (qFlagLocation("1""velocityTimelineCompleted()" "\0" __FILE__ ":" "272")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 36 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 4064 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 36-4064 |
| 221 | __FILE__ | - |
| 222 | , | - |
| 223 | 272 | - |
| 224 | )); signalIdx = QQuickTimeLine::staticMetaObject.indexOfSignal(signal+1); }executed 36 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
if (methodIdx < 0| TRUE | evaluated 36 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 4064 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 36-4064 |
| 225 | __FILE__ | - |
| 226 | , | - |
| 227 | 272 | - |
| 228 | )); if (code == 1| TRUE | evaluated 36 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
) methodIdx = QQuickFlickable::staticMetaObject.indexOfSlot(method+1);executed 36 times by 18 tests: methodIdx = QQuickFlickable::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
else methodIdx = QQuickFlickable::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickFlickable::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-36 |
| 229 | __FILE__ | - |
| 230 | , | - |
| 231 | 272 | - |
| 232 | )); QMetaObject::connect(sender, signalIdx, receiver, methodIdx, Qt::DirectConnection); } | - |
| 233 | | - |
| 234 | q->setAcceptedMouseButtons(Qt::LeftButton); | - |
| 235 | q->setAcceptTouchEvents(false); | - |
| 236 | q->setFiltersChildMouseEvents(true); | - |
| 237 | QQuickItemPrivate *viewportPrivate = QQuickItemPrivate::get(contentItem); | - |
| 238 | viewportPrivate->addItemChangeListener(this, QQuickItemPrivate::Geometry); | - |
| 239 | }executed 4100 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4100 |
| 240 | | - |
| 241 | | - |
| 242 | | - |
| 243 | | - |
| 244 | | - |
| 245 | qreal QQuickFlickablePrivate::overShootDistance(qreal size) const | - |
| 246 | { | - |
| 247 | if (maxVelocity <= 0| TRUE | never evaluated | | FALSE | evaluated 346 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 0-346 |
| 248 | return never executed: return 0.0; 0.0;never executed: return 0.0; | 0 |
| 249 | | - |
| 250 | returnexecuted 346 times by 7 tests: return qMin(qreal(150), size/3);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
qMin(qreal(150), size/3);executed 346 times by 7 tests: return qMin(qreal(150), size/3);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 346 |
| 251 | } | - |
| 252 | | - |
| 253 | void QQuickFlickablePrivate::AxisData::addVelocitySample(qreal v, qreal maxVelocity) | - |
| 254 | { | - |
| 255 | if (v > maxVelocity| TRUE | evaluated 501 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 4869 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 501-4869 |
| 256 | v = maxVelocity;executed 501 times by 6 tests: v = maxVelocity;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 501 |
| 257 | else if (v < -maxVelocity| TRUE | evaluated 518 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 4351 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 518-4351 |
| 258 | v = -maxVelocity;executed 518 times by 3 tests: v = -maxVelocity;Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
| 518 |
| 259 | velocityBuffer.append(v); | - |
| 260 | if (velocityBuffer.count() > 3| TRUE | evaluated 2866 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 2504 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 2504-2866 |
| 261 | velocityBuffer.remove(0);executed 2866 times by 7 tests: velocityBuffer.remove(0);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 2866 |
| 262 | }executed 5370 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 5370 |
| 263 | | - |
| 264 | void QQuickFlickablePrivate::AxisData::updateVelocity() | - |
| 265 | { | - |
| 266 | velocity = 0; | - |
| 267 | if (velocityBuffer.count() > 0| TRUE | evaluated 840 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 700 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 700-840 |
| 268 | int count = velocityBuffer.count()-0; | - |
| 269 | for (int i = 0; i < count| TRUE | evaluated 2326 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 840 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; ++i) { | 840-2326 |
| 270 | qreal v = velocityBuffer.at(i); | - |
| 271 | velocity += v; | - |
| 272 | }executed 2326 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 2326 |
| 273 | velocity /= count; | - |
| 274 | }executed 840 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 840 |
| 275 | }executed 1540 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1540 |
| 276 | | - |
| 277 | void QQuickFlickablePrivate::itemGeometryChanged(QQuickItem *item, QQuickGeometryChange change, const QRectF &) | - |
| 278 | { | - |
| 279 | QQuickFlickable * const q = q_func(); | - |
| 280 | if (item == contentItem| TRUE | evaluated 39814 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 155234 times by 11 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
) { | 39814-155234 |
| 281 | Qt::Orientations orient = nullptr; | - |
| 282 | if (change.xChange()| TRUE | evaluated 10388 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 29426 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 10388-29426 |
| 283 | orient |= Qt::Horizontal;executed 10388 times by 7 tests: orient |= Qt::Horizontal;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 10388 |
| 284 | if (change.yChange()| TRUE | evaluated 12988 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 26826 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 12988-26826 |
| 285 | orient |= Qt::Vertical;executed 12988 times by 7 tests: orient |= Qt::Vertical;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 12988 |
| 286 | if (orient| TRUE | evaluated 23376 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 16438 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 16438-23376 |
| 287 | q->viewportMoved(orient);executed 23376 times by 9 tests: q->viewportMoved(orient);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 23376 |
| 288 | if (orient & Qt::Horizontal| TRUE | evaluated 10388 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 29426 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 10388-29426 |
| 289 | q->contentXChanged();executed 10388 times by 7 tests: q->contentXChanged();Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 10388 |
| 290 | if (orient & Qt::Vertical| TRUE | evaluated 12988 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 26826 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 12988-26826 |
| 291 | q->contentYChanged();executed 12988 times by 7 tests: q->contentYChanged();Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 12988 |
| 292 | }executed 39814 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 39814 |
| 293 | }executed 195048 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 195048 |
| 294 | | - |
| 295 | bool QQuickFlickablePrivate::flickX(qreal velocity) | - |
| 296 | { | - |
| 297 | QQuickFlickable * const q = q_func(); | - |
| 298 | returnexecuted 1271 times by 6 tests: return flick(hData, q->minXExtent(), q->maxXExtent(), q->width(), fixupX_callback, velocity);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
flick(hData, q->minXExtent(), q->maxXExtent(), q->width(), fixupX_callback, velocity);executed 1271 times by 6 tests: return flick(hData, q->minXExtent(), q->maxXExtent(), q->width(), fixupX_callback, velocity);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 1271 |
| 299 | } | - |
| 300 | | - |
| 301 | bool QQuickFlickablePrivate::flickY(qreal velocity) | - |
| 302 | { | - |
| 303 | QQuickFlickable * const q = q_func(); | - |
| 304 | returnexecuted 1278 times by 5 tests: return flick(vData, q->minYExtent(), q->maxYExtent(), q->height(), fixupY_callback, velocity);Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
flick(vData, q->minYExtent(), q->maxYExtent(), q->height(), fixupY_callback, velocity);executed 1278 times by 5 tests: return flick(vData, q->minYExtent(), q->maxYExtent(), q->height(), fixupY_callback, velocity);Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 1278 |
| 305 | } | - |
| 306 | | - |
| 307 | bool QQuickFlickablePrivate::flick(AxisData &data, qreal minExtent, qreal maxExtent, qreal, | - |
| 308 | QQuickTimeLineCallback::Callback fixupCallback, qreal velocity) | - |
| 309 | { | - |
| 310 | QQuickFlickable * const q = q_func(); | - |
| 311 | qreal maxDistance = -1; | - |
| 312 | data.fixingUp = false; | - |
| 313 | | - |
| 314 | if (velocity > 0| TRUE | evaluated 164 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 169 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) { | 164-169 |
| 315 | maxDistance = qAbs(minExtent - data.move.value()); | - |
| 316 | data.flickTarget = minExtent; | - |
| 317 | }executed 164 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
else { | 164 |
| 318 | maxDistance = qAbs(maxExtent - data.move.value()); | - |
| 319 | data.flickTarget = maxExtent; | - |
| 320 | }executed 169 times by 4 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| 169 |
| 321 | if (maxDistance > 0| TRUE | evaluated 285 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 48 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
|
|| boundsBehavior & QQuickFlickable::OvershootBounds) { | 48-285 |
| 322 | qreal v = velocity; | - |
| 323 | if (maxVelocity != -1| TRUE | evaluated 317 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& maxVelocity < qAbs(v)| TRUE | never evaluated | | FALSE | evaluated 317 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-317 |
| 324 | if (v < 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 325 | v = -maxVelocity; never executed: v = -maxVelocity; | 0 |
| 326 | else | - |
| 327 | v = maxVelocity; never executed: v = maxVelocity; | 0 |
| 328 | } | - |
| 329 | | - |
| 330 | | - |
| 331 | qreal accel = deceleration; | - |
| 332 | qreal v2 = v * v; | - |
| 333 | qreal dist = v2 / (accel * 2.0); | - |
| 334 | if (v > 0| TRUE | evaluated 156 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 161 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) | 156-161 |
| 335 | dist = -dist;executed 156 times by 7 tests: dist = -dist;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 156 |
| 336 | qreal target = -Round(-(data.move.value() - dist)); | - |
| 337 | dist = -target + data.move.value(); | - |
| 338 | accel = v2 / (2.0f * qAbs(dist)); | - |
| 339 | | - |
| 340 | resetTimeline(data); | - |
| 341 | if (!data.inOvershoot| TRUE | evaluated 317 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-317 |
| 342 | if (boundsBehavior & QQuickFlickable::OvershootBounds| TRUE | evaluated 233 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 84 times by 1 test |
) | 84-233 |
| 343 | timeline.accel(data.move, v, accel);executed 233 times by 7 tests: timeline.accel(data.move, v, accel);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 233 |
| 344 | else | - |
| 345 | timeline.accel(data.move, v, accel, maxDistance);executed 84 times by 1 test: timeline.accel(data.move, v, accel, maxDistance); | 84 |
| 346 | } | - |
| 347 | timeline.callback(QQuickTimeLineCallback(&data.move, fixupCallback, this)); | - |
| 348 | | - |
| 349 | if (&data == &hData| TRUE | evaluated 140 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 177 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 140-177 |
| 350 | returnexecuted 140 times by 5 tests: return !hData.flicking && q->xflick();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
!hData.flicking && q->xflick();executed 140 times by 5 tests: return !hData.flicking && q->xflick();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 140 |
| 351 | else if (&data == &vData| TRUE | evaluated 177 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
) | 0-177 |
| 352 | returnexecuted 177 times by 5 tests: return !vData.flicking && q->yflick();Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
!vData.flicking && q->yflick();executed 177 times by 5 tests: return !vData.flicking && q->yflick();Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 177 |
| 353 | return never executed: return false; false;never executed: return false; | 0 |
| 354 | } else { | - |
| 355 | resetTimeline(data); | - |
| 356 | fixup(data, minExtent, maxExtent); | - |
| 357 | returnexecuted 16 times by 1 test: return false; false;executed 16 times by 1 test: return false; | 16 |
| 358 | } | - |
| 359 | } | - |
| 360 | | - |
| 361 | void QQuickFlickablePrivate::fixupY_callback(void *data) | - |
| 362 | { | - |
| 363 | ((QQuickFlickablePrivate *)data)->fixupY(); | - |
| 364 | }executed 289 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 289 |
| 365 | | - |
| 366 | void QQuickFlickablePrivate::fixupX_callback(void *data) | - |
| 367 | { | - |
| 368 | ((QQuickFlickablePrivate *)data)->fixupX(); | - |
| 369 | }executed 320 times by 5 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| 320 |
| 370 | | - |
| 371 | void QQuickFlickablePrivate::fixupX() | - |
| 372 | { | - |
| 373 | QQuickFlickable * const q = q_func(); | - |
| 374 | if (!q->isComponentComplete()| TRUE | evaluated 4010 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 5728 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 4010-5728 |
| 375 | return;executed 4010 times by 14 tests: return;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4010 |
| 376 | fixup(hData, q->minXExtent(), q->maxXExtent()); | - |
| 377 | }executed 5728 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 5728 |
| 378 | | - |
| 379 | void QQuickFlickablePrivate::fixupY() | - |
| 380 | { | - |
| 381 | QQuickFlickable * const q = q_func(); | - |
| 382 | if (!q->isComponentComplete()| TRUE | evaluated 6382 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 17873 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 6382-17873 |
| 383 | return;executed 6382 times by 14 tests: return;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 6382 |
| 384 | fixup(vData, q->minYExtent(), q->maxYExtent()); | - |
| 385 | }executed 17873 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 17873 |
| 386 | | - |
| 387 | void QQuickFlickablePrivate::adjustContentPos(AxisData &data, qreal toPos) | - |
| 388 | { | - |
| 389 | QQuickFlickable * const q = q_func(); | - |
| 390 | switch (fixupMode) { | - |
| 391 | caseexecuted 3528 times by 5 tests: case Immediate:Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
Immediate:executed 3528 times by 5 tests: case Immediate:Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 3528 |
| 392 | timeline.set(data.move, toPos); | - |
| 393 | break;executed 3528 times by 5 tests: break;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 3528 |
| 394 | caseexecuted 51 times by 1 test: case ExtentChanged: ExtentChanged:executed 51 times by 1 test: case ExtentChanged: | 51 |
| 395 | | - |
| 396 | | - |
| 397 | timeline.move(data.move, toPos, QEasingCurve(QEasingCurve::OutExpo), 3*fixupDuration/4); | - |
| 398 | data.fixingUp = true; | - |
| 399 | break;executed 51 times by 1 test: break; | 51 |
| 400 | defaultexecuted 325 times by 7 tests: default:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
:executed 325 times by 7 tests: default:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
{ | 325 |
| 401 | if (data.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 325 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& data.transitionToBounds->startTransition(&data, toPos)| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-325 |
| 402 | q->movementStarting(); | - |
| 403 | data.fixingUp = true; | - |
| 404 | } never executed: end of block else { | 0 |
| 405 | qreal dist = toPos - data.move; | - |
| 406 | timeline.move(data.move, toPos - dist/2, QEasingCurve(QEasingCurve::InQuad), fixupDuration/4); | - |
| 407 | timeline.move(data.move, toPos, QEasingCurve(QEasingCurve::OutExpo), 3*fixupDuration/4); | - |
| 408 | data.fixingUp = true; | - |
| 409 | }executed 325 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 325 |
| 410 | } | - |
| 411 | } | - |
| 412 | } | - |
| 413 | | - |
| 414 | void QQuickFlickablePrivate::resetTimeline(AxisData &data) | - |
| 415 | { | - |
| 416 | timeline.reset(data.move); | - |
| 417 | if (data.transitionToBounds| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 44190 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 4-44190 |
| 418 | data.transitionToBounds->stopTransition();executed 4 times by 1 test: data.transitionToBounds->stopTransition(); | 4 |
| 419 | }executed 44194 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 44194 |
| 420 | | - |
| 421 | void QQuickFlickablePrivate::clearTimeline() | - |
| 422 | { | - |
| 423 | timeline.clear(); | - |
| 424 | if (hData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 2832 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 0-2832 |
| 425 | hData.transitionToBounds->stopTransition(); never executed: hData.transitionToBounds->stopTransition(); | 0 |
| 426 | if (vData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 2832 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 0-2832 |
| 427 | vData.transitionToBounds->stopTransition(); never executed: vData.transitionToBounds->stopTransition(); | 0 |
| 428 | }executed 2832 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 2832 |
| 429 | | - |
| 430 | void QQuickFlickablePrivate::fixup(AxisData &data, qreal minExtent, qreal maxExtent) | - |
| 431 | { | - |
| 432 | if (data.move.value() >= minExtent| TRUE | evaluated 15399 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 6488 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
|| maxExtent > minExtent| TRUE | never evaluated | | FALSE | evaluated 6488 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 0-15399 |
| 433 | resetTimeline(data); | - |
| 434 | if (data.move.value() != minExtent| TRUE | evaluated 320 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 15079 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 320-15079 |
| 435 | adjustContentPos(data, minExtent); | - |
| 436 | }executed 320 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 320 |
| 437 | }executed 15399 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
else if (data.move.value() <= maxExtent| TRUE | evaluated 3584 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2904 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 2904-15399 |
| 438 | resetTimeline(data); | - |
| 439 | adjustContentPos(data, maxExtent); | - |
| 440 | }executed 3584 times by 6 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
else if (-| TRUE | evaluated 70 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 2834 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
Round(-data.move.value()) != data.move.value()| TRUE | evaluated 70 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 2834 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 70-3584 |
| 441 | | - |
| 442 | resetTimeline(data); | - |
| 443 | qreal val = data.move.value(); | - |
| 444 | if (std::abs(-Round(-val) - val) < 0.25| TRUE | evaluated 59 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) | 11-59 |
| 445 | val = -Round(-val);executed 59 times by 3 tests: val = -Round(-val);Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 59 |
| 446 | else if (data.smoothVelocity.value() > 0| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) | 5-6 |
| 447 | val = -std::floor(-val);executed 5 times by 1 test: val = -std::floor(-val); | 5 |
| 448 | else if (data.smoothVelocity.value() < 0| TRUE | never evaluated | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) | 0-6 |
| 449 | val = -std::ceil(-val); never executed: val = -std::ceil(-val); | 0 |
| 450 | else | - |
| 451 | val = -Round(-val);executed 6 times by 2 tests: val = -Round(-val);Executed by:- tst_qquickgridview
- tst_qquicklistview
| 6 |
| 452 | timeline.set(data.move, val); | - |
| 453 | }executed 70 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 70 |
| 454 | data.inOvershoot = false; | - |
| 455 | fixupMode = Normal; | - |
| 456 | data.vTime = timeline.time(); | - |
| 457 | }executed 21887 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 21887 |
| 458 | | - |
| 459 | static bool fuzzyLessThanOrEqualTo(qreal a, qreal b) | - |
| 460 | { | - |
| 461 | if (a == 0.0| TRUE | evaluated 98422 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 143646 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
|| b == 0.0| TRUE | evaluated 77341 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 66305 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 66305-143646 |
| 462 | | - |
| 463 | a += 1.0; | - |
| 464 | b += 1.0; | - |
| 465 | }executed 175763 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 175763 |
| 466 | returnexecuted 242068 times by 18 tests: return a <= b || qFuzzyCompare(a, b);Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
a <= b || qFuzzyCompare(a, b);executed 242068 times by 18 tests: return a <= b || qFuzzyCompare(a, b);Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 242068 |
| 467 | } | - |
| 468 | | - |
| 469 | void QQuickFlickablePrivate::updateBeginningEnd() | - |
| 470 | { | - |
| 471 | QQuickFlickable * const q = q_func(); | - |
| 472 | bool atBoundaryChange = false; | - |
| 473 | | - |
| 474 | | - |
| 475 | const qreal maxyextent = -q->maxYExtent(); | - |
| 476 | const qreal minyextent = -q->minYExtent(); | - |
| 477 | const qreal ypos = -vData.move.value(); | - |
| 478 | bool atBeginning = fuzzyLessThanOrEqualTo(ypos, minyextent); | - |
| 479 | bool atEnd = fuzzyLessThanOrEqualTo(maxyextent, ypos); | - |
| 480 | | - |
| 481 | if (atBeginning != vData.atBeginning| TRUE | evaluated 2230 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 57676 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 2230-57676 |
| 482 | vData.atBeginning = atBeginning; | - |
| 483 | atBoundaryChange = true; | - |
| 484 | }executed 2230 times by 6 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| 2230 |
| 485 | if (atEnd != vData.atEnd| TRUE | evaluated 8187 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 51719 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 8187-51719 |
| 486 | vData.atEnd = atEnd; | - |
| 487 | atBoundaryChange = true; | - |
| 488 | }executed 8187 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 8187 |
| 489 | | - |
| 490 | | - |
| 491 | const qreal maxxextent = -q->maxXExtent(); | - |
| 492 | const qreal minxextent = -q->minXExtent(); | - |
| 493 | const qreal xpos = -hData.move.value(); | - |
| 494 | atBeginning = fuzzyLessThanOrEqualTo(xpos, minxextent); | - |
| 495 | atEnd = fuzzyLessThanOrEqualTo(maxxextent, xpos); | - |
| 496 | | - |
| 497 | if (atBeginning != hData.atBeginning| TRUE | evaluated 1294 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 58612 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 1294-58612 |
| 498 | hData.atBeginning = atBeginning; | - |
| 499 | atBoundaryChange = true; | - |
| 500 | }executed 1294 times by 6 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 1294 |
| 501 | if (atEnd != hData.atEnd| TRUE | evaluated 5502 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 54404 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 5502-54404 |
| 502 | hData.atEnd = atEnd; | - |
| 503 | atBoundaryChange = true; | - |
| 504 | }executed 5502 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 5502 |
| 505 | | - |
| 506 | if (vData.extentsChanged| TRUE | evaluated 27283 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 32623 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 27283-32623 |
| 507 | vData.extentsChanged = false; | - |
| 508 | qreal originY = q->originY(); | - |
| 509 | if (vData.origin != originY| TRUE | evaluated 1533 times by 3 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 25750 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 1533-25750 |
| 510 | vData.origin = originY; | - |
| 511 | q->originYChanged(); | - |
| 512 | }executed 1533 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
| 1533 |
| 513 | }executed 27283 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 27283 |
| 514 | | - |
| 515 | if (hData.extentsChanged| TRUE | evaluated 6267 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| | FALSE | evaluated 53639 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) { | 6267-53639 |
| 516 | hData.extentsChanged = false; | - |
| 517 | qreal originX = q->originX(); | - |
| 518 | if (hData.origin != originX| TRUE | evaluated 1076 times by 3 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 5191 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
|
) { | 1076-5191 |
| 519 | hData.origin = originX; | - |
| 520 | q->originXChanged(); | - |
| 521 | }executed 1076 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
| 1076 |
| 522 | }executed 6267 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 6267 |
| 523 | | - |
| 524 | if (atBoundaryChange| TRUE | evaluated 12573 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 47333 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 12573-47333 |
| 525 | q->isAtBoundaryChanged();executed 12573 times by 18 tests: q->isAtBoundaryChanged();Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 12573 |
| 526 | | - |
| 527 | if (visibleArea| TRUE | evaluated 4235 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 55671 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 4235-55671 |
| 528 | visibleArea->updateVisible();executed 4235 times by 3 tests: visibleArea->updateVisible();Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 4235 |
| 529 | }executed 59906 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 59906 |
| 530 | QQuickFlickable::QQuickFlickable(QQuickItem *parent) | - |
| 531 | : QQuickItem(*(new QQuickFlickablePrivate), parent) | - |
| 532 | { | - |
| 533 | QQuickFlickablePrivate * const d = d_func(); | - |
| 534 | d->init(); | - |
| 535 | }executed 296 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 296 |
| 536 | | - |
| 537 | QQuickFlickable::QQuickFlickable(QQuickFlickablePrivate &dd, QQuickItem *parent) | - |
| 538 | : QQuickItem(dd, parent) | - |
| 539 | { | - |
| 540 | QQuickFlickablePrivate * const d = d_func(); | - |
| 541 | d->init(); | - |
| 542 | }executed 3804 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
| 3804 |
| 543 | | - |
| 544 | QQuickFlickable::~QQuickFlickable() | - |
| 545 | { | - |
| 546 | } | - |
| 547 | qreal QQuickFlickable::contentX() const | - |
| 548 | { | - |
| 549 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 550 | returnexecuted 65931 times by 10 tests: return -d->contentItem->x();Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
-d->contentItem->x();executed 65931 times by 10 tests: return -d->contentItem->x();Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
| 65931 |
| 551 | } | - |
| 552 | | - |
| 553 | void QQuickFlickable::setContentX(qreal pos) | - |
| 554 | { | - |
| 555 | QQuickFlickablePrivate * const d = d_func(); | - |
| 556 | d->hData.explicitValue = true; | - |
| 557 | d->resetTimeline(d->hData); | - |
| 558 | d->hData.vTime = d->timeline.time(); | - |
| 559 | if (isMoving()| TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
| | FALSE | evaluated 8592 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
|| isFlicking()| TRUE | never evaluated | | FALSE | evaluated 8592 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) | 0-8592 |
| 560 | movementEnding(true, false);executed 24 times by 2 tests: movementEnding(true, false);Executed by:- tst_qquickflickable
- tst_qquickmousearea
| 24 |
| 561 | if (-| TRUE | evaluated 1647 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 6969 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
pos != d->hData.move.value()| TRUE | evaluated 1647 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 6969 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 1647-6969 |
| 562 | d->hData.move.setValue(-pos);executed 1647 times by 6 tests: d->hData.move.setValue(-pos);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 1647 |
| 563 | }executed 8616 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 8616 |
| 564 | | - |
| 565 | qreal QQuickFlickable::contentY() const | - |
| 566 | { | - |
| 567 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 568 | returnexecuted 136739 times by 15 tests: return -d->contentItem->y();Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
-d->contentItem->y();executed 136739 times by 15 tests: return -d->contentItem->y();Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
| 136739 |
| 569 | } | - |
| 570 | | - |
| 571 | void QQuickFlickable::setContentY(qreal pos) | - |
| 572 | { | - |
| 573 | QQuickFlickablePrivate * const d = d_func(); | - |
| 574 | d->vData.explicitValue = true; | - |
| 575 | d->resetTimeline(d->vData); | - |
| 576 | d->vData.vTime = d->timeline.time(); | - |
| 577 | if (isMoving()| TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
| | FALSE | evaluated 13909 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
|| isFlicking()| TRUE | never evaluated | | FALSE | evaluated 13909 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
) | 0-13909 |
| 578 | movementEnding(false, true);executed 24 times by 2 tests: movementEnding(false, true);Executed by:- tst_qquickflickable
- tst_qquickmousearea
| 24 |
| 579 | if (-| TRUE | evaluated 3501 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10432 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
pos != d->vData.move.value()| TRUE | evaluated 3501 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10432 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
) | 3501-10432 |
| 580 | d->vData.move.setValue(-pos);executed 3501 times by 6 tests: d->vData.move.setValue(-pos);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| 3501 |
| 581 | }executed 13933 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 13933 |
| 582 | bool QQuickFlickable::isInteractive() const | - |
| 583 | { | - |
| 584 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 585 | returnexecuted 2189 times by 7 tests: return d->interactive;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
d->interactive;executed 2189 times by 7 tests: return d->interactive;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 2189 |
| 586 | } | - |
| 587 | | - |
| 588 | void QQuickFlickable::setInteractive(bool interactive) | - |
| 589 | { | - |
| 590 | QQuickFlickablePrivate * const d = d_func(); | - |
| 591 | if (interactive != d->interactive| TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 4 times by 1 test |
) { | 4-24 |
| 592 | d->interactive = interactive; | - |
| 593 | if (!interactive| TRUE | evaluated 16 times by 4 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) { | 8-16 |
| 594 | d->cancelInteraction(); | - |
| 595 | }executed 16 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 16 |
| 596 | interactiveChanged(); | - |
| 597 | }executed 24 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 24 |
| 598 | }executed 28 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 28 |
| 599 | qreal QQuickFlickable::horizontalVelocity() const | - |
| 600 | { | - |
| 601 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 602 | returnexecuted 15 times by 3 tests: return d->hData.smoothVelocity.value();Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
d->hData.smoothVelocity.value();executed 15 times by 3 tests: return d->hData.smoothVelocity.value();Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 15 |
| 603 | } | - |
| 604 | | - |
| 605 | qreal QQuickFlickable::verticalVelocity() const | - |
| 606 | { | - |
| 607 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 608 | returnexecuted 62 times by 3 tests: return d->vData.smoothVelocity.value();Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
d->vData.smoothVelocity.value();executed 62 times by 3 tests: return d->vData.smoothVelocity.value();Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 62 |
| 609 | } | - |
| 610 | bool QQuickFlickable::isAtXEnd() const | - |
| 611 | { | - |
| 612 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 613 | returnexecuted 168 times by 3 tests: return d->hData.atEnd;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
d->hData.atEnd;executed 168 times by 3 tests: return d->hData.atEnd;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 168 |
| 614 | } | - |
| 615 | | - |
| 616 | bool QQuickFlickable::isAtXBeginning() const | - |
| 617 | { | - |
| 618 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 619 | returnexecuted 158 times by 3 tests: return d->hData.atBeginning;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
d->hData.atBeginning;executed 158 times by 3 tests: return d->hData.atBeginning;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 158 |
| 620 | } | - |
| 621 | | - |
| 622 | bool QQuickFlickable::isAtYEnd() const | - |
| 623 | { | - |
| 624 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 625 | returnexecuted 193 times by 5 tests: return d->vData.atEnd;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
d->vData.atEnd;executed 193 times by 5 tests: return d->vData.atEnd;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| 193 |
| 626 | } | - |
| 627 | | - |
| 628 | bool QQuickFlickable::isAtYBeginning() const | - |
| 629 | { | - |
| 630 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 631 | returnexecuted 190 times by 5 tests: return d->vData.atBeginning;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
d->vData.atBeginning;executed 190 times by 5 tests: return d->vData.atBeginning;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| 190 |
| 632 | } | - |
| 633 | QQuickItem *QQuickFlickable::contentItem() const | - |
| 634 | { | - |
| 635 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 636 | returnexecuted 172139 times by 12 tests: return d->contentItem;Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
d->contentItem;executed 172139 times by 12 tests: return d->contentItem;Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 172139 |
| 637 | } | - |
| 638 | | - |
| 639 | QQuickFlickableVisibleArea *QQuickFlickable::visibleArea() | - |
| 640 | { | - |
| 641 | QQuickFlickablePrivate * const d = d_func(); | - |
| 642 | if (!d->visibleArea| TRUE | evaluated 566 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 1802 times by 3 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
|
) { | 566-1802 |
| 643 | d->visibleArea = new QQuickFlickableVisibleArea(this); | - |
| 644 | d->visibleArea->updateVisible(); | - |
| 645 | }executed 566 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 566 |
| 646 | returnexecuted 2368 times by 3 tests: return d->visibleArea;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
d->visibleArea;executed 2368 times by 3 tests: return d->visibleArea;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
| 2368 |
| 647 | } | - |
| 648 | QQuickFlickable::FlickableDirection QQuickFlickable::flickableDirection() const | - |
| 649 | { | - |
| 650 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 651 | returnexecuted 66 times by 1 test: return d->flickableDirection; d->flickableDirection;executed 66 times by 1 test: return d->flickableDirection; | 66 |
| 652 | } | - |
| 653 | | - |
| 654 | void QQuickFlickable::setFlickableDirection(FlickableDirection direction) | - |
| 655 | { | - |
| 656 | QQuickFlickablePrivate * const d = d_func(); | - |
| 657 | if (direction != d->flickableDirection| TRUE | evaluated 4658 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| | FALSE | evaluated 56 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) { | 56-4658 |
| 658 | d->flickableDirection = direction; | - |
| 659 | flickableDirectionChanged(); | - |
| 660 | }executed 4658 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 4658 |
| 661 | }executed 4714 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 4714 |
| 662 | bool QQuickFlickable::pixelAligned() const | - |
| 663 | { | - |
| 664 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 665 | return never executed: return d->pixelAligned; d->pixelAligned;never executed: return d->pixelAligned; | 0 |
| 666 | } | - |
| 667 | | - |
| 668 | void QQuickFlickable::setPixelAligned(bool align) | - |
| 669 | { | - |
| 670 | QQuickFlickablePrivate * const d = d_func(); | - |
| 671 | if (align != d->pixelAligned| TRUE | evaluated 42 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) { | 10-42 |
| 672 | d->pixelAligned = align; | - |
| 673 | pixelAlignedChanged(); | - |
| 674 | }executed 42 times by 2 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquicklistview
| 42 |
| 675 | }executed 52 times by 2 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquicklistview
| 52 |
| 676 | | - |
| 677 | qint64 QQuickFlickablePrivate::computeCurrentTime(QInputEvent *event) const | - |
| 678 | { | - |
| 679 | if (0 != event->timestamp()| TRUE | evaluated 6406 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) | 0-6406 |
| 680 | returnexecuted 6406 times by 7 tests: return event->timestamp();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
event->timestamp();executed 6406 times by 7 tests: return event->timestamp();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 6406 |
| 681 | if (!timer.isValid()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 682 | return never executed: return 0LL; 0LL;never executed: return 0LL; | 0 |
| 683 | return never executed: return timer.elapsed(); timer.elapsed();never executed: return timer.elapsed(); | 0 |
| 684 | } | - |
| 685 | | - |
| 686 | qreal QQuickFlickablePrivate::devicePixelRatio() const | - |
| 687 | { | - |
| 688 | return never executed: return (window ? window->effectiveDevicePixelRatio() : (static_cast<QGuiApplication *>(QCoreApplication::instance()))->devicePixelRatio()); (window ? window->effectiveDevicePixelRatio() : (static_cast<QGuiApplication *>(QCoreApplication::instance()))->devicePixelRatio());never executed: return (window ? window->effectiveDevicePixelRatio() : (static_cast<QGuiApplication *>(QCoreApplication::instance()))->devicePixelRatio()); | 0 |
| 689 | } | - |
| 690 | | - |
| 691 | void QQuickFlickablePrivate::handleMousePressEvent(QMouseEvent *event) | - |
| 692 | { | - |
| 693 | QQuickFlickable * const q = q_func(); | - |
| 694 | timer.start(); | - |
| 695 | if (interactive| TRUE | evaluated 1012 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& timeline.isActive()| TRUE | evaluated 33 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 979 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
| 0-1012 |
| 696 | && ((qAbs(hData.smoothVelocity.value()) > RetainGrabVelocity| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& !hData.fixingUp| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
&& !hData.inOvershoot| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) | 0-25 |
| 697 | || (qAbs(vData.smoothVelocity.value()) > RetainGrabVelocity| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 2 times by 1 test |
&& !vData.fixingUp| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
&& !vData.inOvershoot| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
))) { | 0-23 |
| 698 | stealMouse = true; | - |
| 699 | int flickTime = timeline.time(); | - |
| 700 | if (flickTime > 600| TRUE | never evaluated | | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) { | 0-20 |
| 701 | | - |
| 702 | hData.continuousFlickVelocity = 0; | - |
| 703 | vData.continuousFlickVelocity = 0; | - |
| 704 | flickBoost = 1.0; | - |
| 705 | } never executed: end of block else { | 0 |
| 706 | hData.continuousFlickVelocity = -hData.smoothVelocity.value(); | - |
| 707 | vData.continuousFlickVelocity = -vData.smoothVelocity.value(); | - |
| 708 | if (flickTime > 300| TRUE | never evaluated | | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) | 0-20 |
| 709 | flickBoost = qMax(1.0, flickBoost - 0.5); never executed: flickBoost = qMax(1.0, flickBoost - 0.5); | 0 |
| 710 | }executed 20 times by 2 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquicklistview
| 20 |
| 711 | } else { | - |
| 712 | stealMouse = false; | - |
| 713 | hData.continuousFlickVelocity = 0; | - |
| 714 | vData.continuousFlickVelocity = 0; | - |
| 715 | flickBoost = 1.0; | - |
| 716 | }executed 992 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 992 |
| 717 | q->setKeepMouseGrab(stealMouse); | - |
| 718 | | - |
| 719 | maybeBeginDrag(computeCurrentTime(event), event->localPos()); | - |
| 720 | }executed 1012 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1012 |
| 721 | | - |
| 722 | void QQuickFlickablePrivate::maybeBeginDrag(qint64 currentTimestamp, const QPointF &pressPosn) | - |
| 723 | { | - |
| 724 | QQuickFlickable * const q = q_func(); | - |
| 725 | clearDelayedPress(); | - |
| 726 | pressed = true; | - |
| 727 | | - |
| 728 | if (hData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 1012 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 0-1012 |
| 729 | hData.transitionToBounds->stopTransition(); never executed: hData.transitionToBounds->stopTransition(); | 0 |
| 730 | if (vData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 1012 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 0-1012 |
| 731 | vData.transitionToBounds->stopTransition(); never executed: vData.transitionToBounds->stopTransition(); | 0 |
| 732 | if (!hData.fixingUp| TRUE | evaluated 1006 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 6 times by 1 test |
) | 6-1006 |
| 733 | resetTimeline(hData);executed 1006 times by 7 tests: resetTimeline(hData);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1006 |
| 734 | if (!vData.fixingUp| TRUE | evaluated 993 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 19 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) | 19-993 |
| 735 | resetTimeline(vData);executed 993 times by 7 tests: resetTimeline(vData);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 993 |
| 736 | | - |
| 737 | hData.reset(); | - |
| 738 | vData.reset(); | - |
| 739 | hData.dragMinBound = q->minXExtent() - hData.startMargin; | - |
| 740 | vData.dragMinBound = q->minYExtent() - vData.startMargin; | - |
| 741 | hData.dragMaxBound = q->maxXExtent() + hData.endMargin; | - |
| 742 | vData.dragMaxBound = q->maxYExtent() + vData.endMargin; | - |
| 743 | fixupMode = Normal; | - |
| 744 | lastPos = QPointF(); | - |
| 745 | pressPos = pressPosn; | - |
| 746 | hData.pressPos = hData.move.value(); | - |
| 747 | vData.pressPos = vData.move.value(); | - |
| 748 | bool wasFlicking = hData.flicking| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 1004 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| vData.flicking| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 981 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 8-1004 |
| 749 | if (hData.flicking| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 1004 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 8-1004 |
| 750 | hData.flicking = false; | - |
| 751 | q->flickingHorizontallyChanged(); | - |
| 752 | }executed 8 times by 1 test: end of block | 8 |
| 753 | if (vData.flicking| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 989 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 23-989 |
| 754 | vData.flicking = false; | - |
| 755 | q->flickingVerticallyChanged(); | - |
| 756 | }executed 23 times by 2 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquicklistview
| 23 |
| 757 | if (wasFlicking| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 981 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 31-981 |
| 758 | q->flickingChanged();executed 31 times by 2 tests: q->flickingChanged();Executed by:- tst_qquickgridview
- tst_qquicklistview
| 31 |
| 759 | lastPosTime = lastPressTime = currentTimestamp; | - |
| 760 | vData.velocityTime.start(); | - |
| 761 | hData.velocityTime.start(); | - |
| 762 | }executed 1012 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1012 |
| 763 | | - |
| 764 | void QQuickFlickablePrivate::drag(qint64 currentTimestamp, QEvent::Type eventType, const QPointF &localPos, | - |
| 765 | const QVector2D &deltas, bool overThreshold, bool momentum, | - |
| 766 | bool velocitySensitiveOverBounds, const QVector2D &velocity) | - |
| 767 | { | - |
| 768 | QQuickFlickable * const q = q_func(); | - |
| 769 | bool rejectY = false; | - |
| 770 | bool rejectX = false; | - |
| 771 | | - |
| 772 | bool keepY = q->yflick(); | - |
| 773 | bool keepX = q->xflick(); | - |
| 774 | | - |
| 775 | bool stealY = false; | - |
| 776 | bool stealX = false; | - |
| 777 | if (eventType == QEvent::MouseMove| TRUE | evaluated 4540 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-4540 |
| 778 | stealX = stealY = stealMouse; | - |
| 779 | }executed 4540 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
else if (eventType == QEvent::Wheel| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-4540 |
| 780 | stealX = stealY = scrollingPhase; | - |
| 781 | } never executed: end of block | 0 |
| 782 | | - |
| 783 | bool prevHMoved = hMoved; | - |
| 784 | bool prevVMoved = vMoved; | - |
| 785 | | - |
| 786 | qint64 elapsedSincePress = currentTimestamp - lastPressTime; | - |
| 787 | | - |
| 788 | if (q->yflick()| TRUE | evaluated 3024 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1516 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
) { | 1516-3024 |
| 789 | qreal dy = deltas.y(); | - |
| 790 | if (overThreshold| TRUE | evaluated 2662 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 362 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
|| elapsedSincePress > 200| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
| | FALSE | evaluated 354 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 8-2662 |
| 791 | if (!vMoved| TRUE | evaluated 1174 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1496 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 1174-1496 |
| 792 | vData.dragStartOffset = dy;executed 1174 times by 6 tests: vData.dragStartOffset = dy;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 1174 |
| 793 | qreal newY = dy + vData.pressPos - vData.dragStartOffset; | - |
| 794 | | - |
| 795 | | - |
| 796 | | - |
| 797 | const qreal minY = vData.dragMinBound + vData.startMargin; | - |
| 798 | const qreal maxY = vData.dragMaxBound - vData.endMargin; | - |
| 799 | if (!(boundsBehavior & QQuickFlickable::DragOverBounds)| TRUE | evaluated 600 times by 1 test | | FALSE | evaluated 2070 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 600-2070 |
| 800 | if (fuzzyLessThanOrEqualTo(newY, maxY)| TRUE | evaluated 110 times by 1 test | | FALSE | evaluated 490 times by 1 test |
) { | 110-490 |
| 801 | newY = maxY; | - |
| 802 | rejectY = vData.pressPos == maxY| TRUE | evaluated 102 times by 1 test | | FALSE | evaluated 8 times by 1 test |
&& vData.move.value() == maxY| TRUE | evaluated 98 times by 1 test | | FALSE | evaluated 4 times by 1 test |
&& dy < 0| TRUE | evaluated 70 times by 1 test | | FALSE | evaluated 28 times by 1 test |
; | 4-102 |
| 803 | }executed 110 times by 1 test: end of block | 110 |
| 804 | if (fuzzyLessThanOrEqualTo(minY, newY)| TRUE | evaluated 110 times by 1 test | | FALSE | evaluated 490 times by 1 test |
) { | 110-490 |
| 805 | newY = minY; | - |
| 806 | rejectY |= vData.pressPos == minY| TRUE | evaluated 102 times by 1 test | | FALSE | evaluated 8 times by 1 test |
&& vData.move.value() == minY| TRUE | evaluated 98 times by 1 test | | FALSE | evaluated 4 times by 1 test |
&& dy > 0| TRUE | evaluated 70 times by 1 test | | FALSE | evaluated 28 times by 1 test |
; | 4-102 |
| 807 | }executed 110 times by 1 test: end of block | 110 |
| 808 | }executed 600 times by 1 test: end of block else { | 600 |
| 809 | qreal vel = velocity.y() / 8; | - |
| 810 | if (vel > 0.| TRUE | evaluated 892 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1178 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& vel > vData.velocity| TRUE | evaluated 108 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 784 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
|
) | 108-1178 |
| 811 | vData.velocity = qMin(velocity.y() / 8, float(2500));executed 108 times by 6 tests: vData.velocity = qMin(velocity.y() / 8, float(2500));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 108 |
| 812 | else if (vel < 0.| TRUE | evaluated 820 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1142 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
|
&& vel < vData.velocity| TRUE | evaluated 125 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 695 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) | 125-1142 |
| 813 | vData.velocity = qMax(velocity.y() / 8, -float(2500));executed 125 times by 5 tests: vData.velocity = qMax(velocity.y() / 8, -float(2500));Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 125 |
| 814 | if (newY > minY| TRUE | evaluated 274 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1796 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 274-1796 |
| 815 | | - |
| 816 | if (momentum| TRUE | never evaluated | | FALSE | evaluated 274 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& vData.atBeginning| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-274 |
| 817 | if (!vData.inRebound| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 818 | vData.inRebound = true; | - |
| 819 | q->returnToBounds(); | - |
| 820 | } never executed: end of block | 0 |
| 821 | return; never executed: return; | 0 |
| 822 | } | - |
| 823 | if (velocitySensitiveOverBounds| TRUE | never evaluated | | FALSE | evaluated 274 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 0-274 |
| 824 | qreal overshoot = (newY - minY) * vData.velocity / 2500 / 8; | - |
| 825 | overshoot = 150 * devicePixelRatio() * EaseOvershoot(overshoot / 150 / devicePixelRatio()); | - |
| 826 | newY = minY + overshoot; | - |
| 827 | } never executed: end of block else { | 0 |
| 828 | newY = minY + (newY - minY) / 2; | - |
| 829 | }executed 274 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 274 |
| 830 | } else if (newY < maxY| TRUE | evaluated 89 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 1707 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& maxY - minY <= 0| TRUE | evaluated 89 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | never evaluated |
) { | 0-1707 |
| 831 | | - |
| 832 | if (momentum| TRUE | never evaluated | | FALSE | evaluated 89 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& vData.atEnd| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-89 |
| 833 | if (!vData.inRebound| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 834 | vData.inRebound = true; | - |
| 835 | q->returnToBounds(); | - |
| 836 | } never executed: end of block | 0 |
| 837 | return; never executed: return; | 0 |
| 838 | } | - |
| 839 | if (velocitySensitiveOverBounds| TRUE | never evaluated | | FALSE | evaluated 89 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) { | 0-89 |
| 840 | qreal overshoot = (newY - maxY) * vData.velocity / 2500 / 8; | - |
| 841 | overshoot = 150 * devicePixelRatio() * EaseOvershoot(overshoot / 150 / devicePixelRatio()); | - |
| 842 | newY = maxY - overshoot; | - |
| 843 | } never executed: end of block else { | 0 |
| 844 | newY = maxY + (newY - maxY) / 2; | - |
| 845 | }executed 89 times by 4 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| 89 |
| 846 | } | - |
| 847 | }executed 2070 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 2070 |
| 848 | if (!rejectY| TRUE | evaluated 2530 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 140 times by 1 test |
&& stealMouse| TRUE | evaluated 2076 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 454 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& dy != 0.0| TRUE | evaluated 1846 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 230 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
|
&& dy != vData.previousDragDelta| TRUE | evaluated 1554 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 292 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
|
) { | 140-2530 |
| 849 | clearTimeline(); | - |
| 850 | vData.move.setValue(newY); | - |
| 851 | vMoved = true; | - |
| 852 | }executed 1554 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 1554 |
| 853 | if (!rejectY| TRUE | evaluated 2530 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 140 times by 1 test |
&& overThreshold| TRUE | evaluated 2522 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
|
) | 8-2530 |
| 854 | stealY = true;executed 2522 times by 6 tests: stealY = true;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 2522 |
| 855 | | - |
| 856 | if ((newY >= minY| TRUE | evaluated 678 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1992 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& vData.pressPos == minY| TRUE | evaluated 612 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 66 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& vData.move.value() == minY| TRUE | evaluated 396 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 216 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
|
&& dy > 0| TRUE | evaluated 158 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 238 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 66-1992 |
| 857 | || (newY <= maxY| TRUE | evaluated 325 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 2187 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& vData.pressPos == maxY| TRUE | evaluated 268 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 57 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& vData.move.value() == maxY| TRUE | evaluated 228 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 40 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
&& dy < 0| TRUE | evaluated 140 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 88 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
)) { | 40-2187 |
| 858 | keepY = false; | - |
| 859 | }executed 298 times by 5 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 298 |
| 860 | }executed 2670 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 2670 |
| 861 | vData.previousDragDelta = dy; | - |
| 862 | }executed 3024 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 3024 |
| 863 | | - |
| 864 | if (q->xflick()| TRUE | evaluated 2640 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1900 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 1900-2640 |
| 865 | qreal dx = deltas.x(); | - |
| 866 | if (overThreshold| TRUE | evaluated 2292 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 348 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
|
|| elapsedSincePress > 200| TRUE | never evaluated | | FALSE | evaluated 348 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
|
) { | 0-2292 |
| 867 | if (!hMoved| TRUE | evaluated 1116 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1176 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) | 1116-1176 |
| 868 | hData.dragStartOffset = dx;executed 1116 times by 6 tests: hData.dragStartOffset = dx;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 1116 |
| 869 | qreal newX = dx + hData.pressPos - hData.dragStartOffset; | - |
| 870 | const qreal minX = hData.dragMinBound + hData.startMargin; | - |
| 871 | const qreal maxX = hData.dragMaxBound - hData.endMargin; | - |
| 872 | if (!(boundsBehavior & QQuickFlickable::DragOverBounds)| TRUE | evaluated 622 times by 1 test | | FALSE | evaluated 1670 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) { | 622-1670 |
| 873 | if (fuzzyLessThanOrEqualTo(newX, maxX)| TRUE | evaluated 132 times by 1 test | | FALSE | evaluated 490 times by 1 test |
) { | 132-490 |
| 874 | newX = maxX; | - |
| 875 | rejectX = hData.pressPos == maxX| TRUE | evaluated 124 times by 1 test | | FALSE | evaluated 8 times by 1 test |
&& hData.move.value() == maxX| TRUE | evaluated 120 times by 1 test | | FALSE | evaluated 4 times by 1 test |
&& dx < 0| TRUE | evaluated 76 times by 1 test | | FALSE | evaluated 44 times by 1 test |
; | 4-124 |
| 876 | }executed 132 times by 1 test: end of block | 132 |
| 877 | if (fuzzyLessThanOrEqualTo(minX, newX)| TRUE | evaluated 118 times by 1 test | | FALSE | evaluated 504 times by 1 test |
) { | 118-504 |
| 878 | newX = minX; | - |
| 879 | rejectX |= hData.pressPos == minX| TRUE | evaluated 110 times by 1 test | | FALSE | evaluated 8 times by 1 test |
&& hData.move.value() == minX| TRUE | evaluated 106 times by 1 test | | FALSE | evaluated 4 times by 1 test |
&& dx > 0| TRUE | evaluated 78 times by 1 test | | FALSE | evaluated 28 times by 1 test |
; | 4-110 |
| 880 | }executed 118 times by 1 test: end of block | 118 |
| 881 | }executed 622 times by 1 test: end of block else { | 622 |
| 882 | qreal vel = velocity.x() / 8; | - |
| 883 | if (vel > 0.| TRUE | evaluated 758 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| | FALSE | evaluated 912 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& vel > hData.velocity| TRUE | evaluated 110 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| | FALSE | evaluated 648 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) | 110-912 |
| 884 | hData.velocity = qMin(velocity.x() / 8, float(2500));executed 110 times by 5 tests: hData.velocity = qMin(velocity.x() / 8, float(2500));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| 110 |
| 885 | else if (vel < 0.| TRUE | evaluated 678 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 882 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
&& vel < hData.velocity| TRUE | evaluated 77 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 601 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) | 77-882 |
| 886 | hData.velocity = qMax(velocity.x() / 8, -float(2500));executed 77 times by 4 tests: hData.velocity = qMax(velocity.x() / 8, -float(2500));Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| 77 |
| 887 | if (newX > minX| TRUE | evaluated 86 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 1584 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) { | 86-1584 |
| 888 | | - |
| 889 | if (momentum| TRUE | never evaluated | | FALSE | evaluated 86 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
&& hData.atBeginning| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-86 |
| 890 | if (!hData.inRebound| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 891 | hData.inRebound = true; | - |
| 892 | q->returnToBounds(); | - |
| 893 | } never executed: end of block | 0 |
| 894 | return; never executed: return; | 0 |
| 895 | } | - |
| 896 | if (velocitySensitiveOverBounds| TRUE | never evaluated | | FALSE | evaluated 86 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) { | 0-86 |
| 897 | qreal overshoot = (newX - minX) * hData.velocity / 2500 / 8; | - |
| 898 | overshoot = 150 * devicePixelRatio() * EaseOvershoot(overshoot / 150 / devicePixelRatio()); | - |
| 899 | newX = minX + overshoot; | - |
| 900 | } never executed: end of block else { | 0 |
| 901 | newX = minX + (newX - minX) / 2; | - |
| 902 | }executed 86 times by 4 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 86 |
| 903 | } else if (newX < maxX| TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 1528 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& maxX - minX <= 0| TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
) { | 0-1528 |
| 904 | | - |
| 905 | if (momentum| TRUE | never evaluated | | FALSE | evaluated 56 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
&& hData.atEnd| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-56 |
| 906 | if (!hData.inRebound| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 907 | hData.inRebound = true; | - |
| 908 | q->returnToBounds(); | - |
| 909 | } never executed: end of block | 0 |
| 910 | return; never executed: return; | 0 |
| 911 | } | - |
| 912 | if (velocitySensitiveOverBounds| TRUE | never evaluated | | FALSE | evaluated 56 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) { | 0-56 |
| 913 | qreal overshoot = (newX - maxX) * hData.velocity / 2500 / 8; | - |
| 914 | overshoot = 150 * devicePixelRatio() * EaseOvershoot(overshoot / 150 / devicePixelRatio()); | - |
| 915 | newX = maxX - overshoot; | - |
| 916 | } never executed: end of block else { | 0 |
| 917 | newX = maxX + (newX - maxX) / 2; | - |
| 918 | }executed 56 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 56 |
| 919 | } | - |
| 920 | }executed 1670 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 1670 |
| 921 | | - |
| 922 | if (!rejectX| TRUE | evaluated 2138 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 154 times by 1 test |
&& stealMouse| TRUE | evaluated 1712 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 426 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& dx != 0.0| TRUE | evaluated 1536 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 176 times by 1 test |
&& dx != hData.previousDragDelta| TRUE | evaluated 1278 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 258 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) { | 154-2138 |
| 923 | clearTimeline(); | - |
| 924 | hData.move.setValue(newX); | - |
| 925 | hMoved = true; | - |
| 926 | }executed 1278 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 1278 |
| 927 | | - |
| 928 | if (!rejectX| TRUE | evaluated 2138 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 154 times by 1 test |
&& overThreshold| TRUE | evaluated 2138 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | never evaluated |
) | 0-2138 |
| 929 | stealX = true;executed 2138 times by 6 tests: stealX = true;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 2138 |
| 930 | | - |
| 931 | if ((newX >= minX| TRUE | evaluated 384 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 1908 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& vData.pressPos == minX| TRUE | evaluated 222 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 162 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
&& vData.move.value() == minX| TRUE | evaluated 214 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 8 times by 1 test |
&& dx > 0| TRUE | evaluated 166 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 48 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) | 8-1908 |
| 932 | || (newX <= maxX| TRUE | evaluated 282 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 1844 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& vData.pressPos == maxX| TRUE | evaluated 86 times by 1 test | | FALSE | evaluated 196 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
&& vData.move.value() == maxX| TRUE | evaluated 78 times by 1 test | | FALSE | evaluated 8 times by 1 test |
&& dx < 0| TRUE | evaluated 58 times by 1 test | | FALSE | evaluated 20 times by 1 test |
)) { | 8-1844 |
| 933 | keepX = false; | - |
| 934 | }executed 224 times by 4 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 224 |
| 935 | }executed 2292 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 2292 |
| 936 | hData.previousDragDelta = dx; | - |
| 937 | }executed 2640 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 2640 |
| 938 | | - |
| 939 | stealMouse = stealX| TRUE | evaluated 3838 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 702 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| stealY| TRUE | evaluated 342 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 360 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 342-3838 |
| 940 | if (stealMouse| TRUE | evaluated 4180 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 360 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 360-4180 |
| 941 | if ((stealX| TRUE | evaluated 3838 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 342 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& keepX| TRUE | evaluated 2188 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1650 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) || (stealY| TRUE | evaluated 1980 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 12 times by 1 test |
&& keepY| TRUE | evaluated 1820 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 160 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
)) | 12-3838 |
| 942 | q->setKeepMouseGrab(true);executed 4008 times by 7 tests: q->setKeepMouseGrab(true);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 4008 |
| 943 | clearDelayedPress(); | - |
| 944 | }executed 4180 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 4180 |
| 945 | | - |
| 946 | if (rejectY| TRUE | evaluated 140 times by 1 test | | FALSE | evaluated 4400 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 140-4400 |
| 947 | vData.velocityBuffer.clear(); | - |
| 948 | vData.velocity = 0; | - |
| 949 | }executed 140 times by 1 test: end of block | 140 |
| 950 | if (rejectX| TRUE | evaluated 154 times by 1 test | | FALSE | evaluated 4386 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 154-4386 |
| 951 | hData.velocityBuffer.clear(); | - |
| 952 | hData.velocity = 0; | - |
| 953 | }executed 154 times by 1 test: end of block | 154 |
| 954 | | - |
| 955 | if (momentum| TRUE | never evaluated | | FALSE | evaluated 4540 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !hData.flicking| TRUE | never evaluated | | FALSE | never evaluated |
&& !vData.flicking| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-4540 |
| 956 | flickingStarted(hData.velocity != 0, vData.velocity != 0); never executed: flickingStarted(hData.velocity != 0, vData.velocity != 0); | 0 |
| 957 | draggingStarting(); | - |
| 958 | | - |
| 959 | if ((hMoved| TRUE | evaluated 1560 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 2980 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !prevHMoved| TRUE | evaluated 376 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1184 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) || (vMoved| TRUE | evaluated 1811 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 2353 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !prevVMoved| TRUE | evaluated 305 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1506 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
)) | 305-2980 |
| 960 | q->movementStarting();executed 681 times by 7 tests: q->movementStarting();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 681 |
| 961 | | - |
| 962 | lastPosTime = currentTimestamp; | - |
| 963 | if (q->yflick()| TRUE | evaluated 3024 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1516 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
&& !rejectY| TRUE | evaluated 2884 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 140 times by 1 test |
) | 140-3024 |
| 964 | vData.addVelocitySample(velocity.y(), maxVelocity);executed 2884 times by 6 tests: vData.addVelocitySample(velocity.y(), maxVelocity);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 2884 |
| 965 | if (q->xflick()| TRUE | evaluated 2640 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1900 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& !rejectX| TRUE | evaluated 2486 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 154 times by 1 test |
) | 154-2640 |
| 966 | hData.addVelocitySample(velocity.x(), maxVelocity);executed 2486 times by 6 tests: hData.addVelocitySample(velocity.x(), maxVelocity);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 2486 |
| 967 | lastPos = localPos; | - |
| 968 | }executed 4540 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 4540 |
| 969 | | - |
| 970 | void QQuickFlickablePrivate::handleMouseMoveEvent(QMouseEvent *event) | - |
| 971 | { | - |
| 972 | QQuickFlickable * const q = q_func(); | - |
| 973 | if (!interactive| TRUE | never evaluated | | FALSE | evaluated 4624 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| lastPosTime == -1| TRUE | never evaluated | | FALSE | evaluated 4624 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 0-4624 |
| 974 | return; never executed: return; | 0 |
| 975 | | - |
| 976 | qint64 currentTimestamp = computeCurrentTime(event); | - |
| 977 | QVector2D deltas = QVector2D(event->localPos() - pressPos); | - |
| 978 | bool overThreshold = false; | - |
| 979 | QVector2D velocity = QGuiApplicationPrivate::mouseEventVelocity(event); | - |
| 980 | | - |
| 981 | if (!(QGuiApplicationPrivate::mouseEventCaps(event) & QTouchDevice::Velocity)| TRUE | evaluated 4624 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-4624 |
| 982 | qint64 lastTimestamp = (lastPos.isNull()| TRUE | evaluated 864 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 3760 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
? lastPressTime : lastPosTime); | 864-3760 |
| 983 | if (currentTimestamp == lastTimestamp| TRUE | evaluated 84 times by 1 test | | FALSE | evaluated 4540 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 84-4540 |
| 984 | return;executed 84 times by 1 test: return; | 84 |
| 985 | qreal elapsed = qreal(currentTimestamp - lastTimestamp) / 1000.; | - |
| 986 | velocity = QVector2D(event->localPos() - (lastPos.isNull() ? pressPos : lastPos)) / elapsed; | - |
| 987 | }executed 4540 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 4540 |
| 988 | | - |
| 989 | if (q->yflick()| TRUE | evaluated 3024 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1516 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
) | 1516-3024 |
| 990 | overThreshold |= QQuickWindowPrivate::dragOverThreshold(deltas.y(), Qt::YAxis, event);executed 3024 times by 6 tests: overThreshold |= QQuickWindowPrivate::dragOverThreshold(deltas.y(), Qt::YAxis, event);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 3024 |
| 991 | if (q->xflick()| TRUE | evaluated 2640 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1900 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 1900-2640 |
| 992 | overThreshold |= QQuickWindowPrivate::dragOverThreshold(deltas.x(), Qt::XAxis, event);executed 2640 times by 6 tests: overThreshold |= QQuickWindowPrivate::dragOverThreshold(deltas.x(), Qt::XAxis, event);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 2640 |
| 993 | | - |
| 994 | drag(currentTimestamp, event->type(), event->localPos(), deltas, overThreshold, false, false, velocity); | - |
| 995 | }executed 4540 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 4540 |
| 996 | | - |
| 997 | void QQuickFlickablePrivate::handleMouseReleaseEvent(QMouseEvent *event) | - |
| 998 | { | - |
| 999 | QQuickFlickable * const q = q_func(); | - |
| 1000 | stealMouse = false; | - |
| 1001 | q->setKeepMouseGrab(false); | - |
| 1002 | pressed = false; | - |
| 1003 | | - |
| 1004 | | - |
| 1005 | qint64 elapsed = computeCurrentTime(event) - lastPosTime; | - |
| 1006 | | - |
| 1007 | vData.updateVelocity(); | - |
| 1008 | hData.updateVelocity(); | - |
| 1009 | | - |
| 1010 | draggingEnding(); | - |
| 1011 | | - |
| 1012 | if (lastPosTime == -1| TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 760 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 10-760 |
| 1013 | return;executed 10 times by 3 tests: return;Executed by:- tst_flickableinterop
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 10 |
| 1014 | | - |
| 1015 | hData.vTime = vData.vTime = timeline.time(); | - |
| 1016 | | - |
| 1017 | bool canBoost = false; | - |
| 1018 | | - |
| 1019 | qreal vVelocity = 0; | - |
| 1020 | if (elapsed < 100| TRUE | evaluated 760 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& vData.velocity != 0.| TRUE | evaluated 384 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 376 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
) { | 0-760 |
| 1021 | vVelocity = (| TRUE | never evaluated | | FALSE | evaluated 384 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
QGuiApplicationPrivate::mouseEventCaps(event) & QTouchDevice::Velocity)| TRUE | never evaluated | | FALSE | evaluated 384 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
| 0-384 |
| 1022 | ? QGuiApplicationPrivate::mouseEventVelocity(event).y() : vData.velocity; | - |
| 1023 | }executed 384 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 384 |
| 1024 | if ((vData.atBeginning| TRUE | evaluated 348 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 412 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& vVelocity > 0.| TRUE | evaluated 48 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 300 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) || (vData.atEnd| TRUE | evaluated 303 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 409 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& vVelocity < 0.| TRUE | evaluated 48 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 255 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
)) { | 48-412 |
| 1025 | vVelocity /= 2; | - |
| 1026 | }executed 96 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
else if (vData.continuousFlickVelocity != 0.0| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 656 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
| 8-656 |
| 1027 | && vData.viewSize/q->height() > 10| TRUE | never evaluated | | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
| 0-8 |
| 1028 | && ((| TRUE | never evaluated | | FALSE | never evaluated |
vVelocity > 0) == (vData.continuousFlickVelocity > 0))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1029 | && qAbs(vVelocity) > 1250| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1030 | | - |
| 1031 | canBoost = true; | - |
| 1032 | } never executed: end of block | 0 |
| 1033 | | - |
| 1034 | qreal hVelocity = 0; | - |
| 1035 | if (elapsed < 100| TRUE | evaluated 760 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& hData.velocity != 0.| TRUE | evaluated 386 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 374 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 0-760 |
| 1036 | hVelocity = (| TRUE | never evaluated | | FALSE | evaluated 386 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
QGuiApplicationPrivate::mouseEventCaps(event) & QTouchDevice::Velocity)| TRUE | never evaluated | | FALSE | evaluated 386 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
| 0-386 |
| 1037 | ? QGuiApplicationPrivate::mouseEventVelocity(event).x() : hData.velocity; | - |
| 1038 | }executed 386 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 386 |
| 1039 | if ((hData.atBeginning| TRUE | evaluated 388 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 372 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& hVelocity > 0.| TRUE | evaluated 74 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 314 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) || (hData.atEnd| TRUE | evaluated 336 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 350 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& hVelocity < 0.| TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 304 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
)) { | 32-388 |
| 1040 | hVelocity /= 2; | - |
| 1041 | }executed 106 times by 4 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
else if (hData.continuousFlickVelocity != 0.0| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 646 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
| 8-646 |
| 1042 | && hData.viewSize/q->width() > 10| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 1043 | && ((| TRUE | never evaluated | | FALSE | never evaluated |
hVelocity > 0) == (hData.continuousFlickVelocity > 0))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1044 | && qAbs(hVelocity) > 1250| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1045 | | - |
| 1046 | canBoost = true; | - |
| 1047 | } never executed: end of block | 0 |
| 1048 | | - |
| 1049 | flickBoost = canBoost| TRUE | never evaluated | | FALSE | evaluated 760 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
? qBound(1.0, flickBoost+0.25, 3.0) : 1.0; | 0-760 |
| 1050 | | - |
| 1051 | bool flickedVertically = false; | - |
| 1052 | vVelocity *= flickBoost; | - |
| 1053 | bool isVerticalFlickAllowed = q->yflick()| TRUE | evaluated 472 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 288 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
&& qAbs(vVelocity) > MinimumFlickVelocity| TRUE | evaluated 336 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 136 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
|
&& qAbs(event->localPos().y() - pressPos.y()) > FlickThreshold| TRUE | evaluated 336 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
; | 0-472 |
| 1054 | if (isVerticalFlickAllowed| TRUE | evaluated 336 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 424 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 336-424 |
| 1055 | velocityTimeline.reset(vData.smoothVelocity); | - |
| 1056 | vData.smoothVelocity.setValue(-vVelocity); | - |
| 1057 | flickedVertically = flickY(vVelocity); | - |
| 1058 | }executed 336 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 336 |
| 1059 | | - |
| 1060 | bool flickedHorizontally = false; | - |
| 1061 | hVelocity *= flickBoost; | - |
| 1062 | bool isHorizontalFlickAllowed = q->xflick()| TRUE | evaluated 434 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 326 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& qAbs(hVelocity) > MinimumFlickVelocity| TRUE | evaluated 386 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 48 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
|
&& qAbs(event->localPos().x() - pressPos.x()) > FlickThreshold| TRUE | evaluated 354 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 32 times by 1 test |
; | 32-434 |
| 1063 | if (isHorizontalFlickAllowed| TRUE | evaluated 354 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 406 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 354-406 |
| 1064 | velocityTimeline.reset(hData.smoothVelocity); | - |
| 1065 | hData.smoothVelocity.setValue(-hVelocity); | - |
| 1066 | flickedHorizontally = flickX(hVelocity); | - |
| 1067 | }executed 354 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 354 |
| 1068 | | - |
| 1069 | if (!isVerticalFlickAllowed| TRUE | evaluated 424 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 336 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 336-424 |
| 1070 | fixupY();executed 424 times by 6 tests: fixupY();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 424 |
| 1071 | | - |
| 1072 | if (!isHorizontalFlickAllowed| TRUE | evaluated 406 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 354 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 354-406 |
| 1073 | fixupX();executed 406 times by 6 tests: fixupX();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 406 |
| 1074 | | - |
| 1075 | flickingStarted(flickedHorizontally, flickedVertically); | - |
| 1076 | if (!isViewMoving()| TRUE | evaluated 60 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 700 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 60-700 |
| 1077 | q->movementEnding();executed 60 times by 3 tests: q->movementEnding();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
| 60 |
| 1078 | }executed 760 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 760 |
| 1079 | | - |
| 1080 | void QQuickFlickable::mousePressEvent(QMouseEvent *event) | - |
| 1081 | { | - |
| 1082 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1083 | if (d->interactive| TRUE | evaluated 667 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) { | 8-667 |
| 1084 | if (!d->pressed| TRUE | evaluated 357 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) | 310-357 |
| 1085 | d->handleMousePressEvent(event);executed 357 times by 4 tests: d->handleMousePressEvent(event);Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| 357 |
| 1086 | event->accept(); | - |
| 1087 | }executed 667 times by 5 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
else { | 667 |
| 1088 | QQuickItem::mousePressEvent(event); | - |
| 1089 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquicklistview
| 8 |
| 1090 | } | - |
| 1091 | | - |
| 1092 | void QQuickFlickable::mouseMoveEvent(QMouseEvent *event) | - |
| 1093 | { | - |
| 1094 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1095 | if (d->interactive| TRUE | evaluated 4070 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
) { | 0-4070 |
| 1096 | d->handleMouseMoveEvent(event); | - |
| 1097 | event->accept(); | - |
| 1098 | }executed 4070 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
else { | 4070 |
| 1099 | QQuickItem::mouseMoveEvent(event); | - |
| 1100 | } never executed: end of block | 0 |
| 1101 | } | - |
| 1102 | | - |
| 1103 | void QQuickFlickable::mouseReleaseEvent(QMouseEvent *event) | - |
| 1104 | { | - |
| 1105 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1106 | if (d->interactive| TRUE | evaluated 724 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-724 |
| 1107 | if (d->delayedPressEvent| TRUE | never evaluated | | FALSE | evaluated 724 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-724 |
| 1108 | d->replayDelayedPress(); | - |
| 1109 | | - |
| 1110 | | - |
| 1111 | if (window()| TRUE | never evaluated | | FALSE | never evaluated |
&& window()->mouseGrabberItem()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1112 | QPointF localPos = window()->mouseGrabberItem()->mapFromScene(event->windowPos()); | - |
| 1113 | QScopedPointer<QMouseEvent> mouseEvent(QQuickWindowPrivate::cloneMouseEvent(event, &localPos)); | - |
| 1114 | QCoreApplication::sendEvent(window(), mouseEvent.data()); | - |
| 1115 | } never executed: end of block | 0 |
| 1116 | | - |
| 1117 | | - |
| 1118 | d->stealMouse = false; | - |
| 1119 | d->pressed = false; | - |
| 1120 | return; never executed: return; | 0 |
| 1121 | } | - |
| 1122 | | - |
| 1123 | d->handleMouseReleaseEvent(event); | - |
| 1124 | event->accept(); | - |
| 1125 | }executed 724 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
else { | 724 |
| 1126 | QQuickItem::mouseReleaseEvent(event); | - |
| 1127 | } never executed: end of block | 0 |
| 1128 | } | - |
| 1129 | | - |
| 1130 | | - |
| 1131 | void QQuickFlickable::wheelEvent(QWheelEvent *event) | - |
| 1132 | { | - |
| 1133 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1134 | if (!d->interactive| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1135 | QQuickItem::wheelEvent(event); | - |
| 1136 | return; never executed: return; | 0 |
| 1137 | } | - |
| 1138 | event->setAccepted(false); | - |
| 1139 | qint64 currentTimestamp = d->computeCurrentTime(event); | - |
| 1140 | switch (event->phase()) { | - |
| 1141 | case never executed: case Qt::ScrollBegin: Qt::ScrollBegin:never executed: case Qt::ScrollBegin: | 0 |
| 1142 | d->scrollingPhase = true; | - |
| 1143 | d->accumulatedWheelPixelDelta = QVector2D(); | - |
| 1144 | d->vData.velocity = 0; | - |
| 1145 | d->hData.velocity = 0; | - |
| 1146 | d->timer.start(); | - |
| 1147 | d->maybeBeginDrag(currentTimestamp, event->posF()); | - |
| 1148 | break; never executed: break; | 0 |
| 1149 | case never executed: case Qt::NoScrollPhase: Qt::NoScrollPhase:never executed: case Qt::NoScrollPhase: | 0 |
| 1150 | case never executed: case Qt::ScrollUpdate: Qt::ScrollUpdate:never executed: case Qt::ScrollUpdate: | 0 |
| 1151 | if (d->scrollingPhase| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1152 | d->pressed = true; never executed: d->pressed = true; | 0 |
| 1153 | | - |
| 1154 | | - |
| 1155 | | - |
| 1156 | | - |
| 1157 | break; never executed: break; | 0 |
| 1158 | case never executed: case Qt::ScrollEnd: Qt::ScrollEnd:never executed: case Qt::ScrollEnd: | 0 |
| 1159 | | - |
| 1160 | | - |
| 1161 | d->pressed = false; | - |
| 1162 | d->scrollingPhase = false; | - |
| 1163 | d->draggingEnding(); | - |
| 1164 | event->accept(); | - |
| 1165 | returnToBounds(); | - |
| 1166 | d->lastPosTime = -1; | - |
| 1167 | | - |
| 1168 | | - |
| 1169 | | - |
| 1170 | return; never executed: return; | 0 |
| 1171 | } | - |
| 1172 | | - |
| 1173 | if (event->source() == Qt::MouseEventNotSynthesized| TRUE | never evaluated | | FALSE | never evaluated |
|| event->pixelDelta().isNull()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1174 | | - |
| 1175 | int xDelta = event->angleDelta().x(); | - |
| 1176 | int yDelta = event->angleDelta().y(); | - |
| 1177 | if (yflick()| TRUE | never evaluated | | FALSE | never evaluated |
&& yDelta != 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1178 | bool valid = false; | - |
| 1179 | if (yDelta > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& contentY() > -minYExtent()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1180 | d->vData.velocity = qMax(yDelta*2 - d->vData.smoothVelocity.value(), qreal(d->maxVelocity/4)); | - |
| 1181 | valid = true; | - |
| 1182 | } never executed: end of block else if (yDelta < 0| TRUE | never evaluated | | FALSE | never evaluated |
&& contentY() < -maxYExtent()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1183 | d->vData.velocity = qMin(yDelta*2 - d->vData.smoothVelocity.value(), qreal(-d->maxVelocity/4)); | - |
| 1184 | valid = true; | - |
| 1185 | } never executed: end of block | 0 |
| 1186 | if (valid| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1187 | d->flickY(d->vData.velocity); | - |
| 1188 | d->flickingStarted(false, true); | - |
| 1189 | if (d->vData.flicking| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1190 | d->vMoved = true; | - |
| 1191 | movementStarting(); | - |
| 1192 | } never executed: end of block | 0 |
| 1193 | event->accept(); | - |
| 1194 | } never executed: end of block | 0 |
| 1195 | } never executed: end of block | 0 |
| 1196 | if (xflick()| TRUE | never evaluated | | FALSE | never evaluated |
&& xDelta != 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1197 | bool valid = false; | - |
| 1198 | if (xDelta > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& contentX() > -minXExtent()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1199 | d->hData.velocity = qMax(xDelta*2 - d->hData.smoothVelocity.value(), qreal(d->maxVelocity/4)); | - |
| 1200 | valid = true; | - |
| 1201 | } never executed: end of block else if (xDelta < 0| TRUE | never evaluated | | FALSE | never evaluated |
&& contentX() < -maxXExtent()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1202 | d->hData.velocity = qMin(xDelta*2 - d->hData.smoothVelocity.value(), qreal(-d->maxVelocity/4)); | - |
| 1203 | valid = true; | - |
| 1204 | } never executed: end of block | 0 |
| 1205 | if (valid| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1206 | d->flickX(d->hData.velocity); | - |
| 1207 | d->flickingStarted(true, false); | - |
| 1208 | if (d->hData.flicking| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1209 | d->hMoved = true; | - |
| 1210 | movementStarting(); | - |
| 1211 | } never executed: end of block | 0 |
| 1212 | event->accept(); | - |
| 1213 | } never executed: end of block | 0 |
| 1214 | } never executed: end of block | 0 |
| 1215 | } never executed: end of block else { | 0 |
| 1216 | | - |
| 1217 | int xDelta = event->pixelDelta().x(); | - |
| 1218 | int yDelta = event->pixelDelta().y(); | - |
| 1219 | | - |
| 1220 | qreal elapsed = qreal(currentTimestamp - d->lastPosTime) / 1000.; | - |
| 1221 | if (elapsed <= 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1222 | d->lastPosTime = currentTimestamp; | - |
| 1223 | return; never executed: return; | 0 |
| 1224 | } | - |
| 1225 | QVector2D velocity(xDelta / elapsed, yDelta / elapsed); | - |
| 1226 | d->lastPosTime = currentTimestamp; | - |
| 1227 | d->accumulatedWheelPixelDelta += QVector2D(event->pixelDelta()); | - |
| 1228 | d->drag(currentTimestamp, event->type(), event->posF(), d->accumulatedWheelPixelDelta, true, !d->scrollingPhase, true, velocity); | - |
| 1229 | event->accept(); | - |
| 1230 | } never executed: end of block | 0 |
| 1231 | | - |
| 1232 | if (!event->isAccepted()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1233 | QQuickItem::wheelEvent(event); never executed: QQuickItem::wheelEvent(event); | 0 |
| 1234 | } never executed: end of block | 0 |
| 1235 | | - |
| 1236 | | - |
| 1237 | bool QQuickFlickablePrivate::isInnermostPressDelay(QQuickItem *i) const | - |
| 1238 | { | - |
| 1239 | const QQuickFlickable * const q = q_func(); | - |
| 1240 | QQuickItem *item = i; | - |
| 1241 | while (item| TRUE | evaluated 48 times by 1 test | | FALSE | never evaluated |
) { | 0-48 |
| 1242 | QQuickFlickable *flick = qobject_cast<QQuickFlickable*>(item); | - |
| 1243 | if (flick| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 32 times by 1 test |
&& flick->pressDelay() > 0| TRUE | evaluated 16 times by 1 test | | FALSE | never evaluated |
&& flick->isInteractive()| TRUE | evaluated 16 times by 1 test | | FALSE | never evaluated |
) { | 0-32 |
| 1244 | | - |
| 1245 | returnexecuted 16 times by 1 test: return (flick == q); (flick == q);executed 16 times by 1 test: return (flick == q); | 16 |
| 1246 | } | - |
| 1247 | item = item->parentItem(); | - |
| 1248 | }executed 32 times by 1 test: end of block | 32 |
| 1249 | return never executed: return false; false;never executed: return false; | 0 |
| 1250 | } | - |
| 1251 | | - |
| 1252 | void QQuickFlickablePrivate::captureDelayedPress(QQuickItem *item, QMouseEvent *event) | - |
| 1253 | { | - |
| 1254 | QQuickFlickable * const q = q_func(); | - |
| 1255 | if (!q->window()| TRUE | never evaluated | | FALSE | evaluated 655 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| pressDelay <= 0| TRUE | evaluated 639 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 16 times by 1 test |
) | 0-655 |
| 1256 | return;executed 639 times by 7 tests: return;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 639 |
| 1257 | | - |
| 1258 | | - |
| 1259 | | - |
| 1260 | if (!isInnermostPressDelay(item)| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 test |
) | 0-16 |
| 1261 | return; never executed: return; | 0 |
| 1262 | | - |
| 1263 | delayedPressEvent = QQuickWindowPrivate::cloneMouseEvent(event); | - |
| 1264 | delayedPressEvent->setAccepted(false); | - |
| 1265 | delayedPressTimer.start(pressDelay, q); | - |
| 1266 | }executed 16 times by 1 test: end of block | 16 |
| 1267 | | - |
| 1268 | void QQuickFlickablePrivate::clearDelayedPress() | - |
| 1269 | { | - |
| 1270 | if (delayedPressEvent| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 5783 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 14-5783 |
| 1271 | delayedPressTimer.stop(); | - |
| 1272 | delete delayedPressEvent; | - |
| 1273 | delayedPressEvent = nullptr; | - |
| 1274 | }executed 14 times by 1 test: end of block | 14 |
| 1275 | }executed 5797 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 5797 |
| 1276 | | - |
| 1277 | void QQuickFlickablePrivate::replayDelayedPress() | - |
| 1278 | { | - |
| 1279 | QQuickFlickable * const q = q_func(); | - |
| 1280 | if (delayedPressEvent| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 1281 | | - |
| 1282 | QScopedPointer<QMouseEvent> mouseEvent(delayedPressEvent); | - |
| 1283 | delayedPressEvent = nullptr; | - |
| 1284 | delayedPressTimer.stop(); | - |
| 1285 | | - |
| 1286 | | - |
| 1287 | if (QQuickWindow *w = q->window()| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 1288 | QQuickWindowPrivate *wpriv = QQuickWindowPrivate::get(w); | - |
| 1289 | wpriv->allowChildEventFiltering = false; | - |
| 1290 | replayingPressEvent = true; | - |
| 1291 | if (w->mouseGrabberItem() == q| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 1292 | q->ungrabMouse();executed 2 times by 1 test: q->ungrabMouse(); | 2 |
| 1293 | | - |
| 1294 | | - |
| 1295 | QCoreApplication::sendEvent(w, mouseEvent.data()); | - |
| 1296 | replayingPressEvent = false; | - |
| 1297 | wpriv->allowChildEventFiltering = true; | - |
| 1298 | }executed 2 times by 1 test: end of block | 2 |
| 1299 | }executed 2 times by 1 test: end of block | 2 |
| 1300 | }executed 2 times by 1 test: end of block | 2 |
| 1301 | | - |
| 1302 | | - |
| 1303 | void QQuickFlickablePrivate::setViewportX(qreal x) | - |
| 1304 | { | - |
| 1305 | QQuickFlickable * const q = q_func(); | - |
| 1306 | qreal effectiveX = pixelAligned| TRUE | evaluated 194 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 13186 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
? -Round(-x) : x; | 194-13186 |
| 1307 | | - |
| 1308 | const qreal maxX = q->maxXExtent(); | - |
| 1309 | const qreal minX = q->minXExtent(); | - |
| 1310 | | - |
| 1311 | if (boundsMovement == int(QQuickFlickable::StopAtBounds)| TRUE | evaluated 347 times by 1 test | | FALSE | evaluated 13033 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 347-13033 |
| 1312 | effectiveX = qBound(maxX, effectiveX, minX);executed 347 times by 1 test: effectiveX = qBound(maxX, effectiveX, minX); | 347 |
| 1313 | | - |
| 1314 | contentItem->setX(effectiveX); | - |
| 1315 | if (contentItem->x() != effectiveX| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 13374 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 6-13374 |
| 1316 | return;executed 6 times by 2 tests: return;Executed by:- tst_qquickflickable
- tst_qquicklistview
| 6 |
| 1317 | | - |
| 1318 | qreal overshoot = 0.0; | - |
| 1319 | if (x <= maxX| TRUE | evaluated 4859 times by 5 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| | FALSE | evaluated 8515 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 4859-8515 |
| 1320 | overshoot = maxX - x;executed 4859 times by 5 tests: overshoot = maxX - x;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| 4859 |
| 1321 | else if (x >= minX| TRUE | evaluated 2501 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 6014 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 2501-6014 |
| 1322 | overshoot = minX - x;executed 2501 times by 7 tests: overshoot = minX - x;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 2501 |
| 1323 | | - |
| 1324 | if (overshoot != hData.overshoot| TRUE | evaluated 4293 times by 6 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| | FALSE | evaluated 9081 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) { | 4293-9081 |
| 1325 | hData.overshoot = overshoot; | - |
| 1326 | q->horizontalOvershootChanged(); | - |
| 1327 | }executed 4293 times by 6 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| 4293 |
| 1328 | }executed 13374 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 13374 |
| 1329 | | - |
| 1330 | void QQuickFlickablePrivate::setViewportY(qreal y) | - |
| 1331 | { | - |
| 1332 | QQuickFlickable * const q = q_func(); | - |
| 1333 | qreal effectiveY = pixelAligned| TRUE | evaluated 184 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 16111 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
|
? -Round(-y) : y; | 184-16111 |
| 1334 | | - |
| 1335 | const qreal maxY = q->maxYExtent(); | - |
| 1336 | const qreal minY = q->minYExtent(); | - |
| 1337 | | - |
| 1338 | if (boundsMovement == int(QQuickFlickable::StopAtBounds)| TRUE | evaluated 337 times by 1 test | | FALSE | evaluated 15958 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
|
) | 337-15958 |
| 1339 | effectiveY = qBound(maxY, effectiveY, minY);executed 337 times by 1 test: effectiveY = qBound(maxY, effectiveY, minY); | 337 |
| 1340 | | - |
| 1341 | contentItem->setY(effectiveY); | - |
| 1342 | if (contentItem->y() != effectiveY| TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 16281 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
|
) | 14-16281 |
| 1343 | return;executed 14 times by 3 tests: return;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 14 |
| 1344 | | - |
| 1345 | qreal overshoot = 0.0; | - |
| 1346 | if (y <= maxY| TRUE | evaluated 5827 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10454 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
|
) | 5827-10454 |
| 1347 | overshoot = maxY - y;executed 5827 times by 5 tests: overshoot = maxY - y;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| 5827 |
| 1348 | else if (y >= minY| TRUE | evaluated 2848 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 7606 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
|
) | 2848-7606 |
| 1349 | overshoot = minY - y;executed 2848 times by 7 tests: overshoot = minY - y;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 2848 |
| 1350 | | - |
| 1351 | if (overshoot != vData.overshoot| TRUE | evaluated 4586 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 11695 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
|
) { | 4586-11695 |
| 1352 | vData.overshoot = overshoot; | - |
| 1353 | q->verticalOvershootChanged(); | - |
| 1354 | }executed 4586 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 4586 |
| 1355 | }executed 16281 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 16281 |
| 1356 | | - |
| 1357 | void QQuickFlickable::timerEvent(QTimerEvent *event) | - |
| 1358 | { | - |
| 1359 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1360 | if (event->timerId() == d->delayedPressTimer.timerId()| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 1361 | d->delayedPressTimer.stop(); | - |
| 1362 | if (d->delayedPressEvent| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 1363 | d->replayDelayedPress(); | - |
| 1364 | }executed 2 times by 1 test: end of block | 2 |
| 1365 | }executed 2 times by 1 test: end of block else if (event->timerId() == d->movementEndingTimer.timerId()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-2 |
| 1366 | d->movementEndingTimer.stop(); | - |
| 1367 | if (!d->scrollingPhase| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 1368 | d->pressed = false; | - |
| 1369 | d->stealMouse = false; | - |
| 1370 | if (!d->velocityTimeline.isActive()| TRUE | never evaluated | | FALSE | never evaluated |
&& !d->timeline.isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1371 | movementEnding(true, true); never executed: movementEnding(true, true); | 0 |
| 1372 | } never executed: end of block | 0 |
| 1373 | } never executed: end of block | 0 |
| 1374 | }executed 2 times by 1 test: end of block | 2 |
| 1375 | | - |
| 1376 | qreal QQuickFlickable::minYExtent() const | - |
| 1377 | { | - |
| 1378 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1379 | returnexecuted 48213 times by 10 tests: return d->vData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
d->vData.startMargin;executed 48213 times by 10 tests: return d->vData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| 48213 |
| 1380 | } | - |
| 1381 | | - |
| 1382 | qreal QQuickFlickable::minXExtent() const | - |
| 1383 | { | - |
| 1384 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1385 | returnexecuted 79062 times by 18 tests: return d->hData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
d->hData.startMargin;executed 79062 times by 18 tests: return d->hData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 79062 |
| 1386 | } | - |
| 1387 | | - |
| 1388 | | - |
| 1389 | qreal QQuickFlickable::maxXExtent() const | - |
| 1390 | { | - |
| 1391 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1392 | returnexecuted 15303 times by 9 tests: return qMin<qreal>(minXExtent(), width() - vWidth() - d->hData.endMargin);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
qMin<qreal>(minXExtent(), width() - vWidth() - d->hData.endMargin);executed 15303 times by 9 tests: return qMin<qreal>(minXExtent(), width() - vWidth() - d->hData.endMargin);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| 15303 |
| 1393 | } | - |
| 1394 | | - |
| 1395 | qreal QQuickFlickable::maxYExtent() const | - |
| 1396 | { | - |
| 1397 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1398 | returnexecuted 15263 times by 9 tests: return qMin<qreal>(minYExtent(), height() - vHeight() - d->vData.endMargin);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
qMin<qreal>(minYExtent(), height() - vHeight() - d->vData.endMargin);executed 15263 times by 9 tests: return qMin<qreal>(minYExtent(), height() - vHeight() - d->vData.endMargin);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| 15263 |
| 1399 | } | - |
| 1400 | | - |
| 1401 | void QQuickFlickable::componentComplete() | - |
| 1402 | { | - |
| 1403 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1404 | QQuickItem::componentComplete(); | - |
| 1405 | if (!d->hData.explicitValue| TRUE | evaluated 2146 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 1952 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& d->hData.startMargin != 0.| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | evaluated 2134 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 12-2146 |
| 1406 | setContentX(-minXExtent());executed 12 times by 2 tests: setContentX(-minXExtent());Executed by:- tst_qquickflickable
- tst_qquicklistview
| 12 |
| 1407 | if (!d->vData.explicitValue| TRUE | evaluated 332 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| | FALSE | evaluated 3766 times by 12 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
&& d->vData.startMargin != 0.| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 328 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
|
) | 4-3766 |
| 1408 | setContentY(-minYExtent());executed 4 times by 1 test: setContentY(-minYExtent()); | 4 |
| 1409 | }executed 4098 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4098 |
| 1410 | | - |
| 1411 | void QQuickFlickable::viewportMoved(Qt::Orientations orient) | - |
| 1412 | { | - |
| 1413 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1414 | if (orient & Qt::Vertical| TRUE | evaluated 12988 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10388 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 10388-12988 |
| 1415 | d->viewportAxisMoved(d->vData, minYExtent(), maxYExtent(), height(), d->fixupY_callback);executed 12988 times by 7 tests: d->viewportAxisMoved(d->vData, minYExtent(), maxYExtent(), height(), d->fixupY_callback);Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 12988 |
| 1416 | if (orient & Qt::Horizontal| TRUE | evaluated 10388 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 12988 times by 7 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
|
) | 10388-12988 |
| 1417 | d->viewportAxisMoved(d->hData, minXExtent(), maxXExtent(), width(), d->fixupX_callback);executed 10388 times by 7 tests: d->viewportAxisMoved(d->hData, minXExtent(), maxXExtent(), width(), d->fixupX_callback);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 10388 |
| 1418 | d->updateBeginningEnd(); | - |
| 1419 | }executed 23376 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 23376 |
| 1420 | | - |
| 1421 | void QQuickFlickablePrivate::viewportAxisMoved(AxisData &data, qreal minExtent, qreal maxExtent, qreal vSize, | - |
| 1422 | QQuickTimeLineCallback::Callback fixupCallback) | - |
| 1423 | { | - |
| 1424 | if (!scrollingPhase| TRUE | evaluated 23376 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
&& (pressed| TRUE | evaluated 2110 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 21266 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
|| calcVelocity| TRUE | evaluated 1440 times by 4 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 19826 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
)) { | 0-23376 |
| 1425 | int elapsed = data.velocityTime.restart(); | - |
| 1426 | if (elapsed > 0| TRUE | evaluated 2907 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 643 times by 6 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
|
) { | 643-2907 |
| 1427 | qreal velocity = (data.lastPos - data.move.value()) * 1000 / elapsed; | - |
| 1428 | if (qAbs(velocity) > 0| TRUE | evaluated 2907 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) { | 0-2907 |
| 1429 | velocityTimeline.reset(data.smoothVelocity); | - |
| 1430 | if (calcVelocity| TRUE | evaluated 1203 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1704 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 1203-1704 |
| 1431 | velocityTimeline.set(data.smoothVelocity, velocity);executed 1203 times by 3 tests: velocityTimeline.set(data.smoothVelocity, velocity);Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1203 |
| 1432 | else | - |
| 1433 | velocityTimeline.move(data.smoothVelocity, velocity, reportedVelocitySmoothing);executed 1704 times by 6 tests: velocityTimeline.move(data.smoothVelocity, velocity, reportedVelocitySmoothing);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 1704 |
| 1434 | velocityTimeline.move(data.smoothVelocity, 0, reportedVelocitySmoothing); | - |
| 1435 | }executed 2907 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 2907 |
| 1436 | }executed 2907 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
| 2907 |
| 1437 | }executed 3550 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
else { | 3550 |
| 1438 | if (timeline.time() > data.vTime| TRUE | evaluated 14756 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 5070 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 5070-14756 |
| 1439 | velocityTimeline.reset(data.smoothVelocity); | - |
| 1440 | qreal velocity = (data.lastPos - data.move.value()) * 1000 / (timeline.time() - data.vTime); | - |
| 1441 | data.smoothVelocity.setValue(velocity); | - |
| 1442 | }executed 14756 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 14756 |
| 1443 | }executed 19826 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 19826 |
| 1444 | | - |
| 1445 | if (!data.inOvershoot| TRUE | evaluated 22413 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 963 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !data.fixingUp| TRUE | evaluated 13766 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8647 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& data.flicking| TRUE | evaluated 5803 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 7963 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
| 963-22413 |
| 1446 | && (data.move.value() > minExtent| TRUE | evaluated 137 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 5666 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
|| data.move.value() < maxExtent| TRUE | evaluated 119 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 5547 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 119-5666 |
| 1447 | && qAbs(data.smoothVelocity.value()) > 10| TRUE | evaluated 256 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-256 |
| 1448 | | - |
| 1449 | qreal overBound = data.move.value() > minExtent| TRUE | evaluated 137 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 119 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
| 119-137 |
| 1450 | ? data.move.value() - minExtent | - |
| 1451 | : maxExtent - data.move.value(); | - |
| 1452 | data.inOvershoot = true; | - |
| 1453 | qreal maxDistance = overShootDistance(vSize) - overBound; | - |
| 1454 | resetTimeline(data); | - |
| 1455 | if (maxDistance > 0| TRUE | evaluated 236 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 20 times by 1 test |
) | 20-236 |
| 1456 | timeline.accel(data.move, -data.smoothVelocity.value(), deceleration*8, maxDistance);executed 236 times by 7 tests: timeline.accel(data.move, -data.smoothVelocity.value(), deceleration*8, maxDistance);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 236 |
| 1457 | timeline.callback(QQuickTimeLineCallback(&data.move, fixupCallback, this)); | - |
| 1458 | }executed 256 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 256 |
| 1459 | | - |
| 1460 | data.lastPos = data.move.value(); | - |
| 1461 | data.vTime = timeline.time(); | - |
| 1462 | }executed 23376 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 23376 |
| 1463 | | - |
| 1464 | void QQuickFlickable::geometryChanged(const QRectF &newGeometry, | - |
| 1465 | const QRectF &oldGeometry) | - |
| 1466 | { | - |
| 1467 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1468 | QQuickItem::geometryChanged(newGeometry, oldGeometry); | - |
| 1469 | | - |
| 1470 | bool changed = false; | - |
| 1471 | if (newGeometry.width() != oldGeometry.width()| TRUE | evaluated 4116 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 4430 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
|
) { | 4116-4430 |
| 1472 | changed = true; | - |
| 1473 | if (d->hData.viewSize < 0| TRUE | evaluated 3888 times by 15 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 228 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_touchmouse
|
) | 228-3888 |
| 1474 | d->contentItem->setWidth(width());executed 3888 times by 15 tests: d->contentItem->setWidth(width());Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 3888 |
| 1475 | | - |
| 1476 | if (!d->pressed| TRUE | evaluated 4116 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 4116 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 4116 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
) { | 0-4116 |
| 1477 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1478 | d->fixupX(); | - |
| 1479 | }executed 4116 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4116 |
| 1480 | }executed 4116 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4116 |
| 1481 | if (newGeometry.height() != oldGeometry.height()| TRUE | evaluated 4142 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 4404 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_qquickvisualdatamodel
|
) { | 4142-4404 |
| 1482 | changed = true; | - |
| 1483 | if (d->vData.viewSize < 0| TRUE | evaluated 2204 times by 14 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1938 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 1938-2204 |
| 1484 | d->contentItem->setHeight(height());executed 2204 times by 14 tests: d->contentItem->setHeight(height());Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
| 2204 |
| 1485 | | - |
| 1486 | if (!d->pressed| TRUE | evaluated 4142 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 4142 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 4142 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
) { | 0-4142 |
| 1487 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1488 | d->fixupY(); | - |
| 1489 | }executed 4142 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4142 |
| 1490 | }executed 4142 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 4142 |
| 1491 | | - |
| 1492 | if (changed| TRUE | evaluated 7866 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 680 times by 6 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) | 680-7866 |
| 1493 | d->updateBeginningEnd();executed 7866 times by 16 tests: d->updateBeginningEnd();Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 7866 |
| 1494 | }executed 8546 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_touchmouse
| 8546 |
| 1495 | void QQuickFlickable::flick(qreal xVelocity, qreal yVelocity) | - |
| 1496 | { | - |
| 1497 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1498 | d->hData.reset(); | - |
| 1499 | d->vData.reset(); | - |
| 1500 | d->hData.velocity = xVelocity; | - |
| 1501 | d->vData.velocity = yVelocity; | - |
| 1502 | d->hData.vTime = d->vData.vTime = d->timeline.time(); | - |
| 1503 | | - |
| 1504 | bool flickedX = d->flickX(xVelocity); | - |
| 1505 | bool flickedY = d->flickY(yVelocity); | - |
| 1506 | | - |
| 1507 | if (flickedX| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-8 |
| 1508 | d->hMoved = true;executed 8 times by 1 test: d->hMoved = true; | 8 |
| 1509 | if (flickedY| TRUE | evaluated 10 times by 1 test | | FALSE | never evaluated |
) | 0-10 |
| 1510 | d->vMoved = true;executed 10 times by 1 test: d->vMoved = true; | 10 |
| 1511 | movementStarting(); | - |
| 1512 | d->flickingStarted(flickedX, flickedY); | - |
| 1513 | }executed 10 times by 1 test: end of block | 10 |
| 1514 | | - |
| 1515 | void QQuickFlickablePrivate::flickingStarted(bool flickingH, bool flickingV) | - |
| 1516 | { | - |
| 1517 | QQuickFlickable * const q = q_func(); | - |
| 1518 | if (!flickingH| TRUE | evaluated 418 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 352 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
&& !flickingV| TRUE | evaluated 139 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 279 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) | 139-418 |
| 1519 | return;executed 139 times by 5 tests: return;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
| 139 |
| 1520 | | - |
| 1521 | bool wasFlicking = hData.flicking| TRUE | never evaluated | | FALSE | evaluated 631 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| vData.flicking| TRUE | never evaluated | | FALSE | evaluated 631 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 0-631 |
| 1522 | if (flickingH| TRUE | evaluated 352 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 279 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& !hData.flicking| TRUE | evaluated 352 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-352 |
| 1523 | hData.flicking = true; | - |
| 1524 | q->flickingHorizontallyChanged(); | - |
| 1525 | }executed 352 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 352 |
| 1526 | if (flickingV| TRUE | evaluated 337 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 294 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
&& !vData.flicking| TRUE | evaluated 337 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
) { | 0-337 |
| 1527 | vData.flicking = true; | - |
| 1528 | q->flickingVerticallyChanged(); | - |
| 1529 | }executed 337 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 337 |
| 1530 | if (!wasFlicking| TRUE | evaluated 631 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& (hData.flicking| TRUE | evaluated 352 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 279 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
|| vData.flicking| TRUE | evaluated 279 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
)) { | 0-631 |
| 1531 | q->flickingChanged(); | - |
| 1532 | q->flickStarted(); | - |
| 1533 | }executed 631 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 631 |
| 1534 | }executed 631 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 631 |
| 1535 | | - |
| 1536 | | - |
| 1537 | | - |
| 1538 | | - |
| 1539 | | - |
| 1540 | | - |
| 1541 | | - |
| 1542 | void QQuickFlickable::cancelFlick() | - |
| 1543 | { | - |
| 1544 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1545 | d->resetTimeline(d->hData); | - |
| 1546 | d->resetTimeline(d->vData); | - |
| 1547 | movementEnding(); | - |
| 1548 | }executed 2 times by 1 test: end of block | 2 |
| 1549 | | - |
| 1550 | void QQuickFlickablePrivate::data_append(QQmlListProperty<QObject> *prop, QObject *o) | - |
| 1551 | { | - |
| 1552 | if (QQuickItem *i = qmlobject_cast<QQuickItem *>(o)| TRUE | evaluated 344 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| | FALSE | evaluated 6 times by 1 test |
) { | 6-344 |
| 1553 | i->setParentItem(static_cast<QQuickFlickablePrivate*>(prop->data)->contentItem); | - |
| 1554 | }executed 344 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
else { | 344 |
| 1555 | o->setParent(prop->object); | - |
| 1556 | }executed 6 times by 1 test: end of block | 6 |
| 1557 | } | - |
| 1558 | | - |
| 1559 | int QQuickFlickablePrivate::data_count(QQmlListProperty<QObject> *) | - |
| 1560 | { | - |
| 1561 | | - |
| 1562 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 1563 | } | - |
| 1564 | | - |
| 1565 | QObject *QQuickFlickablePrivate::data_at(QQmlListProperty<QObject> *, int) | - |
| 1566 | { | - |
| 1567 | | - |
| 1568 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 1569 | } | - |
| 1570 | | - |
| 1571 | void QQuickFlickablePrivate::data_clear(QQmlListProperty<QObject> *) | - |
| 1572 | { | - |
| 1573 | | - |
| 1574 | } | - |
| 1575 | | - |
| 1576 | QQmlListProperty<QObject> QQuickFlickable::flickableData() | - |
| 1577 | { | - |
| 1578 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1579 | returnexecuted 282 times by 7 tests: return QQmlListProperty<QObject>(this, (void *)d, QQuickFlickablePrivate::data_append, QQuickFlickablePrivate::data_count, QQuickFlickablePrivate::data_at, QQuickFlickablePrivate::data_clear);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
QQmlListProperty<QObject>(this, (void *)d, QQuickFlickablePrivate::data_append,executed 282 times by 7 tests: return QQmlListProperty<QObject>(this, (void *)d, QQuickFlickablePrivate::data_append, QQuickFlickablePrivate::data_count, QQuickFlickablePrivate::data_at, QQuickFlickablePrivate::data_clear);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 282 |
| 1580 | QQuickFlickablePrivate::data_count,executed 282 times by 7 tests: return QQmlListProperty<QObject>(this, (void *)d, QQuickFlickablePrivate::data_append, QQuickFlickablePrivate::data_count, QQuickFlickablePrivate::data_at, QQuickFlickablePrivate::data_clear);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 282 |
| 1581 | QQuickFlickablePrivate::data_at,executed 282 times by 7 tests: return QQmlListProperty<QObject>(this, (void *)d, QQuickFlickablePrivate::data_append, QQuickFlickablePrivate::data_count, QQuickFlickablePrivate::data_at, QQuickFlickablePrivate::data_clear);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 282 |
| 1582 | QQuickFlickablePrivate::data_clear);executed 282 times by 7 tests: return QQmlListProperty<QObject>(this, (void *)d, QQuickFlickablePrivate::data_append, QQuickFlickablePrivate::data_count, QQuickFlickablePrivate::data_at, QQuickFlickablePrivate::data_clear);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 282 |
| 1583 | } | - |
| 1584 | | - |
| 1585 | QQmlListProperty<QQuickItem> QQuickFlickable::flickableChildren() | - |
| 1586 | { | - |
| 1587 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1588 | return never executed: return QQuickItemPrivate::get(d->contentItem)->children(); QQuickItemPrivate::get(d->contentItem)->children();never executed: return QQuickItemPrivate::get(d->contentItem)->children(); | 0 |
| 1589 | } | - |
| 1590 | QQuickFlickable::BoundsBehavior QQuickFlickable::boundsBehavior() const | - |
| 1591 | { | - |
| 1592 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1593 | returnexecuted 14 times by 1 test: return d->boundsBehavior; d->boundsBehavior;executed 14 times by 1 test: return d->boundsBehavior; | 14 |
| 1594 | } | - |
| 1595 | | - |
| 1596 | void QQuickFlickable::setBoundsBehavior(BoundsBehavior b) | - |
| 1597 | { | - |
| 1598 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1599 | if (b == d->boundsBehavior| TRUE | evaluated 32 times by 1 test | | FALSE | evaluated 76 times by 2 testsEvaluated by:- tst_examples
- tst_qquickflickable
|
) | 32-76 |
| 1600 | return;executed 32 times by 1 test: return; | 32 |
| 1601 | d->boundsBehavior = b; | - |
| 1602 | boundsBehaviorChanged(); | - |
| 1603 | }executed 76 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
| 76 |
| 1604 | QQuickTransition *QQuickFlickable::rebound() const | - |
| 1605 | { | - |
| 1606 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1607 | return never executed: return d->rebound; d->rebound;never executed: return d->rebound; | 0 |
| 1608 | } | - |
| 1609 | | - |
| 1610 | void QQuickFlickable::setRebound(QQuickTransition *transition) | - |
| 1611 | { | - |
| 1612 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1613 | if (transition| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 4 |
| 1614 | if (!d->hData.transitionToBounds| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-4 |
| 1615 | d->hData.transitionToBounds = new QQuickFlickableReboundTransition(this, QLatin1String("x"));executed 4 times by 1 test: d->hData.transitionToBounds = new QQuickFlickableReboundTransition(this, QLatin1String("x")); | 4 |
| 1616 | if (!d->vData.transitionToBounds| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-4 |
| 1617 | d->vData.transitionToBounds = new QQuickFlickableReboundTransition(this, QLatin1String("y"));executed 4 times by 1 test: d->vData.transitionToBounds = new QQuickFlickableReboundTransition(this, QLatin1String("y")); | 4 |
| 1618 | }executed 4 times by 1 test: end of block | 4 |
| 1619 | if (d->rebound != transition| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 4 |
| 1620 | d->rebound = transition; | - |
| 1621 | reboundChanged(); | - |
| 1622 | }executed 4 times by 1 test: end of block | 4 |
| 1623 | }executed 8 times by 1 test: end of block | 8 |
| 1624 | qreal QQuickFlickable::contentWidth() const | - |
| 1625 | { | - |
| 1626 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1627 | returnexecuted 3147 times by 4 tests: return d->hData.viewSize;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
d->hData.viewSize;executed 3147 times by 4 tests: return d->hData.viewSize;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 3147 |
| 1628 | } | - |
| 1629 | | - |
| 1630 | void QQuickFlickable::setContentWidth(qreal w) | - |
| 1631 | { | - |
| 1632 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1633 | if (d->hData.viewSize == w| TRUE | evaluated 4240 times by 4 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 1882 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
|
) | 1882-4240 |
| 1634 | return;executed 4240 times by 4 tests: return;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 4240 |
| 1635 | d->hData.viewSize = w; | - |
| 1636 | if (w < 0| TRUE | evaluated 40 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 1842 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
|
) | 40-1842 |
| 1637 | d->contentItem->setWidth(width());executed 40 times by 2 tests: d->contentItem->setWidth(width());Executed by:- tst_qquickgridview
- tst_qquicklistview
| 40 |
| 1638 | else | - |
| 1639 | d->contentItem->setWidth(w);executed 1842 times by 9 tests: d->contentItem->setWidth(w);Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 1842 |
| 1640 | d->hData.markExtentsDirty(); | - |
| 1641 | | - |
| 1642 | if (!d->pressed| TRUE | evaluated 1882 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 1882 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 1882 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| | FALSE | never evaluated |
) { | 0-1882 |
| 1643 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1644 | d->fixupX(); | - |
| 1645 | }executed 1882 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
else if (!d->pressed| TRUE | never evaluated | | FALSE | never evaluated |
&& d->hData.fixingUp| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-1882 |
| 1646 | d->fixupMode = QQuickFlickablePrivate::ExtentChanged; | - |
| 1647 | d->fixupX(); | - |
| 1648 | } never executed: end of block | 0 |
| 1649 | contentWidthChanged(); | - |
| 1650 | d->updateBeginningEnd(); | - |
| 1651 | }executed 1882 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 1882 |
| 1652 | | - |
| 1653 | qreal QQuickFlickable::contentHeight() const | - |
| 1654 | { | - |
| 1655 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1656 | returnexecuted 3147 times by 4 tests: return d->vData.viewSize;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
d->vData.viewSize;executed 3147 times by 4 tests: return d->vData.viewSize;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 3147 |
| 1657 | } | - |
| 1658 | | - |
| 1659 | void QQuickFlickable::setContentHeight(qreal h) | - |
| 1660 | { | - |
| 1661 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1662 | if (d->vData.viewSize == h| TRUE | evaluated 12802 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10238 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 10238-12802 |
| 1663 | return;executed 12802 times by 9 tests: return;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickvisualdatamodel
| 12802 |
| 1664 | d->vData.viewSize = h; | - |
| 1665 | if (h < 0| TRUE | evaluated 668 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 9570 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
|
) | 668-9570 |
| 1666 | d->contentItem->setHeight(height());executed 668 times by 2 tests: d->contentItem->setHeight(height());Executed by:- tst_qquickgridview
- tst_qquicklistview
| 668 |
| 1667 | else | - |
| 1668 | d->contentItem->setHeight(h);executed 9570 times by 17 tests: d->contentItem->setHeight(h);Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 9570 |
| 1669 | d->vData.markExtentsDirty(); | - |
| 1670 | | - |
| 1671 | if (!d->pressed| TRUE | evaluated 10230 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 8 times by 1 test |
&& !d->hData.moving| TRUE | evaluated 10230 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 10179 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| | FALSE | evaluated 51 times by 1 test |
) { | 0-10230 |
| 1672 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1673 | d->fixupY(); | - |
| 1674 | }executed 10179 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
else if (!d->pressed| TRUE | evaluated 51 times by 1 test | | FALSE | evaluated 8 times by 1 test |
&& d->vData.fixingUp| TRUE | evaluated 51 times by 1 test | | FALSE | never evaluated |
) { | 0-10179 |
| 1675 | d->fixupMode = QQuickFlickablePrivate::ExtentChanged; | - |
| 1676 | d->fixupY(); | - |
| 1677 | }executed 51 times by 1 test: end of block | 51 |
| 1678 | contentHeightChanged(); | - |
| 1679 | d->updateBeginningEnd(); | - |
| 1680 | }executed 10238 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 10238 |
| 1681 | qreal QQuickFlickable::topMargin() const | - |
| 1682 | { | - |
| 1683 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1684 | returnexecuted 8 times by 1 test: return d->vData.startMargin; d->vData.startMargin;executed 8 times by 1 test: return d->vData.startMargin; | 8 |
| 1685 | } | - |
| 1686 | | - |
| 1687 | void QQuickFlickable::setTopMargin(qreal m) | - |
| 1688 | { | - |
| 1689 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1690 | if (d->vData.startMargin == m| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) | 12-22 |
| 1691 | return;executed 12 times by 1 test: return; | 12 |
| 1692 | d->vData.startMargin = m; | - |
| 1693 | d->vData.markExtentsDirty(); | - |
| 1694 | if (!d->pressed| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
) { | 0-22 |
| 1695 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1696 | d->fixupY(); | - |
| 1697 | }executed 22 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 22 |
| 1698 | topMarginChanged(); | - |
| 1699 | d->updateBeginningEnd(); | - |
| 1700 | }executed 22 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 22 |
| 1701 | | - |
| 1702 | qreal QQuickFlickable::bottomMargin() const | - |
| 1703 | { | - |
| 1704 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1705 | returnexecuted 8 times by 1 test: return d->vData.endMargin; d->vData.endMargin;executed 8 times by 1 test: return d->vData.endMargin; | 8 |
| 1706 | } | - |
| 1707 | | - |
| 1708 | void QQuickFlickable::setBottomMargin(qreal m) | - |
| 1709 | { | - |
| 1710 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1711 | if (d->vData.endMargin == m| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
|
) | 8-18 |
| 1712 | return;executed 8 times by 1 test: return; | 8 |
| 1713 | d->vData.endMargin = m; | - |
| 1714 | d->vData.markExtentsDirty(); | - |
| 1715 | if (!d->pressed| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
| | FALSE | never evaluated |
) { | 0-18 |
| 1716 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1717 | d->fixupY(); | - |
| 1718 | }executed 18 times by 2 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquicklistview
| 18 |
| 1719 | bottomMarginChanged(); | - |
| 1720 | d->updateBeginningEnd(); | - |
| 1721 | }executed 18 times by 2 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquicklistview
| 18 |
| 1722 | | - |
| 1723 | qreal QQuickFlickable::leftMargin() const | - |
| 1724 | { | - |
| 1725 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1726 | returnexecuted 8 times by 1 test: return d->hData.startMargin; d->hData.startMargin;executed 8 times by 1 test: return d->hData.startMargin; | 8 |
| 1727 | } | - |
| 1728 | | - |
| 1729 | void QQuickFlickable::setLeftMargin(qreal m) | - |
| 1730 | { | - |
| 1731 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1732 | if (d->hData.startMargin == m| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) | 12-24 |
| 1733 | return;executed 12 times by 1 test: return; | 12 |
| 1734 | d->hData.startMargin = m; | - |
| 1735 | d->hData.markExtentsDirty(); | - |
| 1736 | if (!d->pressed| TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
) { | 0-24 |
| 1737 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1738 | d->fixupX(); | - |
| 1739 | }executed 24 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 24 |
| 1740 | leftMarginChanged(); | - |
| 1741 | d->updateBeginningEnd(); | - |
| 1742 | }executed 24 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 24 |
| 1743 | | - |
| 1744 | qreal QQuickFlickable::rightMargin() const | - |
| 1745 | { | - |
| 1746 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1747 | returnexecuted 8 times by 1 test: return d->hData.endMargin; d->hData.endMargin;executed 8 times by 1 test: return d->hData.endMargin; | 8 |
| 1748 | } | - |
| 1749 | | - |
| 1750 | void QQuickFlickable::setRightMargin(qreal m) | - |
| 1751 | { | - |
| 1752 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1753 | if (d->hData.endMargin == m| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) | 8-22 |
| 1754 | return;executed 8 times by 1 test: return; | 8 |
| 1755 | d->hData.endMargin = m; | - |
| 1756 | d->hData.markExtentsDirty(); | - |
| 1757 | if (!d->pressed| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->hData.moving| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
&& !d->vData.moving| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | never evaluated |
) { | 0-22 |
| 1758 | d->fixupMode = QQuickFlickablePrivate::Immediate; | - |
| 1759 | d->fixupX(); | - |
| 1760 | }executed 22 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 22 |
| 1761 | rightMarginChanged(); | - |
| 1762 | d->updateBeginningEnd(); | - |
| 1763 | }executed 22 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 22 |
| 1764 | qreal QQuickFlickable::originY() const | - |
| 1765 | { | - |
| 1766 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1767 | returnexecuted 27003 times by 17 tests: return -minYExtent() + d->vData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
-minYExtent() + d->vData.startMargin;executed 27003 times by 17 tests: return -minYExtent() + d->vData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_touchmouse
| 27003 |
| 1768 | } | - |
| 1769 | | - |
| 1770 | qreal QQuickFlickable::originX() const | - |
| 1771 | { | - |
| 1772 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1773 | returnexecuted 5883 times by 9 tests: return -minXExtent() + d->hData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
-minXExtent() + d->hData.startMargin;executed 5883 times by 9 tests: return -minXExtent() + d->hData.startMargin;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 5883 |
| 1774 | } | - |
| 1775 | void QQuickFlickable::resizeContent(qreal w, qreal h, QPointF center) | - |
| 1776 | { | - |
| 1777 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1778 | const qreal oldHSize = d->hData.viewSize; | - |
| 1779 | const qreal oldVSize = d->vData.viewSize; | - |
| 1780 | const bool needToUpdateWidth = w != oldHSize; | - |
| 1781 | const bool needToUpdateHeight = h != oldVSize; | - |
| 1782 | d->hData.viewSize = w; | - |
| 1783 | d->vData.viewSize = h; | - |
| 1784 | d->contentItem->setSize(QSizeF(w, h)); | - |
| 1785 | if (needToUpdateWidth| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 1786 | contentWidthChanged();executed 2 times by 1 test: contentWidthChanged(); | 2 |
| 1787 | if (needToUpdateHeight| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 1788 | contentHeightChanged();executed 2 times by 1 test: contentHeightChanged(); | 2 |
| 1789 | | - |
| 1790 | if (center.x() != 0| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 1791 | qreal pos = center.x() * w / oldHSize; | - |
| 1792 | setContentX(contentX() + pos - center.x()); | - |
| 1793 | }executed 2 times by 1 test: end of block | 2 |
| 1794 | if (center.y() != 0| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 1795 | qreal pos = center.y() * h / oldVSize; | - |
| 1796 | setContentY(contentY() + pos - center.y()); | - |
| 1797 | }executed 2 times by 1 test: end of block | 2 |
| 1798 | d->updateBeginningEnd(); | - |
| 1799 | }executed 2 times by 1 test: end of block | 2 |
| 1800 | void QQuickFlickable::returnToBounds() | - |
| 1801 | { | - |
| 1802 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1803 | d->fixupX(); | - |
| 1804 | d->fixupY(); | - |
| 1805 | }executed 80 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 80 |
| 1806 | | - |
| 1807 | qreal QQuickFlickable::vWidth() const | - |
| 1808 | { | - |
| 1809 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1810 | if (d->hData.viewSize < 0| TRUE | evaluated 1381 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| | FALSE | evaluated 19012 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
|
) | 1381-19012 |
| 1811 | returnexecuted 1381 times by 8 tests: return width();Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
width();executed 1381 times by 8 tests: return width();Executed by:- tst_examples
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| 1381 |
| 1812 | else | - |
| 1813 | returnexecuted 19012 times by 8 tests: return d->hData.viewSize;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
d->hData.viewSize;executed 19012 times by 8 tests: return d->hData.viewSize;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 19012 |
| 1814 | } | - |
| 1815 | | - |
| 1816 | qreal QQuickFlickable::vHeight() const | - |
| 1817 | { | - |
| 1818 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1819 | if (d->vData.viewSize < 0| TRUE | evaluated 648 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| | FALSE | evaluated 19712 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
|
) | 648-19712 |
| 1820 | returnexecuted 648 times by 8 tests: return height();Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
height();executed 648 times by 8 tests: return height();Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktableview
- tst_touchmouse
| 648 |
| 1821 | else | - |
| 1822 | returnexecuted 19712 times by 8 tests: return d->vData.viewSize;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
d->vData.viewSize;executed 19712 times by 8 tests: return d->vData.viewSize;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_touchmouse
| 19712 |
| 1823 | } | - |
| 1824 | | - |
| 1825 | bool QQuickFlickable::xflick() const | - |
| 1826 | { | - |
| 1827 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1828 | if ((| TRUE | never evaluated | | FALSE | evaluated 21919 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
d->flickableDirection & QQuickFlickable::AutoFlickIfNeeded)| TRUE | never evaluated | | FALSE | evaluated 21919 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& (| TRUE | never evaluated | | FALSE | never evaluated |
vWidth() > width())| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-21919 |
| 1829 | return never executed: return true; true;never executed: return true; | 0 |
| 1830 | if (d->flickableDirection == QQuickFlickable::AutoFlickDirection| TRUE | evaluated 5090 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 16829 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) | 5090-16829 |
| 1831 | returnexecuted 5090 times by 5 tests: return std::floor(qAbs(vWidth() - width()));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
std::floor(qAbs(vWidth() - width()));executed 5090 times by 5 tests: return std::floor(qAbs(vWidth() - width()));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 5090 |
| 1832 | returnexecuted 16829 times by 5 tests: return d->flickableDirection & QQuickFlickable::HorizontalFlick;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
d->flickableDirection & QQuickFlickable::HorizontalFlick;executed 16829 times by 5 tests: return d->flickableDirection & QQuickFlickable::HorizontalFlick;Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 16829 |
| 1833 | } | - |
| 1834 | | - |
| 1835 | bool QQuickFlickable::yflick() const | - |
| 1836 | { | - |
| 1837 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1838 | if ((| TRUE | never evaluated | | FALSE | evaluated 38229 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
d->flickableDirection & QQuickFlickable::AutoFlickIfNeeded)| TRUE | never evaluated | | FALSE | evaluated 38229 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& (| TRUE | never evaluated | | FALSE | never evaluated |
vHeight() > height())| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-38229 |
| 1839 | return never executed: return true; true;never executed: return true; | 0 |
| 1840 | if (d->flickableDirection == QQuickFlickable::AutoFlickDirection| TRUE | evaluated 5097 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 33132 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) | 5097-33132 |
| 1841 | returnexecuted 5097 times by 5 tests: return std::floor(qAbs(vHeight() - height()));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
std::floor(qAbs(vHeight() - height()));executed 5097 times by 5 tests: return std::floor(qAbs(vHeight() - height()));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 5097 |
| 1842 | returnexecuted 33132 times by 8 tests: return d->flickableDirection & QQuickFlickable::VerticalFlick;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
d->flickableDirection & QQuickFlickable::VerticalFlick;executed 33132 times by 8 tests: return d->flickableDirection & QQuickFlickable::VerticalFlick;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 33132 |
| 1843 | } | - |
| 1844 | | - |
| 1845 | void QQuickFlickable::mouseUngrabEvent() | - |
| 1846 | { | - |
| 1847 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1848 | | - |
| 1849 | | - |
| 1850 | if (!d->replayingPressEvent| TRUE | evaluated 812 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 2 times by 1 test |
) | 2-812 |
| 1851 | d->cancelInteraction();executed 812 times by 7 tests: d->cancelInteraction();Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 812 |
| 1852 | }executed 814 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 814 |
| 1853 | | - |
| 1854 | void QQuickFlickablePrivate::cancelInteraction() | - |
| 1855 | { | - |
| 1856 | QQuickFlickable * const q = q_func(); | - |
| 1857 | if (pressed| TRUE | evaluated 88 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 740 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 88-740 |
| 1858 | clearDelayedPress(); | - |
| 1859 | pressed = false; | - |
| 1860 | draggingEnding(); | - |
| 1861 | stealMouse = false; | - |
| 1862 | q->setKeepMouseGrab(false); | - |
| 1863 | fixupX(); | - |
| 1864 | fixupY(); | - |
| 1865 | if (!isViewMoving()| TRUE | evaluated 70 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickpathview
| | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
) | 18-70 |
| 1866 | q->movementEnding();executed 70 times by 2 tests: q->movementEnding();Executed by:- tst_qquickflickable
- tst_qquickpathview
| 70 |
| 1867 | }executed 88 times by 3 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickpathview
| 88 |
| 1868 | }executed 828 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 828 |
| 1869 | bool QQuickFlickable::filterMouseEvent(QQuickItem *receiver, QMouseEvent *event) | - |
| 1870 | { | - |
| 1871 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1872 | QPointF localPos = mapFromScene(event->windowPos()); | - |
| 1873 | | - |
| 1874 | ((receiver != this) ? static_cast<void>(0) : qt_assert_x("", "Flickable received a filter event for itself", __FILE__, 2321)); | - |
| 1875 | if (receiver == this| TRUE | never evaluated | | FALSE | evaluated 1637 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& d->stealMouse| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-1637 |
| 1876 | | - |
| 1877 | return never executed: return true; true;never executed: return true; | 0 |
| 1878 | } | - |
| 1879 | | - |
| 1880 | bool receiverDisabled = receiver| TRUE | evaluated 1637 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& !receiver->isEnabled()| TRUE | never evaluated | | FALSE | evaluated 1637 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 0-1637 |
| 1881 | bool stealThisEvent = d->stealMouse; | - |
| 1882 | bool receiverKeepsGrab = receiver| TRUE | evaluated 1637 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& (receiver->keepMouseGrab()| TRUE | evaluated 374 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 1263 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| receiver->keepTouchGrab()| TRUE | never evaluated | | FALSE | evaluated 1263 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
); | 0-1637 |
| 1883 | if ((stealThisEvent| TRUE | evaluated 184 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 1453 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| contains(localPos)| TRUE | evaluated 1445 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
|
) && (!receiver| TRUE | never evaluated | | FALSE | evaluated 1629 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| !receiverKeepsGrab| TRUE | evaluated 1255 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 374 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| receiverDisabled| TRUE | never evaluated | | FALSE | evaluated 374 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
)) { | 0-1629 |
| 1884 | QScopedPointer<QMouseEvent> mouseEvent(QQuickWindowPrivate::cloneMouseEvent(event, &localPos)); | - |
| 1885 | mouseEvent->setAccepted(false); | - |
| 1886 | | - |
| 1887 | switch (mouseEvent->type()) { | - |
| 1888 | caseexecuted 554 times by 6 tests: case QEvent::MouseMove:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QEvent::MouseMove:executed 554 times by 6 tests: case QEvent::MouseMove:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 554 |
| 1889 | d->handleMouseMoveEvent(mouseEvent.data()); | - |
| 1890 | break;executed 554 times by 6 tests: break;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 554 |
| 1891 | caseexecuted 655 times by 7 tests: case QEvent::MouseButtonPress:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QEvent::MouseButtonPress:executed 655 times by 7 tests: case QEvent::MouseButtonPress:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 655 |
| 1892 | d->handleMousePressEvent(mouseEvent.data()); | - |
| 1893 | d->captureDelayedPress(receiver, event); | - |
| 1894 | stealThisEvent = d->stealMouse; | - |
| 1895 | break;executed 655 times by 7 tests: break;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 655 |
| 1896 | caseexecuted 46 times by 4 tests: case QEvent::MouseButtonRelease:Executed by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
QEvent::MouseButtonRelease:executed 46 times by 4 tests: case QEvent::MouseButtonRelease:Executed by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 46 |
| 1897 | d->handleMouseReleaseEvent(mouseEvent.data()); | - |
| 1898 | stealThisEvent = d->stealMouse; | - |
| 1899 | break;executed 46 times by 4 tests: break;Executed by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 46 |
| 1900 | default never executed: default: :never executed: default: | 0 |
| 1901 | break; never executed: break; | 0 |
| 1902 | } | - |
| 1903 | if ((receiver| TRUE | evaluated 1255 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& stealThisEvent| TRUE | evaluated 139 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 1116 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !receiverKeepsGrab| TRUE | evaluated 139 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& receiver != this| TRUE | evaluated 139 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) || receiverDisabled| TRUE | never evaluated | | FALSE | evaluated 1116 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-1255 |
| 1904 | d->clearDelayedPress(); | - |
| 1905 | grabMouse(); | - |
| 1906 | }executed 139 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
else if (d->delayedPressEvent| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 1100 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 16-1100 |
| 1907 | grabMouse(); | - |
| 1908 | }executed 16 times by 1 test: end of block | 16 |
| 1909 | | - |
| 1910 | const bool filtered = stealThisEvent| TRUE | evaluated 139 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 1116 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| d->delayedPressEvent| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 1100 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| receiverDisabled| TRUE | never evaluated | | FALSE | evaluated 1100 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 0-1116 |
| 1911 | if (filtered| TRUE | evaluated 155 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 1100 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 155-1100 |
| 1912 | event->setAccepted(true); | - |
| 1913 | }executed 155 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 155 |
| 1914 | returnexecuted 1255 times by 7 tests: return filtered;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
filtered;executed 1255 times by 7 tests: return filtered;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1255 |
| 1915 | } else if (d->lastPosTime != -1| TRUE | evaluated 56 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 326 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 56-326 |
| 1916 | d->lastPosTime = -1; | - |
| 1917 | returnToBounds(); | - |
| 1918 | }executed 56 times by 5 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 56 |
| 1919 | if (event->type() == QEvent::MouseButtonRelease| TRUE | evaluated 60 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 322 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
|| (receiverKeepsGrab| TRUE | evaluated 318 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
|
&& !receiverDisabled| TRUE | evaluated 318 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
)) { | 0-322 |
| 1920 | | - |
| 1921 | d->lastPosTime = -1; | - |
| 1922 | d->clearDelayedPress(); | - |
| 1923 | d->stealMouse = false; | - |
| 1924 | d->pressed = false; | - |
| 1925 | }executed 378 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 378 |
| 1926 | returnexecuted 382 times by 6 tests: return false;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
false;executed 382 times by 6 tests: return false;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 382 |
| 1927 | } | - |
| 1928 | | - |
| 1929 | | - |
| 1930 | bool QQuickFlickable::childMouseEventFilter(QQuickItem *i, QEvent *e) | - |
| 1931 | { | - |
| 1932 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1933 | if (!isVisible()| TRUE | never evaluated | | FALSE | evaluated 2169 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| !isEnabled()| TRUE | never evaluated | | FALSE | evaluated 2169 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| !isInteractive()| TRUE | never evaluated | | FALSE | evaluated 2169 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-2169 |
| 1934 | d->cancelInteraction(); | - |
| 1935 | return never executed: return QQuickItem::childMouseEventFilter(i, e); QQuickItem::childMouseEventFilter(i, e);never executed: return QQuickItem::childMouseEventFilter(i, e); | 0 |
| 1936 | } | - |
| 1937 | | - |
| 1938 | switch (e->type()) { | - |
| 1939 | caseexecuted 659 times by 7 tests: case QEvent::MouseButtonPress:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QEvent::MouseButtonPress:executed 659 times by 7 tests: case QEvent::MouseButtonPress:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 659 |
| 1940 | caseexecuted 872 times by 6 tests: case QEvent::MouseMove:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QEvent::MouseMove:executed 872 times by 6 tests: case QEvent::MouseMove:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 872 |
| 1941 | caseexecuted 106 times by 6 tests: case QEvent::MouseButtonRelease:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QEvent::MouseButtonRelease:executed 106 times by 6 tests: case QEvent::MouseButtonRelease:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 106 |
| 1942 | returnexecuted 1637 times by 7 tests: return filterMouseEvent(i, static_cast<QMouseEvent *>(e));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
filterMouseEvent(i, static_cast<QMouseEvent *>(e));executed 1637 times by 7 tests: return filterMouseEvent(i, static_cast<QMouseEvent *>(e));Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1637 |
| 1943 | caseexecuted 160 times by 5 tests: case QEvent::UngrabMouse:Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QEvent::UngrabMouse:executed 160 times by 5 tests: case QEvent::UngrabMouse:Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 160 |
| 1944 | if (d->window| TRUE | evaluated 160 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& d->window->mouseGrabberItem()| TRUE | evaluated 108 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 52 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& d->window->mouseGrabberItem() != this| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickpathview
| | FALSE | evaluated 104 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-160 |
| 1945 | | - |
| 1946 | mouseUngrabEvent(); | - |
| 1947 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickpathview
| 4 |
| 1948 | break;executed 160 times by 5 tests: break;Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 160 |
| 1949 | defaultexecuted 372 times by 3 tests: default:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
:executed 372 times by 3 tests: default:Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 372 |
| 1950 | break;executed 372 times by 3 tests: break;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 372 |
| 1951 | } | - |
| 1952 | | - |
| 1953 | returnexecuted 532 times by 6 tests: return QQuickItem::childMouseEventFilter(i, e);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
QQuickItem::childMouseEventFilter(i, e);executed 532 times by 6 tests: return QQuickItem::childMouseEventFilter(i, e);Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 532 |
| 1954 | } | - |
| 1955 | | - |
| 1956 | | - |
| 1957 | | - |
| 1958 | | - |
| 1959 | | - |
| 1960 | | - |
| 1961 | | - |
| 1962 | qreal QQuickFlickable::maximumFlickVelocity() const | - |
| 1963 | { | - |
| 1964 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1965 | returnexecuted 8 times by 1 test: return d->maxVelocity; d->maxVelocity;executed 8 times by 1 test: return d->maxVelocity; | 8 |
| 1966 | } | - |
| 1967 | | - |
| 1968 | void QQuickFlickable::setMaximumFlickVelocity(qreal v) | - |
| 1969 | { | - |
| 1970 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1971 | if (v == d->maxVelocity| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) | 2-6 |
| 1972 | return;executed 2 times by 1 test: return; | 2 |
| 1973 | d->maxVelocity = v; | - |
| 1974 | maximumFlickVelocityChanged(); | - |
| 1975 | }executed 6 times by 1 test: end of block | 6 |
| 1976 | | - |
| 1977 | | - |
| 1978 | | - |
| 1979 | | - |
| 1980 | | - |
| 1981 | | - |
| 1982 | | - |
| 1983 | qreal QQuickFlickable::flickDeceleration() const | - |
| 1984 | { | - |
| 1985 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 1986 | returnexecuted 6 times by 2 tests: return d->deceleration;Executed by:- tst_qquickflickable
- tst_qquicklistview
d->deceleration;executed 6 times by 2 tests: return d->deceleration;Executed by:- tst_qquickflickable
- tst_qquicklistview
| 6 |
| 1987 | } | - |
| 1988 | | - |
| 1989 | void QQuickFlickable::setFlickDeceleration(qreal deceleration) | - |
| 1990 | { | - |
| 1991 | QQuickFlickablePrivate * const d = d_func(); | - |
| 1992 | if (deceleration == d->deceleration| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 40 times by 4 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
|
) | 2-40 |
| 1993 | return;executed 2 times by 1 test: return; | 2 |
| 1994 | d->deceleration = deceleration; | - |
| 1995 | flickDecelerationChanged(); | - |
| 1996 | }executed 40 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
| 40 |
| 1997 | | - |
| 1998 | bool QQuickFlickable::isFlicking() const | - |
| 1999 | { | - |
| 2000 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2001 | returnexecuted 30528 times by 14 tests: return d->hData.flicking || d->vData.flicking;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
d->hData.flicking || d->vData.flicking;executed 30528 times by 14 tests: return d->hData.flicking || d->vData.flicking;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 30528 |
| 2002 | } | - |
| 2003 | bool QQuickFlickable::isFlickingHorizontally() const | - |
| 2004 | { | - |
| 2005 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2006 | return never executed: return d->hData.flicking; d->hData.flicking;never executed: return d->hData.flicking; | 0 |
| 2007 | } | - |
| 2008 | | - |
| 2009 | bool QQuickFlickable::isFlickingVertically() const | - |
| 2010 | { | - |
| 2011 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2012 | return never executed: return d->vData.flicking; d->vData.flicking;never executed: return d->vData.flicking; | 0 |
| 2013 | } | - |
| 2014 | bool QQuickFlickable::isDragging() const | - |
| 2015 | { | - |
| 2016 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2017 | returnexecuted 554 times by 3 tests: return d->hData.dragging || d->vData.dragging;Executed by:- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickpathview
d->hData.dragging || d->vData.dragging;executed 554 times by 3 tests: return d->hData.dragging || d->vData.dragging;Executed by:- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickpathview
| 554 |
| 2018 | } | - |
| 2019 | | - |
| 2020 | bool QQuickFlickable::isDraggingHorizontally() const | - |
| 2021 | { | - |
| 2022 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2023 | return never executed: return d->hData.dragging; d->hData.dragging;never executed: return d->hData.dragging; | 0 |
| 2024 | } | - |
| 2025 | | - |
| 2026 | bool QQuickFlickable::isDraggingVertically() const | - |
| 2027 | { | - |
| 2028 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2029 | return never executed: return d->vData.dragging; d->vData.dragging;never executed: return d->vData.dragging; | 0 |
| 2030 | } | - |
| 2031 | | - |
| 2032 | void QQuickFlickablePrivate::draggingStarting() | - |
| 2033 | { | - |
| 2034 | QQuickFlickable * const q = q_func(); | - |
| 2035 | bool wasDragging = hData.dragging| TRUE | evaluated 1184 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
| | FALSE | evaluated 3356 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| vData.dragging| TRUE | evaluated 1315 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 2041 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 1184-3356 |
| 2036 | if (hMoved| TRUE | evaluated 1560 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 2980 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !hData.dragging| TRUE | evaluated 376 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1184 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) { | 376-2980 |
| 2037 | hData.dragging = true; | - |
| 2038 | q->draggingHorizontallyChanged(); | - |
| 2039 | }executed 376 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 376 |
| 2040 | if (vMoved| TRUE | evaluated 1877 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 2663 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !vData.dragging| TRUE | evaluated 392 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1485 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 392-2663 |
| 2041 | vData.dragging = true; | - |
| 2042 | q->draggingVerticallyChanged(); | - |
| 2043 | }executed 392 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 392 |
| 2044 | if (!wasDragging| TRUE | evaluated 2041 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 2499 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& (hData.dragging| TRUE | evaluated 376 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 1665 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| vData.dragging| TRUE | evaluated 326 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 1339 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
)) { | 326-2499 |
| 2045 | q->draggingChanged(); | - |
| 2046 | q->dragStarted(); | - |
| 2047 | }executed 702 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 702 |
| 2048 | }executed 4540 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 4540 |
| 2049 | | - |
| 2050 | void QQuickFlickablePrivate::draggingEnding() | - |
| 2051 | { | - |
| 2052 | QQuickFlickable * const q = q_func(); | - |
| 2053 | bool wasDragging = hData.dragging| TRUE | evaluated 376 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 482 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| vData.dragging| TRUE | evaluated 326 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 156 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 156-482 |
| 2054 | if (hData.dragging| TRUE | evaluated 376 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 482 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 376-482 |
| 2055 | hData.dragging = false; | - |
| 2056 | q->draggingHorizontallyChanged(); | - |
| 2057 | }executed 376 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 376 |
| 2058 | if (vData.dragging| TRUE | evaluated 392 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 466 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 392-466 |
| 2059 | vData.dragging = false; | - |
| 2060 | q->draggingVerticallyChanged(); | - |
| 2061 | }executed 392 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 392 |
| 2062 | if (wasDragging| TRUE | evaluated 702 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 156 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& !hData.dragging| TRUE | evaluated 702 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& !vData.dragging| TRUE | evaluated 702 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-702 |
| 2063 | q->draggingChanged(); | - |
| 2064 | q->dragEnded(); | - |
| 2065 | }executed 702 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 702 |
| 2066 | hData.inRebound = false; | - |
| 2067 | vData.inRebound = false; | - |
| 2068 | }executed 858 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 858 |
| 2069 | | - |
| 2070 | bool QQuickFlickablePrivate::isViewMoving() const | - |
| 2071 | { | - |
| 2072 | if (timeline.isActive()| TRUE | evaluated 718 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 130 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
|
| 130-718 |
| 2073 | || (hData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 130 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
|
&& hData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-130 |
| 2074 | || (vData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 130 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
|
&& vData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) ) { | 0-130 |
| 2075 | returnexecuted 718 times by 7 tests: return true;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
true;executed 718 times by 7 tests: return true;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 718 |
| 2076 | } | - |
| 2077 | returnexecuted 130 times by 4 tests: return false;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
false;executed 130 times by 4 tests: return false;Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickpathview
| 130 |
| 2078 | } | - |
| 2079 | int QQuickFlickable::pressDelay() const | - |
| 2080 | { | - |
| 2081 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2082 | returnexecuted 20 times by 1 test: return d->pressDelay; d->pressDelay;executed 20 times by 1 test: return d->pressDelay; | 20 |
| 2083 | } | - |
| 2084 | | - |
| 2085 | void QQuickFlickable::setPressDelay(int delay) | - |
| 2086 | { | - |
| 2087 | QQuickFlickablePrivate * const d = d_func(); | - |
| 2088 | if (d->pressDelay == delay| TRUE | evaluated 24 times by 1 test | | FALSE | evaluated 22 times by 1 test |
) | 22-24 |
| 2089 | return;executed 24 times by 1 test: return; | 24 |
| 2090 | d->pressDelay = delay; | - |
| 2091 | pressDelayChanged(); | - |
| 2092 | }executed 22 times by 1 test: end of block | 22 |
| 2093 | bool QQuickFlickable::isMoving() const | - |
| 2094 | { | - |
| 2095 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2096 | returnexecuted 43349 times by 16 tests: return d->hData.moving || d->vData.moving;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
d->hData.moving || d->vData.moving;executed 43349 times by 16 tests: return d->hData.moving || d->vData.moving;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 43349 |
| 2097 | } | - |
| 2098 | | - |
| 2099 | bool QQuickFlickable::isMovingHorizontally() const | - |
| 2100 | { | - |
| 2101 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2102 | returnexecuted 2 times by 1 test: return d->hData.moving; d->hData.moving;executed 2 times by 1 test: return d->hData.moving; | 2 |
| 2103 | } | - |
| 2104 | | - |
| 2105 | bool QQuickFlickable::isMovingVertically() const | - |
| 2106 | { | - |
| 2107 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2108 | returnexecuted 2 times by 1 test: return d->vData.moving; d->vData.moving;executed 2 times by 1 test: return d->vData.moving; | 2 |
| 2109 | } | - |
| 2110 | | - |
| 2111 | void QQuickFlickable::velocityTimelineCompleted() | - |
| 2112 | { | - |
| 2113 | QQuickFlickablePrivate * const d = d_func(); | - |
| 2114 | if ( (d->hData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 1275 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& d->hData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-1275 |
| 2115 | || (d->vData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 1275 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& d->vData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) ) { | 0-1275 |
| 2116 | return; never executed: return; | 0 |
| 2117 | } | - |
| 2118 | | - |
| 2119 | | - |
| 2120 | | - |
| 2121 | | - |
| 2122 | if (d->vData.flicking| TRUE | never evaluated | | FALSE | evaluated 1275 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 0-1275 |
| 2123 | movementEnding(); never executed: movementEnding(); | 0 |
| 2124 | d->updateBeginningEnd(); | - |
| 2125 | }executed 1275 times by 3 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1275 |
| 2126 | | - |
| 2127 | void QQuickFlickable::timelineCompleted() | - |
| 2128 | { | - |
| 2129 | QQuickFlickablePrivate * const d = d_func(); | - |
| 2130 | if ( (d->hData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 4304 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& d->hData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-4304 |
| 2131 | || (d->vData.transitionToBounds| TRUE | never evaluated | | FALSE | evaluated 4304 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& d->vData.transitionToBounds->isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) ) { | 0-4304 |
| 2132 | return; never executed: return; | 0 |
| 2133 | } | - |
| 2134 | movementEnding(); | - |
| 2135 | d->updateBeginningEnd(); | - |
| 2136 | }executed 4304 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 4304 |
| 2137 | | - |
| 2138 | void QQuickFlickable::movementStarting() | - |
| 2139 | { | - |
| 2140 | QQuickFlickablePrivate * const d = d_func(); | - |
| 2141 | bool wasMoving = d->hData.moving| TRUE | never evaluated | | FALSE | evaluated 691 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
|| d->vData.moving| TRUE | never evaluated | | FALSE | evaluated 691 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; | 0-691 |
| 2142 | if (d->hMoved| TRUE | evaluated 384 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 307 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& !d->hData.moving| TRUE | evaluated 384 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | never evaluated |
) { | 0-384 |
| 2143 | d->hData.moving = true; | - |
| 2144 | movingHorizontallyChanged(); | - |
| 2145 | }executed 384 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 384 |
| 2146 | if (d->vMoved| TRUE | evaluated 381 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 310 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
|
&& !d->vData.moving| TRUE | evaluated 381 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
) { | 0-381 |
| 2147 | d->vData.moving = true; | - |
| 2148 | movingVerticallyChanged(); | - |
| 2149 | }executed 381 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 381 |
| 2150 | | - |
| 2151 | if (!wasMoving| TRUE | evaluated 691 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
&& (d->hData.moving| TRUE | evaluated 384 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 307 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
|| d->vData.moving| TRUE | evaluated 307 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
)) { | 0-691 |
| 2152 | movingChanged(); | - |
| 2153 | movementStarted(); | - |
| 2154 | }executed 691 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 691 |
| 2155 | }executed 691 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 691 |
| 2156 | | - |
| 2157 | void QQuickFlickable::movementEnding() | - |
| 2158 | { | - |
| 2159 | movementEnding(true, true); | - |
| 2160 | }executed 4436 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 4436 |
| 2161 | | - |
| 2162 | void QQuickFlickable::movementEnding(bool hMovementEnding, bool vMovementEnding) | - |
| 2163 | { | - |
| 2164 | QQuickFlickablePrivate * const d = d_func(); | - |
| 2165 | | - |
| 2166 | | - |
| 2167 | bool wasFlicking = d->hData.flicking| TRUE | evaluated 334 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 4150 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
|| d->vData.flicking| TRUE | evaluated 260 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 3890 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
; | 260-4150 |
| 2168 | if (hMovementEnding| TRUE | evaluated 4460 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
&& d->hData.flicking| TRUE | evaluated 334 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 4126 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 24-4460 |
| 2169 | d->hData.flicking = false; | - |
| 2170 | flickingHorizontallyChanged(); | - |
| 2171 | }executed 334 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 334 |
| 2172 | if (vMovementEnding| TRUE | evaluated 4460 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
&& d->vData.flicking| TRUE | evaluated 294 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 4166 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 24-4460 |
| 2173 | d->vData.flicking = false; | - |
| 2174 | flickingVerticallyChanged(); | - |
| 2175 | }executed 294 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 294 |
| 2176 | if (wasFlicking| TRUE | evaluated 594 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 3890 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& (!d->hData.flicking| TRUE | evaluated 594 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | never evaluated |
|| !d->vData.flicking| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0-3890 |
| 2177 | flickingChanged(); | - |
| 2178 | flickEnded(); | - |
| 2179 | }executed 594 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 594 |
| 2180 | | - |
| 2181 | | - |
| 2182 | bool wasMoving = isMoving(); | - |
| 2183 | if (hMovementEnding| TRUE | evaluated 4460 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
&& d->hData.moving| TRUE | evaluated 372 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | evaluated 4088 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
| 24-4460 |
| 2184 | && (!d->pressed| TRUE | evaluated 372 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | never evaluated |
&& !d->stealMouse| TRUE | evaluated 372 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| | FALSE | never evaluated |
)) { | 0-372 |
| 2185 | d->hData.moving = false; | - |
| 2186 | d->hMoved = false; | - |
| 2187 | movingHorizontallyChanged(); | - |
| 2188 | }executed 372 times by 6 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 372 |
| 2189 | if (vMovementEnding| TRUE | evaluated 4460 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
&& d->vData.moving| TRUE | evaluated 372 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 4088 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
| 24-4460 |
| 2190 | && (!d->pressed| TRUE | evaluated 359 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 13 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
&& !d->stealMouse| TRUE | evaluated 359 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| | FALSE | never evaluated |
)) { | 0-359 |
| 2191 | d->vData.moving = false; | - |
| 2192 | d->vMoved = false; | - |
| 2193 | movingVerticallyChanged(); | - |
| 2194 | }executed 359 times by 5 tests: end of blockExecuted by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 359 |
| 2195 | if (wasMoving| TRUE | evaluated 698 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 3786 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& !isMoving()| TRUE | evaluated 665 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| | FALSE | evaluated 33 times by 4 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
|
) { | 33-3786 |
| 2196 | movingChanged(); | - |
| 2197 | movementEnded(); | - |
| 2198 | }executed 665 times by 7 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 665 |
| 2199 | | - |
| 2200 | if (hMovementEnding| TRUE | evaluated 4460 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
) { | 24-4460 |
| 2201 | d->hData.fixingUp = false; | - |
| 2202 | d->hData.smoothVelocity.setValue(0); | - |
| 2203 | d->hData.previousDragDelta = 0.0; | - |
| 2204 | }executed 4460 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 4460 |
| 2205 | if (vMovementEnding| TRUE | evaluated 4460 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
|
) { | 24-4460 |
| 2206 | d->vData.fixingUp = false; | - |
| 2207 | d->vData.smoothVelocity.setValue(0); | - |
| 2208 | d->vData.previousDragDelta = 0.0; | - |
| 2209 | }executed 4460 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 4460 |
| 2210 | }executed 4484 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 4484 |
| 2211 | | - |
| 2212 | void QQuickFlickablePrivate::updateVelocity() | - |
| 2213 | { | - |
| 2214 | QQuickFlickable * const q = q_func(); | - |
| 2215 | q->horizontalVelocityChanged(); | - |
| 2216 | q->verticalVelocityChanged(); | - |
| 2217 | }executed 20773 times by 8 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 20773 |
| 2218 | qreal QQuickFlickable::horizontalOvershoot() const | - |
| 2219 | { | - |
| 2220 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2221 | returnexecuted 1112 times by 1 test: return d->hData.overshoot; d->hData.overshoot;executed 1112 times by 1 test: return d->hData.overshoot; | 1112 |
| 2222 | } | - |
| 2223 | qreal QQuickFlickable::verticalOvershoot() const | - |
| 2224 | { | - |
| 2225 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2226 | returnexecuted 1098 times by 2 tests: return d->vData.overshoot;Executed by:- tst_qquickflickable
- tst_qquicklistview
d->vData.overshoot;executed 1098 times by 2 tests: return d->vData.overshoot;Executed by:- tst_qquickflickable
- tst_qquicklistview
| 1098 |
| 2227 | } | - |
| 2228 | QQuickFlickable::BoundsMovement QQuickFlickable::boundsMovement() const | - |
| 2229 | { | - |
| 2230 | const QQuickFlickablePrivate * const d = d_func(); | - |
| 2231 | return never executed: return d->boundsMovement; d->boundsMovement;never executed: return d->boundsMovement; | 0 |
| 2232 | } | - |
| 2233 | | - |
| 2234 | void QQuickFlickable::setBoundsMovement(BoundsMovement movement) | - |
| 2235 | { | - |
| 2236 | QQuickFlickablePrivate * const d = d_func(); | - |
| 2237 | if (d->boundsMovement == movement| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) | 6-8 |
| 2238 | return;executed 8 times by 1 test: return; | 8 |
| 2239 | | - |
| 2240 | d->boundsMovement = movement; | - |
| 2241 | boundsMovementChanged(); | - |
| 2242 | }executed 6 times by 1 test: end of block | 6 |
| 2243 | | - |
| 2244 | | - |
| 2245 | | - |
| | |