Home
last modified time | relevance | path

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

/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/python/cpython2/Demo/tkinter/matt/
Danimation-w-velocity-ctrl.py29 velocity = self.speed.get()
30 str = float(velocity) / 1000.0
/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/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_synth.h285 EAS_U8 velocity; /* 0 <= velocity <= 127 */ member
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_wtsynth.c758 temp = (pVoice->velocity) << (NUM_EG1_FRAC_BITS - 7); in WT_UpdateGain()
/external/skia/samplecode/
DSampleLitAtlas.cpp71 SkVector newVel = fShip.velocity(); in thrust()
391 const SkPoint& velocity() const { return fVelocity; } in velocity() function in DrawLitAtlasDrawable::ObjectRecord
392 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.h197 unsigned char velocity; member
/external/libyuv/files/
DDEPS220 '-b', 'chromium-apache-velocity',
/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()
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/toolchain-utils/dejagnu/gdb_baseline/
Di686-pc-linux-gnu8866 PASS: gdb.base/volatile.exp: ptype velocity
Dx86_64-cros-linux-gnu9101 PASS: gdb.base/volatile.exp: ptype velocity
Darmv7a-cros-linux-gnueabi8721 PASS: gdb.base/volatile.exp: ptype velocity