Searched refs:owner (Results 1 - 25 of 236) sorted by relevance

12345678910

/haiku/src/preferences/appearance/
H A DColorWhichItem.cpp38 ColorWhichItem::DrawItem(BView* owner, BRect frame, bool complete) argument
40 rgb_color highColor = owner->HighColor();
41 rgb_color lowColor = owner->LowColor();
45 owner->SetHighUIColor(B_LIST_SELECTED_BACKGROUND_COLOR);
46 owner->SetLowColor(owner->HighColor());
48 owner->SetHighColor(lowColor);
50 owner->FillRect(frame);
59 owner->SetHighColor(fColor);
60 owner
[all...]
/haiku/src/kits/shared/
H A DColorItem.cpp39 ColorItem::DrawItem(BView* owner, BRect frame, bool complete) argument
41 rgb_color highColor = owner->HighColor();
42 rgb_color lowColor = owner->LowColor();
46 owner->SetHighUIColor(B_LIST_SELECTED_BACKGROUND_COLOR);
47 owner->SetLowColor(owner->HighColor());
49 owner->SetHighColor(lowColor);
51 owner->FillRect(frame);
62 owner->SetHighColor(fColor);
63 owner
[all...]
/haiku/src/add-ons/screen_savers/gravity/
H A DRainbowItem.cpp38 RainbowItem::DrawItem(BView* owner, BRect frame, bool complete) argument
40 rgb_color highColor = owner->HighColor();
41 rgb_color lowColor = owner->LowColor();
45 owner->SetHighUIColor(B_LIST_SELECTED_BACKGROUND_COLOR);
46 owner->SetLowColor(owner->HighColor());
48 owner->SetHighColor(lowColor);
50 owner->FillRect(frame);
71 owner->FillRect(colorRect, gradient);
74 owner
[all...]
H A DRainbowItem.h19 virtual void DrawItem(BView* owner, BRect frame, bool complete);
/haiku/src/tests/kits/interface/flatten_picture/
H A DTestResultItem.cpp34 TestResultItem::DrawItem(BView *owner, BRect itemRect, bool drawEverthing) argument
36 owner->SetDrawingMode(B_OP_COPY);
38 owner->PushState();
40 rgb_color lowColor = owner->LowColor();
41 owner->SetHighColor(tint_color(lowColor, B_DARKEN_2_TINT));
44 owner->SetHighColor(200, 255, 200);
47 owner->SetHighColor(255, 200, 200);
49 owner->FillRect(itemRect);
50 owner->PopState();
54 owner
98 Update(BView *owner, const BFont *font) argument
143 DrawItem(BView *owner, BRect itemRect, bool drawEverthing) argument
176 Update(BView *owner, const BFont *font) argument
[all...]
/haiku/src/system/libroot/posix/unistd/
H A Dchown.c18 common_chown(int fd, const char* path, bool followLinks, uid_t owner, argument
25 if (owner != (uid_t)-1) {
26 stat.st_uid = owner;
42 chown(const char *path, uid_t owner, gid_t group) argument
44 return common_chown(-1, path, true, owner, group);
49 lchown(const char *path, uid_t owner, gid_t group) argument
51 return common_chown(-1, path, false, owner, group);
56 fchown(int fd, uid_t owner, gid_t group) argument
58 return common_chown(fd, NULL, false, owner, group);
63 fchownat(int fd, const char* path, uid_t owner, gid_ argument
[all...]
/haiku/src/preferences/network/
H A DServiceListItem.cpp43 ServiceListItem::DrawItem(BView* owner, BRect bounds, bool complete) argument
45 owner->PushState();
47 rgb_color lowColor = owner->LowColor();
51 owner->SetHighColor(ui_color(B_LIST_SELECTED_BACKGROUND_COLOR));
52 owner->SetLowColor(owner->HighColor());
54 owner->SetHighColor(lowColor);
56 owner->FillRect(bounds);
69 owner->SetDrawingMode(B_OP_OVER);
77 owner
93 Update(BView* owner, const BFont* font) argument
[all...]
H A DInterfaceListItem.cpp64 InterfaceListItem::DrawItem(BView* owner, BRect bounds, bool complete) argument
66 owner->PushState();
68 rgb_color lowColor = owner->LowColor();
72 owner->SetHighColor(ui_color(B_LIST_SELECTED_BACKGROUND_COLOR));
73 owner->SetLowColor(owner->HighColor());
75 owner->SetHighColor(lowColor);
77 owner->FillRect(bounds);
95 owner->SetDrawingMode(B_OP_ALPHA);
96 owner
138 Update(BView* owner, const BFont* font) argument
[all...]
H A DNetworkSettingsAddOn.cpp132 BNetworkInterfaceListItem::DrawItem(BView* owner, BRect bounds, bool complete) argument
134 owner->PushState();
138 owner->SetHighColor(ui_color(B_LIST_SELECTED_BACKGROUND_COLOR));
139 owner->SetLowColor(owner->HighColor());
141 owner->SetHighColor(owner->LowColor());
143 owner->FillRect(bounds);
157 owner->SetHighColor(tint_color(textColor, B_DARKEN_1_TINT));
159 owner
182 Update(BView* owner, const BFont* font) argument
[all...]
/haiku/src/preferences/time/
H A DTimeZoneListItem.cpp49 TimeZoneListItem::DrawItem(BView* owner, BRect frame, bool complete) argument
53 _DrawItemWithTextOffset(owner, frame, complete,
60 owner->SetDrawingMode(B_OP_OVER);
61 owner->DrawBitmap(fIcon, iconFrame);
62 owner->SetDrawingMode(B_OP_COPY);
64 _DrawItemWithTextOffset(owner, frame, complete, 0);
69 TimeZoneListItem::Update(BView* owner, const BFont* font) argument
72 BStringItem::Update(owner, font);
139 TimeZoneListItem::_DrawItemWithTextOffset(BView* owner, BRect frame, argument
142 rgb_color highColor = owner
[all...]
/haiku/src/kits/package/hpkg/
H A DBlockBufferPool.cpp44 BBlockBufferPool::GetBuffer(size_t size, PoolBuffer** owner, argument
50 return fImpl->GetBuffer(size, owner, _newBuffer);
55 BBlockBufferPool::PutBufferAndCache(PoolBuffer** owner) argument
58 fImpl->PutBufferAndCache(owner);
63 BBlockBufferPool::PutBuffer(PoolBuffer** owner) argument
66 fImpl->PutBuffer(owner);
H A DBlockBufferPoolImpl.cpp58 BlockBufferPoolImpl::GetBuffer(size_t size, PoolBuffer** owner, bool* _newBuffer) argument
62 return _AllocateBuffer(size, owner, _newBuffer);
66 // if an owner is given and the buffer is still cached, return it
67 if (owner != NULL && *owner != NULL) {
68 PoolBuffer* buffer = *owner;
79 buffer->SetOwner(owner);
81 if (owner != NULL)
82 *owner = buffer;
94 buffer->SetOwner(owner);
111 PutBufferAndCache(PoolBuffer** owner) argument
144 PutBuffer(PoolBuffer** owner) argument
169 _AllocateBuffer(size_t size, PoolBuffer** owner, bool* _newBuffer) argument
[all...]
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp47 DeviceListItem::DrawItem(BView* owner, BRect itemRect, bool complete) argument
57 color = owner->ViewColor();
59 owner->SetHighColor(color);
60 owner->SetLowColor(color);
61 owner->FillRect(itemRect);
62 owner->SetHighColor(kBlack);
65 owner->SetLowColor(owner->ViewColor());
73 owner->SetFont(be_fixed_font);
74 owner
125 Update(BView* owner, const BFont* font) argument
[all...]
/haiku/src/kits/debugger/files/
H A DLocatableEntry.cpp24 LocatableEntry::LocatableEntry(LocatableEntryOwner* owner, argument
27 fOwner(owner),
/haiku/src/apps/bootmanager/
H A DDrivesPage.cpp47 virtual void DrawItem(BView* owner, BRect frame,
49 virtual void Update(BView* owner, const BFont* font);
122 DriveItem::DrawItem(BView* owner, BRect frame, bool complete) argument
124 owner->PushState();
125 owner->SetDrawingMode(B_OP_ALPHA);
129 owner->SetHighColor(ui_color(B_LIST_SELECTED_BACKGROUND_COLOR));
130 owner->SetLowColor(owner->HighColor());
132 owner->SetHighColor(owner
226 Update(BView* owner, const BFont* font) argument
[all...]
/haiku/headers/os/package/hpkg/
H A DBufferPool.h28 PoolBuffer** owner = NULL,
30 virtual void PutBufferAndCache(PoolBuffer** owner) = 0;
31 // caller is buffer owner and wants the
33 virtual void PutBuffer(PoolBuffer** owner) = 0;
34 // puts the buffer for good, owner might
/haiku/headers/private/package/hpkg/
H A DBlockBufferPoolImpl.h37 PoolBuffer** owner = NULL,
39 void PutBufferAndCache(PoolBuffer** owner);
40 void PutBuffer(PoolBuffer** owner);
47 PoolBuffer** owner, bool* _newBuffer);
/haiku/src/preferences/printers/
H A DJobListView.cpp253 JobItem::Update(BView *owner, const BFont *font) argument
255 BListItem::Update(owner, font);
265 JobItem::DrawItem(BView *owner, BRect, bool complete) argument
267 BListView* list = dynamic_cast<BListView*>(owner);
270 owner->GetFont(&font);
278 rgb_color color = owner->ViewColor();
279 rgb_color oldLowColor = owner->LowColor();
280 rgb_color oldHighColor = owner->HighColor();
285 owner->SetHighColor(color);
286 owner
[all...]
/haiku/src/kits/interface/
H A DStringItem.cpp73 BStringItem::DrawItem(BView* owner, BRect frame, bool complete) argument
78 rgb_color lowColor = owner->LowColor();
85 color = owner->ViewColor();
87 owner->SetLowColor(color);
88 owner->FillRect(frame, B_SOLID_LOW);
90 owner->SetLowColor(owner->ViewColor());
92 owner->MovePenTo(frame.left + be_control_look->DefaultLabelSpacing(),
95 owner->DrawString(fText);
97 owner
120 Update(BView* owner, const BFont* font) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DNoJournal.h24 status_t Lock(Transaction* owner, bool separateSubTransactions);
25 status_t Unlock(Transaction* owner, bool success);
/haiku/src/bin/debug/profile/
H A DImage.cpp9 Image::Image(SharedImage* image, const image_info& info, team_id owner, argument
14 fOwner(owner),
/haiku/src/preferences/joysticks/
H A DPortItem.cpp20 PortItem::DrawItem(BView *owner, BRect frame, bool complete) argument
22 BStringItem::DrawItem(owner, frame, complete);
/haiku/src/system/kernel/device_manager/
H A DIOSchedulerSimple.cpp173 IORequestOwner& owner = fAllocatedRequestOwners[i]; local
174 owner.team = -1;
175 owner.thread = -1;
176 owner.priority = B_IDLE_PRIORITY;
177 fUnusedRequestOwners.Add(&owner);
244 IORequestOwner* owner = _GetRequestOwner(request->TeamID(), local
246 if (owner == NULL) {
255 bool wasActive = owner->IsActive();
256 request->SetOwner(owner);
257 owner
367 IORequestOwner* owner = request->Owner(); local
480 _NextActiveRequestOwner(IORequestOwner*& owner, off_t& quantum) argument
588 IORequestOwner* owner = NULL; local
789 IORequestOwner* owner = fRequestOwners->Lookup(thread); local
[all...]
/haiku/src/apps/devices/
H A DResourceUsageWindow.cpp60 IRQDMAItem::DrawItem(BView *owner, BRect itemRect, bool complete) argument
70 color = owner->ViewColor();
72 owner->SetHighColor(color);
73 owner->SetLowColor(color);
74 owner->FillRect(itemRect);
75 owner->SetHighColor(kBlack);
78 owner->SetLowColor(owner->ViewColor());
87 owner->SetHighColor(kBlack);
88 owner
130 DrawItem(BView *owner, BRect itemRect, bool complete) argument
[all...]
/haiku/src/apps/switcher/
H A DWindowsView.cpp153 void SetText(BView* owner, const BString& text) argument
156 owner->TruncateString(&fText, B_TRUNCATE_MIDDLE, 200);
157 SetWidth((int32)ceilf(owner->StringWidth(fText.String())));
160 owner->GetFontHeight(&fontHeight);
205 virtual void Draw(BView* owner, BRect frame, int32 index, bool selected) argument
207 owner->SetLowColor(owner->ViewColor());
208 owner->MovePenTo(frame.left, frame.top + fBaselineOffset);
209 owner->DrawString(fText);
222 virtual void SetTo(BView* owner, voi argument
235 Draw(BView* owner, BRect frame, int32 index, bool selected) argument
248 SetTo(BView* owner, void* item) argument
259 Draw(BView* owner, BRect frame, int32 index, bool selected) argument
[all...]

Completed in 200 milliseconds

12345678910