(int dp)
| 2387 | /// |
| 2388 | /// Value converted to pixels. |
| 2389 | private int dp2px(int dp) { |
| 2390 | return CN.convertToPixels(dp / 96f * 25.4f); |
| 2391 | } |
| 2392 | |
| 2393 | /// Initial implementation used separate shadow rendering on each platform's native layer via the |
| 2394 | /// platform's drawShadow() method. However, performance in the simulator was terrible, so I implemented |
no test coverage detected