Searched refs:frame (Results 1 - 25 of 959) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp32 static void testNoOp(BView *view, BRect frame) argument
37 static void testDrawChar(BView *view, BRect frame) argument
39 view->MovePenTo(frame.left, frame.bottom - 5);
42 view->DrawChar('B', BPoint(frame.left + 20, frame.bottom - 5));
45 static void testDrawString(BView *view, BRect frame) argument
51 float baseline = frame.bottom - height.descent;
54 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame
60 testDrawStringWithLength(BView *view, BRect frame) argument
76 testDrawStringWithOffsets(BView* view, BRect frame) argument
104 testDrawStringWithoutPosition(BView* view, BRect frame) argument
125 testFillArc(BView *view, BRect frame) argument
131 testStrokeArc(BView *view, BRect frame) argument
137 testFillBezier(BView *view, BRect frame) argument
148 testStrokeBezier(BView *view, BRect frame) argument
159 testFillEllipse(BView *view, BRect frame) argument
170 testStrokeEllipse(BView *view, BRect frame) argument
181 testFillPolygon(BView *view, BRect frame) argument
194 testStrokePolygon(BView *view, BRect frame) argument
207 testFillRect(BView *view, BRect frame) argument
213 testFillRectGradientLinear(BView* view, BRect frame) argument
222 testFillRectGradientRadial(BView* view, BRect frame) argument
231 testFillRectGradientRadialFocus(BView* view, BRect frame) argument
240 testFillRectGradientDiamond(BView* view, BRect frame) argument
249 testFillRectGradientConic(BView* view, BRect frame) argument
258 testStrokeRect(BView *view, BRect frame) argument
264 testFillRegion(BView *view, BRect frame) argument
273 testFillRegionGradientLinear(BView* view, BRect frame) argument
285 testFillRegionGradientRadial(BView* view, BRect frame) argument
297 testFillRegionGradientRadialFocus(BView* view, BRect frame) argument
309 testFillRegionGradientDiamond(BView* view, BRect frame) argument
321 testFillRegionGradientConic(BView* view, BRect frame) argument
333 testFillRoundRect(BView *view, BRect frame) argument
339 testFillRoundRectGradientLinear(BView* view, BRect frame) argument
348 testFillRoundRectGradientRadial(BView* view, BRect frame) argument
357 testFillRoundRectGradientRadialFocus(BView* view, BRect frame) argument
365 testFillRoundRectGradientDiamond(BView* view, BRect frame) argument
374 testFillRoundRectGradientConic(BView* view, BRect frame) argument
383 testStrokeRoundRect(BView *view, BRect frame) argument
389 testFillTriangle(BView *view, BRect frame) argument
399 testFillTriangleGradientLinear(BView* view, BRect frame) argument
412 testFillTriangleGradientRadial(BView* view, BRect frame) argument
425 testFillTriangleGradientRadialFocus(BView* view, BRect frame) argument
438 testFillTriangleGradientDiamond(BView* view, BRect frame) argument
451 testFillTriangleGradientConic(BView* view, BRect frame) argument
464 testStrokeTriangle(BView *view, BRect frame) argument
474 testStrokeLine(BView *view, BRect frame) argument
488 testFillShape(BView *view, BRect frame) argument
499 testStrokeShape(BView *view, BRect frame) argument
510 testRecordPicture(BView *view, BRect frame) argument
519 testRecordAndPlayPicture(BView *view, BRect frame) argument
530 testRecordAndPlayPictureWithOffset(BView *view, BRect frame) argument
547 testAppendToPicture(BView *view, BRect frame) argument
567 testDrawScaledPicture(BView* view, BRect frame) argument
584 testLineArray(BView *view, BRect frame) argument
601 testInvertRect(BView *view, BRect frame) argument
607 testInvertRectSetDrawingMode(BView *view, BRect frame) argument
645 testDrawBitmap(BView *view, BRect frame) argument
651 testDrawBitmapAtPoint(BView *view, BRect frame) argument
664 testDrawBitmapAtRect(BView *view, BRect frame) argument
672 testDrawLargeBitmap(BView *view, BRect frame) argument
683 testConstrainClippingRegion(BView *view, BRect frame) argument
704 testClipToPicture(BView *view, BRect frame) argument
720 testClipToInversePicture(BView *view, BRect frame) argument
737 testSetPenSize(BView *view, BRect frame) argument
769 testSetPenSize2(BView *view, BRect frame) argument
784 testPattern(BView *view, BRect frame) argument
804 testSetOrigin(BView *view, BRect frame) argument
824 testSetOrigin2(BView *view, BRect frame) argument
836 testSetScale(BView *view, BRect frame) argument
843 testSetScale2(BView *view, BRect frame) argument
855 testSetScale3(BView *view, BRect frame) argument
870 testSetOriginAndScale(BView *view, BRect frame) argument
884 testSetOriginAndScale2(BView *view, BRect frame) argument
902 testSetOriginAndScale3(BView *view, BRect frame) argument
920 testSetOriginAndScale4(BView *view, BRect frame) argument
947 testSetOriginAndScale5(BView *view, BRect frame) argument
967 testSetFontSize(BView *view, BRect frame) argument
984 testSetFontFamilyAndStyle(BView *view, BRect frame) argument
1003 testSetDrawingMode(BView *view, BRect frame) argument
1015 testPushPopState(BView *view, BRect frame) argument
1026 testFontRotation(BView* view, BRect frame) argument
1041 testClipToRect(BView* view, BRect frame) argument
1052 testClipToInverseRect(BView* view, BRect frame) argument
1063 testClipToShape(BView* view, BRect frame) argument
1077 testClipToInverseShape(BView* view, BRect frame) argument
[all...]
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DFrameInterface.cpp16 L2capFrame* frame; local
24 frame = iterator.Next();
25 if (frame->type == L2CAP_C_FRAME && frame->ident == ident) {
26 mutex_unlock(&frame->conn->fLockExpected);
27 return frame;
38 TimeoutSignal(L2capFrame* frame, uint32 timeo) argument
40 if (frame != NULL)
48 unTimeoutSignal(L2capFrame* frame) argument
50 if (frame !
64 L2capFrame* frame = new (std::nothrow) L2capFrame; local
89 L2capFrame* frame = new (std::nothrow) L2capFrame; local
110 AcknowledgeSignal(L2capFrame* frame) argument
136 QueueSignal(L2capFrame* frame) argument
[all...]
H A DFrameInterface.h14 TimeoutSignal(L2capFrame* frame, uint32 timeo);
17 unTimeoutSignal(L2capFrame* frame);
20 SpawmFrame(HciConnection* conn, L2capChannel* channel, net_buffer* buffer, frame_type frame);
26 AcknowledgeSignal(L2capFrame* frame);
29 QueueSignal(L2capFrame* frame);
/haiku/src/kits/debugger/model/
H A DStackTrace.cpp16 for (int32 i = 0; StackFrame* frame = FrameAt(i); i++)
17 frame->ReleaseReference();
22 StackTrace::AddFrame(StackFrame* frame) argument
24 if (fStackFrames.AddItem(frame))
27 frame->ReleaseReference();
/haiku/src/system/kernel/arch/ppc/
H A Darch_debug.cpp58 stack_frame *frame; local
59 asm volatile("mr %0, %%r1" : "=r"(frame));
60 return frame;
67 stack_frame frame; local
68 if (debug_memcpy(B_CURRENT_TEAM, &frame, (void*)framePointer, sizeof(frame))
73 *ip = frame.return_address;
74 *next = (addr_t)frame.previous;
182 kprintf("frame caller <image>:function + offset\n");
185 // see if the frame pointe
186 struct iframe *frame = NULL; local
263 stack_frame* frame = (stack_frame*)get_current_stack_frame(); local
286 struct stack_frame *frame = get_current_stack_frame()->previous; local
[all...]
/haiku/src/system/kernel/arch/x86/64/
H A Dthread.cpp75 x86_restart_syscall(iframe* frame) argument
82 // Get back the original system call number and modify the frame to
84 frame->ax = frame->orig_rax;
85 frame->ip -= 2;
113 get_signal_stack(Thread* thread, iframe* frame, struct sigaction* action, argument
119 && (frame->user_sp < thread->signal_stack_base
120 || frame->user_sp >= thread->signal_stack_base
130 return (uint8*)((frame->user_sp - 128 - spaceNeeded) & ~addr_t(0xf)) - 8;
236 iframe frame
284 iframe* frame = x86_get_current_iframe(); local
362 iframe* frame = x86_get_current_iframe(); local
[all...]
/haiku/src/apps/soundrecorder/
H A DDrawButton.cpp11 DrawButton::DrawButton(BRect frame, const char *name, const unsigned char *on, argument
13 : BControl(frame, name, "", msg, resize, flags | B_WILL_DRAW),
14 fOn(frame, B_CMAP8),
15 fOff(frame, B_CMAP8),
18 fOff.SetBits(off, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8);
19 fOn.SetBits(on, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8);
/haiku/src/apps/cortex/ValControl/
H A DValCtrlLayoutEntry.cpp54 // e.frame.left, e.frame.top, e.frame.right, e.frame.bottom));
55 e.pView->MoveTo(e.frame.LeftTop());
56 e.pView->ResizeTo(e.frame.Width(), e.frame.Height());
/haiku/src/system/kernel/arch/x86/
H A Darch_thread.cpp31 extern "C" void x86_return_to_userland(iframe* frame);
40 find_previous_iframe(Thread* thread, addr_t frame) argument
43 while (frame >= thread->kernel_stack_base
44 && frame < thread->kernel_stack_top) {
45 addr_t previousFrame = *(addr_t*)frame;
49 return (struct iframe*)frame;
52 frame = previousFrame;
60 get_previous_iframe(struct iframe* frame) argument
62 if (frame == NULL)
65 return find_previous_iframe(thread_get_current_thread(), frame
93 struct iframe* frame = get_current_iframe(); local
115 struct iframe* frame = find_previous_iframe(thread, local
163 x86_initial_return_to_userland(Thread* thread, iframe* frame) argument
260 struct iframe* frame = get_current_iframe(); local
275 struct iframe* frame = x86_get_current_iframe(); local
[all...]
H A Darch_debug.cpp73 stack_frame frame; local
75 && is_kernel_stack_address(thread, bp + sizeof(frame) - 1)) {
76 memcpy(&frame, (void*)bp, sizeof(frame));
78 || user_memcpy(&frame, (void*)bp, sizeof(frame)) != B_OK) {
82 *_ip = frame.return_address;
83 *_next = (addr_t)frame.previous;
94 stack_frame frame; local
95 if (debug_memcpy(B_CURRENT_TEAM, &frame, (voi
426 print_iframe(iframe* frame) argument
550 is_iframe(Thread* thread, addr_t frame) argument
562 find_previous_iframe(Thread* thread, addr_t frame) argument
577 get_previous_iframe(Thread* thread, iframe* frame) argument
607 iframe* frame = get_current_iframe(debug_get_debugged_thread()); local
719 iframe* frame = (iframe*)bp; local
883 struct iframe *frame = (struct iframe *)ebp; local
956 iframe* frame = find_previous_iframe(thread, x86_get_stack_frame()); local
1050 stack_frame* frame = (stack_frame*)x86_get_stack_frame(); local
1092 iframe* frame = (iframe*)bp; local
1123 stack_frame* frame = (stack_frame*)x86_get_stack_frame(); local
1163 iframe* frame = (iframe*)bp; local
1203 iframe* frame = get_current_iframe(debug_get_debugged_thread()); local
1287 iframe* frame = get_current_iframe(debug_get_debugged_thread()); local
[all...]
H A Darch_int.cpp87 x86_invalid_exception(iframe* frame) argument
92 frame->vector, exception_name(frame->vector, name, sizeof(name)),
93 frame->ip, thread ? thread->id : -1);
98 x86_fatal_exception(iframe* frame) argument
102 exception_name(frame->vector, name, sizeof(name)), frame->error_code);
107 x86_unexpected_exception(iframe* frame) argument
115 switch (frame->vector) {
120 signalAddress = frame
216 x86_hardware_interrupt(struct iframe* frame) argument
264 x86_page_fault_exception(struct iframe* frame) argument
[all...]
/haiku/src/apps/processcontroller/
H A DNoiseBarMenuItem.cpp52 BRect frame = Frame(); local
55 frame.right -= 24;
56 frame.left = frame.right - kBarWidth;
57 frame.top += kBarPadding;
58 frame.bottom -= kBarPadding;
70 menu->StrokeRect(frame);
73 frame.InsetBy(1, 1);
74 BRect r = frame;
75 float grenze1 = frame
[all...]
/haiku/src/system/kernel/arch/x86/32/
H A Dthread.cpp85 x86_restart_syscall(struct iframe* frame) argument
92 frame->ax = frame->orig_eax;
93 frame->dx = frame->orig_edx;
94 frame->ip -= 2;
125 get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action, argument
131 && (frame->user_sp < thread->signal_stack_base
132 || frame->user_sp >= thread->signal_stack_base
138 return (uint8*)((frame
297 struct iframe *frame = x86_get_current_iframe(); local
371 struct iframe* frame = x86_get_current_iframe(); local
[all...]
/haiku/src/tests/servers/app/draw_after_children/
H A DDrawAfterChildren.cpp59 TestView(BRect frame);
67 TestView::TestView(BRect frame) argument
68 : BView(frame, "TestView", B_FOLLOW_ALL,
114 ChildView(BRect frame, const char* name, rgb_color viewColor);
121 ChildView::ChildView(BRect frame, const char* name, rgb_color viewColor) argument
122 : BView(frame, name, B_FOLLOW_ALL, 0)
151 BRect frame(100, 100, 700, 400);
152 BWindow* window = new BWindow(frame, "Window",
155 frame.OffsetTo(B_ORIGIN);
156 TestView* view = new TestView(frame);
[all...]
/haiku/src/system/kernel/arch/m68k/
H A Darch_debug.cpp59 stack_frame *frame; local
60 asm volatile("move.l %%fp,%0" : "=r"(frame));
61 return frame;
68 stack_frame frame; local
69 if (debug_memcpy(B_CURRENT_TEAM, &frame, (void*)framePointer, sizeof(frame))
74 *ip = frame.return_address;
75 *next = (addr_t)frame.previous;
182 kprintf("frame caller <image>:function + offset\n");
185 // see if the frame pointe
186 struct iframe *frame = NULL; local
277 struct stack_frame *frame; local
315 struct iframe *frame = NULL; local
[all...]
/haiku/src/apps/login/
H A DLoginWindow.h12 LoginWindow(BRect frame);
/haiku/src/system/kernel/arch/arm/
H A Darch_int.cpp93 print_iframe(const char *event, struct iframe *frame) argument
100 frame->r0, frame->r1, frame->r2, frame->r3,
101 frame->r4, frame->r5, frame->r6, frame->r7);
104 frame
237 arch_arm_data_abort(struct iframe *frame) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wb840/
H A Dinterface.c96 wb_mii_readreg(wb_device *device, wb_mii_frame *frame) argument
101 * Set up frame for RX.
103 frame->mii_stdelim = WB_MII_STARTDELIM;
104 frame->mii_opcode = WB_MII_READOP;
105 frame->mii_turnaround = 0;
106 frame->mii_data = 0;
120 mii_send(device, frame->mii_stdelim, 2);
121 mii_send(device, frame->mii_opcode, 2);
122 mii_send(device, frame->mii_phyaddr, 5);
123 mii_send(device, frame
186 wb_mii_writereg(wb_device *device, wb_mii_frame *frame) argument
228 struct wb_mii_frame frame; local
243 struct wb_mii_frame frame; local
[all...]
/haiku/src/add-ons/translators/shared/
H A DTranslatorWindow.cpp104 BRect frame = scrn.Frame(); local
105 frame.InsetBy(10, 23);
106 // if the point is outside of the screen frame,
108 if (!frame.Contains(wndpt)) {
114 if (wndpt.x < frame.left)
115 wndpt.x = frame.left;
116 if (wndpt.y < frame.top)
117 wndpt.y = frame.top;
118 if (wndpt.x > frame.right)
119 wndpt.x = frame
[all...]
/haiku/src/apps/pulse/
H A DProgressBar.cpp156 BRect frame = Bounds(); local
157 StrokeLine(BPoint(frame.left, frame.top), BPoint(frame.right, frame.top));
158 StrokeLine(BPoint(frame.left, frame.top + 1), BPoint(frame.right,
159 frame.top + 1));
160 StrokeLine(BPoint(frame
[all...]
/haiku/src/apps/launchbox/
H A Dsupport.cpp89 make_sure_frame_is_on_screen(BRect& frame, BWindow* window) argument
95 if (frame.IsValid() && screen->IsValid()) {
97 if (!screenFrame.Contains(frame)) {
98 // make sure frame fits in the screen
99 if (frame.Width() > screenFrame.Width())
100 frame.right -= frame.Width() - screenFrame.Width() + 10.0;
101 if (frame.Height() > screenFrame.Height())
102 frame.bottom -= frame
[all...]
/haiku/src/apps/haiku3d/
H A DApp.cpp31 BRect frame(50, 50, 640 + 50, 480 + 50);
33 fMainWindow = new MainWindow(frame, title);
/haiku/src/bin/network/ppp_up/
H A DPPPStatusWindow.cpp9 PPPStatusWindow::PPPStatusWindow(BRect frame, ppp_interface_id id) argument
10 : BWindow(frame, "", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE,
/haiku/src/tests/servers/app/playground/
H A Dmain.cpp20 BRect frame(50.0, 50.0, 600.0, 400.0);
21 BWindow* window = new ObjectWindow(frame, B_TRANSLATE_SYSTEM_NAME("Playground"));
/haiku/src/apps/deskcalc/
H A DCalcWindow.cpp33 CalcWindow::CalcWindow(BRect frame, BMessage* settings) argument
35 BWindow(frame, kAppName, B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS
47 frame.OffsetTo(B_ORIGIN);
51 BRect replicantFrame(frame);
62 if (settings->FindRect("window frame", &rect) == B_OK)
65 SetFrame(frame, true);
148 status_t ret = archive->AddRect("window frame", Frame());
157 CalcWindow::SetFrame(BRect frame, bool forceCenter) argument
159 // make sure window frame is on screen (center, if not)
162 if (forceCenter || !screenFrame.Contains(frame)) {
[all...]

Completed in 220 milliseconds

1234567891011>>