Searched refs:delta (Results 1 - 25 of 191) sorted by relevance

12345678

/haiku/headers/os/drivers/
H A Dcpufreq.h26 status_t (*cpufreq_increase_performance)(int delta);
27 status_t (*cpufreq_decrease_performance)(int delta);
/haiku/headers/libs/libunwind/tdep-ia64/
H A Drse.h60 long delta = rse_slot_num(addr) + num_regs; local
63 delta -= 0x3e;
64 return addr + ((num_regs + delta/0x3f) << 3);
/haiku/src/servers/app/decorator/
H A DWindowBehaviour.cpp33 WindowBehaviour::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
H A DMagneticBorder.cpp28 MagneticBorder::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
35 return AlterDeltaForSnap(window->Screen(), frame, delta, now);
41 BPoint& delta, bigtime_t now)
43 // Alter the delta (which is a proposed offset used while dragging a
60 frame.OffsetBy(delta);
71 delta.x = screenFrame.left - originalFrame.left;
73 delta.x = screenFrame.right - originalFrame.right;
79 delta.y = screenFrame.top - originalFrame.top;
81 delta.y = screenFrame.bottom - originalFrame.bottom;
40 AlterDeltaForSnap(const Screen* screen, BRect& frame, BPoint& delta, bigtime_t now) argument
H A DMagneticBorder.h24 bool AlterDeltaForSnap(Window* window, BPoint& delta,
27 BRect& frame, BPoint& delta, bigtime_t now);
H A DDefaultWindowBehaviour.cpp158 BPoint delta = where - fLastMousePosition; local
159 // NOTE: "delta" is later used to change fLastMousePosition.
160 // If for some reason no change should take effect, delta
170 fMouseMoveDistance += delta.x * delta.x + delta.y * delta.y;
175 delta = B_ORIGIN;
178 // perform the action (this also updates the delta)
179 MouseMovedAction(delta, no
185 MouseMovedAction(BPoint& delta, bigtime_t now) argument
233 MouseMovedAction(BPoint& delta, bigtime_t now) argument
260 MouseMovedAction(BPoint& delta, bigtime_t now) argument
296 MouseMovedAction(BPoint& delta, bigtime_t now) argument
425 MouseMovedAction(BPoint& delta, bigtime_t now) argument
968 AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
[all...]
/haiku/src/kits/shared/
H A DShakeTrackingFilter.cpp74 BPoint delta = fLowPass.Output(); local
77 float norm = delta.x * delta.x + delta.y * delta.y;
79 delta.x /= norm;
80 delta.y /= norm;
89 float dot = delta.x * fLastDelta.x + delta.y * fLastDelta.y;
H A DDragTrackingFilter.cpp66 BPoint delta(fClickPoint - where);
67 float squaredDelta = (delta.x * delta.x) + (delta.y * delta.y);
H A DLongAndDragTrackingFilter.cpp109 BPoint delta(fClickPoint - where);
110 float squaredDelta = (delta.x * delta.x) + (delta.y * delta.y);
/haiku/src/tests/kits/game/chart/
H A DChartRender.cpp115 float radius, x0, y0, x, y, dist, delta; local
141 delta = radius - dist + 0.5;
142 if (delta >= 1.0) {
147 else if (delta > 0.5) {
148 *color_offset++ = (uint8)(7.499 - 16.0 * (1.0 - delta) * (1.0 - delta) + ROUNDING);
152 else if (delta > 0) {
153 color = (uint8)(16.0 * delta * delta);
169 delta
271 int32 delta; local
[all...]
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A De_expf.c25 x = n * ln(2) + t/512 + delta[t] + x;
30 - delta is based on a table entry, delta[t] < 2^-28
35 e^x = 2^n ( e^(t/512 + delta[t])
36 + ( e^(t/512 + delta[t])
37 * ( p(x + delta[t] + n * ln(2)) - delta ) ) )
41 - e^(t/512 + delta[t]) is obtained from a table.
85 float n, delta; local
108 delta
[all...]
/haiku/src/tests/kits/interface/bfont/
H A DGetBoundingBoxesTest.cpp25 escapement_delta delta = { 0.0, 0.0 }; local
26 font->GetBoundingBoxesAsString(string, numChars, B_SCREEN_METRIC, &delta, rectArray);
41 escapement_delta delta = { 0.0, 0.0 }; local
42 font->GetBoundingBoxesForStrings(stringArray, numStrings, B_SCREEN_METRIC, &delta, rectArray);
/haiku/src/tools/cppunit/cppunit/
H A DTestAssert.cpp45 double delta,
49 if (fabs (expected - actual) > delta)
61 double delta,
64 Asserter::failNotEqualIf( fabs( expected - actual ) > delta,
43 assertEquals( double expected, double actual, double delta, long lineNumber, string fileName ) argument
/haiku/src/add-ons/screen_savers/flurry/
H A DSpark.h43 float delta[3]; member in struct:Spark
H A DSmoke.h56 floatToVector delta[3]; member in struct:SmokeParticleV
/haiku/headers/private/interface/
H A DTextViewSupportBuffer.h68 int32 delta = inNumItems * sizeof(T); local
70 if ((logSize + delta) >= fBufferCount) {
71 fBufferCount = logSize + delta + (fExtraCount * sizeof(T));
80 memcpy((void*)loc, (void*)inItem, delta);
101 int32 delta = inNumItems * sizeof(T); local
103 uint32 extraSize = fBufferCount - (logSize - delta);
105 fBufferCount = (logSize - delta) + (fExtraCount * sizeof(T));
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9287_olc.c70 int32_t delta, currPDADC, slope; local
91 delta = 0;
93 delta = ((currPDADC - AH5416(ah)->initPDADC)*4) / slope;
96 AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, delta);
98 AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, delta);
100 HALDEBUG(ah, HAL_DEBUG_PERCAL, "%s: delta=%d\n", __func__, delta);
/haiku/headers/libs/agg/
H A Dagg_rasterizer_cells_aa.h220 int delta, p, first, dx; local
233 delta = y2 - y1;
234 m_curr_cell.cover += delta;
235 m_curr_cell.area += (fx1 + fx2) * delta;
255 delta = p / dx;
260 delta--;
264 m_curr_cell.cover += delta;
265 m_curr_cell.area += (fx1 + first) * delta;
269 y1 += delta;
273 p = poly_subpixel_scale * (y2 - y1 + delta);
339 int p, rem, mod, lift, delta, first, incr; local
[all...]
H A Dagg_span_interpolator_persp.h115 const double delta = 1/double(subpixel_scale); local
116 dx = xt + delta;
123 dy = yt + delta;
134 dx = xt + delta;
141 dy = yt + delta;
164 const double delta = 1/double(subpixel_scale); local
169 dx = xt + delta;
178 dy = yt + delta;
328 const double delta = 1/double(subpixel_scale); local
331 dx = xt + delta;
394 const double delta = 1/double(subpixel_scale); local
[all...]
/haiku/headers/private/shared/
H A DArray.h55 bool _Resize(int32 index, int32 delta);
246 Array<Element>::_Resize(int32 index, int32 delta) argument
249 int32 newSize = fSize + delta;
257 if (delta > 0) {
258 // leave a gap of delta elements
259 memmove(fElements + index + delta, fElements + index,
261 } else if (index < fSize + delta) {
262 // drop -delta elements
263 memcpy(fElements + index, fElements + index - delta,
264 (fSize - index + delta) * sizeo
[all...]
/haiku/src/kits/interface/textview_support/
H A DLineBuffer.h39 void BumpOrigin(float delta, int32 index);
40 void BumpOffset(int32 delta, int32 index);
H A DLineBuffer.cpp97 BTextView::LineBuffer::BumpOrigin(float delta, int32 index) argument
100 fBuffer[i].origin += delta;
105 BTextView::LineBuffer::BumpOffset(int32 delta, int32 index) argument
108 fBuffer[i].offset += delta;
/haiku/src/add-ons/screen_savers/icons/
H A DIconDisplay.h35 void DrawOn(BView* view, uint32 delta);
/haiku/src/kits/locale/
H A DRelativeDateTimeFormat.cpp133 int delta = 0; local
138 delta = fCalendar->fieldDifference(UTimeValue,
144 if (abs(delta) >= offset) {
154 fFormatter->formatNumeric(delta, unit, unicodeResult, icuStatus);
/haiku/src/libs/print/libprint/
H A DHalftoneView.cpp35 const int delta = height / 4; local
36 const float red_bottom = delta - 1;
37 const float green_bottom = red_bottom + delta;
38 const float blue_bottom = green_bottom + delta;
141 const int delta = height / 4; local
143 const float green_top = delta;
144 const float blue_top = green_top + delta;
145 const float gray_top = r.bottom - delta;

Completed in 206 milliseconds

12345678