Home
last modified time | relevance | path

Searched refs:ImgViewAdapter (Results 1 – 10 of 10) sorted by relevance

/base/update/updater/services/ui/view/component/
Dimg_view_adapter.cpp28 class ImgViewAdapter::ImgAnimatorCallback final : public OHOS::AnimatorCallback {
31 explicit ImgAnimatorCallback(ImgViewAdapter *view) in ImgAnimatorCallback()
36 static ImgViewAdapter dummy; in ImgAnimatorCallback()
68 ImgViewAdapter *view_;
73 ImgViewAdapter::~ImgViewAdapter() = default;
75 ImgViewAdapter::ImgViewAdapter() = default;
77 ImgViewAdapter::ImgViewAdapter(const UxViewInfo &info) in ImgViewAdapter() function in Updater::ImgViewAdapter
98 bool ImgViewAdapter::IsValid(const UxImageInfo &info) in IsValid()
106 bool ImgViewAdapter::IsValidForStaticImg(const UxImageInfo &info) in IsValidForStaticImg()
115 bool ImgViewAdapter::IsValidForAnimator(const UxImageInfo &info) in IsValidForAnimator()
[all …]
Dimg_view_adapter.h33 class ImgViewAdapter : public OHOS::UIImageView, public ComponentCommon<ImgViewAdapter> {
34 DISALLOW_COPY_MOVE(ImgViewAdapter);
43 ImgViewAdapter();
44 explicit ImgViewAdapter(const UxViewInfo &info);
45 ~ImgViewAdapter();
Dbox_progress_adapter.h33 class ImgViewAdapter; variable
51 ImgViewAdapter *ep_ = {};
Dcomponent_factory.h39 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter
41 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter \
Dbox_progress_adapter.cpp94 ep_ = static_cast<ImgViewAdapter *>(child); in InitEp()
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp158 ImgViewAdapter imgView {};
170 ImgViewAdapter epView {};
205 ImgViewAdapter imgView {UxViewInfo {commonInfo, specInfo}};
220 ImgViewAdapter imgView {UxViewInfo {commonInfo, specInfo}};
234 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"", "", 100, 0}));
235 EXPECT_TRUE(ImgViewAdapter::IsValid(UxImageInfo {"resPath", "", 100, 0}));
238 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"", "", 100, 10}));
239 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "", 100, 10}));
240 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "filePrefix", maxImgCnt + 1, 10}));
241 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "filePrefix", 0, 10}));
[all …]
Dui_page_manager_unittest.cpp227 GetInstance()[ComInfo {pageId, comId}].As<ImgViewAdapter>(errMsg);
/base/update/updater/services/ui/strategy/
Dlogo_strategy.cpp42 pgMgr_[id_].As<ImgViewAdapter>()->Start(); in Show()
47 pgMgr_[id_].As<ImgViewAdapter>()->Stop(); in Hide()
/base/powermgr/battery_manager/charger/src/
Dcharger_animation.cpp97 …pgMgr_[CHARGER_ANIMATION_PAGE_ID][CHARGER_ANIMATION_COM_ID].As<Updater::ImgViewAdapter>()->Start(); in AnimationStart()
107 … pgMgr_[CHARGER_ANIMATION_PAGE_ID][CHARGER_ANIMATION_COM_ID].As<Updater::ImgViewAdapter>()->Stop(); in AnimationStop()
/base/update/updater/services/ui/
Dupdater_ui_traits.h81 DEFINE_TRAIT(UxImageInfo, ImgViewAdapter::COMPONENT_TYPE,