(
final int orientation, boolean fullscreen)
| 2220 | } |
| 2221 | |
| 2222 | public final void setOrientation( |
| 2223 | final int orientation, boolean fullscreen) { |
| 2224 | |
| 2225 | if (orientation != ORIENTATION_0) { |
| 2226 | /* |
| 2227 | * When not in 0-degree view, always use fullscreen. |
| 2228 | */ |
| 2229 | fullscreen = true; |
| 2230 | } |
| 2231 | |
| 2232 | if (this.orientation != orientation |
| 2233 | || this.fullscreen != fullscreen) { |
| 2234 | |
| 2235 | renderWaitCursor(); |
| 2236 | |
| 2237 | this.orientation = orientation; |
| 2238 | this.fullscreen = fullscreen; |
| 2239 | |
| 2240 | applyAbsScrPgOrd(); |
| 2241 | loadButtons(); |
| 2242 | reloadPages(); |
| 2243 | applyScrollingLimits(); |
| 2244 | } |
| 2245 | } |
| 2246 | |
| 2247 | public final void sizeChanged(final int width, final int height) { |
| 2248 | if (prevWidth == width && prevHeight == height) { |
no test coverage detected