OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thumbPos
(Results
1 - 3
of
3
) sorted by null
/external/webkit/WebCore/platform/wx/wxcode/
scrollbar_render.h
61
float
thumbPos
= ((float)current / (float)max) * ((float)physicalLength - thumbSize);
63
*thumbStart =
thumbPos
;
/external/webkit/WebCore/platform/
ScrollbarThemeComposite.cpp
245
int
thumbPos
= thumbPosition(scrollbar);
247
thumbRect = IntRect(trackRect.x() +
thumbPos
, trackRect.y() + (trackRect.height() - thickness) / 2, thumbLength(scrollbar), thickness);
248
beforeThumbRect = IntRect(trackRect.x(), trackRect.y(),
thumbPos
+ thumbRect.width() / 2, trackRect.height());
251
thumbRect = IntRect(trackRect.x() + (trackRect.width() - thickness) / 2, trackRect.y() +
thumbPos
, thickness, thumbLength(scrollbar));
252
beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), trackRect.width(),
thumbPos
+ thumbRect.height() / 2);
Scrollbar.cpp
190
int
thumbPos
= scrollbar->theme()->trackPosition(scrollbar) + scrollbar->theme()->thumbPosition(scrollbar);
192
return scrollbar->pressedPos() >=
thumbPos
&& scrollbar->pressedPos() <
thumbPos
+ thumbLength;
269
int
thumbPos
= theme()->thumbPosition(this);
275
delta = min(maxPos -
thumbPos
, delta);
277
delta = max(-
thumbPos
, delta);
279
setCurrentPos(static_cast<float>(
thumbPos
+ delta) * maximum() / (trackLen - thumbLen));
Completed in 68 milliseconds