Home
last modified time | relevance | path

Searched refs:image_count (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/ash/shell/
Dwindow_watcher.cc98 static int image_count = 0; in OnWindowAdded() local
111 image_count == 0 ? 255 : 0, in OnWindowAdded()
112 image_count == 1 ? 255 : 0, in OnWindowAdded()
113 image_count == 2 ? 255 : 0); in OnWindowAdded()
114 image_count = (image_count + 1) % 3; in OnWindowAdded()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_scan_manager_unittest.cc161 int image_count, in AddGallery() argument
175 audio_count, image_count, video_count); in AddGallery()
221 int image_count, int video_count) { in CheckFileCounts() argument
229 EXPECT_EQ(image_count, pref_info->second.image_count); in CheckFileCounts()
241 EXPECT_EQ(expected_file_counts_.image_count, file_counts.image_count); in OnScanFinished()
301 file_counts.image_count = 2; in TEST_F()
339 file_counts.image_count = 2; in TEST_F()
386 file_counts.image_count = 2; in TEST_F()
427 file_counts.image_count = 2; in TEST_F()
477 file_counts.image_count = 2; in TEST_F()
[all …]
Dmedia_scan_types.cc9 image_count(0), in MediaGalleryScanResult()
15 scan_result.image_count == 0 && in IsEmptyScanResult()
Dmedia_scan_manager.cc119 results.image_count += it->second.image_count; in SumFilesUnderPath()
165 gallery.image_count != file_counts.image_count || in AddScanResultsForProfile()
183 it->second.image_count, in AddScanResultsForProfile()
196 file_counts.image_count += it->second.image_count; in AddScanResultsForProfile()
207 file_counts.image_count, file_counts.video_count); in AddScanResultsForProfile()
229 file_counts->image_count += it->second.image_count; in CountScanResultsForExtension()
Dmedia_galleries_preferences.cc190 int image_count = 0; in PopulateGalleryPrefInfoFromDictionary() local
213 dict.GetInteger(kMediaGalleriesScanImageCountKey, &image_count) && in PopulateGalleryPrefInfoFromDictionary()
216 out_gallery_info->image_count = image_count; in PopulateGalleryPrefInfoFromDictionary()
220 out_gallery_info->image_count = 0; in PopulateGalleryPrefInfoFromDictionary()
261 if (gallery.audio_count || gallery.image_count || gallery.video_count) { in CreateGalleryPrefInfoDictionary()
263 dict->SetInteger(kMediaGalleriesScanImageCountKey, gallery.image_count); in CreateGalleryPrefInfoDictionary()
326 image_count(0), in MediaGalleryPrefInfo()
764 int image_count, in AddGallery() argument
770 audio_count, image_count, video_count, in AddGallery()
780 int audio_count, int image_count, int video_count, int prefs_version) { in AddGalleryInternal() argument
[all …]
Dmedia_galleries_preferences.h111 int image_count; member
218 int image_count,
312 int image_count,
Dmedia_scan_types.h11 int image_count; member
Dmedia_galleries_scan_result_controller_unittest.cc112 int audio_count, int image_count, in AddGallery() argument
126 audio_count, image_count, video_count); in AddGallery()
130 int image_count, int video_count) { in AddScanResult() argument
132 image_count, video_count); in AddScanResult()
Dmedia_galleries_scan_result_controller.cc40 int a_media_count = a.pref_info.audio_count + a.pref_info.image_count + in ScanResultsComparator()
42 int b_media_count = b.pref_info.audio_count + b.pref_info.image_count + in ScanResultsComparator()
272 if ((gallery.audio_count || gallery.image_count || gallery.video_count) && in UpdateScanResultsFromPreferences()
Dmedia_folder_finder_unittest.cc94 result.image_count += count; in CreateTestFile()
164 EXPECT_EQ(expected.image_count, actual.image_count) in OnGotResults()
Dmedia_galleries_preferences_unittest.cc212 EXPECT_EQ(in_expectation->second.image_count, actual.image_count); in VerifyGalleryInfo()
245 int image_count, in AddScanResultExpectation() argument
250 expected_galleries_[id].image_count = image_count; in AddScanResultExpectation()
1186 expected_galleries_[id].image_count = 0; in TEST_F()
Dmedia_galleries_permission_controller.cc47 int a_media_count = a.pref_info.audio_count + a.pref_info.image_count + in GalleriesVectorComparator()
49 int b_media_count = b.pref_info.audio_count + b.pref_info.image_count + in GalleriesVectorComparator()
Dmedia_folder_finder.cc68 scan_result->image_count += 1; in CountScanResult()
/external/opencv/cv/include/
Dcvcompat.h584 CV_INLINE void cvCalibrateCamera( int image_count, int* _point_counts, in cvCalibrateCamera() argument
590 CvMat point_counts = cvMat( image_count, 1, CV_32SC1, _point_counts ); in cvCalibrateCamera()
594 CvMat rotation_matrices = cvMat( image_count, 9, CV_32FC1, _rotation_matrices ); in cvCalibrateCamera()
595 CvMat translation_vectors = cvMat( image_count, 3, CV_32FC1, _translation_vectors ); in cvCalibrateCamera()
597 for( i = 0; i < image_count; i++ ) in cvCalibrateCamera()
609 CV_INLINE void cvCalibrateCamera_64d( int image_count, int* _point_counts, in cvCalibrateCamera_64d() argument
615 CvMat point_counts = cvMat( image_count, 1, CV_32SC1, _point_counts ); in cvCalibrateCamera_64d()
619 CvMat rotation_matrices = cvMat( image_count, 9, CV_64FC1, _rotation_matrices ); in cvCalibrateCamera_64d()
620 CvMat translation_vectors = cvMat( image_count, 3, CV_64FC1, _translation_vectors ); in cvCalibrateCamera_64d()
622 for( i = 0; i < image_count; i++ ) in cvCalibrateCamera_64d()
/external/chromium_org/ui/gfx/
Dicon_util.cc473 size_t image_count = bitmap_count + (png_bytes.get() ? 1 : 0); in CreateIconFileFromImageFamily() local
489 icon_dir->idCount = static_cast<WORD>(image_count); in CreateIconFileFromImageFamily()
491 size_t icon_dir_count = image_count - 1; in CreateIconFileFromImageFamily()
/external/chromium_org/ash/system/chromeos/network/
Dnetwork_icon.cc374 int image_count = NumImagesForType(image_type) - 1; in ConnectingWirelessImage() local
375 int index = animation * nextafter(static_cast<float>(image_count), 0); in ConnectingWirelessImage()
376 index = std::max(std::min(index, image_count - 1), 0); in ConnectingWirelessImage()
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
Dmedia_galleries_api.cc347 details.image_count.reset(new int(file_counts.image_count)); in OnScanFinished()