/aoo42x/main/vcl/workben/ |
H A D | svptest.cxx | 189 if( rFrom.GetRed() < rTo.GetRed() ) in approachColor() 191 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor() 194 else if( rFrom.GetRed() > rTo.GetRed() ) in approachColor() 196 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor() 200 aColor.SetRed( rFrom.GetRed() ); in approachColor() 203 if( rFrom.GetGreen() < rTo.GetGreen() ) in approachColor() 214 aColor.SetGreen( rFrom.GetGreen() ); in approachColor() 217 if( rFrom.GetBlue() < rTo.GetBlue() ) in approachColor() 219 nDiff = rTo.GetBlue() - rFrom.GetBlue(); in approachColor() 224 nDiff = rFrom.GetBlue() - rTo.GetBlue(); in approachColor() [all …]
|
/aoo42x/main/cppu/source/uno/ |
H A D | lbmap.cxx | 294 aKey.append( rFrom.getTypeName() ); in getMappingName() 296 aKey.append( reinterpret_cast< sal_IntPtr >(rFrom.get()), 16 ); in getMappingName() 315 aBridgeName.append( EnvDcp::getTypeName(rFrom.getTypeName()) ); in getBridgeName() 356 OSL_ASSERT( rFrom.is() && rTo.is() ); in loadExternalMapping() 357 if (rFrom.is() && rTo.is()) in loadExternalMapping() 400 OSL_ASSERT( rFrom.is() && rTo.is() ); in getDirectMapping() 401 if (rFrom.is() && rTo.is()) in getDirectMapping() 408 getMappingName( rFrom, rTo, rAddPurpose ) ) ); in getDirectMapping() 413 return loadExternalMapping( rFrom, rTo, rAddPurpose ); in getDirectMapping() 425 const Environment & rFrom, const Environment & rTo, in createMediateMapping() argument [all …]
|
/aoo42x/main/slideshow/source/engine/activities/ |
H A D | interpolation.hxx | 42 const ::slideshow::internal::RGBColor& rFrom, in lerp() 46 return interpolate( rFrom, rTo, t ); in lerp() 87 ValueType operator()( const ValueType& rFrom, in operator ()() 91 return basegfx::tools::lerp( rFrom, rTo, t ); in operator ()() 103 HSLColor operator()( const HSLColor& rFrom, in operator ()() 107 return interpolate( rFrom, rTo, t, mbCCW ); in operator ()() 132 const ValueType& rFrom, in lerp() argument 143 return rInterpolator( rFrom, rTo, nFraction ); in lerp() 148 const sal_Int16& rFrom, in lerp() argument 157 return nFrame < nTotalFrames/2 ? rFrom : rTo; in lerp() [all …]
|
H A D | activitiesfactory.cxx | 153 const OptionalValueType& rFrom, in FromToByActivity() argument 161 maFrom( rFrom ), in FromToByActivity()
|
/aoo42x/main/padmin/source/ |
H A D | padialog.cxx | 332 if( rFrom.GetRed() < rTo.GetRed() ) in approachColor() 334 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor() 337 else if( rFrom.GetRed() > rTo.GetRed() ) in approachColor() 339 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor() 343 aColor.SetRed( rFrom.GetRed() ); in approachColor() 346 if( rFrom.GetGreen() < rTo.GetGreen() ) in approachColor() 357 aColor.SetGreen( rFrom.GetGreen() ); in approachColor() 360 if( rFrom.GetBlue() < rTo.GetBlue() ) in approachColor() 362 nDiff = rTo.GetBlue() - rFrom.GetBlue(); in approachColor() 367 nDiff = rFrom.GetBlue() - rTo.GetBlue(); in approachColor() [all …]
|
/aoo42x/main/basebmp/test/ |
H A D | bmpdemo.cxx | 1016 if( rFrom.getRed() < rTo.getRed() ) in approachColor() 1018 nDiff = rTo.getRed() - rFrom.getRed(); in approachColor() 1021 else if( rFrom.getRed() > rTo.getRed() ) in approachColor() 1023 nDiff = rFrom.getRed() - rTo.getRed(); in approachColor() 1027 aColor.setRed( rFrom.getRed() ); in approachColor() 1030 if( rFrom.getGreen() < rTo.getGreen() ) in approachColor() 1041 aColor.setGreen( rFrom.getGreen() ); in approachColor() 1044 if( rFrom.getBlue() < rTo.getBlue() ) in approachColor() 1046 nDiff = rTo.getBlue() - rFrom.getBlue(); in approachColor() 1051 nDiff = rFrom.getBlue() - rTo.getBlue(); in approachColor() [all …]
|
/aoo42x/main/drawinglayer/source/primitive2d/ |
H A D | svggradientprimitive2d.cxx | 353 const SvgGradientEntry& rFrom, in createAtom() argument 358 if(rFrom.getOffset() == rTo.getOffset()) in createAtom() 366 rFrom.getColor(), rFrom.getOffset() + nOffset, in createAtom() 371 const double fTransFrom(1.0 - rFrom.getOpacity()); in createAtom() 378 aColorFrom, rFrom.getOffset() + nOffset, in createAtom() 637 const SvgGradientEntry& rFrom, in createAtom() argument 642 if(rFrom.getOffset() == rTo.getOffset()) in createAtom() 648 const double fScaleFrom(rFrom.getOffset() + nOffset); in createAtom() 658 rFrom.getColor(), fScaleFrom, aTranslateFrom, in createAtom() 665 rFrom.getColor(), fScaleFrom, in createAtom() [all …]
|
/aoo42x/main/slideshow/source/engine/ |
H A D | color.cxx | 300 HSLColor interpolate( const HSLColor& rFrom, const HSLColor& rTo, double t, bool bCCW ) in interpolate() argument 302 const double nFromHue( rFrom.getHue() ); in interpolate() 337 (1.0-t)*rFrom.getSaturation() + t*rTo.getSaturation(), in interpolate() 338 (1.0-t)*rFrom.getLuminance() + t*rTo.getLuminance() ); in interpolate() 458 RGBColor interpolate( const RGBColor& rFrom, const RGBColor& rTo, double t ) in interpolate() argument 460 return RGBColor( (1.0-t)*rFrom.getRed() + t*rTo.getRed(), in interpolate() 461 (1.0-t)*rFrom.getGreen() + t*rTo.getGreen(), in interpolate() 462 (1.0-t)*rFrom.getBlue() + t*rTo.getBlue() ); in interpolate()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | mailmodel.cxx | 971 sal_Bool CreateFromAddress_Impl( String& rFrom ) in CreateFromAddress_Impl() argument 994 rFrom = TRIM( aFirstName ); in CreateFromAddress_Impl() 997 rFrom += ' '; in CreateFromAddress_Impl() 999 rFrom += TRIM( aName ); in CreateFromAddress_Impl() 1001 rFrom.EraseAllChars( '<' ); in CreateFromAddress_Impl() 1002 rFrom.EraseAllChars( '>' ); in CreateFromAddress_Impl() 1003 rFrom.EraseAllChars( '@' ); in CreateFromAddress_Impl() 1013 if ( rFrom.Len() ) in CreateFromAddress_Impl() 1014 rFrom += ' '; in CreateFromAddress_Impl() 1018 rFrom.Erase(); in CreateFromAddress_Impl() [all …]
|
/aoo42x/main/cppu/inc/uno/ |
H A D | mapping.hxx | 80 const ::rtl::OUString & rFrom, const ::rtl::OUString & rTo, 102 inline Mapping(const Environment & rFrom, const Environment & rTo, 206 const ::rtl::OUString & rFrom, const ::rtl::OUString & rTo, const ::rtl::OUString & rAddPurpose ) in Mapping() 210 uno_getMappingByName( &_pMapping, rFrom.pData, rTo.pData, rAddPurpose.pData ); in Mapping() 222 const Environment & rFrom, const Environment & rTo, const ::rtl::OUString & rAddPurpose ) in Mapping() argument 226 uno_getMapping( &_pMapping, rFrom.get(), rTo.get(), rAddPurpose.pData ); in Mapping()
|
/aoo42x/main/drawinglayer/inc/drawinglayer/primitive2d/ |
H A D | svggradientprimitive2d.hxx | 130 const SvgGradientEntry& rFrom, 196 const SvgGradientEntry& rFrom, 265 const SvgGradientEntry& rFrom,
|
/aoo42x/main/basegfx/inc/basegfx/tools/ |
H A D | lerp.hxx | 42 template< typename ValueType > ValueType lerp( const ValueType& rFrom, in lerp() argument 48 return static_cast<ValueType>( (1.0-t)*rFrom + t*rTo ); in lerp()
|
/aoo42x/main/tools/inc/tools/ |
H A D | date.hxx | 80 sal_Bool IsBetween( const Date& rFrom, const Date& rTo ) const in IsBetween() argument 81 { return ((nDate >= rFrom.nDate) && in IsBetween()
|
H A D | time.hxx | 74 sal_Bool IsBetween( const Time& rFrom, const Time& rTo ) const in IsBetween() argument 75 { return ((nTime >= rFrom.nTime) && (nTime <= rTo.nTime)); } in IsBetween()
|
H A D | datetime.hxx | 46 sal_Bool IsBetween( const DateTime& rFrom,
|
/aoo42x/main/sw/source/filter/rtf/ |
H A D | swparrtf.cxx | 758 void rtfSections::CopyFrom(const SwPageDesc &rFrom, SwPageDesc &rDest) in CopyFrom() argument 760 UseOnPage ePage = rFrom.ReadUseOn(); in CopyFrom() 763 mrReader.pDoc->CopyHeader(rFrom.GetMaster(), rDest.GetMaster()); in CopyFrom() 765 rDestFmt.SetFmtAttr(rFrom.GetMaster().GetHeader()); in CopyFrom() 766 mrReader.pDoc->CopyHeader(rFrom.GetLeft(), rDest.GetLeft()); in CopyFrom() 767 mrReader.pDoc->CopyFooter(rFrom.GetMaster(), rDest.GetMaster()); in CopyFrom() 768 mrReader.pDoc->CopyFooter(rFrom.GetLeft(), rDest.GetLeft()); in CopyFrom() 771 void rtfSections::MoveFrom(SwPageDesc &rFrom, SwPageDesc &rDest) in MoveFrom() argument 773 UseOnPage ePage = rFrom.ReadUseOn(); in MoveFrom() 777 SwFrmFmt &rFromMaster = rFrom.GetMaster(); in MoveFrom() [all …]
|
H A D | swparrtf.hxx | 257 void CopyFrom(const SwPageDesc &rFrom, SwPageDesc &rDest); 258 void MoveFrom(SwPageDesc &rFrom, SwPageDesc &rDest);
|
/aoo42x/main/tools/source/datetime/ |
H A D | datetime.cxx | 40 sal_Bool DateTime::IsBetween( const DateTime& rFrom, in IsBetween() argument 43 if ( (*this >= rFrom) && (*this <= rTo) ) in IsBetween()
|
/aoo42x/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 2743 double ConvertDataList::Convert( double fVal, const STRING& rFrom, const STRING& rTo ) THROWDEF_RTE… in Convert() argument 2761 sal_Int16 n = p->GetMatchingLevel( rFrom ); in Convert() 2935 sal_Int32 ScaDate::getDiff( const ScaDate& rFrom, const ScaDate& rTo ) throw( lang::IllegalArgument… in getDiff() argument 2937 if( rFrom > rTo ) in getDiff() 2938 return getDiff( rTo, rFrom ); in getDiff() 2941 ScaDate aFrom( rFrom ); in getDiff() 2949 if( ((rFrom.nMonth == 2) || (rFrom.nDay < 30)) && (aTo.nOrigDay == 31) ) in getDiff()
|
H A D | analysishelper.hxx | 609 double Convert( double fVal, const STRING& rFrom, const STRING& rTo ) THROWDEF_RTE_IAE; 987 …static sal_Int32 getDiff( const ScaDate& rFrom, const ScaDate& rTo ) throw( CSS::lang::…
|
/aoo42x/main/slideshow/source/inc/ |
H A D | hslcolor.hxx | 115 … HSLColor interpolate( const HSLColor& rFrom, const HSLColor& rTo, double t, bool bCCW=true );
|
H A D | rgbcolor.hxx | 117 RGBColor interpolate( const RGBColor& rFrom, const RGBColor& rTo, double t );
|
/aoo42x/main/sfx2/source/inc/ |
H A D | mailmodel.hxx | 99 sal_Bool CreateFromAddress_Impl( String& rFrom );
|
/aoo42x/main/sfx2/inc/sfx2/ |
H A D | mailmodelapi.hxx | 135 sal_Bool CreateFromAddress_Impl( String& rFrom );
|
/aoo42x/main/tools/source/inet/ |
H A D | inetmsg.cxx | 817 void INetRFC822Message::SetFrom (const UniString& rFrom) in SetFrom() argument 821 HDR(INETMSG_RFC822_FROM), rFrom, in SetFrom()
|