Home
last modified time | relevance | path

Searched refs:currentState_ (Results 1 - 25 of 65) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dstate_style_manager.h56 return currentState_; in GetCurrentUIState()
72 return currentState_ == state; in IsCurrentStateOn()
74 return (currentState_ & state) == state; in IsCurrentStateOn()
80 currentState_ |= state; in SetCurrentUIState()
82 currentState_ &= ~state; in SetCurrentUIState()
91 auto temp = currentState_ | state; in UpdateCurrentUIState()
92 if (temp != currentState_) { in UpdateCurrentUIState()
93 currentState_ = temp; in UpdateCurrentUIState()
103 if ((currentState_ & state) != state) { in ResetCurrentUIState()
106 auto temp = currentState_ in ResetCurrentUIState()
207 UIState currentState_ = UI_STATE_NORMAL; global() member in OHOS::Ace::NG::StateStyleManager
[all...]
H A Dstate_style_manager.cpp73 stateStyleMgr->PostListItemPressStyleTask(stateStyleMgr->currentState_); in GetPressedListener()
93 PostListItemPressStyleTask(currentState_); in HandleTouchDown()
120 PostListItemPressStyleTask(currentState_); in HandleTouchUp()
211 stateStyleMgr->PostListItemPressStyleTask(stateStyleMgr->currentState_); in PostPressStyleTask()
235 stateStyleMgr->PostListItemPressStyleTask(stateStyleMgr->currentState_); in PostPressCancelStyleTask()
275 stateStyleMgr->PostListItemPressStyleTask(stateStyleMgr->currentState_); in HandleScrollingParent()
/foundation/multimedia/media_lite/services/player_lite/impl/
H A Dplayer_impl.cpp73 currentState_(PLAYER_IDLE), in PlayerImpl()
142 if (currentState_ != PLAYER_IDLE) { in SetSource()
143 MEDIA_ERR_LOG("failed, current state is:%u", currentState_); in SetSource()
278 if (currentState_ == PLAYER_PREPARED) { in Prepare()
282 if (currentState_ != PLAYER_INITIALIZED) { in Prepare()
283 MEDIA_ERR_LOG("Can not Prepare, currentState_ is %u", currentState_); in Prepare()
296 currentState_ = PLAYER_PREPARING; in Prepare()
300 currentState_ = PLAYER_INITIALIZED; in Prepare()
303 currentState_ in Prepare()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerastate/
H A Ddcamera_source_state_machine.cpp38 DHLOGI("In state %{public}d execute event %{public}d", currentState_->GetStateType(), eventType); in Execute()
44 auto tempState = currentState_; in Execute()
47 DHLOGE("DCameraSourceStateMachine currentState_: %{public}d execute event: %{public}d failed", in Execute()
57 currentState_->GetStateType(), stateType); in UpdateState()
62 currentState_ = DCameraSourceStateFactory::GetInstance().CreateState(stateType, stateMachine); in UpdateState()
67 DHLOGI("GetCameraState In state %{public}d", currentState_->GetStateType()); in GetCameraState()
68 return currentState_->GetStateType(); in GetCameraState()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/state/
H A Ddsched_continue_state_machine.cpp46 if (dContinue == nullptr || currentState_ == nullptr) { in Execute()
51 auto state = currentState_; in Execute()
64 currentState_->GetStateType(), stateType); in UpdateState()
68 currentState_ = CreateState(stateType); in UpdateState()
118 if (currentState_ == nullptr) { in GetStateType()
121 return currentState_->GetStateType(); in GetStateType()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_state_machine.cpp71 auto iter = stateMapping_.find(currentState_); in SyncStep()
75 LOGE("[CloudSyncStateMachine][SyncStep] can not find state=%d", currentState_); in SyncStep()
78 } while (SwitchMachineState(event) == E_OK && currentState_ != State::IDLE); in SyncStep()
134 auto eventToStateIter = table.find(currentState_); in SwitchMachineState()
137 currentState_); in SwitchMachineState()
145 event, currentState_); in SwitchMachineState()
149 currentState_ = static_cast<CloudSyncState>(stateIter->second); in SwitchMachineState()
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessibility_touch_guider.cpp36 currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in TouchGuider()
96 switch (static_cast<TouchGuideState>(currentState_)) { in OnPointerEvent()
192 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING)) { in OnDoubleTap()
208 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in OnStarted()
220 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TRANSMITTING)) { in OnCompleted()
228 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in OnCompleted()
241 switch (static_cast<TouchGuideState>(server_.currentState_)) { in OnCancelled()
250 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in OnCancelled()
308 currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in HandleDraggingState()
322 currentState_ in HandleDraggingState()
[all...]
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessibility_touch_guider.cpp36 currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in MockTouchGuider()
96 switch (static_cast<TouchGuideState>(currentState_)) { in OnPointerEvent()
192 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING)) { in OnDoubleTap()
208 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in OnStarted()
220 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TRANSMITTING)) { in OnCompleted()
228 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in OnCompleted()
241 switch (static_cast<TouchGuideState>(server_.currentState_)) { in OnCancelled()
250 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in OnCancelled()
308 currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in HandleDraggingState()
322 currentState_ in HandleDraggingState()
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dslow_motion_session.h44 currentState_ = state; in SetSlowMotionState()
49 return currentState_; in GetSlowMotionState()
53 SlowMotionState currentState_; member in OHOS::CameraStandard::SlowMotionStateCallback
/foundation/barrierfree/accessibility/services/test/xts/src/sa_get_attribute_value/
H A Dsa_get_attribute_value_benchmark.cpp44 currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in GetAttributeValueTest()
124 if ((static_cast<TouchGuideState>(currentState_) == TouchGuideState::DRAGGING) && in OnPointerEvent()
127 } else if (static_cast<TouchGuideState>(currentState_) != TouchGuideState::DRAGGING) { in OnPointerEvent()
161 switch (static_cast<TouchGuideState>(currentState_)) { in HandlePointerEvent()
317 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING)) { in OnDoubleTap()
332 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in OnStarted()
345 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in MultiFingerGestureOnStarted()
359 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TRANSMITTING)) { in OnCompleted()
366 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in OnCompleted()
380 server_.currentState_ in MultiFingerGestureOnCompleted()
[all...]
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_touch_guider.cpp44 currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in TouchGuider()
124 if ((static_cast<TouchGuideState>(currentState_) == TouchGuideState::DRAGGING) && in OnPointerEvent()
127 } else if (static_cast<TouchGuideState>(currentState_) != TouchGuideState::DRAGGING) { in OnPointerEvent()
161 switch (static_cast<TouchGuideState>(currentState_)) { in HandlePointerEvent()
317 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING)) { in OnDoubleTap()
332 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in OnStarted()
345 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TRANSMITTING); in MultiFingerGestureOnStarted()
359 if (server_.currentState_ != static_cast<int32_t>(TouchGuideState::TRANSMITTING)) { in OnCompleted()
366 server_.currentState_ = static_cast<int32_t>(TouchGuideState::TOUCH_GUIDING); in OnCompleted()
380 server_.currentState_ in MultiFingerGestureOnCompleted()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/test/unittest/av_receiver_engine/src/
H A Dav_receiver_engine_test.cpp155 receiver->currentState_ = StateId::IDLE; in HWTEST_F()
166 receiver->currentState_ = StateId::CH_CREATED; in HWTEST_F()
178 receiver->currentState_ = StateId::CH_CREATED; in HWTEST_F()
239 receiver->currentState_ = StateId::STARTED; in HWTEST_F()
250 receiver->currentState_ = StateId::INITIALIZED; in HWTEST_F()
261 receiver->currentState_ = StateId::INITIALIZED; in HWTEST_F()
273 receiver->currentState_ = StateId::INITIALIZED; in HWTEST_F()
288 receiver->currentState_ = StateId::INITIALIZED; in HWTEST_F()
354 EXPECT_EQ(StateId::CH_CREATED, receiver->currentState_); in HWTEST_F()
368 EXPECT_EQ(StateId::INITIALIZED, receiver->currentState_); in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/test/unittest/av_sender_engine/src/
H A Dav_sender_engine_test.cpp153 sender->currentState_ = StateId::IDLE; in HWTEST_F()
164 sender->currentState_ = StateId::CH_CREATED; in HWTEST_F()
176 sender->currentState_ = StateId::CH_CREATED; in HWTEST_F()
189 sender->currentState_ = StateId::CH_CREATED; in HWTEST_F()
393 sender->currentState_ = StateId::IDLE; in HWTEST_F()
405 sender->currentState_ = StateId::IDLE; in HWTEST_F()
417 sender->currentState_ = StateId::STARTED; in HWTEST_F()
429 sender->currentState_ = StateId::STARTED; in HWTEST_F()
442 sender->currentState_ = StateId::STARTED; in HWTEST_F()
454 sender->currentState_ in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dmulti_ver_sync_state_machine.cpp91 currentState_ = IDLE; in Initialize()
114 currentState_ = IDLE; in StepToIdle()
192 currentState_ = SYNC_TIME_OUT; in StepToTimeout()
222 LOGD("[MultiVerSyncStateMachine] SyncStep dst=%s, state = %d", STR_MASK(context_->GetDeviceId()), currentState_); in SyncStepInnerLocked()
226 switch (currentState_) { in SyncStepInnerLocked()
249 currentState_ = MULTI_VER_DATA_ENTRY_SYNC; in SyncStepInnerLocked()
274 currentState_ = COMMIT_HISTORY_SYNC; in StartSyncInner()
362 currentState_ = MULTI_VER_DATA_ENTRY_SYNC; in CommitHistorySyncPktRecvCallback()
389 currentState_ = MULTI_VER_VALUE_SLICE_SYNC; in MultiVerDataPktRecvCallback()
416 currentState_ in ValueSlicePktRecvCallback()
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture_video.cpp91 if (testObj->currentState_ == State::PHOTO_CAPTURE) { in Usage()
93 } else if (testObj->currentState_ == State::VIDEO_RECORDING) { in Usage()
95 } else if (testObj->currentState_ == State::DOUBLE_PREVIEW) { in Usage()
118 if (testObj->currentState_ != state) { in SwitchMode()
120 testObj->currentState_ = state; in SwitchMode()
146 if (testObj->currentState_ == State::PHOTO_CAPTURE) { in DisplayMenu()
155 if (testObj->currentState_ == State::VIDEO_RECORDING) { in DisplayMenu()
164 if (testObj->currentState_ != State::VIDEO_RECORDING) { in DisplayMenu()
173 if (testObj->currentState_ != State::PHOTO_CAPTURE) { in DisplayMenu()
182 if (testObj->currentState_ ! in DisplayMenu()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state_machine.h72 return currentState_; in GetCurrentState()
95 int8_t currentState_; member in OHOS::ACELite::final
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/include/
H A Dav_sender_engine.h105 return currentState_; in GetCurrentState()
111 currentState_ = stateId; in SetCurrentState()
122 std::atomic<StateId> currentState_ = StateId::IDLE; member in OHOS::DistributedHardware::AVSenderEngine
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/include/
H A Dav_receiver_engine.h105 return currentState_; in GetCurrentState()
111 currentState_ = stateId; in SetCurrentState()
121 std::atomic<StateId> currentState_ = StateId::IDLE; member in OHOS::DistributedHardware::AVReceiverEngine
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Djs_caller_complex.cpp61 currentState_ = OBJSTATE::OBJ_NORMAL; in JsCallerComplex()
237 if (currentState_ == OBJSTATE::OBJ_NORMAL) { in ChangeCurrentState()
238 currentState_ = state; in ChangeCurrentState()
240 TAG_LOGD(AAFwkTag::DEFAULT, "currentState_:OBJ_NORMAL"); in ChangeCurrentState()
241 } else if (currentState_ == state) { in ChangeCurrentState()
243 TAG_LOGD(AAFwkTag::DEFAULT, "currentState_:state"); in ChangeCurrentState()
255 return currentState_; in GetCurrentState()
260 currentState_ = OBJSTATE::OBJ_NORMAL; in StateReset()
477 OBJSTATE currentState_; member in OHOS::AbilityRuntime::__anon190::JsCallerComplex
/foundation/ability/ability_lite/services/abilitymgr_lite/src/
H A Dpage_ability_record.cpp160 currentState_ = state; in SetCurrentState()
165 return currentState_; in GetCurrentState()
285 if (currentState_ == STATE_ACTIVE) { in ActiveAbility()
299 if (currentState_ != STATE_ACTIVE && abilityInfo_.abilityType != AbilityType::SERVICE) { in InactiveAbility()
311 if (currentState_ != STATE_INACTIVE) { in ToBackgroundAbility()
323 if (currentState_ != STATE_INACTIVE) { in StopAbility()
449 "\t stat:" + AbilityMsHelper::AbilityStateToString(currentState_) + " launchMode:" + launcherMode + "\n" in DumpAbilityRecord()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsync_state_machine.cpp29 currentState_(0), in SyncStateMachine()
127 currentState_ = 0; in AbortImmediately()
144 auto eventToStateIter = table.find(currentState_); in SwitchMachineState()
147 currentState_); in SwitchMachineState()
156 event, currentState_); in SwitchMachineState()
160 currentState_ = stateIter->second; in SwitchMachineState()
162 eventToStateIter->first, currentState_, event, syncContext_->GetDeviceId().c_str()); in SwitchMachineState()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.cpp306 if (currentState_ != lastState_) { in ResetFocusEffect()
308 if (needVibrate_ && lastState_ == ItemState::NEARBY && currentState_ == ItemState::FOCUS && vibrator_) { in ResetFocusEffect()
315 lastState_ = currentState_; in ResetFocusEffect()
316 if (currentState_ != ItemState::NONE && currentState_ != ItemState::CLICK) { in ResetFocusEffect()
317 focusController_->ShowAnimation(currentState_); in ResetFocusEffect()
411 currentState_ = ItemState::FOCUS; in ResetFocusEffect()
427 currentState_ = ItemState::BLUR; in ResetFocusEffect()
H A Drender_list_item.h221 return currentState_; in GetCurrentState()
226 currentState_ = state; in SetCurrentState()
388 ItemState currentState_ = ItemState::NONE; member in OHOS::Ace::RenderListItem
/foundation/ability/dmsfwk/services/dtbschedmgr/include/continue/state/
H A Ddsched_continue_state_machine.h34 std::shared_ptr<DSchedContinueState> currentState_; member in OHOS::DistributedSchedule::DSchedContinueStateMachine
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerastate/
H A Ddcamera_source_state_machine.h33 std::shared_ptr<DCameraSourceState> currentState_; member in OHOS::DistributedHardware::DCameraSourceStateMachine

Completed in 20 milliseconds

123