()
| 279 | } |
| 280 | |
| 281 | public _layoutParent() { |
| 282 | if (this.nativeViewProtected) { |
| 283 | const frame = this.nativeViewProtected.frame; |
| 284 | const origin = frame.origin; |
| 285 | const size = frame.size; |
| 286 | const left = layout.toDevicePixels(origin.x); |
| 287 | const top = layout.toDevicePixels(origin.y); |
| 288 | const width = layout.toDevicePixels(size.width); |
| 289 | const height = layout.toDevicePixels(size.height); |
| 290 | this._setLayoutFlags(left, top, width + left, height + top); |
| 291 | } |
| 292 | |
| 293 | super._layoutParent(); |
| 294 | } |
| 295 | |
| 296 | public _setLayoutFlags(left: number, top: number, right: number, bottom: number): void { |
| 297 | const width = right - left; |
no test coverage detected