/foundation/arkui/ui_lite/test/uitest/test_input_event/ |
H A D | ui_test_input_event.h | 33 if (label_ != nullptr) { 34 label_->SetText("long press!"); 35 label_->Invalidate(); 42 if (label_ != nullptr) { 43 label_->SetText("drag!"); 44 label_->Invalidate(); 56 if (label_ != nullptr) { 57 label_->SetText(sentence_); 58 label_->Invalidate(); 65 if (label_ ! 101 UILabel* label_ = nullptr; global() member in OHOS::TestView 193 UILabel* label_ = nullptr; global() member in OHOS::TestUIScrollView 222 UILabel* label_; global() member in OHOS::TestKeyInputListener 242 UILabel* label_; global() member in OHOS::TestOnClickListener 264 UILabel* label_; global() member in OHOS::TestOnLongPressListener 304 UILabel* label_; global() member in OHOS::TestOnTouchListener 346 UILabel* label_; global() member in OHOS::TestOnDragListener [all...] |
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_label_unit_test.cpp | 33 static UILabel* label_; member in OHOS::UILabelTest 36 UILabel* UILabelTest::label_ = nullptr; member in OHOS::UILabelTest 40 if (label_ == nullptr) { in SetUpTestCase() 41 label_ = new UILabel(); in SetUpTestCase() 47 if (label_ != nullptr) { in TearDownTestCase() 48 delete label_; in TearDownTestCase() 49 label_ = nullptr; in TearDownTestCase() 61 if (label_ == nullptr) { in HWTEST_F() 65 EXPECT_EQ(label_->GetViewType(), UI_LABEL); in HWTEST_F() 76 if (label_ in HWTEST_F() [all...] |
/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/src/ |
H A D | test_audio_ability_proxy.cpp | 40 HiLog::Info(label_, "%{public}s called", __func__); in AddVolume() 43 HiLog::Error(label_, "%{public}s: object is null", __func__); in AddVolume() 53 HiLog::Info(label_, "%{public}s:finish = %{public}d", __func__, result); in AddVolume() 59 HiLog::Info(label_, "%{public}s called", __func__); in ReduceVolume() 62 HiLog::Error(label_, "ReduceVolume remote is NULL !"); in ReduceVolume() 73 HiLog::Info(label_, "%{public}s:finish = %{public}d", __func__, ret); in ReduceVolume() 79 HiLog::Info(label_, "%{public}s called", __func__); in TestRpcInt32() 82 HiLog::Error(label_, "TestRpcInt32 remote is NULL !"); in TestRpcInt32() 92 HiLog::Info(label_, "%{public}s:finish = %{public}d", __func__, result); in TestRpcInt32() 98 HiLog::Info(label_, " in TestRpcUInt32() [all...] |
H A D | test_audio_ability.cpp | 29 HiLog::Info(label_, "%{public}s called", __func__); in TestAudioAbility() 34 HiLog::Info(label_, "%{public}s called", __func__); in ~TestAudioAbility() 45 HiLog::Info(label_, "TestAudioAbility:: %{public}s called, volume = %{public}d", __func__, volume); in AddVolume() 51 HiLog::Info(label_, "TestAudioAbility:: %{public}s called, volume = %{public}d", __func__, volume); in ReduceVolume() 92 HiLog::Info(label_, "%{public}s called", __func__); in OnStart() 95 HiLog::Error(label_, "%{public}s:fail to onstart res = %{public}d", __func__, res); in OnStart() 110 HiLog::Info(label_, "OnAddSystemAbility systemAbilityId:%{public}d added!", systemAbilityId); in OnAddSystemAbility() 115 HiLog::Info(label_, "OnRemoveSystemAbility systemAbilityId:%{public}d removed!", systemAbilityId); in OnRemoveSystemAbility()
|
/foundation/arkui/ui_lite/test/uitest/test_texture_mapper/ |
H A D | ui_test_texture_mapper.h | 33 viewGroup_->Add(&label_); in TestTextureMapperStopListener() 34 label_.SetPosition(0, 0, 200, TITLE_LABEL_DEFAULT_HEIGHT); // 200: width; in TestTextureMapperStopListener() 35 label_.SetText("OnAnimatorStop"); in TestTextureMapperStopListener() 36 label_.SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in TestTextureMapperStopListener() 37 label_.SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in TestTextureMapperStopListener() 38 label_.SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in TestTextureMapperStopListener() 39 label_.SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in TestTextureMapperStopListener() 40 label_.SetVisible(false); in TestTextureMapperStopListener() 47 viewGroup_->Remove(&label_); in ~TestTextureMapperStopListener() 53 label_ 58 UILabel label_; global() member in OHOS::TestTextureMapperStopListener [all...] |
/foundation/arkui/ui_lite/test/uitest/test_image_animator/ |
H A D | ui_test_image_animator.h | 37 label_ = new UILabel(); in Init() 38 viewGroup_->Add(label_); in Init() 39 label_->SetPosition(24, 50, 200, 29); // 24: position x 50: position y 200: width 29: height in Init() 40 label_->SetText("OnAnimatorStop"); in Init() 41 label_->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in Init() 42 label_->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in Init() 43 label_->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in Init() 44 label_->SetStyle(STYLE_BACKGROUND_OPA, 255); // 255: value in Init() 45 label_->SetVisible(false); in Init() 50 label_ 55 UILabel* label_ = nullptr; global() member in OHOS::TestAnimatorStopListener [all...] |
/foundation/systemabilitymgr/safwk/test/mock/common/ondemand_ability/src/ |
H A D | test_ondemand_ability_proxy.cpp | 29 HiLog::Info(label_, "%{public}s called, volume = %{public}d", __func__, volume); in AddVolume() 33 HiLog::Error(label_, "AddVolume remote is NULL !"); in AddVolume() 41 HiLog::Error(label_, "AddVolume parcel write volume failed"); in AddVolume() 49 HiLog::Error(label_, "AddVolume Transact error:%{public}d!", res); in AddVolume() 55 HiLog::Error(label_, "AddVolume parcel read volume failed"); in AddVolume() 58 HiLog::Info(label_, "%{public}s:finish = %{public}d", __func__, result); in AddVolume()
|
H A D | test_ondemand_ability.cpp | 29 HiLog::Info(label_, "%{public}s called", __func__); in TestOnDemandAbility() 34 HiLog::Info(label_, "%{public}s called", __func__); in ~TestOnDemandAbility() 45 HiLog::Info(label_, "TestOnDemandAbility:: %{public}s called, volume = %{public}d", in AddVolume() 52 HiLog::Info(label_, "%{public}s called", __func__); in OnStart() 55 HiLog::Error(label_, "%{public}s:fail to onstart res = %{public}d", __func__, res); in OnStart()
|
H A D | test_ondemand_ability_stub.cpp | 29 HiLog::Info(label_, "TestOnDemandAbilityStub::OnReceived, cmd = %{public}u, flags= %{public}d", in OnRemoteRequest() 36 HiLog::Error(label_, "TestOnDemandAbilityStub::AddVolume read requestCode failed!"); in OnRemoteRequest() 41 HiLog::Error(label_, "TestOnDemandAbilityStub:AddVolume write reply failed."); in OnRemoteRequest()
|
/foundation/arkui/ui_lite/test/uitest/test_event_injector/ |
H A D | ui_test_event_injector.cpp | 54 TestEventInjectorView() : label_(nullptr) {} in TestEventInjectorView() 67 if (label_ != nullptr) { 68 label_->SetText("long press!"); 69 label_->Invalidate(); 76 if (label_ != nullptr) { 77 label_->SetText("drag!"); 78 label_->Invalidate(); 90 if (label_ != nullptr) { 91 label_->SetText(sentence_); 92 label_ 140 UILabel* label_; global() member in OHOS::TestEventInjectorView [all...] |
/foundation/arkui/ui_lite/test/uitest/test_dialog/ |
H A D | ui_test_dialog.cpp | 40 label_ = label; in TestUIDialogButtonListener() 53 label_->SetText("button left click!"); 56 label_->SetText("button mid click!"); 59 label_->SetText("button right click!"); 74 UILabel* label_; member in OHOS::TestUIDialogButtonListener 82 label_ = label; in TestUIDialogOnCancelListener() 93 label_->SetText("Click outside the dialog."); 103 UILabel* label_; member in OHOS::TestUIDialogOnCancelListener 117 if (label_ == nullptr) { in SetUp() 118 label_ in SetUp() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_pass_through.cpp | 21 : stateFlag_(AVRC_KEY_STATE_INVALID), operationId_(AVRC_KEY_OPERATION_INVALID), label_(AVRC_DEFAULT_LABEL) in AvrcTgPassPacket() 27 : stateFlag_(AVRC_KEY_STATE_INVALID), operationId_(AVRC_KEY_OPERATION_INVALID), label_(AVRC_DEFAULT_LABEL) in AvrcTgPassPacket() 33 label_ = label; in AvrcTgPassPacket() 37 : stateFlag_(AVRC_KEY_STATE_INVALID), operationId_(AVRC_KEY_OPERATION_INVALID), label_(AVRC_DEFAULT_LABEL) in AvrcTgPassPacket() 41 label_ = label; in AvrcTgPassPacket()
|
H A D | avrcp_tg_unit_info.cpp | 26 AvrcTgUnitPacket::AvrcTgUnitPacket() : label_(AVRC_DEFAULT_LABEL) in AvrcTgUnitPacket() 31 AvrcTgUnitPacket::AvrcTgUnitPacket(Packet *pkt, uint8_t label) : label_(label) in AvrcTgUnitPacket() 35 label_ = label; in AvrcTgUnitPacket()
|
H A D | avrcp_tg_unit_info.h | 118 return label_; in GetLabel() 130 uint8_t label_ {AVRC_DEFAULT_LABEL}; // The label which is used to distinguish different call.
|
/foundation/arkui/ace_engine/frameworks/core/components/stepper/ |
H A D | stepper_item_component.h | 95 label_ = label; in SetLabel() 100 return label_; in GetLabel() 106 StepperLabels label_; member in OHOS::Ace::StepperItemComponent
|
H A D | render_stepper_item.h | 40 return label_; in GetLabel() 46 StepperLabels label_; member in OHOS::Ace::RenderStepperItem
|
/foundation/arkui/ui_lite/test/uitest/test_view_scale_rotate/ |
H A D | ui_test_view_scale_rotate.cpp | 85 label_->Rotate(angleValue_, VIEW_CENTER); in Callback() 86 label_->Scale(scaleValue_, VIEW_CENTER); in Callback() 104 label_ = new UILabel(); in UIKitViewScaleRotateTestLabel001() 105 label_->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in UIKitViewScaleRotateTestLabel001() 106 label_->SetText("Test UILabel"); in UIKitViewScaleRotateTestLabel001() 107 label_->SetPosition(100, 100, 200, 50); // 100: x 100: y 200: width 50: height in UIKitViewScaleRotateTestLabel001() 108 group->Add(label_); in UIKitViewScaleRotateTestLabel001()
|
/foundation/arkui/ui_lite/test/uitest/test_slider/ |
H A D | ui_test_slider.cpp | 48 if (label_ == nullptr) { in OnChange() 54 label_->SetText("OnChange"); in OnChange() 61 if (label_ == nullptr) { in OnRelease() 67 label_->SetText("OnRelease"); in OnRelease() 73 if (label_ == nullptr) { in OnClick() 79 label_->SetText("OnClick"); in OnClick() 86 label_ = new UILabel(); in MallocLabel() 87 if (label_ == nullptr) { in MallocLabel() 90 viewGroup_->Add(label_); in MallocLabel() 91 label_ in MallocLabel() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | resource_info.cpp | 79 label_ = bundleResourceInfo.label + std::to_string(appIndex_); in ConvertFromBundleResourceInfo() 81 label_ = bundleResourceInfo.label; in ConvertFromBundleResourceInfo() 96 label_ = launcherAbilityResourceInfo.label + std::to_string(appIndex_); in ConvertFromLauncherAbilityResourceInfo() 98 label_ = launcherAbilityResourceInfo.label; in ConvertFromLauncherAbilityResourceInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_stepper_item.h | 33 label_ = label; in SetLabel() 38 return label_; in GetLabel() 73 StepperLabels label_; member in OHOS::Ace::Framework::final
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/render_node/ |
H A D | render_node_pattern.h | 106 json->PutExtAttr("label", label_.c_str(), filter); 111 label_ = label; in SetLabel() 119 std::string label_; member in OHOS::Ace::NG::RenderNodePattern
|
/foundation/resourceschedule/ffrt/src/util/ |
H A D | worker_monitor.h | 50 std::string label_; member 53 : tid_(workerId), gid_(taskId), workerTaskType_(workerTaskType), label_(workerTaskLabel) {} in WorkerInfo() 66 workerInfo_.label_ = "Unsupport_Task_type"; //该task type 没有 label in TimeoutFunctionInfo()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_content_modifier_test_ng.cpp | 353 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 394 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 435 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 476 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 517 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 558 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 599 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 640 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 681 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() 722 EXPECT_EQ(CREATE_VALUE, config.label_); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | task_runners.cpp | 21 : label_(std::move(label)), platform_(std::move(platform)), gpu_(std::move(gpu)), ui_(std::move(ui)), in TaskRunners() 47 return label_; in GetLabel()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | popup_list_item_component.h | 42 label_ = label; in PopupListItemComponent() 59 std::string label_ = ""; member in OHOS::Ace::V2::PopupListItemComponent
|