Searched refs:ImgViewAdapter (Results 1 – 10 of 10) sorted by relevance
/base/update/updater/services/ui/view/component/ |
D | img_view_adapter.cpp | 28 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 …]
|
D | img_view_adapter.h | 33 class ImgViewAdapter : public OHOS::UIImageView, public ComponentCommon<ImgViewAdapter> { 34 DISALLOW_COPY_MOVE(ImgViewAdapter); 43 ImgViewAdapter(); 44 explicit ImgViewAdapter(const UxViewInfo &info); 45 ~ImgViewAdapter();
|
D | box_progress_adapter.h | 33 class ImgViewAdapter; variable 51 ImgViewAdapter *ep_ = {};
|
D | component_factory.h | 39 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter 41 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter \
|
D | box_progress_adapter.cpp | 94 ep_ = static_cast<ImgViewAdapter *>(child); in InitEp()
|
/base/update/updater/test/unittest/updater_ui_test/view/ |
D | ui_component_unittest.cpp | 158 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 …]
|
D | ui_page_manager_unittest.cpp | 227 GetInstance()[ComInfo {pageId, comId}].As<ImgViewAdapter>(errMsg);
|
/base/update/updater/services/ui/strategy/ |
D | logo_strategy.cpp | 42 pgMgr_[id_].As<ImgViewAdapter>()->Start(); in Show() 47 pgMgr_[id_].As<ImgViewAdapter>()->Stop(); in Hide()
|
/base/powermgr/battery_manager/charger/src/ |
D | charger_animation.cpp | 97 …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/ |
D | updater_ui_traits.h | 81 DEFINE_TRAIT(UxImageInfo, ImgViewAdapter::COMPONENT_TYPE,
|