OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thumbPos
(Results
1 - 5
of
5
) sorted by null
/external/webkit/Source/WebCore/platform/wx/wxcode/
scrollbar_render.h
61
float
thumbPos
= ((float)current / (float)max) * ((float)physicalLength - thumbSize);
63
*thumbStart =
thumbPos
;
/external/webkit/Source/WebCore/platform/gtk/
ScrollbarThemeGtk.cpp
177
int
thumbPos
= thumbPosition(scrollbar);
179
return IntRect(trackRect.x() +
thumbPos
, trackRect.y() + (trackRect.height() - m_thumbFatness) / 2, thumbLength(scrollbar), m_thumbFatness);
182
return IntRect(trackRect.x() + (trackRect.width() - m_thumbFatness) / 2, trackRect.y() +
thumbPos
, m_thumbFatness, thumbLength(scrollbar));
/external/webkit/Source/WebCore/platform/
Scrollbar.cpp
180
int
thumbPos
= scrollbar->theme()->trackPosition(scrollbar) + scrollbar->theme()->thumbPosition(scrollbar);
182
return scrollbar->pressedPos() >=
thumbPos
&& scrollbar->pressedPos() <
thumbPos
+ thumbLength;
259
int
thumbPos
= theme()->thumbPosition(this);
265
delta = min(maxPos -
thumbPos
, delta);
267
delta = max(-
thumbPos
, delta);
270
float newPosition = static_cast<float>(
thumbPos
+ delta) * maximum() / (trackLen - thumbLen);
ScrollbarThemeComposite.cpp
247
int
thumbPos
= thumbPosition(scrollbar);
249
thumbRect = IntRect(trackRect.x() +
thumbPos
, trackRect.y() + (trackRect.height() - thickness) / 2, thumbLength(scrollbar), thickness);
250
beforeThumbRect = IntRect(trackRect.x(), trackRect.y(),
thumbPos
+ thumbRect.width() / 2, trackRect.height());
253
thumbRect = IntRect(trackRect.x() + (trackRect.width() - thickness) / 2, trackRect.y() +
thumbPos
, thickness, thumbLength(scrollbar));
254
beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), trackRect.width(),
thumbPos
+ thumbRect.height() / 2);
/frameworks/base/core/java/android/widget/
Switch.java
580
final int
thumbPos
= (int) (mThumbPosition + 0.5f);
581
int thumbLeft = switchInnerLeft - mTempRect.left +
thumbPos
;
582
int thumbRight = switchInnerLeft +
thumbPos
+ mThumbWidth + mTempRect.right;
Completed in 7907 milliseconds