Lines Matching refs:mnTop
529 mnTop = 0; in ImplListBoxWindow()
627 mnTop = 0; in Clear()
848 sal_uInt16 nSelect = mnTop; in GetEntryPosForPoint()
867 if( i_nEntry >= mnTop ) in IsVisible()
869 if( mpEntryList->GetAddedHeight( i_nEntry, mnTop ) < in IsVisible()
883 sal_uInt16 nPos = mnTop; in GetLastVisibleEntry()
887 …f = 0; nDiff < nWindowHeight && nPos < nCount; nDiff = mpEntryList->GetAddedHeight( nPos, mnTop ) ) in GetLastVisibleEntry()
890 if( nDiff > nWindowHeight && nPos > mnTop ) in GetLastVisibleEntry()
1062 sal_uInt16 nVisibleEntries = GetLastVisibleEntry()-mnTop; in SelectEntry()
1224 long nHeightDiff = mpEntryList->GetAddedHeight( nSelect, mnTop, 0 ); in SelectEntries()
1266 long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 ); in Tracking()
1309 if( nSelect < mnTop ) in Tracking()
1310 SetTopEntry( mnTop-1 ); in Tracking()
1319 SetTopEntry( mnTop+1 ); in Tracking()
1324 nSelect = (sal_uInt16) ( ( aPt.Y() + mnBorder ) / mnMaxHeight ) + (sal_uInt16) mnTop; in Tracking()
1399 long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 ); in Tracking()
1458 if( ( nSelect != LISTBOX_ENTRY_NOTFOUND ) && ( nSelect < mnTop ) ) in ProcessKeyInput()
1459 SetTopEntry( mnTop-1 ); in ProcessKeyInput()
1486 SetTopEntry( mnTop+1 ); in ProcessKeyInput()
1498 sal_uInt16 nCurVis = GetLastVisibleEntry() - mnTop +1; in ProcessKeyInput()
1499 SetTopEntry( ( mnTop > nCurVis ) ? in ProcessKeyInput()
1500 (mnTop-nCurVis) : 0 ); in ProcessKeyInput()
1510 if( mnCurrentPos == mnTop ) in ProcessKeyInput()
1512 sal_uInt16 nCurVis = GetLastVisibleEntry() - mnTop +1; in ProcessKeyInput()
1513 SetTopEntry( ( mnTop > nCurVis ) ? ( mnTop-nCurVis+1 ) : 0 ); in ProcessKeyInput()
1517 nSelect = mpEntryList->FindFirstSelectable( mnTop, true ); in ProcessKeyInput()
1540 sal_uInt16 nCurVis = GetLastVisibleEntry() - mnTop; in ProcessKeyInput()
1542 nTmp += mnTop - 1; in ProcessKeyInput()
1545 long nTmp2 = Min( (long)(nCount-nCurVis), (long)((long)mnTop+(long)nCurVis-1) ); in ProcessKeyInput()
1570 if( mnTop != 0 ) in ProcessKeyInput()
1596 sal_uInt16 nCurVis = GetLastVisibleEntry() - mnTop + 1; in ProcessKeyInput()
1789 long nY = mpEntryList->GetAddedHeight( nPos, mnTop ); in ImplPaint()
1843 long nY = mpEntryList->GetAddedHeight( nPos, mnTop ); in DrawEntry()
1972 for( sal_uInt16 i = (sal_uInt16)mnTop; i < nCount && nY < nHeight + mnMaxHeight; i++ ) in ImplDoPaint()
1983 long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 ); in ImplDoPaint()
2007 if( nEntries > nCount-mnTop ) in GetDisplayLineCount()
2008 nEntries = nCount-mnTop; in GetDisplayLineCount()
2042 long nHeightDiff = mpEntryList->GetAddedHeight( nPos, mnTop, 0 ); in GetFocus()
2086 if ( nTop != mnTop ) in SetTopEntry()
2089 long nDiff = mpEntryList->GetAddedHeight( mnTop, nTop, 0 ); in SetTopEntry()
2092 mnTop = nTop; in SetTopEntry()