Searched refs:Offset (Results 1 – 12 of 12) sorted by relevance
/test/testfwk/arkxtest/uitest/record/ |
D | offset.h | 26 class Offset { 28 Offset() = default; 29 ~Offset() = default; 30 Offset(double deltaX, double deltaY) : deltaX_(deltaX), deltaY_(deltaY) {} in Offset() function 31 Offset(Point p1, Point p2) : deltaX_(p2.px_-p1.px_), deltaY_(p2.py_-p1.py_) {} in Offset() function 39 static Offset Zero() in Zero() 41 return Offset(); in Zero() 44 static Offset ErrorOffset() in ErrorOffset() 46 return Offset((std::numeric_limits<double>::max)(), (std::numeric_limits<double>::max)()); in ErrorOffset() 51 return operator==(Offset()); in IsZero() [all …]
|
D | velocity.h | 24 explicit Velocity(const Offset& offsetPerSecond) : offsetPerSecond_(offsetPerSecond) {} in Velocity() 32 void SetOffsetPerSecond(const Offset& offsetPerSecond) in SetOffsetPerSecond() 68 const Offset& GetOffsetPerSecond() const in GetOffsetPerSecond() 89 Offset offsetPerSecond_;
|
D | pointer_info.h | 81 void SetDirection(const Offset& dir) in SetDirection() 86 Offset& GetDirection() in GetDirection() 96 Offset direction; // 方向 167 void SetAvgDirection(Offset& direction) in SetAvgDirection() 172 Offset& GetAvgDirection() in GetAvgDirection() 224 Offset avgDirection;
|
D | velocity_tracker.h | 69 totalDelta_ += Offset(xs.at(stepCount - i), ys.at(stepCount - i)) - \ in UpdateStepLength() 70 Offset(xs.at(stepCount - i - 1), ys.at(stepCount - i - 1)); in UpdateStepLength() 91 const Offset& GetDelta() const in GetDelta() 193 Offset totalDelta_; 196 Offset delta_;
|
D | velocity_tracker.cpp | 31 delta_ = Offset(lastPosition_, event.GetPoint()); in UpdateTouchEvent()
|
D | pointer_tracker.h | 45 … return Offset(velocityTracker.GetFirstPosition(), velocityTracker.GetPosition()).GetDistance(); in GetMoveDistance()
|
D | pointer_tracker.cpp | 46 fingerInfo.SetDirection(Offset(lastTouch.x-firstTouch.x, lastTouch.y-firstTouch.y)); in BuildFingerInfo() 348 Offset avgDirection; in BuildPointerInfo()
|
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/MainAbility/pages/ |
D | CustomDialog.ets | 43 let Offset = { dx: 5, dy: 5 } 52 offset: Offset,
|
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_default/entry/src/main/ets/test/default/ |
D | DefaultTest.test.ets | 146 describe: 'Offset', 215 } else if (data.testValue.describe == 'Offset') {
|
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_offset/entry/src/main/ets/test/attrss/ |
D | OffsetTest.test.ets | 121 * @tc.desc The Offset property of the Common component is set to object
|
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_offset/entry/src/main/ets/MainAbility/pages/offset/ |
D | OffsetPage.ets | 29 struct Offset { 45 console.info('[Offset] page show called ')
|
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/ets/test/ |
D | RdbNdkStorePredicatesTest.ets | 165 * @tc.desc: Normal testCase of NDK Predicates for OrderBy、Limit、Offset. 765 * @tc.desc: Normal testCase of NDK Predicates for Offset 776 * @tc.desc: Normal testCase of NDK Predicates for Offset
|