Home
last modified time | relevance | path

Searched refs:barLength (Results 1 – 25 of 121) sorted by relevance

12345

/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar-ptb/src/org/herac/tuxguitar/io/ptb/helper/
H A DTrackStartHelper.java13 private long barLength; field in TrackStartHelper
25 this.barLength = 0; in init()
51 result = Math.max(result, (this.barStart + this.barLength)); in getMaxStart()
73 return this.barLength; in getBarLength()
76 public void setBarLength(long barLength) { in setBarLength() argument
77 this.barLength = barLength; in setBarLength()
/dports/audio/musescore/MuseScore-3.6.1/awl/
H A Dstyledslider.cpp110 double barLength = height() - (_margin * 2); in mouseMoveEvent() local
111 double dy = dPixY * (_maxValue - _minValue) / barLength; in mouseMoveEvent()
134 double barLength = h - _margin * 2; in paintEvent() local
139 double y1 = (1 - span) * barLength; in paintEvent()
168 qreal yVal = i * barLength / _numMajorTicks + _margin; in paintEvent()
173 qreal yValNext = (i + 1) * barLength / _numMajorTicks + _margin; in paintEvent()
197 QRectF bgRect(x0, _margin, _barThickness, barLength); in paintEvent()
198 QRectF hiliteRect(x0, yPix, _barThickness, barLength - y1); in paintEvent()
/dports/x11-clocks/glclock/glclock-6.0b6.0/
H A Dglclockmark.cpp96 int barLength ; variable
511 if (barLength < 10 || barLength > 1000) in Initialize()
512 barLength = BASE_BAR_LENGTH ; in Initialize()
515 barLength = BASE_BAR_LENGTH ; in Initialize()
522 barLength = BASE_BAR_LENGTH ; in Initialize()
532 barLength = (int)((double)barLength * SCALE_BAR_LENGTH) ; in Initialize()
1378 html.AddFormat(HTMLBar(BAR_FILE_GRAY, (int)(glclockMark.barLength * barLength), 16)) ; in HTMLglclockMark()
1400 html.AddFormat(HTMLBar(BAR_FILE_GRAY, (int)(glclockMark.barLength * barLength), 16)) ; in HTMLglclockMark()
1459 html += HTMLBar(BAR_FILE_GRAY, (int)(glclockMark.barLength * barLength * length), height) ; in HTMLEachSectionMarkFPS()
1559 html += HTMLBar(BAR_FILE_RED, (int)(glclockMark.barLength * barLength * length), height) ; in HTMLEachSectionMarkKTPS()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/progress/
H A Dmanager.go43 barLength int member
49 func NewBarWriter(w io.Writer, waitTime time.Duration, barLength int, isBytes bool) *BarWriter {
54 barLength: barLength,
64 BarLength: manager.barLength,
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/github.com/mongodb/mongo-tools-common/progress/
H A Dmanager.go43 barLength int member
49 func NewBarWriter(w io.Writer, waitTime time.Duration, barLength int, isBytes bool) *BarWriter {
54 barLength: barLength,
64 BarLength: manager.barLength,
/dports/games/frogatto/frogatto-1.3.1/modules/duxduo/data/gui/
H A Ddefault.cfg9 draw_animation('charge_bar_right', x_offset + barLength*2, y_offset),
10 if(barLength > 5, draw_animation_area('charge_bar_center', x_offset+10, y_offset, barLength-5)),
17 barLength = if(level.local_player.max_fuel,
/dports/astro/py-ro/RO-3.6.9/python/RO/Wdg/
H A DProgressBar.py88 barLength = 20, argument
112 self.fullBarLength = barLength
273 barLength = self._valueToLength(value)
274 if barLength <= 0:
277 elif barLength >= self.fullBarLength:
355 barLength = (float(value) - self.minValue) * self.barScale
357 barLength = int(barLength + 0.5)
359 return barLength
505 barLength = 99,
513 barLength = 99,
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/solaris/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
425 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
752 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
753 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
765 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
787 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
423 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
750 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
751 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
763 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
785 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/solaris/classes/sun/awt/X11/
H A DXScrollbar.java75 int barWidth, barLength; // Rotation-independent values, field in XScrollbar
137 int y1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
138 int y2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
145 int x1 = (up ? ARROW_IND : barLength - ARROW_IND); in createArrowShape()
146 int x2 = (up ? getArrowWidth() : barLength - getArrowWidth() - ARROW_IND); in createArrowShape()
425 if (coord < arrAreaH || coord > barLength - arrAreaH + 1) { in isInArrow()
752 if (barLength < 2*barWidth + MIN_THUMB_H + 2) { in calculateArrowWidth()
753 arrowArea = (barLength - MIN_THUMB_H + 2*ARROW_IND)/2 - 1; in calculateArrowWidth()
765 double f = (double)(barLength - 2*getArrowAreaWidth()) / Math.max(1,(max - min)); in getScaleFactor()
787 trueSize = barLength - 2*arrAreaH - 1; // Same if vert or horiz in calculateThumbRect()
[all …]
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/utils/data/
H A Dtracking.py77 def printProgress(iteration, total, prefix='', suffix='', decimals=1, barLength=100): argument
92 filledLength = int(round(barLength * iteration / float(total)))
93 bar = '' * filledLength + '-' * (barLength - filledLength)
/dports/games/scourge/scourge/src/
H A Dutil.cpp198 void Util::drawBar( int x, int y, float barLength, float value, float maxValue, in drawBar() argument
202 float length = barLength * ( percent / 100.0f ); in drawBar()
224 glVertex3f( barLength, 0, 0 ); in drawBar()
227 glVertex3f( 0, barLength, 0 ); in drawBar()
249 glVertex3f( 0, barLength - length, 0 ); in drawBar()
250 glVertex3f( 0, barLength, 0 ); in drawBar()
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/renderer/category/
H A DStackedBarRenderer.java370 double barLength = Math.max(Math.abs(translatedValue - translatedBase), in drawItem() local
375 bar = new Rectangle2D.Double(barL0, barW0, barLength, in drawItem()
380 barLength); in drawItem()
H A DGroupedStackedBarRenderer.java318 double barLength = Math.max(Math.abs(translatedValue - translatedBase), in drawItem() local
323 bar = new Rectangle2D.Double(barL0, barW0, barLength, in drawItem()
328 barLength); in drawItem()
/dports/games/frogatto/frogatto-1.3.1/modules/cube_trains/data/gui/
H A Dhud.cfg41 draw_animation('charge_bar_right', x_offset + barLength*2, y_offset),
42 if(barLength > 5, draw_animation_area('charge_bar_center', x_offset+10, y_offset, barLength-5))
44 …] where x_offset = 52 where y_offset = 32 where barLength = ((fullBarLength * level.local_player.v…
/dports/www/zend-framework/ZendFramework-2.4.13/library/Zend/Barcode/Object/
H A DAbstractObject.php1153 $barLength = $this->barHeight * $this->factor;
1158 $point1 = $this->rotate($xpos, $ypos + $bar[2] * $barLength);
1159 $point2 = $this->rotate($xpos, $ypos + $bar[3] * $barLength);
1162 $ypos + $bar[3] * $barLength
1166 $ypos + $bar[2] * $barLength
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/gui/
H A Dhud.cfg39 draw_animation('charge_bar_right', x_offset + barLength*2, y_offset),
40 if(barLength > 5, draw_animation_area('charge_bar_center', x_offset+10, y_offset, barLength-5))
42 …] where x_offset = 52 where y_offset = 32 where barLength = integer((fullBarLength * level.local_p…
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/google.golang.org/grpc/benchmark/stats/
H A Dhistogram.go117 barLength := int(float64(b.Count)*percentMulti*barScale + 0.5)
118 fmt.Fprintf(w, " %s\n", strings.Repeat("#", barLength))

12345