/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 | |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
LockscreenGestureLogger.java | 46 public void write(int gesture, int length, int velocity) { 50 .addTaggedData(MetricsEvent.FIELD_GESTURE_VELOCITY, velocity)); 52 EventLogTags.writeSysuiLockscreenGesture(safeLookup(gesture), length, velocity); local
|
/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:__anon31359
|
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...] |
/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 | |
/frameworks/native/libs/vr/libdvr/include/dvr/ |
dvr_pose.h | 33 // Start-space angular velocity x,y,z,pad in radians per second. 35 // Start-space positional velocity x,y,z,pad in meters per second. 36 float32x4_t velocity; member in struct:DvrPoseAsync 74 // The angular velocity where the x,y,z is the rotation axis and the 83 float32x4_t velocity; member in struct:DvrPose
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerSnappingTest.java | 117 // Velocity small enough to not scroll to the next view. 118 int velocity = (int) (1.000001 * mRecyclerView.getMinFlingVelocity()); local 119 int velocityDir = mReverseScroll ? -velocity : velocity; 143 // Velocity high enough to scroll beyond the current view. 144 int velocity = (int) (0.25 * mRecyclerView.getMaxFlingVelocity()); local 145 int velocityDir = mReverseScroll ? -velocity : velocity;
|
LinearLayoutManagerSnappingTest.java | 139 // Velocity small enough to not scroll to the next view. 140 int velocity = (int) (1.000001 * mRecyclerView.getMinFlingVelocity()); local 141 int velocityDir = mReverseScroll ? -velocity : velocity; 164 // Velocity high enough to scroll beyond the current view. 165 int velocity = (int) (0.2 * mRecyclerView.getMaxFlingVelocity()); local 166 int velocityDir = mReverseScroll ? -velocity : velocity;
|
PagerSnapHelperTest.java | 132 // Velocity small enough to not scroll to the next view. 133 int velocity = (int) (1.000001 * mRecyclerView.getMinFlingVelocity()); local 134 int velocityDir = mReverseScroll ? -velocity : velocity; 179 private void runSnapOnMaxFlingNextView(int velocity) throws Throwable { 184 int velocityDir = mReverseScroll ? -velocity : velocity;
|
StaggeredGridLayoutManagerSnappingTest.java | 157 // Velocity small enough to not scroll to the next view. 158 int velocity = (int) (1.000001 * mRecyclerView.getMinFlingVelocity()); local 159 int velocityDir = mReverseScroll ? -velocity : velocity; 183 // Velocity high enough to scroll beyond the current view. 184 int velocity = (int) (0.2 * mRecyclerView.getMaxFlingVelocity()); local 185 int velocityDir = mReverseScroll ? -velocity : velocity;
|
/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:__anon55986
|
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
SpringAnimationHandler.java | 37 * Supports setting either X or Y velocity on the list of springs added to this handler. 63 * Determines which direction we use to calculate and set the velocity. 138 * @param setVelocity If true, we set the velocity to {@link #mCurrentVelocity} before 164 * manually set the velocity. 166 public void animateToPositionWithVelocity(float position, int startValue, float velocity) { 169 + ", velocity=" + velocity); 172 mCurrentVelocity = velocity; 208 float velocity = isVerticalDirection() local 211 velocity *= VELOCITY_DAMPING_FACTOR [all...] |
/external/skia/samplecode/ |
SampleLitAtlas.cpp | 71 SkVector newVel = fShip.velocity(); 391 const SkPoint& velocity() const { return fVelocity; } function in class:DrawLitAtlasDrawable::ObjectRecord 392 void setVelocity(const SkPoint& velocity) { fVelocity = velocity; }
|
/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...] |
/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...] |