Searched refs:LabelBtnAdapter (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/update/updater/services/ui/view/component/ |
H A D | label_btn_adapter.cpp | 23 struct LabelBtnAdapter::LabelBtnOnFocusListener : public OHOS::UIView::OnFocusListener { 36 LabelBtnAdapter *button = nullptr; in OnFocus() 40 button = static_cast<LabelBtnAdapter *>(&view); in OnFocus() 50 LabelBtnAdapter *button = nullptr; in OnBlur() 54 button = static_cast<LabelBtnAdapter *>(&view); in OnBlur() 68 LabelBtnAdapter::LabelBtnAdapter() = default; 70 LabelBtnAdapter::~LabelBtnAdapter() = default; 72 LabelBtnAdapter::LabelBtnAdapter(const UxViewInfo &info) in LabelBtnAdapter() function in Updater::LabelBtnAdapter 92 bool LabelBtnAdapter::IsValid(const UxLabelBtnInfo &info) in IsValid() 111 void LabelBtnAdapter::SetText(const std::string &txt) in SetText() [all …]
|
H A D | label_btn_adapter.h | 34 class LabelBtnAdapter : public OHOS::UILabelButton, public ComponentCommon<LabelBtnAdapter> { 35 DISALLOW_COPY_MOVE(LabelBtnAdapter); 41 LabelBtnAdapter(); 42 explicit LabelBtnAdapter(const UxViewInfo &info); 43 virtual ~LabelBtnAdapter();
|
H A D | component_factory.h | 39 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter 41 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter \
|
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/ |
H A D | ui_component_unittest.cpp | 147 LabelBtnAdapter labelBtn {}; 298 LabelBtnAdapter labelBtn {info}; 313 LabelBtnAdapter labelBtn1 {UxViewInfo {{0, 0, 50, 50, "id", "UILabel", true}, 315 LabelBtnAdapter labelBtn2 {UxViewInfo {{100, 100, 50, 50, "id", "UILabel", true}, 329 EXPECT_FALSE(LabelBtnAdapter::IsValid(UxLabelBtnInfo {201, "", "", "", "", "", false})); 330 … EXPECT_FALSE(LabelBtnAdapter::IsValid(UxLabelBtnInfo {100, "", "#000000ff", "", "", "", false})); 331 …EXPECT_FALSE(LabelBtnAdapter::IsValid(UxLabelBtnInfo {100, "", "#000000ff", "#000000ff", "", "", f… 332 EXPECT_FALSE(LabelBtnAdapter::IsValid(UxLabelBtnInfo {100, "", "#000000ff", 334 EXPECT_TRUE(LabelBtnAdapter::IsValid(UxLabelBtnInfo {100, "", "#000000ff", 340 LabelBtnAdapter labelBtn {UxViewInfo {{0, 0, 0, 0, "id", "UILabel", false},
|
H A D | ui_view_proxy_unittest.cpp | 62 EXPECT_NE(viewproxy.As<LabelBtnAdapter>(err), real); 91 EXPECT_NE(viewproxy.As<LabelBtnAdapter>(), real);
|
/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_traits.h | 88 DEFINE_TRAIT(UxLabelBtnInfo, LabelBtnAdapter::COMPONENT_TYPE,
|