Home
last modified time | relevance | path

Searched refs:fViewBounds (Results 1 – 8 of 8) sorted by relevance

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