Searched refs:image_media_metadata (Results 1 – 5 of 5) sorted by relevance
114 google_apis::ImageMediaMetadata* image_media_metadata = in TEST() local116 image_media_metadata->set_width(640); in TEST()117 image_media_metadata->set_height(480); in TEST()118 image_media_metadata->set_rotation(90); in TEST()121 google_apis::ImageMediaMetadata* image_media_metadata = in TEST() local123 image_media_metadata->set_width(0); in TEST()124 image_media_metadata->set_height(0); in TEST()125 image_media_metadata->set_rotation(0); in TEST()175 const google_apis::ImageMediaMetadata& image_media_metadata = in TEST() local176 file_resource->image_media_metadata(); in TEST()[all …]
209 google_apis::ImageMediaMetadata* image_media_metadata = in ConvertResourceEntryToFileResource() local211 image_media_metadata->set_width(entry.image_width()); in ConvertResourceEntryToFileResource()212 image_media_metadata->set_height(entry.image_height()); in ConvertResourceEntryToFileResource()213 image_media_metadata->set_rotation(entry.image_rotation()); in ConvertResourceEntryToFileResource()306 entry->set_image_width(file_resource.image_media_metadata().width()); in ConvertFileResourceToResourceEntry()307 entry->set_image_height(file_resource.image_media_metadata().height()); in ConvertFileResourceToResourceEntry()308 entry->set_image_rotation(file_resource.image_media_metadata().rotation()); in ConvertFileResourceToResourceEntry()
140 EXPECT_EQ(640, file1.image_media_metadata().width()); in TEST()141 EXPECT_EQ(480, file1.image_media_metadata().height()); in TEST()142 EXPECT_EQ(90, file1.image_media_metadata().rotation()); in TEST()179 EXPECT_EQ(-1, file2.image_media_metadata().width()); in TEST()180 EXPECT_EQ(-1, file2.image_media_metadata().height()); in TEST()181 EXPECT_EQ(-1, file2.image_media_metadata().rotation()); in TEST()
465 const ImageMediaMetadata& image_media_metadata() const { in image_media_metadata() function
119 const int64 image_width = input.image_media_metadata().width(); in ConvertFileResourceToResourceEntry()123 const int64 image_height = input.image_media_metadata().height(); in ConvertFileResourceToResourceEntry()127 const int64 image_rotation = input.image_media_metadata().rotation(); in ConvertFileResourceToResourceEntry()