Home
last modified time | relevance | path

Searched refs:nDiff (Results 1 – 25 of 195) sorted by path

12345678

/trunk/main/avmedia/source/gstreamer/
H A Dgstplayer.cxx795 … const gint nDiff = nValue - g_atomic_int_get( &pPlayer->mnVideoWidth ); in implHandleNewPadFunc() local
796 g_atomic_int_add( &pPlayer->mnVideoWidth, ::std::max( nDiff, 0 ) ); in implHandleNewPadFunc()
801 … const gint nDiff = nValue - g_atomic_int_get( &pPlayer->mnVideoHeight ); in implHandleNewPadFunc() local
802 g_atomic_int_add( &pPlayer->mnVideoHeight, ::std::max( nDiff, 0 ) ); in implHandleNewPadFunc()
/trunk/main/basctl/source/basicide/
H A Dbaside2.cxx1227 long nDiff = GetEditView()->GetStartDocPos().X() - pCurScrollBar->GetThumbPos(); in DoScroll() local
1228 GetEditView()->Scroll( nDiff, 0 ); in DoScroll()
H A Dbaside2b.cxx1732 long nDiff = aEdtWindow.GetEditView()->GetStartDocPos().Y() - pCurScrollBar->GetThumbPos(); in IMPL_LINK() local
1733 aEdtWindow.GetEditView()->Scroll( 0, nDiff ); in IMPL_LINK()
1734 aBrkWindow.DoScroll( 0, nDiff ); in IMPL_LINK()
/trunk/main/basebmp/test/
H A Dbmpdemo.cxx1014 UINT8 nDiff; in approachColor() local
1018 nDiff = rTo.getRed() - rFrom.getRed(); in approachColor()
1019 aColor.setRed( rFrom.getRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1023 nDiff = rFrom.getRed() - rTo.getRed(); in approachColor()
1024 aColor.setRed( rFrom.getRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1033 aColor.setGreen( rFrom.getGreen() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1038 aColor.setGreen( rFrom.getGreen() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1046 nDiff = rTo.getBlue() - rFrom.getBlue(); in approachColor()
1047 aColor.setBlue( rFrom.getBlue() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1051 nDiff = rFrom.getBlue() - rTo.getBlue(); in approachColor()
[all …]
/trunk/main/basic/source/classes/
H A Dsbunoobj.cxx3711 int nDiff = nUnoParamCount - nEffectiveParamCount; in SFX_NOTIFY() local
3712 if( !bRestParameterMode || nDiff > 1 ) in SFX_NOTIFY()
/trunk/main/basic/source/runtime/
H A Diosys.cxx780 sal_uIntPtr nDiff = nExpandOnWriteTo - nCur; in ExpandFile() local
782 while( nDiff-- ) in ExpandFile()
/trunk/main/cui/source/dialogs/
H A DSpellDialog.cxx461 sal_Int32 nDiff = pThis->aBackgroundGB.GetPosPixel().Y() + aBackSize.Height() in IMPL_STATIC_LINK() local
463 aBackSize.Height() -= nDiff; in IMPL_STATIC_LINK()
470 aPos.Y() -= nDiff; in IMPL_STATIC_LINK()
475 aDlgSize.Height() -= nDiff; in IMPL_STATIC_LINK()
493 sal_Int32 nDiff = aVendorSize.Height(); in IMPL_STATIC_LINK() local
522 aPos.Y() += nDiff; in IMPL_STATIC_LINK()
527 aDlgSize.Height() += nDiff; in IMPL_STATIC_LINK()
H A Dthesdlg.cxx615 const sal_Int32 nDiff = aVendorSize.Height(); in IMPL_STATIC_LINK() local
636 aPos.Y() += nDiff; in IMPL_STATIC_LINK()
641 aDlgSize.Height() += nDiff; in IMPL_STATIC_LINK()
/trunk/main/cui/source/options/
H A Doptjava.cxx159 sal_Int32 nDiff = nTextWidth + 4 - aButtonSize.Width(); in SvxJavaOptionsPage() local
160 if( nDiff > 0) in SvxJavaOptionsPage()
163 aPos.X() -= nDiff; in SvxJavaOptionsPage()
164 aButtonSize.Width() += nDiff; in SvxJavaOptionsPage()
167 aPos.X() -= nDiff; in SvxJavaOptionsPage()
170 aPos.X() -= nDiff; in SvxJavaOptionsPage()
173 aSize.Width() -= nDiff; in SvxJavaOptionsPage()
/trunk/main/cui/source/tabpages/
H A Dchardlg.cxx3516 long nDiff = m_aScaleWidthMF.GetPosPixel().Y() - in Reset() local
3522 aPnt.Y() -= nDiff; in Reset()
H A Dnumpages.cxx3744 long nDiff = nValue + aNumFmt.GetFirstLineOffset(); in IMPL_LINK() local
3746 aNumFmt.SetAbsLSpace(sal_uInt16(nAbsLSpace + nDiff)); in IMPL_LINK()
/trunk/main/dbaccess/source/core/api/
H A DRowSetCache.cxx837 sal_Int32 nDiff = (sal_Int32)(m_nFetchSize*0.5 -0.5); in moveWindow() local
838 sal_Int32 nNewStartPos = (m_nPosition - nDiff); in moveWindow()
/trunk/main/dbaccess/source/ui/control/
H A DRelationControl.cxx694 const sal_Int32 nDiff = LogicToPixel( Point(0,6), MAP_APPFONT ).Y(); in lateUIInit() local
705 aDlgPoint.Y() += nDiff + m_aFL_InvolvedFields.GetSizePixel().Height(); in lateUIInit()
712 aDlgSize.Height() = aCurrentSize.Height() - aDlgPoint.Y() - nDiff; in lateUIInit()
/trunk/main/dbaccess/source/ui/misc/
H A DWCopyTable.cxx1494 sal_Int32 nDiff = 1; in convertColumnName() local
1497 ++nDiff; in convertColumnName()
1499 sAlias = sAlias.copy(0,sAlias.getLength() - (sAlias.getLength()-_nMaxNameLen+nDiff)); in convertColumnName()
/trunk/main/drawinglayer/source/processor2d/
H A Dvclprocessor2d.cxx536 const sal_Int32 nDiff((nBLeft / nBWidth) + 1); in RenderFillGraphicPrimitive2D() local
538 nPosX -= nDiff; in RenderFillGraphicPrimitive2D()
539 nBLeft -= nDiff * nBWidth; in RenderFillGraphicPrimitive2D()
544 const sal_Int32 nDiff(-nBLeft / nBWidth); in RenderFillGraphicPrimitive2D() local
546 nPosX += nDiff; in RenderFillGraphicPrimitive2D()
547 nBLeft += nDiff * nBWidth; in RenderFillGraphicPrimitive2D()
554 nPosY -= nDiff; in RenderFillGraphicPrimitive2D()
555 nBTop -= nDiff * nBHeight; in RenderFillGraphicPrimitive2D()
560 const sal_Int32 nDiff(-nBTop / nBHeight); in RenderFillGraphicPrimitive2D() local
562 nPosY += nDiff; in RenderFillGraphicPrimitive2D()
[all …]
/trunk/main/drawinglayer/source/texture/
H A Dtexture.cxx757 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(fStartX / fWidth)) + 1); in appendTransformations() local
759 nPosX -= nDiff; in appendTransformations()
760 fStartX -= nDiff * fWidth; in appendTransformations()
765 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(-fStartX / fWidth))); in appendTransformations() local
767 nPosX += nDiff; in appendTransformations()
768 fStartX += nDiff * fWidth; in appendTransformations()
775 nPosY -= nDiff; in appendTransformations()
776 fStartY -= nDiff * fHeight; in appendTransformations()
781 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(-fStartY / fHeight))); in appendTransformations() local
783 nPosY += nDiff; in appendTransformations()
[all …]
/trunk/main/editeng/inc/editeng/
H A Deditview.hxx171 void MoveParagraphs( long nDiff );
H A Doutliner.hxx296 void Indent( short nDiff );
/trunk/main/editeng/source/editeng/
H A Deditattr.hxx111 inline void MoveForward( sal_uInt16 nDiff );
112 inline void MoveBackward( sal_uInt16 nDiff );
114 inline void Expand( sal_uInt16 nDiff );
115 inline void Collaps( sal_uInt16 nDiff );
142 nStart = nStart + nDiff; in MoveForward()
143 nEnd = nEnd + nDiff; in MoveForward()
149 nStart = nStart - nDiff; in MoveBackward()
150 nEnd = nEnd - nDiff; in MoveBackward()
153 inline void EditCharAttrib::Expand( sal_uInt16 nDiff ) in Expand() argument
157 nEnd = nEnd + nDiff; in Expand()
[all …]
H A Deditdoc.hxx590 void MarkInvalid( sal_uInt16 nStart, short nDiff);
H A Deditdoc2.cxx205 void ParaPortion::MarkInvalid( sal_uInt16 nStart, short nDiff ) in MarkInvalid() argument
210 nInvalidPosStart = ( nDiff >= 0 ) ? nStart : ( nStart + nDiff ); in MarkInvalid()
211 nInvalidDiff = nDiff; in MarkInvalid()
216 if ( ( nDiff > 0 ) && ( nInvalidDiff > 0 ) && in MarkInvalid()
219 nInvalidDiff = nInvalidDiff + nDiff; in MarkInvalid()
222 else if ( ( nDiff < 0 ) && ( nInvalidDiff < 0 ) && ( nInvalidPosStart == nStart ) ) in MarkInvalid()
224 nInvalidPosStart = nInvalidPosStart + nDiff; in MarkInvalid()
225 nInvalidDiff = nInvalidDiff + nDiff; in MarkInvalid()
230 DBG_ASSERT( ( nDiff >= 0 ) || ( (nStart+nDiff) >= 0 ), "MarkInvalid: Diff out of Range" ); in MarkInvalid()
231 nInvalidPosStart = Min( nInvalidPosStart, (sal_uInt16) ( nDiff < 0 ? nStart+nDiff : nDiff ) ); in MarkInvalid()
H A Deditundo.cxx479 long nDiff = ( nDest - aTmpRange.Min() ); in Undo() local
480 aTmpRange.Min() += nDiff; in Undo()
481 aTmpRange.Max() += nDiff; in Undo()
H A Deditview.cxx724 void EditView::MoveParagraphs( long nDiff ) in MoveParagraphs() argument
731 long nDest = ( nDiff > 0 ? aRange.Max() : aRange.Min() ) + nDiff; in MoveParagraphs()
732 if ( nDiff > 0 ) in MoveParagraphs()
H A Dimpedit.cxx932 long nDiff = pEditEngine->pImpEditEngine->GetTextHeight() - aNewVisArea.Bottom(); // negativ in Scroll() local
933 aNewVisArea.Move( 0, nDiff ); // koennte im neg. Bereich landen... in Scroll()
951 …long nDiff = pEditEngine->pImpEditEngine->CalcTextWidth( sal_False ) - aNewVisArea.Right(); // ne… in Scroll() local
952 aNewVisArea.Move( nDiff, 0 ); // koennte im neg. Bereich landen... in Scroll()
H A Dimpedit3.cxx455 long nDiff = nNewHeight - nCurTextHeight; in FormatDoc() local
456 if ( nDiff ) in FormatDoc()
474 else if ( nDiff ) in FormatDoc()
1320 long nDiff = nMinHeight - nTxtHeight; in CreateLines() local
1338 long nDiff = pLine->GetHeight() - nH; in CreateLines() local
1339 if ( nDiff > pLine->GetMaxAscent() ) in CreateLines()
1340 nDiff = pLine->GetMaxAscent(); in CreateLines()
1677 long nDiff = nMinHeight - nTxtHeight; in CreateAndInsertEmptyLine() local
1697 if ( nDiff > pTmpLine->GetMaxAscent() ) in CreateAndInsertEmptyLine()
1698 nDiff = pTmpLine->GetMaxAscent(); in CreateAndInsertEmptyLine()
[all …]

Completed in 254 milliseconds

12345678