Lines Matching refs:source
49 icon_source source = kNoIcon;
54 source = kOwnIcon;
56 if (source == kNoIcon) {
64 source = kApplicationIcon;
68 if (source == kNoIcon) {
74 source = kSupertypeIcon;
83 source = kSupertypeIcon;
89 if (source != kNoIcon) {
94 *_source = source;
96 return source != kNoIcon ? B_OK : B_ERROR;
104 icon_source source = kNoIcon;
107 source = kOwnIcon;
109 if (source == kNoIcon) {
117 source = kApplicationIcon;
121 if (source == kNoIcon) {
127 source = kSupertypeIcon;
136 source = kSupertypeIcon;
143 *_source = source;
145 return source != kNoIcon ? B_OK : B_ERROR;
162 Icon::Icon(const Icon& source)
169 *this = source;
392 BBitmap* source;
395 source = fLarge;
398 source = fMini;
404 if (source == NULL)
407 BBitmap* bitmap = new (nothrow) BBitmap(source);
457 BBitmap* source = (width > B_LARGE_ICON && fLarge != NULL) || fMini == NULL
459 if (source == NULL)
469 view->DrawBitmap(source, bitmap->Bounds());
487 Icon::operator=(const Icon& source)
491 SetData(source.fData, source.fSize);
492 SetLarge(source.fLarge);
493 SetMini(source.fMini);