Searched refs:renderProgress (Results 1 - 8 of 8) sorted by relevance

/external/webkit/Source/WebCore/rendering/
H A DRenderThemeChromiumSkia.cpp552 IntRect RenderThemeChromiumSkia::determinateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const argument
554 int dx = rect.width() * renderProgress->position();
555 if (renderProgress->style()->direction() == RTL)
560 IntRect RenderThemeChromiumSkia::indeterminateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const argument
568 double progress = renderProgress->animationProgress();
579 double RenderThemeChromiumSkia::animationDurationForProgressBar(RenderProgress* renderProgress) const
584 IntRect RenderThemeChromiumSkia::progressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const argument
586 return renderProgress->isDeterminate() ? determinateProgressValueRectFor(renderProgress, rect) : indeterminateProgressValueRectFor(renderProgress, rec
[all...]
H A DRenderThemeChromiumWin.cpp761 double RenderThemeChromiumWin::animationDurationForProgressBar(RenderProgress* renderProgress) const
777 RenderProgress* renderProgress = toRenderProgress(o);
780 IntRect valueRect = renderProgress->isDeterminate() ? determinateProgressValueRectFor(renderProgress, r) : IntRect(0, 0, 0, 0);
781 double animatedSeconds = renderProgress->animationStartTime() ? WTF::currentTime() - renderProgress->animationStartTime() : 0;
783 PlatformBridge::paintProgressBar(painter.context(), r, valueRect, renderProgress->isDeterminate(), animatedSeconds);
H A DRenderThemeChromiumLinux.cpp330 RenderProgress* renderProgress = toRenderProgress(o);
331 IntRect valueRect = progressValueRectFor(renderProgress, rect);
334 extraParams.progressBar.determinate = renderProgress->isDeterminate();
H A DRenderThemeMac.mm938 RenderProgress* renderProgress = toRenderProgress(renderObject);
941 trackInfo.kind = renderProgress->position() < 0 ? kThemeLargeIndeterminateBar : kThemeLargeProgressBar;
945 trackInfo.value = lround(renderProgress->position() * nextafter(trackInfo.max, 0));
946 trackInfo.trackInfo.progress.phase = lround(renderProgress->animationProgress() * nextafter(progressAnimationNumFrames, 0));
960 if (!renderProgress->style()->isLeftToRightDirection()) {
/external/webkit/Source/WebCore/platform/qt/
H A DRenderThemeQt.h143 virtual double animationRepeatIntervalForProgressBar(RenderProgress* renderProgress) const;
145 virtual double animationDurationForProgressBar(RenderProgress* renderProgress) const;
H A DRenderThemeQt.cpp832 double RenderThemeQt::animationRepeatIntervalForProgressBar(RenderProgress* renderProgress) const
834 if (renderProgress->position() >= 0)
842 double RenderThemeQt::animationDurationForProgressBar(RenderProgress* renderProgress) const
844 if (renderProgress->position() >= 0)
848 option.rect.setSize(renderProgress->size());
851 return (option.rect.width() / qStyle()->pixelMetric(QStyle::PM_ProgressBarChunkWidth, &option)) * animationRepeatIntervalForProgressBar(renderProgress);
872 RenderProgress* renderProgress = toRenderProgress(o); local
876 option.progress = (renderProgress->position() * std::numeric_limits<int>::max());
889 if (renderProgress->style()->direction() == RTL)
890 p.painter->fillRect(option.rect.right() - chunkWidth - renderProgress
[all...]
/external/webkit/Source/WebCore/platform/gtk/
H A DRenderThemeGtk.cpp647 RenderProgress* renderProgress = toRenderProgress(renderObject); local
648 if (renderProgress->isDeterminate()) {
649 int progressWidth = progressRect.width() * renderProgress->position();
656 double animationProgress = renderProgress->animationProgress();
/external/webkit/Source/WebCore/platform/efl/
H A DRenderThemeEfl.cpp313 RenderProgress* renderProgress = toRenderProgress(object); local
320 value = renderProgress->position();

Completed in 88 milliseconds