Home
last modified time | relevance | path

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

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