/frameworks/base/core/jni/ |
android_view_VelocityTracker.cpp | 51 void computeCurrentVelocity(int32_t units, float maxVelocity); 80 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { 93 if (vx > maxVelocity) { 94 vx = maxVelocity; 95 } else if (vx < -maxVelocity) { 96 vx = -maxVelocity; 98 if (vy > maxVelocity) { 99 vy = maxVelocity; 100 } else if (vy < -maxVelocity) { 101 vy = -maxVelocity; [all...] |
/frameworks/base/core/java/android/view/ |
VelocityTracker.java | 44 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); 148 * @param maxVelocity The maximum velocity that can be computed by this method. 152 public void computeCurrentVelocity(int units, float maxVelocity) { 153 nativeComputeCurrentVelocity(mPtr, units, maxVelocity);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Animation/ |
api-balls-keyframe-animations.html | 65 var maxVelocity = 500; 91 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
api-set-current-time-balls-keyframe-animations.html | 65 var maxVelocity = 500; 91 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-canvas.html | 65 var maxVelocity = 500; 114 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-composited-transform.html | 65 var maxVelocity = 500; 98 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-javascript.html | 65 var maxVelocity = 500; 104 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-keyframe-animations.html | 65 var maxVelocity = 500; 98 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-svg.html | 65 var maxVelocity = 500; 95 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-transition-10-properties.html | 65 var maxVelocity = 500; 88 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-transition-20-properties.html | 65 var maxVelocity = 500; 88 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-transition-40-properties.html | 65 var maxVelocity = 500; 88 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-transition-all.html | 65 var maxVelocity = 500; 88 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
balls-transitions.html | 65 var maxVelocity = 500; 88 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestRunner.random());
|
/external/chromium_org/tools/perf/page_sets/tough_animation_cases/ |
balls_css_keyframe_animations.html | 65 var maxVelocity = 500; 96 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_css_keyframe_animations_composited_transform.html | 65 var maxVelocity = 500; 96 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_css_transition_2_properties.html | 65 var maxVelocity = 500; 86 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_css_transition_40_properties.html | 65 var maxVelocity = 500; 86 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_css_transition_all_properties.html | 65 var maxVelocity = 500; 86 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_javascript_canvas.html | 65 var maxVelocity = 500; 112 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_javascript_css.html | 65 var maxVelocity = 500; 102 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
balls_svg_animations.html | 65 var maxVelocity = 500; 93 var velocity = minVelocity + ((maxVelocity - minVelocity) * PerfTestHelper.random());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 440 float maxVelocity = MAX_DISMISS_VELOCITY * mDensityScale; 441 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, maxVelocity);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
SwipeHelper.java | 398 float maxVelocity = MAX_DISMISS_VELOCITY * mDensityScale; 399 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, maxVelocity);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeHelper.java | 403 float maxVelocity = MAX_DISMISS_VELOCITY * mDensityScale; 404 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, maxVelocity);
|