/haiku/src/apps/haiku3d/ |
H A D | MathUtils.cpp | 18 MathUtils::EaseInOutCubic(float time, float start, float distance, argument 23 return distance / 2.0 * time * time * time + start; 25 return distance / 2.0 * (time * time * time + 2.0) + start; 30 MathUtils::EaseInOutQuart(float time, float start, float distance, argument 36 return distance / 2 * time * time * time * time + start; 40 return -distance / 2 * (time * time * time * time - 2) + start; 45 MathUtils::EaseInOutQuint(float time, float start, float distance, argument 50 return distance / 2 * time * time * time * time * time + start; 52 return distance / 2 *(time * time * time * time * time + 2) + start; 57 MathUtils::EaseInOutSine(float time, float start, float distance, argument [all...] |
H A D | MathUtils.h | 15 static float EaseInOutCubic(float time, float begin, float distance, 17 static float EaseInOutQuart(float time, float begin, float distance, 19 static float EaseInOutQuint(float time, float begin, float distance, 21 static float EaseInOutSine(float time, float begin, float distance,
|
H A D | Vector3.h | 135 inline float distance(const Vector3& v) const; 308 distance(const Vector3& v1, const Vector3& v2) function 310 return v1.distance(v2); 357 Vector3::distance(const Vector3& v) const function in class:Vector3
|
/haiku/src/build/libbe/interface/ |
H A D | SystemPalette.cpp | 24 /*! \brief Returns the "distance" between two RGB colors. 26 This functions defines an metric on the RGB color space. The distance 35 \return The distance between the given colors. 45 // distance according to psycho-visual tests 62 unsigned distance = color_distance(color.red, color.green, color.blue, local 64 if (distance < closestDistance) { 66 closestDistance = distance;
|
/haiku/src/servers/app/ |
H A D | SystemPalette.cpp | 26 /*! \brief Returns the "distance" between two RGB colors. 28 This functions defines an metric on the RGB color space. The distance 37 \return The distance between the given colors. 47 // distance according to psycho-visual tests 64 unsigned distance = color_distance(color.red, color.green, color.blue, local 66 if (distance < closestDistance) { 68 closestDistance = distance;
|
/haiku/src/apps/cortex/ValControl/ |
H A D | ValControl.h | 39 // - 'spin' mode: value changes based on vertical distance of pointer 289 uint16 distance = 0); 301 uint16 distance = 0) const; 320 uint16 _LocationToIndex(entry_location from, uint16 distance = 0) const;
|
H A D | ValControlDigitSegment.h | 102 float distance);
|
H A D | ValControlSegment.h | 107 virtual float handleDragUpdate(float distance) { return 0; } argument
|
H A D | ValControlDigitSegment.cpp | 171 float distance) { 173 int64 units = (int64)(distance / dragScaleFactor()); 174 float remaining = distance; 177 remaining = fmod(distance, dragScaleFactor()); 170 handleDragUpdate( float distance) argument
|
H A D | ValControl.cpp | 472 uint16 distance) 483 uint16 nIndex = _LocationToIndex(from, distance); 516 ValControl::_EntryAt(entry_location from, uint16 distance) const 518 uint16 nIndex = _LocationToIndex(from, distance); 702 ValControl::_LocationToIndex(entry_location from, uint16 distance) const 708 nResult = distance; 712 nResult = fLayoutSet.size() - distance; 471 _Add(ValControlSegment* segment, entry_location from, uint16 distance) argument
|
/haiku/src/kits/network/libnetservices2/ |
H A D | HttpBuffer.cpp | 125 reinterpret_cast<const char*>(std::addressof(*offset)), std::distance(offset, result)); 126 fCurrentOffset = std::distance(fBuffer.cbegin(), result) + 2;
|
/haiku/headers/cpp/ |
H A D | iterator.h | 75 using __STD::distance;
|
H A D | stl_tempbuf.h | 116 distance(__first, __last, _M_len);
|
H A D | stl_bvector.h | 453 distance(__first, __last, __n); 474 distance(__first, __last, __n); 574 distance(__first, __last, __n); 583 distance(__first, __last, __n); 650 distance(__first, __last, __len); 723 distance(__first, __last, __n); 744 distance(__first, __last, __n);
|
H A D | stl_algo.h | 870 distance(__first, __last, __remaining); 893 distance(__first, __last, __remaining); 1727 distance(__first, __last, __len); 1758 distance(__first, __last, __len); 1789 distance(__first, __last, __len); 1820 distance(__first, __last, __len); 1852 distance(__first, __last, __len); 1890 distance(__first, __last, __len); 1999 distance(__middle, __second_cut, __len22); 2005 distance(__firs [all...] |
H A D | stl_vector.h | 472 distance(__first, __last, __n); 576 distance(__first, __last, __len); 732 distance(__first, __last, __n); 784 distance(__first, __last, __n);
|
H A D | stl_hashtable.h | 403 distance(__f, __l, __n); 414 distance(__f, __l, __n); 440 distance(__f, __l, __n); 449 distance(__f, __l, __n);
|
/haiku/src/apps/glteapot/ |
H A D | Vector3.h | 124 inline float distance(const Vector3& v) const;
287 distance(const Vector3& v1, const Vector3& v2)
function 289 return v1.distance(v2);
327 inline float Vector3::distance(const Vector3& v) const
function in class:Vector3
|
/haiku/src/add-ons/disk_systems/intel/ |
H A D | PartitionMapAddOn.cpp | 414 off_t distance; local 416 distance = spaceOffset - end; 418 distance = spaceEnd - offset; 420 if (closestSpaceIndex == -1 || distance < closestSpaceDistance) { 422 closestSpaceDistance = distance;
|
H A D | ExtendedPartitionAddOn.cpp | 363 off_t distance; local 365 distance = spaceOffset - end; 367 distance = spaceEnd - offset; 369 if (closestSpaceIndex == -1 || distance < closestSpaceDistance) { 371 closestSpaceDistance = distance;
|
/haiku/src/apps/mandelbrot/ |
H A D | FractalEngine.cpp | 455 double distance = 0; local 469 distance = sqrt(zRealSq + zImaginarySq); 476 if (distance > gEscapeHorizon)
|
/haiku/src/libs/icon/shape/ |
H A D | VectorPath.h | 131 // the distance and index of the point that 134 float* distance, int32* index) const; 139 // that indicates the distance on the curve 145 // "scale" is on [0..1] indicating the distance
|
H A D | VectorPath.cpp | 675 VectorPath::GetDistance(BPoint p, float* distance, int32* index) const argument 679 // then iterate over the segments of the curve measuring the distance 680 *distance = FLT_MAX; 685 if (segDist < *distance) { 686 *distance = segDist; 694 if (segDist < *distance) { 695 *distance = segDist;
|
/haiku/src/system/kernel/debug/ |
H A D | tracing.cpp | 1251 int32 distance = index - fIndex; local 1252 int32 direction = distance < 0 ? -1 : 1; 1253 distance *= direction; 1255 if (index < distance) { 1256 distance = index; 1261 if ((int32)sTracingMetaData->Entries() + 1 - fIndex < distance) { 1262 distance = sTracingMetaData->Entries() + 1 - fIndex;
|
/haiku/src/apps/diskusage/ |
H A D | PieView.cpp | 287 float distance = sqrtf(diff.x * diff.x + diff.y * diff.x); local 288 if (distance > kDragThreshold) {
|