Searched refs:SetIconForType (Results 1 - 14 of 14) sorted by relevance

/haiku/headers/os/storage/
H A DAppFileInfo.h98 status_t SetIconForType(const char* type,
101 status_t SetIconForType(const char* type,
103 status_t SetIconForType(const char* type,
106 status_t SetIconForType(const char* type,
H A DMimeType.h131 status_t SetIconForType(const char* type, const BBitmap* icon,
133 status_t SetIconForType(const char* type, const uint8* data,
/haiku/src/kits/storage/mime/
H A DMimeInfoUpdater.cpp39 err = appFileInfoWrite.SetIconForType(type, &icon, iconSize, false);
41 err = appFileInfoWrite.SetIconForType(type, NULL, iconSize, false);
55 err = appFileInfoWrite.SetIconForType(type, data, size, false);
57 err = appFileInfoWrite.SetIconForType(type, NULL, size, false);
H A DAppMetaMimeCreator.cpp174 status = fDatabase->SetIconForType(signature, type, data, size);
181 status = fDatabase->SetIconForType(signature, type, &miniIcon,
188 status = fDatabase->SetIconForType(signature, type, &largeIcon,
H A DDatabase.cpp376 return SetIconForType(type, NULL, data, dataSize, which);
386 return SetIconForType(type, NULL, data, dataSize);
391 Database::SetIconForType(const char* type, const char* fileType, function in class:BPrivate::Storage::Mime::Database
395 return SetIconForType(type, fileType, icon->Bits(),
398 return SetIconForType(type, fileType, NULL, 0, which);
402 // SetIconForType
425 Database::SetIconForType(const char *type, const char *fileType, function in class:BPrivate::Storage::Mime::Database
428 DBG(OUT("Database::SetIconForType()\n"));
488 // SetIconForType
506 Database::SetIconForType(cons function in class:BPrivate::Storage::Mime::Database
[all...]
/haiku/headers/private/storage/mime/
H A DDatabase.h77 status_t SetIconForType(const char* type, const char* fileType,
79 status_t SetIconForType(const char *type, const char *fileType,
81 status_t SetIconForType(const char *type, const char *fileType,
/haiku/src/build/libbe/storage/
H A DAppFileInfo.cpp516 return SetIconForType(NULL, icon, which, updateMimeDB);
523 return SetIconForType(NULL, icon, which, true);
530 return SetIconForType(NULL, data, size, updateMimeDB);
537 return SetIconForType(NULL, data, size, true);
790 BAppFileInfo::SetIconForType(const char* type, const BBitmap* icon, function in class:BAppFileInfo
871 error = mimeType.SetIconForType(type, icon, which);
879 BAppFileInfo::SetIconForType(const char* type, const BBitmap* icon, function in class:BAppFileInfo
882 return SetIconForType(type, icon, which, true);
887 BAppFileInfo::SetIconForType(const char* type, const uint8* data, size_t size, function in class:BAppFileInfo
923 error = mimeType.SetIconForType(typ
931 BAppFileInfo::SetIconForType(const char* type, const uint8* data, size_t size) function in class:BAppFileInfo
[all...]
/haiku/src/kits/storage/
H A DAppFileInfo.cpp514 return SetIconForType(NULL, icon, which, updateMimeDB);
521 return SetIconForType(NULL, icon, which, true);
528 return SetIconForType(NULL, data, size, updateMimeDB);
535 return SetIconForType(NULL, data, size, true);
788 BAppFileInfo::SetIconForType(const char* type, const BBitmap* icon, function in class:BAppFileInfo
868 error = mimeType.SetIconForType(type, icon, which);
875 BAppFileInfo::SetIconForType(const char* type, const BBitmap* icon, function in class:BAppFileInfo
878 return SetIconForType(type, icon, which, true);
883 BAppFileInfo::SetIconForType(const char* type, const uint8* data, size_t size, function in class:BAppFileInfo
918 error = mimeType.SetIconForType(typ
925 BAppFileInfo::SetIconForType(const char* type, const uint8* data, size_t size) function in class:BAppFileInfo
[all...]
H A DMimeType.cpp459 return SetIconForType(NULL, icon, which);
467 return SetIconForType(NULL, data, size);
860 BMimeType::SetIconForType(const char* type, const BBitmap* icon, icon_size which) function in class:BMimeType
920 BMimeType::SetIconForType(const char* type, const uint8* data, size_t dataSize) function in class:BMimeType
/haiku/src/tests/kits/storage/
H A DNodeInfoTest.cpp930 CHK(appType.SetIconForType(testType1, fIconM2, B_MINI_ICON) == B_OK);
931 CHK(appType.SetIconForType(testType1, fIconL2, B_LARGE_ICON) == B_OK);
940 CHK(appType2.SetIconForType(testType1, fIconM4, B_MINI_ICON) == B_OK);
941 CHK(appType2.SetIconForType(testType1, fIconL4, B_LARGE_ICON) == B_OK);
977 CHK(appType.SetIconForType(testType1, NULL, B_MINI_ICON) == B_OK);
978 CHK(appType.SetIconForType(testType1, NULL, B_LARGE_ICON) == B_OK);
1007 CHK(appType2.SetIconForType(testType1, NULL, B_MINI_ICON) == B_OK);
1008 CHK(appType2.SetIconForType(testType1, NULL, B_LARGE_ICON) == B_OK);
H A DAppFileInfoTest.cpp719 status_t error = info.SetIconForType(value.type.c_str(), &value.mini,
722 error = info.SetIconForType(value.type.c_str(), &value.large,
2369 CHK(appFileInfo.SetIconForType(testType1, fIconM1, B_MINI_ICON)
2379 CHK(appFileInfo.SetIconForType(testType1, fIconM2, B_MINI_ICON)
2391 CHK(appFileInfo.SetIconForType(testType1, fIconL1, B_LARGE_ICON)
2402 CHK(appFileInfo.SetIconForType(testType1, fIconL2, B_LARGE_ICON)
2439 // status_t SetIconForType(const char *type, const BBitmap *icon,
2449 CHK(appFileInfo.SetIconForType(testType1, NULL, B_MINI_ICON) == B_OK);
2459 CHK(appFileInfo.SetIconForType(testType1, NULL, B_LARGE_ICON) == B_OK);
2473 CHK(appFileInfo.SetIconForType(testType
[all...]
H A DMimeTypeTest.cpp503 return mime.SetIconForType(fileType.c_str(), icon, size);
1543 CHK(mime.SetIconForType(testTypeInvalid, helper.Bitmap1(), helper.Size()) != B_OK); // R5 == B_BAD_VALUE
1561 CHK(mime.SetIconForType(NULL, helper.Bitmap1(), helper.Size()) == B_OK);
1570 CHK(mime.SetIconForType(NULL, NULL, helper.Size()) == B_OK);
3233 CHK(type.SetIconForType("text/plain", iconHelperLarge.Bitmap1(),
3235 CHK(type.SetIconForType("text/plain", iconHelperMini.Bitmap1(),
3282 CHK(type.SetIconForType("text/plain", iconHelperLarge.Bitmap1(),
3284 CHK(type.SetIconForType("text/plain", iconHelperMini.Bitmap1(),
3329 CHK(type.SetIconForType("text/plain", iconHelperLarge.Bitmap2(),
3331 CHK(type.SetIconForType("tex
[all...]
/haiku/src/preferences/filetypes/
H A DIconView.cpp254 status = info.SetIconForType(type, fLarge, B_LARGE_ICON);
256 status = info.SetIconForType(type, fMini, B_MINI_ICON);
258 status = info.SetIconForType(type, fData, fSize);
1282 info.SetIconForType(fType.Type(), large, B_LARGE_ICON);
1284 info.SetIconForType(fType.Type(), mini, B_MINI_ICON);
1286 info.SetIconForType(fType.Type(), data, size);
/haiku/src/servers/registrar/
H A DMIMEManager.cpp416 ? fDatabase.SetIconForType(type, fileType, data,
418 : fDatabase.SetIconForType(type, fileType, data,

Completed in 166 milliseconds