(Display d)
| 597 | } |
| 598 | |
| 599 | void initAdPadding(Display d) { |
| 600 | // this is injected automatically by the implementation in case of ads |
| 601 | String adPaddingBottom = d.getProperty("adPaddingBottom", null); |
| 602 | if (adPaddingBottom != null && adPaddingBottom.length() > 0) { |
| 603 | Container pad = new Container(); |
| 604 | int dim = Integer.parseInt(adPaddingBottom); |
| 605 | dim = d.convertToPixels(dim, true); |
| 606 | if (Display.getInstance().isTablet()) { |
| 607 | dim *= 2; |
| 608 | } |
| 609 | pad.setPreferredSize(new Dimension(dim, dim)); |
| 610 | addComponentToForm(BorderLayout.SOUTH, pad); |
| 611 | } |
| 612 | } |
| 613 | |
| 614 | /// This method returns the value of the theme constant `paintsTitleBarBool` and it is |
| 615 | /// invoked internally in the code. You can override this method to toggle the appearance of the status |
no test coverage detected