Home
last modified time | relevance | path

Searched refs:steps (Results 1 - 6 of 6) sorted by relevance

/test/testfwk/arkxtest/uitest/core/
H A Dui_action.cpp26 constexpr uint32_t steps = 2; in DecomposeClick() local
27 PointerMatrix pointer(fingers, steps); in DecomposeClick()
37 constexpr uint32_t steps = 2; in DecomposeLongClick() local
38 PointerMatrix pointer(fingers, steps); in DecomposeLongClick()
48 constexpr uint32_t steps = 4; in DecomposeDoubleClick() local
49 PointerMatrix pointer(fingers, steps); in DecomposeDoubleClick()
69 uint32_t steps = options.swipeStepsCounts_; in DecomposeComputeSwipe() local
70 uint32_t intervalMs = timeCostMs / steps + 1; in DecomposeComputeSwipe()
74 steps = timeCostMs / intervalMsInSwipe; in DecomposeComputeSwipe()
77 PointerMatrix pointer(fingers, steps in DecomposeComputeSwipe()
341 auto steps = abs(scrollValue_); Decompose() local
363 constexpr uint32_t steps = 1; Decompose() local
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dui_action_test.cpp136 const uint32_t steps = events.GetSize() - 1; in TEST_F() local
142 ASSERT_EQ(steps, totalCostMs / intervalMsInSwipe); in TEST_F()
145 float stepLengthX = static_cast<double>(disX) / static_cast<double>(steps); in TEST_F()
146 float stepLengthY = static_cast<double>(disY) / static_cast<double>(steps); in TEST_F()
148 for (uint32_t event = 0; event < steps; event++) { in TEST_F()
151 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F()
187 const uint32_t steps = opt.swipeStepsCounts_; in TEST_F() local
188 ASSERT_TRUE(steps > 1); in TEST_F()
189 ASSERT_EQ(steps, 141); in TEST_F()
192 float stepLengthX = static_cast<double>(disX) / static_cast<double>(steps); in TEST_F()
226 const int32_t steps = events.GetSteps() - 1; TEST_F() local
366 const int32_t steps = events.GetSteps() - 1; TEST_F() local
[all...]
/test/testfwk/xdevice/plugins/devicetest/core/suite/
H A Dtest_suite.py163 steps = self.cur_case.get_steps_info()
182 "steps": steps
193 steps.clear()
368 steps = self.cur_case.get_steps_info()
381 "steps": steps
394 steps.clear()
/test/xts/acts/sensors/sensor_standard/entry/src/ohosTest/js/test/
H A DSensorOnOffTest.test_oldPedometer.test.js58 expect(typeof (data.steps)).assertEqual("number");
64 expect(typeof (data.steps)).assertEqual("number");
494 expect(typeof (data.steps)).assertEqual("number");
609 expect(typeof(data.steps)).assertEqual('number');
682 expect(typeof(data.steps)).assertEqual('number');
687 expect(typeof(data.steps)).assertEqual('number');
727 expect(typeof(data.steps)).assertEqual('number');
H A DSensorOnOffTest.test_newPedometer.test.js67 expect(typeof (data.steps)).assertEqual("number");
80 expect(typeof (data.steps)).assertEqual("number");
508 expect(typeof (data.steps)).assertEqual("number");
623 expect(typeof(data.steps)).assertEqual('number');
704 expect(typeof(data.steps)).assertEqual('number');
717 expect(typeof(data.steps)).assertEqual('number');
766 expect(typeof(data.steps)).assertEqual('number');
/test/testfwk/xdevice/plugins/devicetest/runner/
H A Dtest_runner.py282 steps = self.cur_case.get_steps_info()
295 "steps": steps
304 steps.clear()

Completed in 5 milliseconds