| 145 | } |
| 146 | |
| 147 | int ContinuousViewModel::yPositionForPage(int pageIndex) const |
| 148 | { |
| 149 | if (pageIndex < 0 || pageIndex >= layoutSnapshot.yPositions.size()) { |
| 150 | return 0; |
| 151 | } |
| 152 | |
| 153 | return layoutSnapshot.yPositions[pageIndex]; |
| 154 | } |
| 155 | |
| 156 | int ContinuousViewModel::pageAtY(int y) const |
| 157 | { |
no outgoing calls
no test coverage detected