Searched refs:ROOT_VIEW_WIDTH (Results 1 - 4 of 4) sorted by relevance
/applications/sample/camera/gallery/src/ |
H A D | picture_ability_slice.cpp | 90 if (imageWidth > ROOT_VIEW_WIDTH || imageHeight > ROOT_VIEW_HEIGHT) { in InitPicture() 94 if (imageWidth > ROOT_VIEW_WIDTH) { in InitPicture() 95 scaleWidth = static_cast<float>(ROOT_VIEW_WIDTH) / imageWidth; in InitPicture() 110 int16_t imagePosX = (ROOT_VIEW_WIDTH - imageWidth) / 2; // 2: half in InitPicture() 126 rootView_->Resize(ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in OnStart()
|
H A D | gallery_ability_slice.cpp | 149 deleteLabel_->SetPosition(ROOT_VIEW_WIDTH - DELETE_LABEL_WIDTH, LABEL_POSITION_Y, in InitTitle() 176 picContainer_->Resize(ROOT_VIEW_WIDTH, (THUMBNAIL_RESOLUTION_Y + THUMBNAIL_SPACE) * THUMBNAIL_COLUMN); in InitPictureList() 181 picList_->SetPosition(0, 0, ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in InitPictureList() 184 int16_t numInLine = (ROOT_VIEW_WIDTH + THUMBNAIL_SPACE) / (THUMBNAIL_RESOLUTION_X + THUMBNAIL_SPACE); in InitPictureList() 185 int16_t offset = ((ROOT_VIEW_WIDTH + THUMBNAIL_SPACE) % (THUMBNAIL_RESOLUTION_X + THUMBNAIL_SPACE)) / 2; // 2: half in InitPictureList() 192 picList_->Resize(ROOT_VIEW_WIDTH, totalHeight); in InitPictureList() 356 rootView_->Resize(ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in OnStart()
|
H A D | player_ability_slice.cpp | 112 errorTips_->SetPosition(ROOT_VIEW_POSITION_X, ROOT_VIEW_POSITION_Y, ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in ShowErrorTips() 131 rootView_->Resize(ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in SetUpRootView() 214 float ratio_x = static_cast<float>(width) / ROOT_VIEW_WIDTH; in SetUpSurfaceView() 221 surfaceViewWidth = ROOT_VIEW_WIDTH; in SetUpSurfaceView() 227 surfaceViewPositionX = (ROOT_VIEW_WIDTH - surfaceViewWidth) / 2; // 2: half in SetUpSurfaceView() 270 ROOT_VIEW_WIDTH, STATUS_BAR_GROUP_HEIGHT); in SetUpAnimatorGroup()
|
/applications/sample/camera/gallery/include/ |
H A D | gallery_config.h | 37 static constexpr int ROOT_VIEW_WIDTH = 960; member 84 static constexpr uint16_t TOTAL_TIME_LABEL_X = ROOT_VIEW_WIDTH - TOTAL_TIME_LABEL_WIDTH; 90 static constexpr uint16_t SLIDER_WIDTH = ROOT_VIEW_WIDTH - SLIDER_X - TOTAL_TIME_LABEL_WIDTH - 20;
|
Completed in 3 milliseconds