Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 12 of 12) sorted by relevance

/test/testfwk/arkxtest/uitest/record/
Doffset.h26 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 …]
Dvelocity.h24 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_;
Dpointer_info.h81 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;
Dvelocity_tracker.h69 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_;
Dvelocity_tracker.cpp31 delta_ = Offset(lastPosition_, event.GetPoint()); in UpdateTouchEvent()
Dpointer_tracker.h45 … return Offset(velocityTracker.GetFirstPosition(), velocityTracker.GetPosition()).GetDistance(); in GetMoveDistance()
Dpointer_tracker.cpp46 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/
DCustomDialog.ets43 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/
DDefaultTest.test.ets146 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/
DOffsetTest.test.ets121 * @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/
DOffsetPage.ets29 struct Offset {
45 console.info('[Offset] page show called ')
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/ets/test/
DRdbNdkStorePredicatesTest.ets165 * @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