OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sustainTimeLeft
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollAnimatorNone.cpp
300
double
sustainTimeLeft
= std::max(0., timeLeft - releaseTimeLeft - attackTimeLeft);
310
m_desiredVelocity = remainingDelta / (attackAreaLeft +
sustainTimeLeft
+ releaseAreaLeft);
317
if (
sustainTimeLeft
) {
318
double roundOff = m_releasePosition - ((attackAreaLeft ? m_attackPosition : *m_currentPosition) + m_desiredVelocity *
sustainTimeLeft
);
319
m_desiredVelocity += roundOff /
sustainTimeLeft
;
/external/chromium_org/third_party/WebKit/Source/web/tests/
ScrollAnimatorNoneTest.cpp
281
double
sustainTimeLeft
= std::max(0., timeLeft - releaseTimeLeft - attackTimeLeft);
293
double expectedReleasePosition = startPosition +
sustainTimeLeft
* m_data->m_desiredVelocity;
311
double
sustainTimeLeft
= std::max(0., timeLeft - releaseTimeLeft - attackTimeLeft);
323
EXPECT_GE(fabs(distanceLeft /
sustainTimeLeft
) * 1.2, fabs(m_data->m_currentVelocity));
[
all
...]
Completed in 68 milliseconds