Home
last modified time | relevance | path

Searched refs:thumbH (Results 1 – 25 of 42) sorted by relevance

12

/dports/audio/fasttracker2/ft2-clone-1.49/src/
H A Dft2_scrollbars.c123 int16_t thumbH = scrollBar->thumbH; in drawScrollBar() local
189 scrollBar->thumbH = scrollBar->h - 2; in setScrollBarThumbCoords()
198 thumbH = scrollBar->h - 2; in setScrollBarThumbCoords()
277 thumbH = realThumbLength; in setScrollBarThumbCoords()
278 if (thumbH < MIN_THUMB_LENGTH) in setScrollBarThumbCoords()
279 thumbH = MIN_THUMB_LENGTH; in setScrollBarThumbCoords()
283 length = scrollBar->h - thumbH; in setScrollBarThumbCoords()
297 if (thumbY+thumbH > scrollEnd) in setScrollBarThumbCoords()
298 thumbH = scrollEnd - thumbY; in setScrollBarThumbCoords()
306 scrollBar->thumbH = thumbH; in setScrollBarThumbCoords()
[all …]
/dports/x11-toolkits/skinlf/skinlf-6.7/src/com/l2fprod/gui/plaf/xtra/
H A DXTraScrollBarUI.java196 int thumbH = (range <= 0) in alternateLayoutVScrollbar() local
198 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in alternateLayoutVScrollbar()
199 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in alternateLayoutVScrollbar()
201 int thumbY = decrButtonY - thumbH; in alternateLayoutVScrollbar()
204 float thumbRange = trackH - thumbH; in alternateLayoutVScrollbar()
233 if (thumbH >= (int) trackH) { in alternateLayoutVScrollbar()
237 if ((thumbY + thumbH) > decrButtonY) { in alternateLayoutVScrollbar()
238 thumbY = decrButtonY - thumbH; in alternateLayoutVScrollbar()
245 setThumbBounds(itemX, thumbY, itemW, thumbH); in alternateLayoutVScrollbar()
/dports/net-im/libqtelegram-ae/libqtelegram-aseman-edition-6.1-stable/secret/
H A Ddecryptedmessagebuilder.cpp35 … const QByteArray &thumb, qint32 thumbW, qint32 thumbH) { in buildDecryptedMessageForSendVideo() argument
44 media.setThumbH(thumbH); in buildDecryptedMessageForSendVideo()
70 … const QByteArray &thumb, qint32 thumbW, qint32 thumbH) { in buildDecryptedMessageForSendPhoto() argument
75 media.setThumbH(thumbH); in buildDecryptedMessageForSendPhoto()
100 … const QByteArray &thumb, qint32 thumbW, qint32 thumbH) { in buildDecryptedMessageForSendDocument() argument
105 media.setThumbH(thumbH); in buildDecryptedMessageForSendDocument()
H A Ddecryptedmessagebuilder.h21 … const QByteArray &thumb = QByteArray(), qint32 thumbW = 90, qint32 thumbH = 90);
25 … const QByteArray &thumb = QByteArray(), qint32 thumbW = 90, qint32 thumbH = 90);
28 … const QByteArray &thumb = QByteArray(), qint32 thumbW = 90, qint32 thumbH = 90);
H A Ddecryptedmessagemedia.h70 qint32 thumbH() const { return mThumbH; } in thumbH() function
94 void setThumbH(qint32 thumbH) { mThumbH = thumbH; } in setThumbH() argument
H A Dencrypter.cpp101 appendInt(media.thumbH()); in appendDecryptedMessageMedia()
112 appendInt(media.thumbH()); in appendDecryptedMessageMedia()
136 appendInt(media.thumbH()); in appendDecryptedMessageMedia()
154 appendInt(media.thumbH()); in appendDecryptedMessageMedia()
/dports/games/gogui/Quaqua/src/ch/randelshofer/quaqua/
H A DQuaquaScrollBarUI.java353 int thumbH; in layoutVScrollbar() local
408 thumbH = (range <= 0) in layoutVScrollbar()
410 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
411 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
413 thumbY = trackY + trackH - thumbH; in layoutVScrollbar()
415 float thumbRange = ftrackH - thumbH; in layoutVScrollbar()
424 if(thumbH >= trackH) { in layoutVScrollbar()
427 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/devel/flex-sdk/flex-sdk-4.6.0.23201/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/
H A DSparkSliderBaseAutomationImpl.as138 var thumbH:Number = (slider.thumb) ? slider.thumb.height : 0;
185 var thumbH:Number = (slider.thumb) ? slider.thumb.height : 0;
188 var adjustedY:Number = localY + (thumbH / 2);
205 var thumbH:Number = (slider.thumb) ? slider.thumb.height : 0;
209 var adjustedY:Number = thumbH/2;
/dports/graphics/digikam/digikam-7.4.0/core/libs/widgets/itemview/
H A Ditemviewdelegate.cpp283 int thumbH = qRound((double)thumbnail.height() / ratio); in drawThumbnail() local
286 r.y() + (r.height() - thumbH) / 2, in drawThumbnail()
287 thumbW, thumbH); in drawThumbnail()
300 QPixmap groupThumbnail = thumbnail.scaled(thumbW - 10, thumbH - 10, in drawThumbnail()
305 r.y() + (r.height() - (thumbH - 10)) / 2, in drawThumbnail()
306 thumbW - 10, thumbH - 10, groupThumbnail); in drawThumbnail()
314 r.y() + (r.height() - thumbH) / 2, in drawThumbnail()
315 thumbW, thumbH, thumbnail); in drawThumbnail()
/dports/graphics/digikam/digikam-7.4.0/core/showfoto/thumbbar/
H A Dshowfotoitemviewdelegate.cpp231 int thumbH = qRound((double)thumbnail.height() / ratio); in drawThumbnail() local
234 r.y() + (r.height() - thumbH) / 2, in drawThumbnail()
235 thumbW, thumbH); in drawThumbnail()
243 r.y() + (r.height() - thumbH) / 2, in drawThumbnail()
244 thumbW, thumbH, thumbnail); in drawThumbnail()
/dports/editors/calligra/calligra-3.2.1/libs/widgets/
H A DKoResourceItemDelegate.cpp72 int thumbH = static_cast<int>( imageSize.height() * scale ); in paint() local
73 … thumbnail = thumbnail.scaled( thumbW, thumbH, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); in paint()
/dports/graphics/krita/krita-4.4.8/libs/widgets/
H A DKoResourceItemDelegate.cpp81 int thumbH = static_cast<int>( imageSize.height() * scale ); in paint() local
82 … thumbnail = thumbnail.scaled( thumbW, thumbH, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); in paint()
/dports/x11-toolkits/open-motif/motif-2.3.8/demos/programs/panner/
H A Dpanner.c99 unsigned int thumbW, thumbH; member
348 pInfoList[newDsp].thumbH = pInfoList[newDsp].thumbW * in OpenNewDisplay()
354 pInfoList[newDsp].thumbY = (int)canvasH/2 - (int)pInfoList[newDsp].thumbH/2; in OpenNewDisplay()
678 pInfo->thumbW, pInfo->thumbH); in DrawThumb()
789 *y2 = y1 * (int)pInfo->thumbH / (int)rootH + pInfo->thumbY; in TranslateCoordinates()
791 *height2 = height1 * pInfo->thumbH / rootH; in TranslateCoordinates()
838 (event->xbutton.y > pInfo->thumbY + (int)pInfo->thumbH)) in StartTracking()
846 event->xbutton.y - (int)pInfo->thumbH/2, in StartTracking()
936 panDy = -(dy * rootH / (int)pInfo->thumbH); in MoveScreen()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java799 int thumbH = (range <= 0) in layoutVScrollbar() local
801 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
802 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
804 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
806 float thumbRange = trackH - thumbH; in layoutVScrollbar()
832 if(thumbH >= (int)trackH) { in layoutVScrollbar()
843 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
844 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
849 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java799 int thumbH = (range <= 0) in layoutVScrollbar() local
801 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
802 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
804 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
806 float thumbRange = trackH - thumbH; in layoutVScrollbar()
832 if(thumbH >= (int)trackH) { in layoutVScrollbar()
843 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
844 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
849 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java799 int thumbH = (range <= 0) in layoutVScrollbar() local
801 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
802 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
804 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
806 float thumbRange = trackH - thumbH; in layoutVScrollbar()
832 if(thumbH >= (int)trackH) { in layoutVScrollbar()
843 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
844 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
849 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java689 int thumbH = (range <= 0) in layoutVScrollbar() local
691 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
692 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
694 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
696 float thumbRange = trackH - thumbH; in layoutVScrollbar()
722 if(thumbH >= (int)trackH) { in layoutVScrollbar()
733 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
734 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
739 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java799 int thumbH = (range <= 0) in layoutVScrollbar() local
801 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
802 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
804 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
806 float thumbRange = trackH - thumbH; in layoutVScrollbar()
832 if(thumbH >= (int)trackH) { in layoutVScrollbar()
843 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
844 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
849 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java804 int thumbH = (range <= 0) in layoutVScrollbar() local
806 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
807 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
809 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
811 float thumbRange = trackH - thumbH; in layoutVScrollbar()
837 if(thumbH >= (int)trackH) { in layoutVScrollbar()
848 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
849 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
854 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java804 int thumbH = (range <= 0) in layoutVScrollbar() local
806 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
807 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
809 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
811 float thumbRange = trackH - thumbH; in layoutVScrollbar()
837 if(thumbH >= (int)trackH) { in layoutVScrollbar()
848 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
849 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
854 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java799 int thumbH = (range <= 0) in layoutVScrollbar() local
801 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
802 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
804 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
806 float thumbRange = trackH - thumbH; in layoutVScrollbar()
832 if(thumbH >= (int)trackH) { in layoutVScrollbar()
843 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
844 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
849 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java799 int thumbH = (range <= 0) in layoutVScrollbar() local
801 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
802 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
804 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
806 float thumbRange = trackH - thumbH; in layoutVScrollbar()
832 if(thumbH >= (int)trackH) { in layoutVScrollbar()
843 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
844 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
849 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicScrollBarUI.java689 int thumbH = (range <= 0) in layoutVScrollbar() local
691 thumbH = Math.max(thumbH, getMinimumThumbSize().height); in layoutVScrollbar()
692 thumbH = Math.min(thumbH, getMaximumThumbSize().height); in layoutVScrollbar()
694 int thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
696 float thumbRange = trackH - thumbH; in layoutVScrollbar()
722 if(thumbH >= (int)trackH) { in layoutVScrollbar()
733 if ((thumbY + thumbH) > incrButtonY - incrGap) { in layoutVScrollbar()
734 thumbY = incrButtonY - incrGap - thumbH; in layoutVScrollbar()
739 setThumbBounds(itemX, thumbY, itemW, thumbH); in layoutVScrollbar()
/dports/graphics/digikam/digikam-7.4.0/core/utilities/import/items/
H A Ditemviewimportdelegate.cpp278 int thumbH = qRound((double)thumbnail.height() / ratio); in drawThumbnail() local
281 r.y() + (r.height() - thumbH) / 2, in drawThumbnail()
282 thumbW, thumbH); in drawThumbnail()
290 r.y() + (r.height() - thumbH) / 2, in drawThumbnail()
291 thumbW, thumbH, thumbnail); in drawThumbnail()
/dports/misc/perkeep/perkeep-0.11/internal/images/
H A Dbench_test.go24 func benchRescale(b *testing.B, w, h, thumbW, thumbH int) {
27 o := &DecodeOpts{MaxWidth: thumbW, MaxHeight: thumbH}

12