Searched refs:imagePath (Results 1 - 3 of 3) sorted by relevance
/applications/sample/camera/gallery/src/ |
H A D | picture_ability_slice.cpp | 134 char* imagePath = new char[imagePathLen + 1](); in OnStart() local 135 if (sprintf_s(imagePath, imagePathLen + 1, "%s/%s", PHOTO_DIRECTORY, reinterpret_cast<char*>(want.data)) < 0) { in OnStart() 136 printf("PictureAbilitySlice::OnStart | imagePath\n"); in OnStart() 137 delete[] imagePath; in OnStart() 138 imagePath = nullptr; in OnStart() 145 delete[] imagePath; in OnStart() 146 imagePath = nullptr; in OnStart() 150 InitPicture(imagePath); in OnStart() 152 delete[] imagePath; in OnStart()
|
H A D | gallery_ability_slice.cpp | 222 char* imagePath = new char[pathLen + 1](); in AddAllPictures() local 223 if (sprintf_s(imagePath, pathLen + 1, "%s/%s", THUMBNAIL_DIRECTORY, info->d_name) < 0) { in AddAllPictures() 225 delete[] imagePath; in AddAllPictures() 229 picList_->Add(CreateImageItem(imagePos, imageName, imagePath)); in AddAllPictures() 230 delete[] imagePath; in AddAllPictures() 243 UIView* GalleryAbilitySlice::CreateImageItem(const Point& pos, const char* imageName, const char* imagePath) in CreateImageItem() argument 248 imageView->SetSrc(imagePath); in CreateImageItem() 282 printf("------- imagePath: %s \n", path); in GetImageClickListener()
|
/applications/sample/camera/gallery/include/ |
H A D | gallery_ability_slice.h | 46 UIView* CreateImageItem(const Point& pos, const char* imageName, const char* imagePath);
|
Completed in 2 milliseconds