Creates a new instance of VirtualList
()
| 396 | |
| 397 | /** Creates a new instance of VirtualList */ |
| 398 | public VirtualList() { |
| 399 | //setFullScreenMode(Config.fullscreen); |
| 400 | /* if (phoneManufacturer != Config.MICROEMU) { |
| 401 | width = sd.canvas.getWidth(); |
| 402 | height = sd.canvas.getHeight(); |
| 403 | }*/ |
| 404 | |
| 405 | PopUp.getInstance(); |
| 406 | |
| 407 | changeOrient(cf.panelsState); |
| 408 | |
| 409 | // setFullScreenMode(fullscreen); |
| 410 | |
| 411 | scrollbar=new ScrollBar(); |
| 412 | scrollbar.setHasPointerEvents(VirtualCanvas.getInstance().hasPointerEvents()); |
| 413 | |
| 414 | infobar = new MainBar("", true, VirtualCanvas.getInstance().hasPointerEvents() && cf.advTouch && Config.fullscreen); |
| 415 | infobar.addElement(null); //1 |
| 416 | infobar.addRAlign(); |
| 417 | infobar.addElement(null); //3 |
| 418 | |
| 419 | stringHeight = FontCache.getFont(false, FontCache.roster).getHeight(); |
| 420 | } |
| 421 | |
| 422 | public void show() { |
| 423 | parentView = VirtualCanvas.getInstance().getList(); |
nothing calls this directly
no test coverage detected