/haiku/headers/private/system/arch/x86/ |
H A D | apm_defs.h | 18 int32 percent; member in struct:apm_battery_info
|
/haiku/src/apps/soundrecorder/ |
H A D | DrawingTidbits.h | 19 ShiftComponent(uchar component, float percent) argument 21 // change the color by <percent>, make sure we aren't rounding 23 if (percent >= 1) 24 return (uchar)(component * (2 - percent)); 26 return (uchar)(255 - percent * (255 - component));
|
H A D | DrawingTidbits.cpp | 16 ShiftColor(rgb_color color, float percent) argument 19 ShiftComponent(color.red, percent), 20 ShiftComponent(color.green, percent), 21 ShiftComponent(color.blue, percent),
|
/haiku/src/apps/networkstatus/ |
H A D | RadioView.h | 21 void SetPercent(int32 percent); 29 static void Draw(BView* view, BRect rect, int32 percent, 49 static void _SetColor(BView* view, int32 percent, 51 static bool _IsDisabled(int32 percent, int32 index,
|
H A D | RadioView.cpp | 39 RadioView::SetPercent(int32 percent) argument 41 if (percent < 0) 42 percent = 0; 43 if (percent > 100) 44 percent = 100; 46 if (percent == fPercent) 49 fPercent = percent; 91 RadioView::Draw(BView* view, BRect rect, int32 percent, int32 maxCount) argument 101 _SetColor(view, percent, 0, i, count); 227 RadioView::_SetColor(BView* view, int32 percent, int3 argument 244 _IsDisabled(int32 percent, int32 index, int32 count) argument [all...] |
/haiku/src/apps/sudoku/ |
H A D | SudokuGenerator.h | 26 void _Progress(BMessenger progress, const char* text, float percent);
|
H A D | ProgressWindow.cpp | 130 float percent; local 131 if (message->FindFloat("percent", &percent) == B_OK) 132 fStatusBar->Update(percent - fStatusBar->CurrentValue());
|
H A D | SudokuGenerator.cpp | 46 float percent) 51 update.AddFloat("percent", percent); 45 _Progress(BMessenger progress, const char* text, float percent) argument
|
/haiku/src/apps/showimage/ |
H A D | ProgressWindow.cpp | 122 float percent; local 123 if (message->FindFloat("percent", &percent) == B_OK) 124 fStatusBar->Update(percent - fStatusBar->CurrentValue());
|
/haiku/src/apps/activitymonitor/ |
H A D | DataSource.cpp | 1012 int64 percent = int64(1000.0 * (active - fPreviousActive) local 1014 if (percent < 0) 1015 percent = 0; 1016 if (percent > 1000) 1017 percent = 1000; 1022 return percent; 1163 int64 percent = int64(1000.0 * (active - fPreviousActive) local 1165 if (percent < 0) 1166 percent = 0; 1167 if (percent > 100 [all...] |
/haiku/src/apps/powerstatus/ |
H A D | APMDriverInterface.cpp | 55 info->capacity = apmInfo.percent;
|
H A D | PowerStatusView.cpp | 211 double percent = fPercent; local 212 if (percent > 1.0) 213 percent = 1.0; 214 else if (percent < 0.0 || !fHasBattery) 215 percent = 0.0; 229 if (percent > 0.0) 230 unfilled.left += unfilled.Width() * percent; 235 if (percent > 0.0) { 238 if (percent <= kLowBatteryPercentage) 240 else if (percent < [all...] |
/haiku/src/system/kernel/arch/x86/32/ |
H A D | apm.cpp | 223 info->percent = regs.ecx & 0xff; 224 if (info->percent > 100 || info->percent < 0) 225 info->percent = -1; 227 info->time_left = info->percent >= 0 ? (int32)(regs.edx & 0xffff) : -1;
|
/haiku/src/kits/tracker/ |
H A D | Pose.cpp | 59 int32 percent 63 if (percent < 5) 64 return -2 - percent; 65 return percent; 326 int32 percent = CalcFreeSpace(volume); local 327 if (fPercent != percent) { 328 if (percent > 100) 331 fPercent = percent; 857 int32 percent = fPercent > -1 ? fPercent : -2 - fPercent; local 858 int32 barPos = int32(barHeight * percent / 100. [all...] |
/haiku/src/apps/mediaplayer/media_node_framework/ |
H A D | NodeManager.h | 74 virtual void SetVolume(float percent);
|
H A D | PlaybackManager.h | 90 virtual void SetVolume(float percent) = 0;
|
H A D | NodeManager.cpp | 253 NodeManager::SetVolume(float percent) argument
|
/haiku/src/apps/softwareupdater/ |
H A D | SoftwareUpdaterWindow.h | 82 void SetDownloadProgress(float percent); 125 float percent);
|
H A D | SoftwareUpdaterWindow.cpp | 263 float percent; local 264 result = message->FindFloat(kKeyPercentage, &percent); 273 fStatusBar->SetTo(percent, packageName.String(), 277 fListView->UpdatePackageProgress(packageName.String(), percent); 1079 PackageItem::SetDownloadProgress(float percent) argument 1081 fDownloadProgress = percent; 1203 PackageListView::UpdatePackageProgress(const char* packageName, float percent) argument 1205 // Update only every 1 percent change 1206 int16 wholePercent = int16(percent); 1212 if (percent [all...] |
/haiku/src/apps/mediaplayer/ |
H A D | MainWin.h | 91 void _ResizeWindow(int percent,
|
H A D | MainWin.cpp | 1497 int percent = _CurrentVideoSizeInPercent(); local 1504 if (percent == 100) 2066 int percent = _CurrentVideoSizeInPercent(); local 2067 int newSize = percent * (100 + percentDiff) / 100; 2073 if (newSize != percent) { 2082 MainWin::_ResizeWindow(int percent, bool useNoVideoWidth, bool stayOnScreen) argument 2089 videoWidth = (videoWidth * percent) / 100; 2090 videoHeight = (videoHeight * percent) / 100;
|
/haiku/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | CommandActuators.cpp | 1326 // Find the percent part, if any 1327 char* percent = strchr(temp, '%'); local 1328 if (percent) { 1330 char* beginNum = percent - 1; 1343 while (beginNum <= percent)
|
/haiku/src/bin/debug/strace/ |
H A D | strace.cpp | 534 double percent = stats.time * 100.0 / sSyscallTime; local 538 " %10" B_PRIu64 " %s\n", percent, stats.time, stats.count, perCall,
|
/haiku/src/add-ons/translators/raw/ |
H A D | RAW.cpp | 2084 int32 percent, val, total, i; 2087 percent = int32(fInputWidth * fInputHeight * 0.01); 2092 percent = 0; 2096 if ((total += fHistogram[val][c]) > percent)
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bce/ |
H A D | if_bcereg.h | 483 #define DB_OR_RANDOMFALSE(percent) 484 #define DB_AND_RANDOMFALSE(percent) 486 #define DB_OR_RANDOMTRUE(percent) 487 #define DB_AND_RANDOMTRUE(percent)
|