Home
last modified time | relevance | path

Searched refs:velocity (Results 1 – 25 of 36) sorted by relevance

12

/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/interfaces/1_interface_declarations/
Dinterface_declarations_1.ts33 getS(): { rate: number,velocity: number; };
41 getS(): { rate: number, velocity: number;};
47 getS(): { rate: number, velocity: number,play:string};
54 let result1: { rate: number,velocity: number; } = { variable
56 velocity:123,
58 let result2: { velocity: number,rate: number,} = {
59 velocity: 1,
62 let ToRun: {velocity: number, rate: number, play: string} = {
63 velocity: 1314,
70 getS(): {rate: number, velocity: number} {
[all …]
Dinterface_declarations_2.ts32 getS(): { velocity: number; };
46 getS(): { velocity: number; rate: number; };
49 let result: { velocity: number; rate: number; } = {
50 velocity: 1,
58 getS(): { velocity: number; rate: number; } {
/third_party/libinput/src/
Dfilter-touchpad-x230.c65 double velocity; /* units/us */ member
89 void *data, double velocity, uint64_t time) in acceleration_profile() argument
91 return accel->profile(&accel->base, data, velocity, time); in acceleration_profile()
109 double velocity, in calculate_acceleration() argument
117 factor = acceleration_profile(accel, data, velocity, time); in calculate_acceleration()
121 (last_velocity + velocity) / 2, in calculate_acceleration()
140 double velocity; /* units/us */ in accelerator_filter_x230() local
154 velocity = trackers_velocity(&accel->trackers, time); in accelerator_filter_x230()
157 velocity, in accelerator_filter_x230()
160 accel->last_velocity = velocity; in accelerator_filter_x230()
Dfilter.c208 double velocity; in trackers_velocity() local
234 velocity = calculate_trackers_velocity(tracker, in trackers_velocity()
244 result = velocity; in trackers_velocity()
252 result = initial_velocity = velocity; in trackers_velocity()
255 velocity_diff = fabs(initial_velocity - velocity); in trackers_velocity()
259 result = velocity; in trackers_velocity()
282 double velocity, in calculate_acceleration_simpsons() argument
290 factor = profile(filter, data, velocity, time); in calculate_acceleration_simpsons()
293 (last_velocity + velocity) / 2, in calculate_acceleration_simpsons()
Dfilter-trackpoint.c50 double velocity, in trackpoint_accel_profile() argument
57 velocity = v_us2ms(velocity); /* make it units/ms */ in trackpoint_accel_profile()
67 factor = 10.06254 + (0.3 - 10.06254)/(1 + pow(velocity/0.9205459, 1.15363)); in trackpoint_accel_profile()
83 double velocity; in trackpoint_accelerator_filter() local
89 velocity = trackers_velocity(&accel_filter->trackers, time); in trackpoint_accelerator_filter()
91 f = trackpoint_accel_profile(filter, data, velocity, time); in trackpoint_accelerator_filter()
Dfilter-touchpad.c48 double velocity; /* units/us */ member
77 double velocity; /* units/us in device-native dpi*/ in calculate_acceleration_factor() local
81 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor()
85 velocity, in calculate_acceleration_factor()
88 accel->last_velocity = velocity; in calculate_acceleration_factor()
Dfilter-low-dpi.c51 double velocity; /* units/us */ member
112 double velocity; /* units/us in device-native dpi*/ in calculate_acceleration_factor() local
116 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor()
120 velocity, in calculate_acceleration_factor()
123 accel->last_velocity = velocity; in calculate_acceleration_factor()
Dfilter-mouse.c51 double velocity; /* units/us */ member
79 double velocity; /* units/us in device-native dpi*/ in calculate_acceleration_factor() local
83 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor()
87 velocity, in calculate_acceleration_factor()
90 accel->last_velocity = velocity; in calculate_acceleration_factor()
Dfilter.h103 double velocity,
161 double velocity,
Dfilter-private.h95 double velocity,
/third_party/libinput/doc/user/
Dpointer-acceleration.rst9 :ref:`ptraccel-velocity`.
29 .. _ptraccel-velocity:
40 velocity is calculated across multiple trackers. For example, if a device
41 moves steadily for 10 events to the left, the velocity is calculated across
45 velocity is calculated from the direction/speed change only. For example, if
47 right, the velocity is only that of the last 2 events.
50 velocity calculation. For example, if a device moves steadily for 5 events
52 the last 5 events are used for velocity calculation.
54 The velocity is then used to calculate the acceleration factor
186 velocity of the pointer and each delta (dx, dy) results in an accelerated delta
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthEngine.java220 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument
253 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument
254 if (velocity == 0) { in noteOn()
255 noteOff(channel, noteIndex, velocity); in noteOn()
265 voice.noteOn(noteIndex, velocity); in noteOn()
DSawVoice.java36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
37 super.noteOn(noteIndex, velocity); in noteOn()
DSynthVoice.java33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
36 setAmplitude(velocity / 128.0f); in noteOn()
/third_party/alsa-lib/test/lsb/
Dmidi_event.c192 TEST_CHECK(ev.data.note.velocity == 3); in test_encode()
198 TEST_CHECK(ev.data.note.velocity == 6); in test_encode()
204 TEST_CHECK(ev.data.note.velocity == 9); in test_encode()
349 TEST_CHECK(ev.data.note.velocity == 3); in test_encode_byte()
357 TEST_CHECK(ev.data.note.velocity == 5); in test_encode_byte()
/third_party/alsa-lib/include/
Dseqmid.h376 (ev)->data.note.velocity = (vel),\
391 (ev)->data.note.velocity = (vel))
405 (ev)->data.note.velocity = (vel))
419 (ev)->data.note.velocity = (vel))
Dseq_event.h233 unsigned char velocity; /**< velocity */ member
/third_party/alsa-utils/seq/aseqdump/
Daseqdump.c136 if (ev->data.note.velocity) in dump_event()
138 ev->data.note.channel, ev->data.note.note, ev->data.note.velocity); in dump_event()
145 ev->data.note.channel, ev->data.note.note, ev->data.note.velocity); in dump_event()
149 ev->data.note.channel, ev->data.note.note, ev->data.note.velocity); in dump_event()
/third_party/glfw/examples/
Dparticles.c245 float xy_angle, velocity; in init_particle() local
261 velocity = VELOCITY * (0.8f + 0.1f * (float) (sin(0.5 * t) + sin(1.31 * t))); in init_particle()
262 p->vx *= velocity; in init_particle()
263 p->vy *= velocity; in init_particle()
264 p->vz *= velocity; in init_particle()
/third_party/json/docs/docset/
DREADME.md4 documentation browsers like [Dash](https://kapeli.com/dash), [Velocity](https://velocity.silverlake…
/third_party/alsa-lib/test/
Dseq-decoder.c139 ev->data.note.velocity, in decode_event()
150 ev->data.note.velocity); in decode_event()
/third_party/alsa-utils/seq/aplaymidi/
Darecordmidi.c486 add_byte(track, ev->data.note.velocity & 0x7f); in record_event()
492 add_byte(track, ev->data.note.velocity & 0x7f); in record_event()
498 add_byte(track, ev->data.note.velocity & 0x7f); in record_event()
/third_party/skia/modules/particles/include/
DSkParticleEffect.h134 SkVector velocity, float spin, SkColor4f color, float frame, float seed);
/third_party/alsa-lib/src/seq/
Dseq_midi_event.c468 ev->data.note.velocity = dev->buf[2]; in note_event()
623 buf[1] = ev->data.note.velocity & 0x7f; in note_decode()
/third_party/skia/modules/particles/src/
DSkParticleEffect.cpp266 float scale, SkVector velocity, float spin, SkColor4f color, in start() argument
286 fState.fVelocity = velocity; in start()

12