/external/replicaisland/src/com/replica/replicaisland/ |
TheSourceComponent.java | 130 float delta = (float)Math.sin(mTimer * SHAKE_SCALE); local 131 delta *= SHAKE_MAGNITUDE; 132 parentObject.getPosition().x = mShakeStartPosition + delta;
|
/external/skia/legacy/src/utils/ |
SkNinePatch.cpp | 49 // Computes the delta between vertices along a single axis 54 // the standard delta between vertices if no stretching is required 55 SkScalar delta = currentVertex - prevVertex; local 62 delta = 0; // collapse stretchable areas 64 delta = SkScalarMul(delta, -stretchFactor); // scale fixed areas 65 // if the stretch factor is positive then we use the standard delta for 68 delta = SkScalarMul(delta, stretchFactor); 71 return delta; [all...] |
/external/skia/src/animator/ |
SkAnimateActive.cpp | 312 SkScalar delta = to[cIndex].fScalar - from[cIndex].fScalar; local 313 originalSum += SkScalarMul(delta, delta); 314 delta = to[cIndex].fScalar - existingValues[cIndex].fScalar; 315 workingSum += SkScalarMul(delta, delta);
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 49 // Computes the delta between vertices along a single axis 54 // the standard delta between vertices if no stretching is required 55 SkScalar delta = currentVertex - prevVertex; local 62 delta = 0; // collapse stretchable areas 64 delta = SkScalarMul(delta, -stretchFactor); // scale fixed areas 65 // if the stretch factor is positive then we use the standard delta for 68 delta = SkScalarMul(delta, stretchFactor); 71 return delta; [all...] |
/external/stlport/test/unit/ |
num_put_get_test.cpp | 1149 double delta = 1.0; local 1151 delta *= 10.0; 1154 CPPUNIT_CHECK( (f > (1.0e+83 - delta)) && (f < (1.0e+83 + delta)) ); 1195 double delta = 9.0; local [all...] |
/external/v8/src/arm/ |
regexp-macro-assembler-arm.cc | 1061 int delta = code_handle->address() - re_code->address(); variable [all...] |
/external/v8/src/ |
json-parser.h | 541 int delta = allocated_string_size - string_size; local 544 isolate()->heap()->CreateFillerObjectAt(start_filler_object, delta);
|
spaces-inl.h | 332 int delta = static_cast<int>(old_top - allocation_info_.top); local 333 MemoryChunk::IncrementLiveBytesFromMutator(string->address(), -delta);
|
/external/webkit/Source/JavaScriptCore/assembler/ |
LinkBuffer.h | 252 int32_t delta = m_assembler->jumpSizeDelta(jumpsToLink[i].type(), jumpLinkType); local 253 if (delta) { 254 writePtr -= delta; 255 m_assembler->recordLinkOffsets(jumpsToLink[i].from() - delta, readPtr, readPtr - writePtr); 307 printf("link %p: orig %u, compact %u (delta %u, %.2f%%)\n", 311 printf("\ttotal %u: orig %u, compact %u (delta %u, %.2f%%)\n",
|
/external/webkit/Source/WebCore/loader/cache/ |
CachedResource.cpp | 320 int delta = size - m_decodedSize; local 347 memoryCache()->adjustSize(hasClients(), delta); local 359 int delta = size - m_encodedSize; local 374 memoryCache()->adjustSize(hasClients(), delta); local
|
/external/webkit/Source/WebCore/platform/ |
Scrollbar.cpp | 263 int delta = pos - m_pressedPos; local 264 if (delta > 0) 265 delta = min(maxPos - thumbPos, delta); 266 else if (delta < 0) 267 delta = max(-thumbPos, delta); 269 if (delta) { 270 float newPosition = static_cast<float>(thumbPos + delta) * maximum() / (trackLen - thumbLen); 373 // Set the pressed position to the middle of the thumb so that when we do the move, the delta [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
ContextShadow.cpp | 130 int delta = (!k) ? rowStride : 4; local 134 for (int j = 0; j < jfinal; ++j, pixels += delta) {
|
FontFastPath.cpp | 484 float delta = x; local 490 delta -= floatWidthForSimpleText(run, 0); 496 delta += w; 498 if (delta - w / 2 >= 0) 501 if (delta >= 0) 511 delta -= w; 513 if (delta + w / 2 <= 0) 516 if (delta <= 0)
|
IntRect.h | 115 int delta = edge - x(); local 117 setWidth(std::max(0, width() - delta)); 121 int delta = edge - maxX(); local 122 setWidth(std::max(0, width() + delta)); 126 int delta = edge - y(); local 128 setHeight(std::max(0, height() - delta)); 132 int delta = edge - maxY(); local 133 setHeight(std::max(0, height() + delta));
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
GLWebViewState.cpp | 439 double delta = currentDrawTime - m_prevDrawTime; local 444 m_delayTimes[m_timeCounter++] = delta; 452 double ratio = (1.0 / delta) / MAX_FPS_VALUE;
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
VideoLayerManager.cpp | 372 double delta = WTF::currentTime() - pInfo->lastIconShownTime; local 373 ratio = 1.0 - (delta / PLAY_PAUSE_ICON_SHOW_TIME);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
FontQt.cpp | 324 float delta = position; local 328 delta -= charWidth; 330 if (delta + charWidth / 2 <= 0) 333 if (delta + charWidth <= 0)
|
/external/webkit/Source/WebCore/svg/ |
SVGPathParser.cpp | 432 FloatSize delta = point2 - point1; local 434 float d = delta.width() * delta.width() + delta.height() * delta.height(); 441 delta.scale(scaleFactor); 442 FloatPoint centerPoint = FloatPoint(0.5f * (point1.x() + point2.x()) - delta.height(), 443 0.5f * (point1.y() + point2.y()) + delta.width());
|
/external/webkit/Source/WebKit/chromium/src/ |
WebScrollbarImpl.cpp | 203 float delta = m_scrollbar->orientation() == HorizontalScrollbar ? mousewheel.deltaX : mousewheel.deltaY; local 204 if ((delta < 0 && maxScrollDelta > 0) || (delta > 0 && m_scrollbar->value() > 0)) { 207 bool negative = delta < 0; 208 delta = max(max(static_cast<float>(m_scrollbar->visibleSize()) * Scrollbar::minFractionToStepWhenPaging(), static_cast<float>(m_scrollbar->visibleSize() - Scrollbar::maxOverlapBetweenPages())), 1.0f); 210 delta *= -1; 212 ScrollableArea::scroll((m_scrollbar->orientation() == HorizontalScrollbar) ? WebCore::ScrollLeft : WebCore::ScrollUp, WebCore::ScrollByPixel, delta);
|
/external/webkit/Source/WebKit2/Shared/win/ |
WebEventFactory.cpp | 417 float delta = GET_WHEEL_DELTA_WPARAM(wParam) / static_cast<float>(WHEEL_DELTA); local 420 wheelTicksX = delta; 422 delta = -delta; 425 wheelTicksY = delta; 428 deltaX = delta * static_cast<float>(horizontalScrollChars()) * cScrollbarPixelsPerLine; 433 deltaY = delta;
|
/external/webrtc/src/modules/audio_processing/utility/ |
fft4g.c | 645 float delta, x, y; local 651 delta = (float)atan(1.0f) / nwh; 654 w[nwh] = (float)cos(delta * nwh); 658 x = (float)cos(delta * j); 659 y = (float)sin(delta * j); 674 float delta; local 679 delta = (float)atan(1.0f) / nch; 680 c[0] = (float)cos(delta * nch); 683 c[j] = 0.5f * (float)cos(delta * j); 684 c[nc - j] = 0.5f * (float)sin(delta * j) [all...] |
/frameworks/av/media/libnbaio/ |
NBLog.cpp | 389 long delta = tsNext.tv_nsec - prevNsec; local 390 if (delta < 0) { 393 if (delta < deltaMin) { 394 deltaMin = delta; 396 if (delta > deltaMax) { 397 deltaMax = delta; 399 deltaTotal += delta;
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
ZslProcessor.cpp | 506 int64_t delta = abs(bufferTimestamp - frameTimestamp); local 507 if ( delta < 1000000) { 508 ALOGVV("%s: Found close match %lld (delta %lld)", 509 __FUNCTION__, bufferTimestamp, delta);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_file.c | 565 int delta; local 586 delta = (int)prevPos + length - prevFileSize; 587 if (delta > availableSize) 600 delta = prevPos + n - prevFileSize; 602 if ( delta > 0 ) 604 availableSize -= delta;
|
/frameworks/base/services/common_time/ |
clock_recovery.cpp | 132 ALOGE("local=%lld, common=%lld, delta=%lld, rtt=%lld\n", 163 int64_t delta; local 226 delta_f = delta = nominal_common_time - observed_common; 229 last_error_est_usec_ = delta; 235 // the implied error (delta) is greater than the absolute panic 240 if ((delta > effective_panic_thresh) || 241 (delta < -effective_panic_thresh)) { 255 delta = delta_f;
|