Lines Matching refs:GetIcon

452 	// Used to call the appropriate GetIcon[ForType] function
453 virtual status_t GetIcon(BMimeType &mime, BBitmap *icon) {
454 return mime.GetIcon(icon, size);
499 virtual status_t GetIcon(BMimeType &mime, BBitmap *icon) {
1332 CHK(helper.GetIcon(mime, bmp) != B_OK); // R5 == B_BAD_VALUE
1345 CHK(helper.GetIcon(mime, bmp) != B_OK); // R5 == B_ENTRY_NOT_FOUND
1349 CHK(helper.GetIcon(mime, bmp) == B_OK);
1362 CHK(helper.GetIcon(mime, NULL) != B_OK); // B_BAD_VALUE
1372 CHK(helper.GetIcon(mime, bmp) != B_OK); // B_ENTRY_NOT_FOUND
1374 CHK(helper.GetIcon(mime, NULL) != B_OK); // B_BAD_VALUE
1376 CHK(helper.GetIcon(mime, bmp) == B_OK);
1379 CHK(helper.GetIcon(mime, bmp) != B_OK); // B_ENTRY_NOT_FOUND
1397 CHK(helper.GetIcon(mime, bmp) == B_OK);
1401 CHK(helper.GetIcon(mime, bmp) != B_OK);
1421 CHK(helper.GetIcon(mime, bmp) == B_OK);
1424 CHK(helper.GetIcon(mime, bmp) == B_OK);
1430 CHK(helper.GetIcon(mime, &testBmp) != B_OK); // R5 == B_BAD_VALUE
1449 CHK(helper.GetIcon(mime, bmp) == B_OK);
1452 CHK(helper.GetIcon(mime, bmp) == B_OK);
1458 CHK(helper.GetIcon(mime, &testBmp) != B_OK); // R5 == B_BAD_VALUE
1483 CHK(helper.GetIcon(mime, bmp) == B_OK);
1487 // and any subsequent call to GetIcon() will cause the application to crash...
1488 CHK(helper.GetIcon(mime, bmp) == B_OK); // R5 == CRASH!, Haiku == Damn right I can handle that shit
1509 CHK(helper.GetIcon(mime, bmp) == B_OK);
1514 CHK(helper.GetIcon(mime, bmp) == B_OK);
1564 // Verify GetIcon() does the same thing
1567 CHK(mime.GetIcon(bmp, helper.Size()) == B_OK);
1572 CHK(mime.GetIcon(bmp, helper.Size()) != B_OK); // B_ENTRY_NOT_FOUND
3899 CHK(type.GetIcon(&icon, B_MINI_ICON) == B_OK);
3905 CHK(type.GetIcon(&icon, B_LARGE_ICON) == B_OK);
4888 + status_t GetIcon(BBitmap *icon, icon_size size) const;