• Home
  • Raw
  • Download

Lines Matching refs:opt

128     UiOpArgs opt {};  in TEST_F()  local
129 opt.swipeVelocityPps_ = 50; // specify the swipe velocity in TEST_F()
134 action.Decompose(events, opt); in TEST_F()
142 const uint32_t totalCostMs = distance * 1000 / opt.swipeVelocityPps_; in TEST_F()
169 UiOpArgs opt {}; in TEST_F() local
170 opt.swipeVelocityPps_ = 800; // specify the swipe velocity in TEST_F()
178 const uint32_t totalCostMs = distance * 1000 / opt.swipeVelocityPps_; in TEST_F()
179 opt.swipeStepsCounts_ = distance / stepLen; in TEST_F()
183 action.Decompose(events, opt); in TEST_F()
185 const uint16_t steps = opt.swipeStepsCounts_; in TEST_F()
214 UiOpArgs opt {}; in TEST_F() local
215 opt.swipeVelocityPps_ = 50; // specify the swipe velocity in TEST_F()
220 action.Decompose(events, opt); in TEST_F()
271 UiOpArgs opt {}; in TEST_F() local
272 opt.swipeVelocityPps_ = 50; // specify the swipe velocity in TEST_F()
289 action.Decompose(events, opt); in TEST_F()
308 UiOpArgs opt {}; in TEST_F() local
309 opt.swipeVelocityPps_ = 600; // specify the swipe velocity in TEST_F()
335 action.Decompose(events, opt); in TEST_F()
354 UiOpArgs opt {}; in TEST_F() local
355 opt.swipeVelocityPps_ = 50; // specify the swipe velocity in TEST_F()
360 action.Decompose(events, opt); in TEST_F()
411 UiOpArgs opt {}; in TEST_F() local
412 opt.longClickHoldMs_ = 2000; // specify the long-click duration in TEST_F()
419 swipeAction.Decompose(swipeEvents, opt); in TEST_F()
420 dragAction.Decompose(dragEvents, opt); in TEST_F()
433 ASSERT_EQ(swipeEvent.holdMs_ + opt.longClickHoldMs_, dragEvent.holdMs_); in TEST_F()
435 … ASSERT_EQ(swipeEvent.downTimeOffsetMs_ + opt.longClickHoldMs_, dragEvent.downTimeOffsetMs_); in TEST_F()