/external/replicaisland/src/com/replica/replicaisland/ |
D | NPCAnimationComponent.java | 125 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 …]
|
D | Interpolator.java | 106 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()
|
D | PhysicsComponent.java | 129 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()
|
D | GameObject.java | 172 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/ |
D | VelocityTest.java | 24 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/escapevelocity/src/test/java/com/google/escapevelocity/ |
D | TemplateTest.java | 40 import org.apache.velocity.VelocityContext; 41 import org.apache.velocity.exception.ResourceNotFoundException; 42 import org.apache.velocity.exception.VelocityException; 43 import org.apache.velocity.runtime.RuntimeConstants; 44 import org.apache.velocity.runtime.RuntimeInstance; 45 import org.apache.velocity.runtime.log.NullLogChute; 46 import org.apache.velocity.runtime.parser.node.SimpleNode; 47 import org.apache.velocity.runtime.resource.Resource; 48 import org.apache.velocity.runtime.resource.loader.ResourceLoader; 124 } catch (org.apache.velocity.runtime.parser.ParseException e) { in velocityRender() [all …]
|
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | SynthEngine.java | 220 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()
|
D | SawVoice.java | 36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument 37 super.noteOn(noteIndex, velocity); in noteOn()
|
D | SynthVoice.java | 33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument 36 setAmplitude(velocity / 128.0f); in noteOn()
|
/external/python/cpython2/Demo/tkinter/matt/ |
D | animation-w-velocity-ctrl.py | 29 velocity = self.speed.get() 30 str = float(velocity) / 1000.0
|
/external/perfetto/ui/src/frontend/ |
D | pan_and_zoom_handler.ts | 181 const velocity = 1 + msSinceStartOfAnimation * ACCELERATION_PER_MS; constant 184 const targetStep = Math.max(KEYBOARD_PAN_PX_PER_FRAME * velocity, step); 199 const velocity = 1 + msSinceStartOfAnimation * ACCELERATION_PER_MS; constant 202 const targetStep = Math.max(ZOOM_RATIO_PER_FRAME * velocity, step);
|
/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 395 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/ |
D | eas_dlssynth.c | 185 …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()
|
D | eas_voicemgt.c | 182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice() 1260 … S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStolenVoice() argument 1274 pVoice->nextVelocity = velocity; in VMStolenVoice() 1399 pVoice->velocity = pVoice->nextVelocity; in VMRetargetStolenVoice() 1524 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMCheckPolyphonyLimiting() argument 1583 VMStolenVoice(pVoiceMgr, pSynth, oldestVoiceNum, channel, note, velocity, regionIndex); in VMCheckPolyphonyLimiting() 1599 …CE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIn… in VMStartVoice() argument 1649 …if (VMCheckPolyphonyLimiting(pVoiceMgr, pSynth, channel, note, velocity, regionIndex, lowVoice, hi… in VMStartVoice() 1683 pVoiceMgr->voices[voiceNum].velocity = velocity; in VMStartVoice() 1702 VMStolenVoice(pVoiceMgr, pSynth, voiceNum, channel, note, velocity, regionIndex); in VMStartVoice() [all …]
|
D | eas_vm_protos.h | 182 …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);
|
D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member
|
D | eas_ota.c | 517 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, pData->note, pData->velocity); in OTA_Event() 550 pData->velocity = temp ? (EAS_U8) (temp * OTA_VEL_MUL + OTA_VEL_OFS) : 0; in OTA_Event() 876 pData->velocity = OTA_VEL_DEFAULT; in OTA_ParseHeader()
|
D | eas_synth.h | 285 EAS_U8 velocity; /* 0 <= velocity <= 127 */ member
|
D | eas_imelody.c | 892 EAS_U8 velocity; in IMY_PlayNote() local 905 velocity = (EAS_U8) (pData->volume ? pData->volume * IMELODY_VEL_MUL + IMELODY_VEL_OFS : 0); in IMY_PlayNote() 909 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, velocity); in IMY_PlayNote()
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | control_flow_ops_test.py | 2079 def __init__(self, mass, velocity): argument 2081 velocity = ops.convert_to_tensor(velocity) 2082 self.shape = array_ops.broadcast_static_shape(mass.shape, velocity.shape) 2084 self.velocity = velocity 2090 type_spec.type_spec_from_value(self.velocity)) 2095 def __init__(self, mass, velocity): argument 2097 mass.shape, velocity.shape) 2099 self.velocity = velocity 2102 return (self.mass, self.velocity) 2110 return (self.mass, self.velocity) [all …]
|
/external/skqp/samplecode/ |
D | SampleLitAtlas.cpp | 71 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/host_src/ |
D | eas_types.h | 242 EAS_U8 velocity; member
|
/external/sonivox/arm-wt-22k/include/libsonivox/ |
D | eas_types.h | 242 EAS_U8 velocity; member
|
/external/escapevelocity/ |
D | README.md | 4 functionality from [Apache Velocity](http://velocity.apache.org/). 9 [User Guide](http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.html) 91 [Velocity User Guide](http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.html#Refer…
|
/external/skia/modules/particles/include/ |
D | SkParticleEffect.h | 134 SkVector velocity, float spin, SkColor4f color, float frame, float seed);
|