HomeSort by relevance Sort by last modified time
    Searched defs:velocity (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
DraggingInRecentsEndedEvent.java 10 public final float velocity; field in class:DraggingInRecentsEndedEvent
12 public DraggingInRecentsEndedEvent(float velocity) {
13 this.velocity = velocity;
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/
plexus-velocity-1.1.7.jar 
  /prebuilts/tools/common/m2/repository/org/apache/velocity/velocity/1.5/
velocity-1.5.jar 
  /external/sonivox/arm-wt-22k/lib_src/
eas_otadata.h 74 EAS_U8 velocity; /* current volume */ member in struct:__anon23270
eas_imelody.c 885 EAS_U8 velocity; local
898 velocity = (EAS_U8) (pData->volume ? pData->volume * IMELODY_VEL_MUL + IMELODY_VEL_OFS : 0);
902 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, velocity);
    [all...]
eas_synth.h 285 EAS_U8 velocity; /* 0 <= velocity <= 127 */ member in struct:s_synth_voice_tag
288 EAS_U8 nextVelocity; /* 0 <= velocity <= 127 */
  /prebuilts/misc/windows/sdl2/test/
testnative.c 89 SDL_Rect *position, *velocity; local
102 velocity = &velocities[i];
103 position->x += velocity->x;
105 velocity->x = -velocity->x;
106 position->x += velocity->x;
108 position->y += velocity->y;
110 velocity->y = -velocity->y;
111 position->y += velocity->y
    [all...]
testspriteminimal.c 92 SDL_Rect *position, *velocity; local
101 velocity = &velocities[i];
102 position->x += velocity->x;
104 velocity->x = -velocity->x;
105 position->x += velocity->x;
107 position->y += velocity->y;
109 velocity->y = -velocity->y;
110 position->y += velocity->y
    [all...]
testsprite2.c 109 SDL_Rect *position, *velocity; local
197 velocity = &velocities[i];
198 position->x += velocity->x;
200 velocity->x = -velocity->x;
201 position->x += velocity->x;
203 position->y += velocity->y;
205 velocity->y = -velocity->y;
206 position->y += velocity->y
    [all...]
  /prebuilts/tools/common/m2/repository/org/apache/velocity/velocity/1.7/
velocity-1.7.jar 
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
FlingScroller.java 25 // (1) The velocity does not change because of min/max limit.
32 // The fling duration (in milliseconds) when velocity is 1 pixel/second
85 double velocity = Math.hypot(velocityX, velocityY); local
86 mSinAngle = velocityY / velocity;
87 mCosAngle = velocityX / velocity;
90 // velocity formula: v(t) = d * (e - s) * (1 - t / T) ^ (d - 1) / T
97 * Math.pow(Math.abs(velocity), 1.0 / (DECELERATED_FACTOR - 1)));
101 velocity * mDuration / DECELERATED_FACTOR / 1000);
137 // velocity formula: v(t) = d * (e - s) * (1 - t / T) ^ (d - 1) / T
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/
Xfixes.h 264 int x2, int y2, int directions, int velocity,
288 int velocity; member in struct:__anon38812
  /external/replicaisland/src/com/replica/replicaisland/
NPCAnimationComponent.java 125 final Vector2 velocity = parentObject.getVelocity(); local
126 if (velocity.y < FALL_SPEED_THRESHOLD) {
137 final Vector2 velocity = parentObject.getVelocity(); local
138 if (velocity.y > JUMP_SPEED_THRESHOLD) {
148 final Vector2 velocity = parentObject.getVelocity(); local
149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) {
158 final Vector2 velocity = parentObject.getVelocity(); local
161 if ((velocity.x < 0.0f && parentObject.touchingLeftWall())
162 || (velocity.x > 0.0f && parentObject.touchingRightWall())) {
193 final Vector2 velocity = parentObject.getVelocity() local
219 final Vector2 velocity = parentObject.getVelocity(); local
256 final Vector2 velocity = parentObject.getVelocity(); local
292 final Vector2 velocity = parentObject.getVelocity(); local
303 final Vector2 velocity = parentObject.getVelocity(); local
321 final Vector2 velocity = parentObject.getVelocity(); local
    [all...]
  /frameworks/base/core/jni/
android_view_VelocityTracker.cpp 33 // Special constant to request the velocity of the active pointer.
57 struct Velocity {
64 Velocity mCalculatedVelocity[MAX_POINTERS];
105 Velocity& velocity = mCalculatedVelocity[index]; local
106 velocity.vx = vx;
107 velocity.vy = vy;
119 const Velocity& velocity = mCalculatedVelocity[index]; local
120 vx = velocity.vx
    [all...]
  /frameworks/base/core/java/android/widget/
Scroller.java 249 * Returns the current velocity.
251 * @return The original velocity less the deceleration. Result may be
402 * depend on the initial velocity of the fling.
406 * @param velocityX Initial velocity of the fling (X) measured in pixels per
408 * @param velocityY Initial velocity of the fling (Y) measured in pixels per
444 float velocity = (float) Math.hypot(velocityX, velocityY); local
446 mVelocity = velocity;
447 mDuration = getSplineFlingDuration(velocity);
452 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java 326 * @param velocity The desired pixels/second speed at which the view should move
329 public void dismissChild(final View view, float velocity, boolean useAccelerateInterpolator) {
330 dismissChild(view, velocity, null /* endAction */, 0 /* delay */,
336 * @param velocity The desired pixels/second speed at which the view should move
342 public void dismissChild(final View animView, float velocity, final Runnable endAction,
350 boolean animateUpForMenu = velocity == 0 && (getTranslation(animView) == 0 || isDismissAll)
353 boolean animateLeftForRtl = velocity == 0 && (getTranslation(animView) == 0 || isDismissAll)
355 boolean animateLeft = velocity < 0
356 || (velocity == 0 && getTranslation(animView) < 0 && !isDismissAll);
366 if (velocity != 0)
580 float velocity = getVelocity(mVelocityTracker); field in class:SwipeHelper
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java 198 * Returns the current velocity.
200 * @return The original velocity less the deceleration. Result may be
349 * depend on the initial velocity of the fling.
353 * @param velocityX Initial velocity of the fling (X) measured in pixels per
355 * @param velocityY Initial velocity of the fling (Y) measured in pixels per
391 float velocity = (float) Math.hypot(velocityX, velocityY); local
393 mVelocity = velocity;
394 final double l = Math.log(START_TENSION * velocity / ALPHA);
400 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DeleteDropTarget.java 273 // Calculate how far along the velocity vector we should put the intermediate point on
275 float velocity = Math.abs(vel.length()); local
276 float vp = Math.min(1f, velocity / (config.getScaledMaximumFlingVelocity() / 2f));
318 * Creates an animation from the current drag view along its current velocity vector.
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java 227 * Returns the current velocity.
229 * @return The original velocity less the deceleration. Result may be
386 * depend on the initial velocity of the fling.
390 * @param velocityX Initial velocity of the fling (X) measured in pixels per
392 * @param velocityY Initial velocity of the fling (Y) measured in pixels per
428 float velocity = (float) Math.hypot(velocityX, velocityY); local
430 mVelocity = velocity;
431 mDuration = getSplineFlingDuration(velocity);
436 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity;
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
MediaPickerPanel.java 476 final float velocity = maxAbsDelta / dt; local
477 return velocity > mFlingThresholdPx;
497 // component and has the required velocity (px/sec)
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeHelper.java 263 * @param velocity The desired pixels/second speed at which the view should
266 private void dismissChild(final SwipeableItemView view, float velocity) {
269 float newPos = determinePos(animView, velocity);
270 int duration = determineDuration(animView, newPos, velocity);
293 private static int determineDuration(View animView, float newPos, float velocity) {
295 if (velocity != 0) {
299 .abs(velocity)));
306 private float determinePos(View animView, float velocity) {
308 if (velocity < 0 || (velocity == 0 && animView.getTranslationX() < 0
406 float velocity = getVelocity(mVelocityTracker); local
    [all...]
  /external/dagger2/lib/
auto-value-1.0.jar 
  /external/sonivox/arm-wt-22k/host_src/
eas_types.h 241 EAS_U8 velocity; member in struct:s_ext_audio_event_tag
  /frameworks/base/core/java/com/android/internal/widget/
RotarySelector.java 551 final int velocity = Math.max(mMinimumVelocity, rawVelocity); local
554 Math.abs(velocity / mDimpleSpacing));
558 velocity);
571 final int velocity = Math.min(-mMinimumVelocity, rawVelocity); local
574 Math.abs(velocity / mDimpleSpacing));
578 velocity);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskStackViewTouchHandler.java 153 /** Velocity tracker helpers */
242 // Initialize the velocity tracker
331 int velocity = (int) mVelocityTracker.getYVelocity(mActivePointerId); local
335 } else if (Math.abs(velocity) > mMinimumVelocity) {
340 mScroller.fling(mDownScrollP, mDownY, y, velocity, (int) minY, (int) maxY,

Completed in 2090 milliseconds

1 2 3 4