Searched refs:fViewBounds (Results 1 - 8 of 8) sorted by last modified time

/haiku/src/tests/servers/app/benchmark/
H A DHorizontalLineTest.cpp25 fViewBounds(0, 0, -1, -1)
38 fViewBounds = view->Bounds();
54 view->StrokeLine(BPoint(fViewBounds.left + 1, y),
55 BPoint(fViewBounds.right - 1, y));
61 if (y > fViewBounds.bottom)
85 printf("Line width: %ld\n", fViewBounds.IntegerWidth() + 1 - 2);
86 printf("Lines per iteration: %ld\n", fViewBounds.IntegerHeight() / 2);
H A DHorizontalLineTest.h31 BRect fViewBounds; member in class:HorizontalLineTest
H A DRandomLineTest.cpp26 fViewBounds(0, 0, -1, -1)
39 fViewBounds = view->Bounds();
52 float vMiddle = (fViewBounds.top + fViewBounds.bottom) / 2;
58 a.x = random_number_between(fViewBounds.left, fViewBounds.right);
59 a.y = random_number_between(fViewBounds.top, vMiddle);
61 b.x = random_number_between(fViewBounds.left, fViewBounds.right);
62 b.y = random_number_between(vMiddle, fViewBounds
[all...]
H A DRandomLineTest.h32 BRect fViewBounds; member in class:RandomLineTest
H A DStringTest.cpp46 fViewBounds = view->Bounds();
50 while (view->StringWidth(string.String()) < fViewBounds.Width() - 10)
52 while (view->StringWidth(string.String()) > fViewBounds.Width() - 10)
86 if (textLocation.y > fViewBounds.bottom)
H A DStringTest.h33 BRect fViewBounds; member in class:StringTest
H A DVerticalLineTest.cpp25 fViewBounds(0, 0, -1, -1)
38 fViewBounds = view->Bounds();
54 view->StrokeLine(BPoint(x, fViewBounds.top + 1),
55 BPoint(x, fViewBounds.bottom - 1));
61 if (x > fViewBounds.right)
85 printf("Line height: %ld\n", fViewBounds.IntegerHeight() + 1 - 2);
86 printf("Lines per iteration: %ld\n", fViewBounds.IntegerWidth() / 2);
H A DVerticalLineTest.h31 BRect fViewBounds; member in class:VerticalLineTest

Completed in 45 milliseconds