/foundation/multimedia/av_codec/services/engine/codec/audio/ |
H A D | audio_codec_adapter.cpp | 30 AudioCodecAdapter::AudioCodecAdapter(const std::string &name) : state_(CodecState::RELEASED), name_(name) {} in AudioCodecAdapter() 45 state_ = CodecState::RELEASED; in ~AudioCodecAdapter() 52 if (state_ != CodecState::RELEASED && state_ != CodecState::INITIALIZED && state_ != CodecState::INITIALIZING) { in SetCallback() 79 if (state_ != CodecState::RELEASED) { in Configure() 131 if (state_ == CodecState::INITIALIZED || state_ == CodecState::RELEASED || state_ == CodecState::STOPPING || in Stop() 169 if (state_ == CodecState::RELEASED || state_ == CodecState::RELEASING) { in Reset() 175 state_ = CodecState::RELEASED; in Reset() 189 state_ = CodecState::RELEASED; in Reset() 198 if (state_ == CodecState::RELEASED || state_ == CodecState::RELEASING) { in Release() 214 AVCODEC_LOGI("state %{public}s to RELEASING then RELEASED", stateToStrin in Release() [all...] |
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/ |
H A D | pointer_event.h | 23 RELEASED, member in OHOS::Render3D::PointerEventType 30 PointerEventType eventType_ { PointerEventType::RELEASED };
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_button.cpp | 35 state_(RELEASED), in UIButton() 36 styleState_(RELEASED), in UIButton() 102 buttonStyles_[RELEASED] = &(StyleDefault::GetButtonReleasedStyle()); in SetupThemeStyles() 106 buttonStyles_[RELEASED] = &(theme->GetButtonStyle().released); in SetupThemeStyles() 110 style_ = buttonStyles_[RELEASED]; in SetupThemeStyles() 146 style_ = buttonStyles_[RELEASED]; in SetStyleForState() 174 SetState(RELEASED); in OnReleaseEvent() 188 SetState(RELEASED); in OnCancelEvent() 236 SetState(RELEASED); in Enable()
|
H A D | ui_dialog.cpp | 228 button->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::White().full, UIButton::ButtonState::RELEASED); in AddButton() 231 button->SetStyleForState(STYLE_BORDER_WIDTH, 0, UIButton::ButtonState::RELEASED); in AddButton() 583 button1_->SetStyleForState(STYLE_BACKGROUND_COLOR, color.full, UIButton::ButtonState::RELEASED); in SetButtonColor() 584 button1_->SetStyleForState(STYLE_BACKGROUND_OPA, color.alpha, UIButton::ButtonState::RELEASED); in SetButtonColor() 590 button2_->SetStyleForState(STYLE_BACKGROUND_COLOR, color.full, UIButton::ButtonState::RELEASED); in SetButtonColor() 591 button2_->SetStyleForState(STYLE_BACKGROUND_OPA, color.alpha, UIButton::ButtonState::RELEASED); in SetButtonColor() 597 button3_->SetStyleForState(STYLE_BACKGROUND_COLOR, color.full, UIButton::ButtonState::RELEASED); in SetButtonColor() 598 button3_->SetStyleForState(STYLE_BACKGROUND_COLOR, color.alpha, UIButton::ButtonState::RELEASED); in SetButtonColor()
|
/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/ |
H A D | ui_test_border_margin_padding.cpp | 504 button->SetStyleForState(STYLE_MARGIN_LEFT, style_.marginLeft_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 506 button->SetStyleForState(STYLE_MARGIN_TOP, style_.marginTop_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 508 button->SetStyleForState(STYLE_MARGIN_RIGHT, style_.marginRight_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 510 button->SetStyleForState(STYLE_MARGIN_BOTTOM, style_.marginBottom_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 513 button->SetStyleForState(STYLE_BORDER_WIDTH, style_.borderWidth_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 515 button->SetStyleForState(STYLE_BORDER_OPA, style_.borderOpa_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 517 button->SetStyleForState(STYLE_BORDER_COLOR, style_.borderColor_.full, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 520 button->SetStyleForState(STYLE_PADDING_LEFT, style_.paddingLeft_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 522 button->SetStyleForState(STYLE_PADDING_TOP, style_.paddingTop_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() 524 button->SetStyleForState(STYLE_PADDING_RIGHT, style_.paddingRight_, UIButton::RELEASED); in UIKitUITestBorderMarginPaddingTest008() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/ |
H A D | xcomponent_delegate.cpp | 127 ACE_DCHECK(state_ != State::RELEASED); in AddCreatedCallback() 133 ACE_DCHECK(state_ != State::RELEASED); in RemoveCreatedCallback() 139 ACE_DCHECK(releasedCallback != nullptr && state_ != State::RELEASED); in AddReleasedCallback() 145 ACE_DCHECK(state_ != State::RELEASED); in RemoveReleasedCallback()
|
/foundation/multimedia/audio_lite/services/impl/ |
H A D | audio_capturer_impl.cpp | 48 if (status_ != RELEASED) { in ~AudioCapturerImpl() 64 if (status_ == INITIALIZED || status_ == RELEASED) { in GetFrameCount() 80 if (status_ == RELEASED) { in GetTimestamp() 156 if (status_ == RELEASED) { in GetCapturerInfo() 283 if (status_ == RELEASED) { in Release() 288 status_ = RELEASED; in Release() 310 status_ = RELEASED; in Release()
|
/foundation/arkui/ui_lite/test/uitest/test_view_bitmap/ |
H A D | ui_test_view_bitmap.cpp | 319 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap001() 322 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap001() 336 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap002() 339 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap002() 353 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap003() 356 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap003() 370 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap004() 373 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetViewBitmap004() 388 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetScreenBitmap001() 391 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in UIKitBitmapTestGetScreenBitmap001() [all...] |
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_button_unit_test.cpp | 164 button_->SetStateForStyle(UIButton::ButtonState::RELEASED); in HWTEST_F() 167 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::RELEASED), Color::Green().full); in HWTEST_F() 207 button_->SetStyleForState(STYLE_PADDING_LEFT, paddingdLeft, UIButton::ButtonState::RELEASED); in HWTEST_F() 208 button_->SetStyleForState(STYLE_BORDER_WIDTH, borderWidth, UIButton::ButtonState::RELEASED); in HWTEST_F() 209 button_->SetStyleForState(STYLE_PADDING_TOP, paddingdTop, UIButton::ButtonState::RELEASED); in HWTEST_F() 307 button_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Red().full, UIButton::ButtonState::RELEASED); in HWTEST_F() 308 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::RELEASED), in HWTEST_F() 330 button_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Red().full, UIButton::ButtonState::RELEASED); in HWTEST_F() 331 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::RELEASED), in HWTEST_F() 336 button_->SetStateForStyle(UIButton::ButtonState::RELEASED); in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/test/framework/src/ |
H A D | ui_test_app.cpp | 100 autoTestBtn_->SetStyleForState(STYLE_BORDER_RADIUS, 0, UIButton::RELEASED); in InitAutoTestBtn() 103 autoTestBtn_->SetStyleForState(STYLE_BACKGROUND_OPA, 0, UIButton::RELEASED); in InitAutoTestBtn() 124 backBtn_->SetStyleForState(STYLE_BORDER_RADIUS, 0, UIButton::RELEASED); in InitBackBtn() 127 backBtn_->SetStyleForState(STYLE_BACKGROUND_OPA, 0, UIButton::RELEASED); in InitBackBtn()
|
H A D | test_case_list_adapter.cpp | 151 item->SetStyleForState(STYLE_BORDER_WIDTH, STYLE_BORDER_WIDTH_VALUE, UIButton::RELEASED); in GetView() 154 item->SetStyleForState(STYLE_BORDER_OPA, 0, UIButton::RELEASED); in GetView() 182 item->SetStyleForState(STYLE_BORDER_RADIUS, STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in GetView() 185 item->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in GetView()
|
/foundation/arkui/ui_lite/test/uitest/test_screenshot/ |
H A D | ui_test_screenshot.h | 50 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in SetUpButton() 53 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in SetUpButton()
|
/foundation/arkui/ui_lite/test/uitest/test_view_percent/ |
H A D | ui_test_view_percent.h | 54 btn.SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in SetUpButton() 57 btn.SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in SetUpButton()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/resource/ |
H A D | plugin_manager_delegate.cpp | 134 if (!callback || state_ == State::RELEASED) { in AddPluginCompleteCallback() 142 if (!callback || state_ == State::RELEASED) { in AddPluginUpdateCallback() 150 if (!callback || state_ == State::RELEASED) { in AddPluginErrorCallback()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | input_button_component.cpp | 42 button_.SetStateForStyle(UIButton::ButtonState::RELEASED); in CreateNativeViews() 109 button_.SetStateForStyle(UIButton::ButtonState::RELEASED); in ApplyPrivateStyle() 126 button_.SetStateForStyle(UIButton::ButtonState::RELEASED); in SetBackgroundColor()
|
/foundation/multimedia/av_codec/services/engine/codec/include/audio/ |
H A D | audio_common_info.h | 27 RELEASED, member in OHOS::MediaAVCodec::CodecState 32 INITIALIZING, // RELEASED -> INITIALIZED 37 RELEASING, // {ANY EXCEPT RELEASED} -> RELEASED
|
/foundation/arkui/ui_lite/test/uitest/test_ui_analog_clock/ |
H A D | ui_test_analog_clock.h | 90 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in SetUpButton() 93 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in SetUpButton()
|
/foundation/arkui/ui_lite/test/uitest/test_label/ |
H A D | ui_test_label.h | 84 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in SetUpButton() 87 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in SetUpButton()
|
/foundation/arkui/ui_lite/test/uitest/test_layout/ |
H A D | ui_test_basic_layout.h | 109 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in SetUpButton() 112 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in SetUpButton()
|
H A D | ui_test_advanced_layout.h | 102 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in SetUpButton() 105 btn->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in SetUpButton()
|
/foundation/resourceschedule/ffrt/src/tm/ |
H A D | scpu_task.cpp | 75 if (!parent->IsRoot() && parent->status == TaskStatus::RELEASED && parent->childRefCnt == 0) { in DecChildRef() 132 status = TaskStatus::RELEASED; in RecycleTask()
|
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/ |
H A D | form_manager_delegate.cpp | 363 if (!callback || state_ == State::RELEASED) { in AddFormAcquireCallback() 371 if (!callback || state_ == State::RELEASED) { in AddFormUpdateCallback() 379 if (!callback || state_ == State::RELEASED) { in AddFormErrorCallback() 387 if (!callback || state_ == State::RELEASED) { in AddFormUninstallCallback() 395 if (!callback || state_ == State::RELEASED) { in AddFormSurfaceNodeCallback() 403 if (!callback || state_ == State::RELEASED) { in AddFormSurfaceChangeCallback() 411 if (!callback || state_ == State::RELEASED) { in AddFormSurfaceDetachCallback() 419 if (!callback || state_ == State::RELEASED) { in AddFormLinkInfoUpdateCallback() 427 if (!callback || state_ == State::RELEASED) { in AddGetRectRelativeToWindowCallback() 436 if (!callback || state_ == State::RELEASED) { in AddActionEventHandle() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/ability_component/resource/ |
H A D | ability_component_delegate.h | 34 RELEASED, member in OHOS::Ace::AbilityComponentDelegate::State
|
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/ |
H A D | rich_text_delegate.cpp | 262 if (!createdCallback || state_ == State::RELEASED) { in AddCreatedCallback() 270 if (!layoutChangeCallback || state_ == State::RELEASED) { in AddWebLayoutChangeCallback() 278 if (state_ == State::RELEASED) { in RemoveCreatedCallback() 286 if (!releasedCallback || state_ == State::RELEASED) { in AddReleasedCallback() 294 if (state_ == State::RELEASED) { in RemoveReleasedCallback()
|
/foundation/arkui/ui_lite/test/uitest/test_render/ |
H A D | ui_test_render.cpp | 138 labelButton_->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::RELEASED); in UIKitRenderTestRenderMeasure001() 140 labelButton_->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::RELEASED); in UIKitRenderTestRenderMeasure001()
|