/haiku/src/preferences/screensaver/ |
H A D | Utility.h | 11 return BPoint(area.Width() * x + area.left, area.Height() * y + area.top); 18 return BRect(area.Width() * x1 + area.left, area.Height() * y1 + area.top, 19 area.Width()* x2 + area.left, area.Height() * y2 + area.top);
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | log2f.c | 29 uint32_t ix, iz, top, tmp; local 54 top = tmp & 0xff800000; 55 iz = ix - top;
|
/haiku/src/apps/pulse/ |
H A D | ProgressBar.cpp | 22 float height = (r.bottom - r.top) - 8; 24 segments[counter].rect.Set(r.left + (counter * 7), r.top, 25 (r.left + (counter * 7) + 5), r.top + height); 114 start.Set(left, bounds.top); 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.left, frame.top), BPoint(frame.left, 162 StrokeLine(BPoint(frame.left + 1, frame.top), [all...] |
H A D | NormalPulseView.cpp | 201 StrokeLine(BPoint(innerRect.left, innerRect.top + 1), 203 StrokeLine(BPoint(innerRect.right, innerRect.top + 1), 205 StrokeLine(BPoint(innerRect.left + 1, innerRect.top), 206 BPoint(innerRect.right - 1, innerRect.top), B_MIXED_COLORS); 213 StrokeLine(BPoint(innerRect.left, innerRect.top + 6), 215 StrokeLine(BPoint(innerRect.right, innerRect.top + 6), 217 StrokeLine(BPoint(innerRect.left + 6, innerRect.top), 218 BPoint(innerRect.right - 6, innerRect.top), B_MIXED_COLORS); 225 StrokeLine(BPoint(innerRect.left, innerRect.top + 7), 227 StrokeLine(BPoint(innerRect.right, innerRect.top [all...] |
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_rssadapt.c | 86 int flags = 0, i, rateidx = 0, thridx, top; local 91 for (i = 0, top = IEEE80211_RSSADAPT_BKT0; 93 i++, top <<= IEEE80211_RSSADAPT_BKTPOWER) { 95 if (len <= top) 180 u_int i, thridx, top; local 192 for (i = 0, top = IEEE80211_RSSADAPT_BKT0; 194 i++, top <<= IEEE80211_RSSADAPT_BKTPOWER) { 196 if (id->id_len <= top) 220 int i, rate, top; local 230 for (i = 0, top [all...] |
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestCases.cpp | 28 int y = (int)(rect.top + rect.IntegerHeight() / 2); 142 points[1] = BPoint(frame.left, frame.top); 143 points[1] = BPoint(frame.left, frame.top); 144 points[3] = BPoint(frame.right, frame.top); 153 points[1] = BPoint(frame.left, frame.top); 154 points[1] = BPoint(frame.left, frame.top); 155 points[3] = BPoint(frame.right, frame.top); 186 points[0] = BPoint(frame.left, frame.top); 188 points[2] = BPoint(frame.right, frame.top); 199 points[0] = BPoint(frame.left, frame.top); [all...] |
/haiku/src/preferences/appearance/ |
H A D | ColorPreview.cpp | 73 BPoint(bounds.left, bounds.top), shadow); 74 AddLine(BPoint(bounds.left + 1.0, bounds.top), 75 BPoint(bounds.right, bounds.top), shadow); 76 AddLine(BPoint(bounds.right, bounds.top + 1.0), 85 BPoint(bounds.left, bounds.top), darkShadow); 86 AddLine(BPoint(bounds.left + 1.0, bounds.top), 87 BPoint(bounds.right, bounds.top), darkShadow); 88 AddLine(BPoint(bounds.right, bounds.top + 1.0), 155 rect.top = roundf(rect.bottom / 2.0f + 1); 251 ++rect.top; [all...] |
/haiku/src/apps/terminal/ |
H A D | ColorPreview.cpp | 73 BPoint(bounds.left, bounds.top), shadow); 74 AddLine(BPoint(bounds.left + 1.0, bounds.top), 75 BPoint(bounds.right, bounds.top), shadow); 76 AddLine(BPoint(bounds.right, bounds.top + 1.0), 85 BPoint(bounds.left, bounds.top), darkShadow); 86 AddLine(BPoint(bounds.left + 1.0, bounds.top), 87 BPoint(bounds.right, bounds.top), darkShadow); 88 AddLine(BPoint(bounds.right, bounds.top + 1.0), 155 rect.top = roundf(rect.bottom / 2.0f + 1); 251 ++rect.top; [all...] |
/haiku/src/libs/print/libprint/ |
H A D | ValidRect.cpp | 77 int top; local 78 for (top = fTop; top <= fBottom; top ++) { 85 return top; 158 fTop = rect->top; 163 // get top bound 189 rect->top = fTop;
|
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | support_ui.cpp | 26 stroke_frame(BView* v, BRect r, rgb_color left, rgb_color top, argument 32 BPoint(r.left, r.top), left); 33 v->AddLine(BPoint(r.left + 1.0, r.top), 34 BPoint(r.right, r.top), top); local 35 v->AddLine(BPoint(r.right, r.top + 1.0), 94 // top or left border 166 if (frame.top < screenFrame.top) 167 frame.OffsetBy(0.0, (screenFrame.top [all...] |
/haiku/src/bin/network/ppp_up/ |
H A D | PPPStatusView.cpp | 42 rect.bottom = rect.top + 25; 48 rect.top += 5; 49 rect.bottom = rect.top + 15; 61 rect.top += 35; 67 rect.bottom = rect.top + 15; 71 rect.top = rect.bottom + 5; 72 rect.bottom = rect.top + 15; 83 rect.bottom = rect.top + 15; 87 rect.top = rect.bottom + 5; 88 rect.bottom = rect.top [all...] |
H A D | ConnectionView.cpp | 64 rect.bottom = rect.top 72 rect.bottom = rect.top + 20; 74 rect.top = rect.bottom + 5; 75 rect.bottom = rect.top + 20; 85 rect.top = rect.bottom + 5; 86 rect.bottom = rect.top + 20; 95 rect.top = rect.bottom + 10; 96 rect.bottom = rect.top + 15; 101 rect.top = rect.bottom + 5; 102 rect.bottom = rect.top [all...] |
/haiku/src/system/libroot/posix/stdlib/ |
H A D | radixsort.c | 135 const u_char **an, *t, **aj, **top[256]; local 177 * Set top[]; push incompletely sorted bins onto stack. 178 * top[] = pointers to last out-of-place element in bins. 180 * Before permuting: top[c-1] + count[c] = top[c]; 181 * during deal: top[c] counts down to top[c-1]. 185 if (endch == 0) /* Special case: set top[eos]. */ 186 top[0] = ak = a + count[0]; 189 top[25 233 const u_char **top[256]; local [all...] |
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | BitmapPainter.cpp | 44 fBitmapBounds.OffsetBy(-fBitmapBounds.left, -fBitmapBounds.top); 68 fBitmapBounds.left, fBitmapBounds.top, 71 sourceRect.left, sourceRect.top, 74 destinationRect.left, destinationRect.top, 210 if (sourceRect.top < fBitmapBounds.top) { 211 float diff = fBitmapBounds.top - sourceRect.top; 212 fDestinationRect.top += diff * fScaleY; 213 sourceRect.top [all...] |
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPJob.cpp | 246 &imageableArea.right, &imageableArea.bottom, &imageableArea.top); 247 fprintf(stderr, "GPJob imageable area left %f, top %f, right %f, " 249 imageableArea.left, imageableArea.top, imageableArea.right, 261 // GPBand offset is relative to imageable area left, top 262 // but it has to be absolute to left, top of page 266 imageableArea.top, offsetX, offsetY); 279 int top = (int)fPrintRect.top; local 283 fprintf(stderr, "GPJob bitmap bands frame left %d, top %d, width %d, " 285 left, top, widt 292 double top; local 322 int top = fPrintRect.top; local [all...] |
/haiku/src/system/kernel/util/ |
H A D | AVLTreeBase.cpp | 386 node_info* top = stack; local 396 top->node = node; 398 top->left = true; 401 top->left = false; 404 top++; 415 if (top == bottom) 418 (*node)->parent = *top[-1].node; 422 while (result == HEIGHT_CHANGED && top != bottom) { 423 top--; 424 node = top 498 AVLTreeNode*** top = stack; local [all...] |
/haiku/src/apps/showimage/ |
H A D | SelectionBox.cpp | 92 if (where.y >= bounds.top) 95 bounds.top = where.y; 151 view->StrokeLine(BPoint(r.left, r.top), BPoint(r.right, r.top), 153 view->StrokeLine(BPoint(r.right, r.top + 1), BPoint(r.right, r.bottom - 1), 157 view->StrokeLine(BPoint(r.left, r.top + 1), BPoint(r.left, r.bottom - 1),
|
/haiku/src/kits/tracker/ |
H A D | OverrideAlert.cpp | 105 // places it on top of the calling window if possible. 114 // on top of it. This allows name editing confirmations to 120 float midY = (desirableRect.top * 3.0f + desirableRect.bottom) / 4.0f; 124 desirableRect.top = midY - ceilf(height / 3.0f); 125 desirableRect.bottom = desirableRect.top + height; 131 float midY = (desirableRect.top * 3.0f + desirableRect.bottom) / 4.0f; 135 desirableRect.top = midY - ceilf(height / 3.0f); 136 desirableRect.bottom = desirableRect.top + height;
|
/haiku/headers/private/interface/ |
H A D | ShapePrivate.h | 77 bounds.top = ptList[0].y; 85 if (bounds.top > ptList[i].y) 86 bounds.top = ptList[i].y;
|
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | vga.cpp | 44 int32 left, int32 top, int32 right, int32 bottom) 55 uint8 *dst = info->frame_buffer + top * dstBPR + left / 8; 59 for (int32 y = top; y <= bottom; y++) { 43 vga_planar_blit(vesa_shared_info *info, uint8 *src, int32 srcBPR, int32 left, int32 top, int32 right, int32 bottom) argument
|
/haiku/src/add-ons/accelerants/neomagic/ |
H A D | Acceleration.c | 90 list[i].top, 91 (list[i].bottom-list[i].top)+1 111 list[i].top, 112 (list[i].bottom-list[i].top)+1
|
/haiku/src/add-ons/accelerants/nvidia/ |
H A D | Acceleration.c | 11 moved DMA acceleration 'top-level' routines to be integrated in the engine: 110 list[i].top, 111 (list[i].bottom-list[i].top)+1 132 list[i].top, 133 (list[i].bottom-list[i].top)+1
|
/haiku/src/add-ons/accelerants/skeleton/ |
H A D | Acceleration.c | 93 list[i].top, 94 (list[i].bottom-list[i].top)+1 114 list[i].top, 115 (list[i].bottom-list[i].top)+1
|
/haiku/src/add-ons/accelerants/via/ |
H A D | Acceleration.c | 93 list[i].top, 94 (list[i].bottom-list[i].top)+1 114 list[i].top, 115 (list[i].bottom-list[i].top)+1
|
/haiku/src/apps/launchbox/ |
H A D | support.h | 27 rgb_color left, rgb_color top,
|