Searched refs:movableWidth (Results 1 - 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/rendering/
H A DRenderThemeChromiumSkia.cpp564 int movableWidth = rect.width() - valueWidth; local
565 if (movableWidth <= 0)
570 return IntRect(rect.x() + progress * 2 * movableWidth, rect.y(), valueWidth, rect.height());
571 return IntRect(rect.x() + (1.0 - progress) * 2 * movableWidth, rect.y(), valueWidth, rect.height());
/external/webkit/Source/WebCore/platform/gtk/
H A DRenderThemeGtk.cpp660 int movableWidth = progressRect.width() - newWidth; local
668 progressRect.setX(progressRect.x() + (animationProgress * 2 * movableWidth));
670 progressRect.setX(progressRect.x() + ((1.0 - animationProgress) * 2 * movableWidth));

Completed in 705 milliseconds