/external/replicaisland/src/com/replica/replicaisland/ |
SimplePhysicsComponent.java | 43 final Vector2 impulse = parentObject.getImpulse(); local 44 float velocityX = parentObject.getVelocity().x + impulse.x; 45 float velocityY = parentObject.getVelocity().y + impulse.y; 66 impulse.zero();
|
PhysicsComponent.java | 129 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal, 133 outputImpulse.set(impulse); 140 relativeVelocity.add(impulse); 149 // calculate an impulse to apply to the entity 159 entity1Adjust.add(impulse); 169 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal, 178 entity1Velocity.add(impulse); 194 // calculate an impulse to apply to both entities 202 entity1Adjust.add(impulse);
|
PlayerComponent.java | 140 Vector2 impulse = pool.allocate(); local 143 impulse.set(dpad.getX(), 0.0f); 150 impulse.y = AIR_VERTICAL_IMPULSE_SPEED_FROM_GROUND; 155 impulse.y = AIR_VERTICAL_IMPULSE_SPEED * timeDelta; 165 || impulse.y > VERTICAL_IMPULSE_TOLERANCE; 171 impulse.x = (impulse.x * horziontalSpeed * timeDelta); 175 final float newSpeed = Math.abs(currentSpeed + impulse.x); 178 currentSpeed = maxHorizontalSpeed * Utils.sign(impulse.x); 181 impulse.x = (0.0f); [all...] |
GameObject.java | 196 public final void setImpulse(Vector2 impulse) { 197 mImpulse.set(impulse);
|
/frameworks/av/media/libaudioprocessing/ |
AudioResamplerDyn.h | 120 inline void setImpulse(TI *impulse) { 121 mImpulse = impulse; 125 inline void readAgain(TI*& impulse, const int halfNumCoefs, 129 inline void readAdvance(TI*& impulse, const int halfNumCoefs, 140 TI* mImpulse; // current location of the impulse response (centered)
|
AudioResamplerDyn.cpp | 130 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer. 133 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, 136 TI* head = impulse + halfNumCoefs*CHANNELS; 142 // advance the impulse pointer, and load in data into the head (impulse+halfNumCoefs) 145 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, 148 impulse += CHANNELS; 150 if (CC_UNLIKELY(impulse >= mRingFull)) { 153 impulse -= shiftDown; 155 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex) 576 TI* impulse = mInBuffer.getImpulse(); local [all...] |
AudioResamplerSinc.cpp | 299 int16_t* impulse = mImpulse; local 319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 336 int16_t* head = impulse + headOffset; 343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); 353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); 365 mImpulse = impulse; 380 int16_t*& impulse, uint32_t& phaseFraction, 383 impulse += CHANNELS [all...] |
AudioResamplerSinc.h | 64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
service_endpoint.h | 31 uint64_t impulse[4] = {}; member in struct:android::pdx::MessageInfo
|
service.h | 281 * Returns true if this Message describes an asynchronous "impulse" message. 286 * Returns a pointer to the impulse payload. Impulses are a maximum of 32 287 * bytes in size and the start of the impulse payload is guaranteed to be 293 * Returns one byte past the end of the impulse payload, as conventional for 524 * asynchronous "impulse" messages. Impulses have a limited-size payload that 527 virtual void HandleImpulse(Message& impulse);
|
/frameworks/native/libs/vr/libpdx/ |
service_tests.cpp | 94 MOCK_METHOD1(HandleImpulse, void(Message& impulse)); 113 void SetupMessageInfo(MessageInfo* info, int32_t op, bool impulse = false) { 117 info->mid = impulse ? Message::IMPULSE_MESSAGE_ID : kTestMid; 127 memset(info->impulse, 0, sizeof(info->impulse)); 131 bool impulse = false) { 132 SetupMessageInfo(info, op, impulse);
|
service.cpp | 69 return reinterpret_cast<const std::uint8_t*>(info_.impulse); 583 void Service::HandleImpulse(Message& /*impulse*/) {}
|
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_device_unittest.cc | 249 // transmission and time of receiving the same impulse. 276 const int16_t impulse = std::numeric_limits<int16_t>::max(); variable 279 ptr16[i] = impulse; 290 // Avoid detection of new impulse response until a new impulse has 310 // received impulse. It is transmitted at sample 0 but can be received [all...] |
/external/webrtc/webrtc/modules/audio_device/ios/ |
audio_device_unittest_ios.cc | 243 // transmission and time of receiving the same impulse. 269 const int16_t impulse = std::numeric_limits<int16_t>::max(); variable 272 ptr16[i] = impulse; 283 // Avoid detection of new impulse response until a new impulse has 302 // received impulse. It is transmitted at sample 0 but can be received [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
service_endpoint.cpp | 527 static_assert(sizeof(info.impulse) == request.impulse_payload.size(), 528 "Impulse payload sizes must be the same in RequestHeader and " 530 memcpy(info.impulse, request.impulse_payload.data(),
|
service_framework_tests.cpp | 70 using ImpulsePayload = std::array<std::uint8_t, sizeof(MessageInfo::impulse)>; 472 TEST_F(ServiceFrameworkTest, Impulse) { 488 // Set test channel with an impulse and perform the test again. 499 // Impulse payloads are limited to 4 machine words. 532 // Hangup the impulse test client, then send a sync message over client to 533 // make sure the hangup message is handled before checking the impulse
|
/external/ImageMagick/www/api/ |
magick-image.php | 258 <dd> The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson. </dd> [all...] |