Home
last modified time | relevance | path

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

12

/external/replicaisland/src/com/replica/replicaisland/
DNPCAnimationComponent.java125 final Vector2 velocity = parentObject.getVelocity(); in shouldFall() local
126 if (velocity.y < FALL_SPEED_THRESHOLD) { in shouldFall()
137 final Vector2 velocity = parentObject.getVelocity(); in shouldJump() local
138 if (velocity.y > JUMP_SPEED_THRESHOLD) { in shouldJump()
148 final Vector2 velocity = parentObject.getVelocity(); in shouldRun() local
149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) { in shouldRun()
158 final Vector2 velocity = parentObject.getVelocity(); in shouldMove() local
161 if ((velocity.x < 0.0f && parentObject.touchingLeftWall()) in shouldMove()
162 || (velocity.x > 0.0f && parentObject.touchingRightWall())) { in shouldMove()
193 final Vector2 velocity = parentObject.getVelocity(); in idle() local
[all …]
DInterpolator.java106 private float calculateAcceleration(float velocity, float acceleration, float target) { in calculateAcceleration() argument
107 if (Math.abs(velocity - target) < 0.0001f) { in calculateAcceleration()
110 } else if (velocity > target) { in calculateAcceleration()
DPhysicsComponent.java129 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal, in resolveCollision() argument
139 Vector2 relativeVelocity = vectorPool.allocate(velocity); in resolveCollision()
169 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal, in resolveCollision() argument
177 Vector2 entity1Velocity = vectorPool.allocate(velocity); in resolveCollision()
DGameObject.java172 public final void setVelocity(Vector2 velocity) { in setVelocity() argument
173 mVelocity.set(velocity); in setVelocity()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/template/
DVelocityTest.java24 import org.apache.velocity.Template;
25 import org.apache.velocity.VelocityContext;
26 import org.apache.velocity.app.VelocityEngine;
27 import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py395 def __init__ (self, ticks, seq, channel, note, velocity): argument
402 self.velocity = velocity
408 velocity = ReadByte(stream)
412 return NoteOffEvent(ticks, seq, channel, note, velocity)
415 if self.velocity > 0:
416 self.WriteRunningStatus(stream, track, filters, NOTE_ON, self.note, self.velocity)
418 self.WriteRunningStatus(stream, track, filters, NOTE_ON, self.note, self.velocity)
422 return '%s: ch=%d n=%d v=%d' % (self.name, self.channel, self.note, self.velocity)
428 def __init__ (self, ticks, seq, channel, note, velocity, note_length, note_off_velocity): argument
435 self.velocity = velocity
[all …]
/external/python/cpython2/Demo/tkinter/matt/
Danimation-w-velocity-ctrl.py29 velocity = self.speed.get()
30 str = float(velocity) / 1000.0
/external/sonivox/arm-wt-22k/lib_src/
Deas_dlssynth.c185 …Voice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain, EAS_U8 velocity) in DLS_UpdateGain() argument
232 temp = velocity << 8; in DLS_UpdateGain()
281 cutoff += (pVoice->velocity * pDLSArt->velToFc) >> 7; in DLS_UpdateFilter()
337 …(EAS_I16) DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pVoice->velocity); in DLS_StartVoice()
414 …nTarget = DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pVoice->velocity); in DLS_UpdateVoice()
494 temp = pEnvParams->attackTime + ((pEnvParams->velToAttack * pVoice->velocity) >> 7); in DLS_UpdateEnvelope()
Deas_voicemgt.c182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice()
1271 … S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStolenVoice() argument
1285 pVoice->nextVelocity = velocity; in VMStolenVoice()
1410 pVoice->velocity = pVoice->nextVelocity; in VMRetargetStolenVoice()
1535 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMCheckPolyphonyLimiting() argument
1594 VMStolenVoice(pVoiceMgr, pSynth, oldestVoiceNum, channel, note, velocity, regionIndex); in VMCheckPolyphonyLimiting()
1610 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStartVoice() argument
1660 …if (VMCheckPolyphonyLimiting(pVoiceMgr, pSynth, channel, note, velocity, regionIndex, lowVoice, hi… in VMStartVoice()
1694 pVoiceMgr->voices[voiceNum].velocity = velocity; in VMStartVoice()
1713 VMStolenVoice(pVoiceMgr, pSynth, voiceNum, channel, note, velocity, regionIndex); in VMStartVoice()
[all …]
Deas_vm_protos.h182 …MStartNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity);
234 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn…
256 … VMStopNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 key, EAS_U8 velocity);
Deas_otadata.h74 EAS_U8 velocity; /* current volume */ member
Deas_ota.c512 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, pData->note, pData->velocity); in OTA_Event()
545 pData->velocity = temp ? (EAS_U8) (temp * OTA_VEL_MUL + OTA_VEL_OFS) : 0; in OTA_Event()
869 pData->velocity = OTA_VEL_DEFAULT; in OTA_ParseHeader()
Deas_imelody.c885 EAS_U8 velocity; in IMY_PlayNote() local
898 velocity = (EAS_U8) (pData->volume ? pData->volume * IMELODY_VEL_MUL + IMELODY_VEL_OFS : 0); in IMY_PlayNote()
902 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, velocity); in IMY_PlayNote()
Deas_synth.h285 EAS_U8 velocity; /* 0 <= velocity <= 127 */ member
Deas_wtsynth.c778 temp = (pVoice->velocity) << (NUM_EG1_FRAC_BITS - 7); in WT_UpdateGain()
/external/skia/samplecode/
DSampleLitAtlas.cpp71 SkVector newVel = fShip.velocity(); in thrust()
392 const SkPoint& velocity() const { return fVelocity; } in velocity() function in DrawLitAtlasDrawable::ObjectRecord
393 void setVelocity(const SkPoint& velocity) { fVelocity = velocity; } in setVelocity() argument
/external/skqp/samplecode/
DSampleLitAtlas.cpp71 SkVector newVel = fShip.velocity(); in thrust()
392 const SkPoint& velocity() const { return fVelocity; } in velocity() function in DrawLitAtlasDrawable::ObjectRecord
393 void setVelocity(const SkPoint& velocity) { fVelocity = velocity; } in setVelocity() argument
/external/sonivox/arm-wt-22k/include/libsonivox/
Deas_types.h242 EAS_U8 velocity; member
/external/sonivox/arm-wt-22k/host_src/
Deas_types.h242 EAS_U8 velocity; member
/external/kernel-headers/original/uapi/sound/
Dasequencer.h198 unsigned char velocity; member
/external/libyuv/files/
DDEPS220 '-b', 'chromium-apache-velocity',
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl2231 // flatter segments the high-velocity region(s).
2238 // the high-velocity sections of curve reside.
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl2231 // flatter segments the high-velocity region(s).
2238 // the high-velocity sections of curve reside.
/external/tensorflow/tensorflow/tools/docker/notebooks/
D2_getting_started.ipynb510 …he partial derivatives of the L2 loss. The partial derivative is like a velocity, saying which way…
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c25200 long velocity; in Qt_MusicPlayNote() local
25208 &velocity)) in Qt_MusicPlayNote()
25213 velocity); in Qt_MusicPlayNote()

12