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

1 2 3 4 5 6 7 8

  /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;
  /frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
Force.java 24 float getAcceleration(float position, float velocity);
26 boolean isAtEquilibrium(float value, float velocity);
FlingAnimation.java 23 * velocity) and gradually slows down. The fling animation will come to a stop when the velocity of
33 * // Sets the start velocity to -2000 (pixel/s)
128 * Start velocity of the animation. Default velocity is 0. Unit: pixel/second
130 * <p>A <b>non-zero</b> start velocity is required for a FlingAnimation. If no start velocity is
131 * set through {@link #setStartVelocity(float)}, the start velocity defaults to 0. In that
134 * <p>Note when using a fixed value as the start velocity (as opposed to getting the velocity
    [all...]
  /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.7/
velocity-1.7.jar 
  /prebuilts/tools/common/m2/repository/org/apache/velocity/velocity/1.5/
velocity-1.5.jar 
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
FlingAnimationUtils.java 62 * @param velocity the current velocity of the motion
64 public void apply(Animator animator, float currValue, float endValue, float velocity) {
65 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
75 * @param velocity the current velocity of the motion
78 ViewPropertyAnimator animator, float currValue, float endValue, float velocity) {
79 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
89 * @param velocity the current velocity of the motio
272 private float velocity; field in class:FlingAnimationUtils.VelocityInterpolator
    [all...]
  /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...]
Interpolator.java 20 * Helper class for interpolating velocity over time given a target velocity and acceleration.
21 * The current velocity will be accelerated towards the target until the target is reached.
23 * the target velocity.
35 // Rather than simply interpolating acceleration and velocity for each time step
36 // (as in, position += (velocity * time); velocity += (acceleration * time);),
37 // we actually perform the work needed to calculate the integral of velocity with respect to
40 // The integral of velocity is:
49 // change in position = velocity * time + (0.5 * acceleration * (time^2)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
FlingAnimationUtils.java 104 * @param velocity the current velocity of the motion
106 public void apply(Animator animator, float currValue, float endValue, float velocity) {
107 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
117 * @param velocity the current velocity of the motion
120 float velocity) {
121 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
131 * @param velocity the current velocity of the motio
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
RecentsComponent.java 45 * @param velocity the velocity of the finger when releasing it in pixels per second
47 void onDraggingInRecentsEnded(float velocity);
  /packages/apps/Launcher2/src/com/android/launcher2/
SmoothPagedView.java 119 protected void snapToPageWithVelocity(int whichPage, int velocity) {
121 super.snapToPageWithVelocity(whichPage, velocity);
127 private void snapToPageWithVelocity(int whichPage, int velocity, boolean settle) {
147 velocity = Math.abs(velocity);
148 if (velocity > 0) {
149 duration += (duration / (velocity / mBaseLineFlingVelocity)) * mFlingVelocityInfluence;
  /prebuilts/misc/windows/sdl2/test/
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...]
  /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
SawVoice.java 36 public void noteOn(int noteIndex, int velocity) {
37 super.noteOn(noteIndex, velocity);
SynthVoice.java 33 public void noteOn(int noteIndex, int velocity) {
36 setAmplitude(velocity / 128.0f);
  /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
SawVoice.java 36 public void noteOn(int noteIndex, int velocity) {
37 super.noteOn(noteIndex, velocity);
SynthVoice.java 33 public void noteOn(int noteIndex, int velocity) {
36 setAmplitude(velocity / 128.0f);
  /developers/samples/android/common/src/java/com/example/android/common/midi/synth/
SawVoice.java 36 public void noteOn(int noteIndex, int velocity) {
37 super.noteOn(noteIndex, velocity);
SynthVoice.java 33 public void noteOn(int noteIndex, int velocity) {
36 setAmplitude(velocity / 128.0f);
  /development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
SawVoice.java 36 public void noteOn(int noteIndex, int velocity) {
37 super.noteOn(noteIndex, velocity);
SynthVoice.java 33 public void noteOn(int noteIndex, int velocity) {
36 setAmplitude(velocity / 128.0f);
  /development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
SawVoice.java 36 public void noteOn(int noteIndex, int velocity) {
37 super.noteOn(noteIndex, velocity);
SynthVoice.java 33 public void noteOn(int noteIndex, int velocity) {
36 setAmplitude(velocity / 128.0f);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
IRecentsNonSystemUserCallbacks.aidl 37 void onDraggingInRecentsEnded(float velocity);
  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
NotificationSwipeActionHelper.java 37 public void dismiss(View animView, float velocity);
42 public void snap(View animView, float velocity, float targetLeft);
57 public boolean swipedFastEnough(float translation, float velocity);

Completed in 447 milliseconds

1 2 3 4 5 6 7 8