Home
last modified time | relevance | path

Searched refs:nPercent (Results 1 – 25 of 106) sorted by relevance

12345

/dports/security/keepass/KeePass-2.49-Source/KeePass/Forms/
H A DStatusProgressForm.cs132 public delegate void Priv_SetProgressInternal(string strText, int nPercent); in Priv_SetProgressInternal() argument
134 private void SetProgressInternal(string strText, int nPercent) in SetProgressInternal() argument
142 if((nPercent >= 0) && (nPercent <= 100)) in SetProgressInternal()
143 m_pbTotal.Value = nPercent; // .NET compares with cached value in SetProgressInternal()
146 private bool SetProgressGlobal(string strText, int nPercent) in SetProgressGlobal() argument
150 strText, nPercent); in SetProgressGlobal()
151 else SetProgressInternal(strText, nPercent); in SetProgressGlobal()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/utlui/
H A Dprcntfld.cxx70 int nPercent = nRefValue ? (((nCurrentWidth * 10) / nRefValue + 5) / 10) : 0; in ShowPercent() local
72 m_pField->set_range(std::max(1, nPercent), 100, FieldUnit::NONE); in ShowPercent()
77 nPercent = nRefValue ? (((nCurrentWidth * 10) / nRefValue + 5) / 10) : 0; in ShowPercent()
78 m_pField->set_value(nPercent, FieldUnit::NONE); in ShowPercent()
79 nLastPercent = nPercent; in ShowPercent()
114 int nPercent, nCurrentWidth; in set_value() local
125 nPercent = nRefValue ? (((nCurrentWidth * 10) / nRefValue + 5) / 10) : 0; in set_value()
126 m_pField->set_value(nPercent, FieldUnit::NONE); in set_value()
145 int nPercent = Convert(nNewMin, eInUnit, FieldUnit::PERCENT); in set_min() local
146 m_pField->set_min(std::max(1, nPercent), FieldUnit::NONE); in set_min()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/utlui/
H A Dprcntfld.cxx70 int nPercent = nRefValue ? (((nCurrentWidth * 10) / nRefValue + 5) / 10) : 0; in ShowPercent() local
72 m_pField->set_range(std::max(1, nPercent), 100, FieldUnit::NONE); in ShowPercent()
77 nPercent = nRefValue ? (((nCurrentWidth * 10) / nRefValue + 5) / 10) : 0; in ShowPercent()
78 m_pField->set_value(nPercent, FieldUnit::NONE); in ShowPercent()
79 nLastPercent = nPercent; in ShowPercent()
114 int nPercent, nCurrentWidth; in set_value() local
124 nPercent = nRefValue ? (((nCurrentWidth * 10) / nRefValue + 5) / 10) : 0; in set_value()
125 m_pField->set_value(nPercent, FieldUnit::NONE); in set_value()
144 int nPercent = Convert(nNewMin, eInUnit, FieldUnit::PERCENT); in set_min() local
145 m_pField->set_min(std::max(1, nPercent), FieldUnit::NONE); in set_min()
/dports/editors/libreoffice/libreoffice-7.2.6.2/framework/source/helper/
H A Dstatusindicator.cxx107 int nPercent = (100 * nValue) / m_nRange; in setValue() local
108 if (nPercent >= m_nLastCallbackPercent) in setValue()
110 comphelper::LibreOfficeKit::statusIndicatorSetValue(nPercent); in setValue()
111 m_nLastCallbackPercent = nPercent; in setValue()
H A Dvclstatusindicator.cxx113 sal_uInt16 nPercent = sal::static_int_cast< sal_uInt16 >( in setValue() local
118 m_pStatusBar->SetProgressValue(nPercent); in setValue()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/framework/source/helper/
H A Dstatusindicator.cxx110 int nPercent = (100*nValue)/m_nRange; in setValue() local
111 if (nPercent >= m_nLastCallbackPercent) in setValue()
113 comphelper::LibreOfficeKit::statusIndicatorSetValue(nPercent); in setValue()
114 m_nLastCallbackPercent = nPercent; in setValue()
H A Dvclstatusindicator.cxx113 sal_uInt16 nPercent = sal::static_int_cast< sal_uInt16 >( in setValue() local
118 m_pStatusBar->SetProgressValue(nPercent); in setValue()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/egif/
H A Degif.cxx48 void MayCallback(sal_uInt32 nPercent);
226 void GIFWriter::MayCallback(sal_uInt32 nPercent) in MayCallback() argument
230 if( nPercent >= nLastPercent + 3 ) in MayCallback()
232 nLastPercent = nPercent; in MayCallback()
233 if ( nPercent <= 100 ) in MayCallback()
234 xStatusIndicator->setValue( nPercent ); in MayCallback()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/egif/
H A Degif.cxx48 void MayCallback(sal_uInt32 nPercent);
227 void GIFWriter::MayCallback(sal_uInt32 nPercent) in MayCallback() argument
231 if( nPercent >= nLastPercent + 3 ) in MayCallback()
233 nLastPercent = nPercent; in MayCallback()
234 if ( nPercent <= 100 ) in MayCallback()
235 xStatusIndicator->setValue( nPercent ); in MayCallback()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/frmdlg/
H A Dcolmgr.cxx110 void SwColMgr::SetLineHeightPercent(short nPercent) in SetLineHeightPercent() argument
112 OSL_ENSURE(nPercent <= 100, "line height may be at most 100%"); in SetLineHeightPercent()
113 aFormatCol.SetLineHeight(static_cast<sal_uInt8>(nPercent)); in SetLineHeightPercent()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/frmdlg/
H A Dcolmgr.cxx110 void SwColMgr::SetLineHeightPercent(short nPercent) in SetLineHeightPercent() argument
112 OSL_ENSURE(nPercent <= 100, "line height may be at most 100%"); in SetLineHeightPercent()
113 aFormatCol.SetLineHeight(static_cast<sal_uInt8>(nPercent)); in SetLineHeightPercent()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/etiff/
H A Detiff.cxx96 void ImplCallback( sal_uInt32 nPercent );
227 void TIFFWriter::ImplCallback( sal_uInt32 nPercent ) in ImplCallback() argument
231 if( nPercent >= mnLastPercent + 3 ) in ImplCallback()
233 mnLastPercent = nPercent; in ImplCallback()
234 if ( nPercent <= 100 ) in ImplCallback()
235 xStatusIndicator->setValue( nPercent ); in ImplCallback()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/etiff/
H A Detiff.cxx97 void ImplCallback( sal_uInt32 nPercent );
227 void TIFFWriter::ImplCallback( sal_uInt32 nPercent ) in ImplCallback() argument
231 if( nPercent >= mnLastPercent + 3 ) in ImplCallback()
233 mnLastPercent = nPercent; in ImplCallback()
234 if ( nPercent <= 100 ) in ImplCallback()
235 xStatusIndicator->setValue( nPercent ); in ImplCallback()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/ipcx/
H A Dipcx.cxx217 sal_uInt32 i, ny, nLastPercent = 0, nPercent; in ImplReadBody() local
232 nPercent = ny * 60 / nHeight + 10; in ImplReadBody()
233 if ( ny == 0 || nLastPercent + 4 <= nPercent ) in ImplReadBody()
235 nLastPercent = nPercent; in ImplReadBody()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/ipcx/
H A Dipcx.cxx212 sal_uLong i, nx, ny, np, nCount, nPercent; in ImplReadBody() local
227 nPercent = ny * 60 / nHeight + 10; in ImplReadBody()
228 if ( ny == 0 || nLastPercent + 4 <= nPercent ) in ImplReadBody()
230 nLastPercent = nPercent; in ImplReadBody()
/dports/editors/libreoffice/libreoffice-7.2.6.2/filter/qa/unit/
H A Dsvg.cxx124 int nPercent = std::round(aStyle.copy(aPrefix.getLength()).toDouble() * 100); in CPPUNIT_TEST_FIXTURE() local
126 CPPUNIT_ASSERT_EQUAL(30, nPercent); in CPPUNIT_TEST_FIXTURE()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/window/
H A Dpaint.cxx380 sal_uInt16 nPercent = 0; in DrawSelectionBackground() local
386 nPercent = 80; // just checked (light) in DrawSelectionBackground()
398 nPercent = 0; in DrawSelectionBackground()
401 nPercent = bRoundEdges ? 40 : 20; // selected, pressed or checked ( very dark ) in DrawSelectionBackground()
411 nPercent = 0; in DrawSelectionBackground()
414 nPercent = bRoundEdges ? 60 : 35; // selected, pressed or checked ( very dark ) in DrawSelectionBackground()
425 nPercent = 80; in DrawSelectionBackground()
427 nPercent = 0; in DrawSelectionBackground()
430 nPercent = 70; // selected ( dark ) in DrawSelectionBackground()
463 rRenderContext.DrawTransparent(aPolyPoly, nPercent); in DrawSelectionBackground()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/window/
H A Dpaint.cxx379 sal_uInt16 nPercent = 0; in DrawSelectionBackground() local
385 nPercent = 80; // just checked (light) in DrawSelectionBackground()
397 nPercent = 0; in DrawSelectionBackground()
400 nPercent = bRoundEdges ? 40 : 20; // selected, pressed or checked ( very dark ) in DrawSelectionBackground()
410 nPercent = 0; in DrawSelectionBackground()
413 nPercent = bRoundEdges ? 60 : 35; // selected, pressed or checked ( very dark ) in DrawSelectionBackground()
424 nPercent = 80; in DrawSelectionBackground()
426 nPercent = 0; in DrawSelectionBackground()
429 nPercent = 70; // selected ( dark ) in DrawSelectionBackground()
462 rRenderContext.DrawTransparent(aPolyPoly, nPercent); in DrawSelectionBackground()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/inc/
H A Dfrminf.hxx46 bool IsFilled( const sal_uInt8 nPercent ) const;
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/inc/
H A Dfrminf.hxx46 bool IsFilled( const sal_uInt8 nPercent ) const;
/dports/editors/libreoffice/libreoffice-7.2.6.2/extensions/source/update/check/
H A Ddownload.hxx40 virtual void downloadProgressAt(sal_Int8 nPercent) = 0;
H A Dupdatehdl.cxx219 void UpdateHandler::setProgress( sal_Int32 nPercent ) in setProgress() argument
221 if ( nPercent > 100 ) in setProgress()
222 nPercent = 100; in setProgress()
223 else if ( nPercent < 0 ) in setProgress()
224 nPercent = 0; in setProgress()
226 if ( nPercent != mnPercent ) in setProgress()
230 mnPercent = nPercent; in setProgress()
231 setControlProperty( CTRL_PROGRESS, "ProgressValue", uno::Any( nPercent ) ); in setProgress()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/extensions/source/update/check/
H A Ddownload.hxx42 virtual void downloadProgressAt(sal_Int8 nPercent) = 0;
H A Dupdatehdl.cxx224 void UpdateHandler::setProgress( sal_Int32 nPercent ) in setProgress() argument
226 if ( nPercent > 100 ) in setProgress()
227 nPercent = 100; in setProgress()
228 else if ( nPercent < 0 ) in setProgress()
229 nPercent = 0; in setProgress()
231 if ( nPercent != mnPercent ) in setProgress()
235 mnPercent = nPercent; in setProgress()
236 setControlProperty( CTRL_PROGRESS, "ProgressValue", uno::Any( nPercent ) ); in setProgress()
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/generic/
H A Dpoly2.cxx131 sal_uInt16 nPercent = 0; in Optimize() local
138 nPercent = 50; in Optimize()
148 … tools::Polygon::ImplReduceEdges( mpImplPolyPolygon->mvPolyAry[ i ], fArea, nPercent ); in Optimize()

12345