Lines Matching refs:nDayIndex
649 sal_uInt16 nDayIndex = (sal_uInt16)rDate.GetDayOfWeek(); in ImplHitTest() local
650 nDayIndex = (nDayIndex+(7-(sal_uInt16)eStartDay)) % 7; in ImplHitTest()
654 aTempDate -= nDayIndex; in ImplHitTest()
655 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplHitTest()
671 rDate += nDayIndex; in ImplHitTest()
674 nOffX = nDayX + (nDayIndex*mnDayWidth); in ImplHitTest()
681 if ( nDayIndex == 6 ) in ImplHitTest()
683 nDayIndex = 0; in ImplHitTest()
687 nDayIndex++; in ImplHitTest()
700 rDate += nDayIndex; in ImplHitTest()
703 nOffX = nDayX + (nDayIndex*mnDayWidth); in ImplHitTest()
711 if ( nDayIndex == 6 ) in ImplHitTest()
713 nDayIndex = 0; in ImplHitTest()
717 nDayIndex++; in ImplHitTest()
1141 sal_uInt16 nDayIndex = (sal_uInt16)aDate.GetDayOfWeek(); in ImplDraw() local
1142 nDayIndex = (nDayIndex+(7-(sal_uInt16)eStartDay)) % 7; in ImplDraw()
1146 aTempDate -= nDayIndex; in ImplDraw()
1147 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplDraw()
1157 nDeltaX = nDayX + (nDayIndex*mnDayWidth); in ImplDraw()
1159 (DayOfWeek)((nDayIndex+(sal_uInt16)eStartDay)%7), in ImplDraw()
1161 if ( nDayIndex == 6 ) in ImplDraw()
1163 nDayIndex = 0; in ImplDraw()
1167 nDayIndex++; in ImplDraw()
1178 nDeltaX = nDayX + (nDayIndex*mnDayWidth); in ImplDraw()
1181 (DayOfWeek)((nDayIndex+(sal_uInt16)eStartDay)%7), in ImplDraw()
1183 if ( nDayIndex == 6 ) in ImplDraw()
1185 nDayIndex = 0; in ImplDraw()
1189 nDayIndex++; in ImplDraw()
2256 sal_uInt16 nDayIndex; in GetDateRect() local
2278 nDayIndex = 0; in GetDateRect()
2283 aRect.Left() += nDayIndex*mnDayWidth; in GetDateRect()
2287 if ( nDayIndex == 6 ) in GetDateRect()
2289 nDayIndex = 0; in GetDateRect()
2294 nDayIndex++; in GetDateRect()
2314 nDayIndex = (sal_uInt16)aDate.GetDayOfWeek(); in GetDateRect()
2315 nDayIndex = (nDayIndex+(7-(sal_uInt16)ImplGetWeekStart())) % 7; in GetDateRect()
2320 aRect.Left() = nDayX + (nDayIndex*mnDayWidth); in GetDateRect()
2326 if ( nDayIndex == 6 ) in GetDateRect()
2328 nDayIndex = 0; in GetDateRect()
2332 nDayIndex++; in GetDateRect()