/foundation/graphic/ui/test/uitest/test_font/ |
D | ui_test_font.cpp | 100 UILabel* label = new UILabel(); in UIKitFontTestDispaly001() local 101 label->SetPosition(positionX_, positionY_); in UIKitFontTestDispaly001() 102 label->Resize(LABEL_WIDTH, LABEL_HEIGHT); in UIKitFontTestDispaly001() 105 label->SetFont(SOURCE_HAN_SANS_SC_REGULAR, FONT_SIZE); in UIKitFontTestDispaly001() 107 label->SetFontId(F_SOURCEHANSANSSC_REGULAR_30_4); in UIKitFontTestDispaly001() 109 label->SetText("轻量图形子系统"); in UIKitFontTestDispaly001() 110 container_->Add(label); in UIKitFontTestDispaly001() 120 UILabel* label = new UILabel(); in UIKitFontTestDispaly002() local 121 label->SetPosition(positionX_, positionY_); in UIKitFontTestDispaly002() 122 label->Resize(LABEL_WIDTH, LABEL_HEIGHT * 2); // 2 : double in UIKitFontTestDispaly002() [all …]
|
/foundation/graphic/ui/test/uitest/test_vector_font/ |
D | ui_test_vector_font.cpp | 97 UILabel* label = new UILabel(); in Font_FontEngine_Vector_Test_CH_Lang_001() local 99 label->SetPosition(positionX_, positionY_); in Font_FontEngine_Vector_Test_CH_Lang_001() 100 label->Resize(LABEL_WIDTH, LABEL_HEIGHT); in Font_FontEngine_Vector_Test_CH_Lang_001() 101 label->SetLineBreakMode(UILabel::LINE_BREAK_MARQUEE); in Font_FontEngine_Vector_Test_CH_Lang_001() 102 label->SetFont(HYQIHEI_65S, 24); // 24 : size in Font_FontEngine_Vector_Test_CH_Lang_001() 103 label->SetText("测试中文"); in Font_FontEngine_Vector_Test_CH_Lang_001() 104 container_->Add(label); in Font_FontEngine_Vector_Test_CH_Lang_001() 113 UILabel* label = new UILabel(); in Font_FontEngine_Vector_Test_CH_Lang_002() local 115 label->SetPosition(positionX_, positionY_); in Font_FontEngine_Vector_Test_CH_Lang_002() 116 label->Resize(LABEL_WIDTH, LABEL_HEIGHT * 2); // 2:double in Font_FontEngine_Vector_Test_CH_Lang_002() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/avrcp_tg/ |
D | avrcp_tg_service.h | 80 void OnSetAddressedPlayer(const std::string &addr, uint8_t label, int status) override; 101 const std::vector<std::string> &folderNames, uint8_t label, int status) override; 111 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) override; 121 const std::string &addr, const std::deque<uint8_t> &values, uint8_t label) override; 133 const std::deque<uint8_t> &values, uint8_t label, uint8_t context) override; 141 void OnSetPlayerAppSettingCurrentValue(const std::string &addr, uint8_t label) override; 152 const std::vector<std::string> &attrStr, uint8_t label) override; 163 const std::vector<std::string> &valueStr, uint8_t label) override; 175 const std::vector<std::string> &values, uint8_t label) override; 188 uint8_t label, uint8_t context) override; [all …]
|
D | avrcp_tg_profile.h | 70 … std::function<void(const RawAddress &rawAddr, uint8_t button, uint8_t label)> onButtonPressed; 79 … std::function<void(const RawAddress &rawAddr, uint8_t button, uint8_t label)> onButtonReleased; 88 std::function<void(const RawAddress &rawAddr, uint8_t button, uint8_t label)> onButtonHeld; 96 std::function<void(const RawAddress &rawAddr, uint8_t label)> getCapabilities; 104 …std::function<void(const RawAddress &rawAddr, uint8_t label)> listPlayerApplicationSettingAttribut… 113 std::function<void(const RawAddress &rawAddr, uint8_t attribute, uint8_t label)> 125 … const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context)> 137 const std::deque<uint8_t> &values, uint8_t label)> 147 …d::function<void(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, uint8_t label)> 159 …const RawAddress &rawAddr, uint8_t attributeId, const std::vector<uint8_t> &values, uint8_t label)> [all …]
|
D | avrcp_tg_service.cpp | 51 void AvrcpTgService::ObserverImpl::OnSetAddressedPlayer(const std::string &addr, uint8_t label, int… in OnSetAddressedPlayer() argument 58 service->OnSetAddressedPlayer(rawAddr, label, status); in OnSetAddressedPlayer() 63 const std::vector<std::string> &folderNames, uint8_t label, int status) in OnSetBrowsedPlayer() argument 70 service->OnSetBrowsedPlayer(rawAddr, uidCounter, numOfItems, folderNames, label, status); in OnSetBrowsedPlayer() 75 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) in OnGetPlayerAppSettingAttributes() argument 82 service->OnGetPlayerAppSettingAttributes(rawAddr, attributes, label); in OnGetPlayerAppSettingAttributes() 87 const std::string &addr, const std::deque<uint8_t> &values, uint8_t label) in OnGetPlayerAppSettingValues() argument 94 service->OnGetPlayerAppSettingValues(rawAddr, values, label); in OnGetPlayerAppSettingValues() 99 …const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label, uint8_t c… in OnGetPlayerAppSettingCurrentValue() argument 106 service->OnGetPlayerAppSettingCurrentValue(rawAddr, attributes, values, label, context); in OnGetPlayerAppSettingCurrentValue() [all …]
|
D | avrcp_tg_profile.cpp | 331 void AvrcTgProfile::SendPressButtonRsp(const RawAddress &rawAddr, uint8_t button, uint8_t label, in… in SendPressButtonRsp() argument 335 …AvrcTgPassPacket> packet = std::make_shared<AvrcTgPassPacket>(button, AVRC_KEY_STATE_PRESS, label); in SendPressButtonRsp() 342 void AvrcTgProfile::SendReleaseButtonRsp(const RawAddress &rawAddr, uint8_t button, uint8_t label, … in SendReleaseButtonRsp() argument 347 std::make_shared<AvrcTgPassPacket>(button, AVRC_KEY_STATE_RELEASE, label); in SendReleaseButtonRsp() 447 void AvrcTgProfile::ReceivePassCmd(const RawAddress &rawAddr, uint8_t label, Packet *pkt) in ReceivePassCmd() argument 451 std::shared_ptr<AvrcTgPassPacket> packet = std::make_shared<AvrcTgPassPacket>(pkt, label); in ReceivePassCmd() 463 LOG_DEBUG("[AVRCP TG] key[%x] - state[%x] - label[%u]", key, state, label); in ReceivePassCmd() 468 myObserver_->onButtonPressed(rawAddr, key, label); in ReceivePassCmd() 476 …yObserver_->onButtonReleased(rawAddr, cnManager->GetPassPacket(rawAddr)->GetKeyOperation(), label); in ReceivePassCmd() 478 myObserver_->onButtonPressed(rawAddr, key, label); in ReceivePassCmd() [all …]
|
/foundation/graphic/ui/test/uitest/test_arc_label/ |
D | ui_test_arc_label.cpp | 107 UIArcLabel* label = new UIArcLabel(); in TestArcLabelDisplay() local 108 label->SetArcTextCenter(CENTER_X, CENTER_Y + positionY_ + GAP * 4); // 4: 4 times GAP in TestArcLabelDisplay() 109 label->SetArcTextRadius(RADIUS); in TestArcLabelDisplay() 110 label->SetArcTextAngle(startAngle, endAngle); in TestArcLabelDisplay() 111 label->SetArcTextOrientation(orientation); in TestArcLabelDisplay() 112 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 30); // 30: font size in TestArcLabelDisplay() 113 label->SetText("012345678ABCDEF0123456789ABCDE"); in TestArcLabelDisplay() 114 label->SetStyle(STYLE_LETTER_SPACE, 10); // 10: space in TestArcLabelDisplay() 115 container_->Add(label); in TestArcLabelDisplay() 134 UIArcLabel* label = new UIArcLabel(); in UIKit_UIArcLabel_Test_Align_001() local [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/include/ |
D | interface_profile_avrcp_tg.h | 171 virtual void OnSetAddressedPlayer(const RawAddress &rawAddr, uint8_t label, int status) = 0; 195 const std::vector<std::string> &folderNames, uint8_t label, int status) = 0; 212 const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_t label) = 0; 225 const RawAddress &rawAddr, const std::deque<uint8_t> &values, uint8_t label) = 0; 240 const std::deque<uint8_t> &values, uint8_t label, uint8_t context) = 0; 251 virtual void OnSetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, uint8_t label) = 0; 264 const std::vector<std::string> &attrStr, uint8_t label) = 0; 277 const std::vector<std::string> &valueStr, uint8_t label) = 0; 295 const std::vector<std::string> &values, uint8_t label) = 0; 315 uint8_t playStatus, uint8_t label, uint8_t context) = 0; [all …]
|
/foundation/graphic/ui/test/uitest/test_image/ |
D | ui_test_image.cpp | 95 UILabel* label = new UILabel(); in UIKit_UIImage_Test_SetImage_001() local 96 container_->Add(label); in UIKit_UIImage_Test_SetImage_001() 97 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, g_height + 5, // 5: increase y-coordinate in UIKit_UIImage_Test_SetImage_001() 99 label->SetText("rgb888 格式图片测试 "); in UIKit_UIImage_Test_SetImage_001() 100 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in UIKit_UIImage_Test_SetImage_001() 126 UILabel* label = new UILabel(); in UIKit_UIImage_Test_SetImage_002() local 127 container_->Add(label); in UIKit_UIImage_Test_SetImage_002() 128 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, g_height, Screen::GetInstance().GetWidth(), in UIKit_UIImage_Test_SetImage_002() 130 label->SetText("显示ARGB8888bin文件图片 "); in UIKit_UIImage_Test_SetImage_002() 131 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in UIKit_UIImage_Test_SetImage_002() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/external/dummy/include/stub/ |
D | media_service.h | 75 virtual void OnSetAddressedPlayer(const std::string &addr, uint8_t label, int status) = 0; 78 const std::vector<std::string> &folderNames, uint8_t label, int status) = 0; 81 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) = 0; 84 const std::string &addr, const std::deque<uint8_t> &values, uint8_t label) = 0; 87 const std::deque<uint8_t> &values, uint8_t label, uint8_t context) = 0; 89 virtual void OnSetPlayerAppSettingCurrentValue(const std::string &addr, uint8_t label) = 0; 92 const std::vector<std::string> &attrStr, uint8_t label) = 0; 95 const std::vector<std::string> &valueStr, uint8_t label) = 0; 98 const std::vector<std::string> &values, uint8_t label) = 0; 101 uint8_t playStatus, uint8_t label, uint8_t context) = 0; [all …]
|
/foundation/ace/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
D | data_binding_tdd_test.cpp | 193 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in AttrBindingTest001() local 194 EXPECT_TRUE(label != nullptr); in AttrBindingTest001() 195 if (label != nullptr) { in AttrBindingTest001() 196 EXPECT_STREQ(label->GetText(), "0"); in AttrBindingTest001() 198 EXPECT_STREQ(label->GetText(), "1"); in AttrBindingTest001() 200 EXPECT_STREQ(label->GetText(), "0"); in AttrBindingTest001() 210 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in StyleBindingTest002() local 211 EXPECT_TRUE(label != nullptr); in StyleBindingTest002() 212 if (label != nullptr) { in StyleBindingTest002() 213 EXPECT_EQ(label->GetStyle(STYLE_BACKGROUND_COLOR), 0xff000000); in StyleBindingTest002() [all …]
|
/foundation/communication/ipc/ipc/native/c/adapter/bytrace/source/ |
D | rpc_bytrace_inner.cpp | 22 void RpcStartTraceInner(uint64_t label, const char *value) in RpcStartTraceInner() argument 27 StartTrace(label, value); in RpcStartTraceInner() 30 void RpcFinishTraceInner(uint64_t label) in RpcFinishTraceInner() argument 32 FinishTrace(label); in RpcFinishTraceInner() 35 void RpcStartAsyncTraceInner(uint64_t label, const char *value, int32_t traceId) in RpcStartAsyncTraceInner() argument 40 StartAsyncTrace(label, value, traceId); in RpcStartAsyncTraceInner() 43 void RpcFinishAsyncTraceInner(uint64_t label, const char *value, int32_t traceId) in RpcFinishAsyncTraceInner() argument 48 FinishAsyncTrace(label, value, traceId); in RpcFinishAsyncTraceInner() 51 void RpcMiddleTraceInner(uint64_t label, const char *beforeValue, const char *afterValue) in RpcMiddleTraceInner() argument 56 MiddleTrace(label, beforeValue, afterValue); in RpcMiddleTraceInner()
|
/foundation/graphic/ui/test/uitest/test_draw_rect/ |
D | ui_test_draw_rect.cpp | 100 UILabel* label = new UILabel(); in CreateTitleLabel() local 101 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, in CreateTitleLabel() 103 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in CreateTitleLabel() 104 return label; in CreateTitleLabel() 137 UILabel* label = CreateTitleLabel(); in UIKit_DrawRect_Test_RectNoBorder_001() local 138 label->SetText("矩形无border, radius=0"); in UIKit_DrawRect_Test_RectNoBorder_001() 139 group->Add(label); in UIKit_DrawRect_Test_RectNoBorder_001() 163 UILabel* label = CreateTitleLabel(); in UIKit_DrawRect_Test_RectNoBorder_002() local 164 label->SetText("矩形无border, radius>0, width > height, radius > height/2"); in UIKit_DrawRect_Test_RectNoBorder_002() 165 group->Add(label); in UIKit_DrawRect_Test_RectNoBorder_002() [all …]
|
/foundation/graphic/ui/test/uitest/test_draw_line/ |
D | ui_test_draw_line.cpp | 69 UILabel* label = new UILabel(); in CreateTitleLabel() local 71 …label->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, Screen::GetInstance().Ge… in CreateTitleLabel() 73 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in CreateTitleLabel() 74 return label; in CreateTitleLabel() 97 UILabel* label = CreateTitleLabel(); in UIKit_Draw_Line_Test_Line_001() local 98 group->Add(label); in UIKit_Draw_Line_Test_Line_001() 99 label->SetText("水平直线绘制 "); in UIKit_Draw_Line_Test_Line_001() 119 UILabel* label = CreateTitleLabel(); in UIKit_Draw_Line_Test_Line_002() local 120 group->Add(label); in UIKit_Draw_Line_Test_Line_002() 121 label->SetText("垂直直线绘制 "); in UIKit_Draw_Line_Test_Line_002() [all …]
|
/foundation/multimedia/image_standard/mock/native/src/ |
D | HiLog.cpp | 26 int HiLog::Debug(const HiLogLabel &label, const char *fmt, ...) in Debug() argument 31 int HiLog::Info(const HiLogLabel &label, const char *fmt, ...) in Info() argument 36 int HiLog::Warn(const HiLogLabel &label, const char *fmt, ...) in Warn() argument 38 std::cout << label.tag << ": " << fmt << std::endl; in Warn() 42 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() argument 44 std::cout << label.tag << ": " << fmt << std::endl; in Error() 48 int HiLog::Fatal(const HiLogLabel &label, const char *fmt, ...) in Fatal() argument 50 std::cout << label.tag << ": " << fmt << std::endl; in Fatal()
|
/foundation/graphic/ui/test/uitest/test_anti_aliasing/ |
D | ui_test_anti_aliasing.cpp | 56 UILabel* label = new UILabel(); in CreateTitleLabel() local 58 …label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, 0, Screen::GetInstance().GetWidth() / 2, TITLE_LABE… in CreateTitleLabel() 59 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in CreateTitleLabel() 60 return label; in CreateTitleLabel() 75 UILabel* label = CreateTitleLabel(); in UIKit_Anti_Aliasing_Test_Rect_001() local 76 label->SetText("矩形抗锯齿效果:"); in UIKit_Anti_Aliasing_Test_Rect_001() 77 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE); in UIKit_Anti_Aliasing_Test_Rect_001() 78 group->Add(label); in UIKit_Anti_Aliasing_Test_Rect_001() 109 UILabel* label = CreateTitleLabel(); in UIKit_Anti_Aliasing_Test_Circle_001() local 110 label->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE2, TEXT_DISTANCE_TO_TOP_SIDE); in UIKit_Anti_Aliasing_Test_Circle_001() [all …]
|
/foundation/communication/netstack/test/napi/log/ |
D | test_hilog.cpp | 49 int HiLog::Debug(const HiLogLabel &label, const char *fmt, ...) in Debug() argument 51 if (label.domain != NETSTACK_LOG_DOMAIN) { in Debug() 57 int HiLog::Info(const HiLogLabel &label, const char *fmt, ...) in Info() argument 59 if (label.domain != NETSTACK_LOG_DOMAIN) { in Info() 65 int HiLog::Warn(const HiLogLabel &label, const char *fmt, ...) in Warn() argument 67 if (label.domain != NETSTACK_LOG_DOMAIN) { in Warn() 73 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() argument 75 if (label.domain != NETSTACK_LOG_DOMAIN) { in Error() 81 int HiLog::Fatal(const HiLogLabel &label, const char *fmt, ...) in Fatal() argument 83 if (label.domain != NETSTACK_LOG_DOMAIN) { in Fatal()
|
/foundation/graphic/ui/test/uitest/test_ui_list_view/ |
D | ui_test_list_layout.cpp | 64 UILabel* label = GetTitleLabel("UILIst高度自适应 Add Insert"); in UIKit_List_Vertical_Add_Test_Auto_Size_001() local 65 container_->Add(label); in UIKit_List_Vertical_Add_Test_Auto_Size_001() 66 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_ + g_blank); in UIKit_List_Vertical_Add_Test_Auto_Size_001() 71 … list->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, label->GetY() + TITLE_LABEL_DEFAULT_HEIGHT + g_gap); in UIKit_List_Vertical_Add_Test_Auto_Size_001() 105 UILabel* label = GetTitleLabel("UILIst高度自适应 Remove"); in UIKit_List_Vertical_Remove_Test_Auto_Size_001() local 106 container_->Add(label); in UIKit_List_Vertical_Remove_Test_Auto_Size_001() 107 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_ + g_blank); in UIKit_List_Vertical_Remove_Test_Auto_Size_001() 112 … list->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, label->GetY() + TITLE_LABEL_DEFAULT_HEIGHT + g_gap, in UIKit_List_Vertical_Remove_Test_Auto_Size_001() 132 UILabel* label = GetTitleLabel("UILIst高度自适应 RemoveAll"); in UIKit_List_Vertical_Remove_Test_Auto_Size_002() local 133 container_->Add(label); in UIKit_List_Vertical_Remove_Test_Auto_Size_002() [all …]
|
/foundation/communication/ipc/ipc/native/c/adapter/bytrace/include/ |
D | rpc_bytrace_inner.h | 25 void RpcStartTraceInner(uint64_t label, const char *value); 26 void RpcFinishTraceInner(uint64_t label); 27 void RpcStartAsyncTraceInner(uint64_t label, const char *value, int32_t TraceId); 28 void RpcFinishAsyncTraceInner(uint64_t label, const char *value, int32_t TraceId); 29 void RpcMiddleTraceInner(uint64_t label, const char *beforeValue, const char *afterValue);
|
/foundation/graphic/ui/test/uitest/test_ui_scroll_view/ |
D | ui_test_ui_scroll_view.cpp | 111 UILabel* label = GetTitleLabel("UIScrollView设置游标可见 "); in UIKit_UIScrollView_Test_bar_001() local 112 label->SetPosition(positionX_, positionY_); in UIKit_UIScrollView_Test_bar_001() 113 container_->Add(label); in UIKit_UIScrollView_Test_bar_001() 137 UILabel* label = GetTitleLabel("UIScrollView设置游标可见 "); in UIKit_UIScrollView_Test_bar_002() local 138 container_->Add(label); in UIKit_UIScrollView_Test_bar_002() 140 label->SetPosition(positionX_, positionY_); in UIKit_UIScrollView_Test_bar_002() 162 UILabel* label = GetTitleLabel("UIScrollView游标滑动状态 "); in UIKit_UIScrollView_Test_bar_003() local 163 container_->Add(label); in UIKit_UIScrollView_Test_bar_003() 165 label->SetPosition(positionX_, positionY_); in UIKit_UIScrollView_Test_bar_003() 192 UILabel* label = GetTitleLabel("UIScrollView设置游标宽度为20"); in UIKit_UIScrollView_Test_bar_004() local [all …]
|
/foundation/ai/engine/services/server/plugin_manager/source/ |
D | plugin_label.cpp | 60 std::string label = aid + PLUS + std::to_string(version); in GetLibPath() local 61 auto queryKey = label + DELIMITER + ALGORITHM_INFO_TABLE_FIELD_NAME_FULLPATH; in GetLibPath() 62 if (label == "cv_card_rectification+20001001") { in GetLibPath() 64 } else if (label == "sample_plugin_1+1") { in GetLibPath() 66 } else if (label == "sample_plugin_2+1") { in GetLibPath() 68 } else if (label == "asr_keyword_spotting+20001002") { in GetLibPath() 70 } else if (label == "cv_image_classification+20001001") { in GetLibPath()
|
/foundation/graphic/ui/test/uitest/test_rotate_input/ |
D | ui_test_rotate_input.cpp | 201 UILabel* label = GetTitleLabel("UIList Test"); in UIKit_Rotate_Event_List_001() local 202 container_->Add(label); in UIKit_Rotate_Event_List_001() 203 label->SetPosition(0, lastY_ + g_blank); in UIKit_Rotate_Event_List_001() 212 …list_->SetPosition(0, label->GetY() + g_blank, g_listW, g_listH - 200); // 200: mean list reduce h… in UIKit_Rotate_Event_List_001() 230 UILabel* label = GetTitleLabel("UIScrollView Test"); in UIKit_Rotate_Event_Scroll_View_002() local 231 container_->Add(label); in UIKit_Rotate_Event_Scroll_View_002() 232 label->SetPosition(0, lastY_ + g_blank); in UIKit_Rotate_Event_Scroll_View_002() 237 scroll_->SetPosition(0, label->GetY() + g_blank, g_scrollW, g_scrollH); in UIKit_Rotate_Event_Scroll_View_002() 251 SetTestLabelButton(label, scroll_); in UIKit_Rotate_Event_Scroll_View_002() 260 UILabel* label = GetTitleLabel("UISwipeView Test"); in UIKit_Rotate_Event_Swipe_View_003() local [all …]
|
/foundation/graphic/ui/test/uitest/test_view_percent/ |
D | ui_test_view_percent.cpp | 86 UILabel* label = new UILabel(); in InitView() local 87 container_->Add(label); in InitView() 89 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, in InitView() 91 label->SetText("Flex布局效果 "); in InitView() 92 label->SetFont(DEFAULT_VECTOR_FONT_FILENAME, FONT_DEFAULT_SIZE); in InitView() 196 UILabel* label = new UILabel(); in AddElement() local 197 flexLayout_->Add(label); in AddElement() 199 label->SetWidthPercent(percent); in AddElement() 200 label->SetHeightPercent(percent); in AddElement() 201 label->SetText(std::to_string(index).c_str()); in AddElement() [all …]
|
/foundation/ace/ace_engine_lite/frameworks/src/core/components/ |
D | text_component.cpp | 124 void TextComponent::SetTextLetterSpace(UILabelTypeWrapper &label, const AppStyleItem *styleItem) co… in SetTextLetterSpace() argument 126 label.SetStyle(STYLE_LETTER_SPACE, (int16_t)GetStylePixelValue(styleItem)); in SetTextLetterSpace() 129 void TextComponent::SetTextLineHeight(UILabelTypeWrapper &label, const AppStyleItem *styleItem) con… in SetTextLineHeight() argument 131 label.SetStyle(STYLE_LINE_HEIGHT, (int16_t)GetStylePixelValue(styleItem)); in SetTextLineHeight() 134 void TextComponent::SetTextOverflow(UILabelTypeWrapper &label, const AppStyleItem *styleItem) in SetTextOverflow() argument 160 label.SetLineBreakMode(overflowMode_); in SetTextOverflow() 163 void TextComponent::SetTextColor(UILabelTypeWrapper &label, const AppStyleItem *styleItem) const in SetTextColor() argument 168 label.SetStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetTextColor() 169 label.SetStyle(STYLE_TEXT_OPA, alpha); in SetTextColor() 226 void TextComponent::SetTextAlign(UILabelTypeWrapper &label, const AppStyleItem *styleItem) in SetTextAlign() argument [all …]
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
D | js_stepper_item.cpp | 85 StepperLabels label = stepperItem->GetLabel(); in SetPrevLabel() local 86 label.leftLabel = info[0]->ToString(); in SetPrevLabel() 87 stepperItem->SetLabel(label); in SetPrevLabel() 105 StepperLabels label = stepperItem->GetLabel(); in SetNextLabel() local 106 label.rightLabel = info[0]->ToString(); in SetNextLabel() 107 stepperItem->SetLabel(label); in SetNextLabel() 122 StepperLabels label = stepperItem->GetLabel(); in SetStatus() local 124 label.initialStatus = status; in SetStatus() 131 label.initialStatus = status; in SetStatus() 134 label.initialStatus = status; in SetStatus() [all …]
|