/foundation/multimodalinput/input/service/event_resample/src/ |
H A D | event_resample.cpp | 314 TouchState& touchState = touchStates_.at(idx); in UpdateTouchState() local 315 touchState.Initialize(deviceId, source); in UpdateTouchState() 316 touchState.AddHistory(event); in UpdateTouchState() 322 TouchState& touchState = touchStates_.at(idx); in UpdateTouchState() local 323 touchState.AddHistory(event); in UpdateTouchState() 324 RewriteMessage(touchState, event); in UpdateTouchState() 332 TouchState& touchState = touchStates_.at(idx); in UpdateTouchState() local 333 RewriteMessage(touchState, event); in UpdateTouchState() 358 TouchState &touchState = touchStates_.at(idx); in ResampleTouchState() local 359 if (touchState in ResampleTouchState() 408 ResampleCoordinates(int64_t sampleTime, MotionEvent* event, TouchState &touchState, const History* current, const History* other, float alpha) ResampleCoordinates() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_multi_app_strategy_test.cpp | 168 .touchState = TouchState::DOWN_STATE, in HWTEST_F() 177 .touchState = TouchState::UP_STATE, in HWTEST_F() 185 .touchState = TouchState::IDLE_STATE, in HWTEST_F() 221 .touchState = TouchState::DOWN_STATE, in HWTEST_F() 229 .touchState = TouchState::UP_STATE, in HWTEST_F() 233 .touchState = TouchState::IDLE_STATE, in HWTEST_F() 274 .touchState = TouchState::DOWN_STATE, in HWTEST_F() 283 .touchState = TouchState::UP_STATE, in HWTEST_F() 287 .touchState = TouchState::IDLE_STATE, in HWTEST_F() 316 .touchState in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_multi_app_strategy.cpp | 76 RS_TRACE_NAME_FMT("[HandleTouchInfo] pkgName:%s, touchState:%d", in HandleTouchInfo() 77 touchInfo.pkgName.c_str(), touchInfo.touchState); in HandleTouchInfo() 78 HGM_LOGD("touch info update, pkgName:%{public}s, touchState:%{public}d", in HandleTouchInfo() 79 touchInfo.pkgName.c_str(), touchInfo.touchState); in HandleTouchInfo() 80 touchInfo_ = { touchInfo.pkgName, touchInfo.touchState, touchInfo.upExpectFps }; in HandleTouchInfo() 379 if (uniqueTouchInfo_->touchState == TouchState::DOWN_STATE && in UpdateStrategyByTouch() 384 if (uniqueTouchInfo_->touchState == TouchState::IDLE_STATE) { in UpdateStrategyByTouch() 392 if (touchInfo->touchState == TouchState::DOWN_STATE) { in UpdateStrategyByTouch() 394 touchInfo->pkgName.c_str(), touchInfo->touchState, strategy.down); in UpdateStrategyByTouch() 396 } else if (touchInfo->touchState in UpdateStrategyByTouch() [all...] |
H A D | hgm_energy_consumption_policy.cpp | 152 void HgmEnergyConsumptionPolicy::SetTouchState(TouchState touchState) in SetTouchState() argument 154 if (touchState == TouchState::IDLE_STATE) { in SetTouchState() 161 if (touchState == TouchState::DOWN_STATE) { in SetTouchState() 164 } else if (touchState == TouchState::UP_STATE) { in SetTouchState()
|
H A D | hgm_energy_consumption_policy.h | 37 void SetTouchState(TouchState touchState);
|
H A D | hgm_multi_app_strategy.h | 44 TouchState touchState; member 100 TouchInfo touchInfo_ = { "", TouchState::IDLE_STATE, OLED_120_HZ }; // pkgName, touchState
|
H A D | hgm_frame_rate_manager.cpp | 203 .touchState = newState, in InitTouchManager() 214 .touchState = newState, in InitTouchManager() 368 .touchState = TouchState::UP_STATE, in UpdateGuaranteedPlanVote()
|
/foundation/multimodalinput/input/service/event_resample/test/ |
H A D | event_resample_test.cpp | 137 touchState.clear(); in UpdateTouchState() 141 touchState.insert(touchState.begin(), std::move(evt)); in UpdateTouchState() 148 touchState.clear(); in UpdateTouchState() 156 while (touchState.size() > 1) { in UpdateTouchState() 157 touchState.pop_back(); in UpdateTouchState() 161 touchState.insert(touchState.begin(), std::move(evt)); in UpdateTouchState() 221 current.InitializeFrom(touchState[0]); in CalculateExpected() 234 if (touchState in ResampleCoord() 272 std::vector<InputEvt> touchState; global() member 844 EventResample::TouchState touchState; HWTEST_F() local 875 EventResample::TouchState touchState; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_scroll.cpp | 210 int32_t touchState = SCROLL_NONE; in UpdateOffset() local 212 touchState = SCROLL_TOUCH_DOWN; in UpdateOffset() 214 touchState = SCROLL_TOUCH_UP; in UpdateOffset() 216 HandleScrollPosition(correctedDelta.GetX(), correctedDelta.GetY(), touchState); in UpdateOffset()
|
/foundation/multimodalinput/input/service/event_resample/include/ |
H A D | event_resample.h | 255 void ResampleCoordinates(int64_t sampleTime, MotionEvent* event, TouchState &touchState,
|