(insets: any)
| 348 | } |
| 349 | |
| 350 | public override _setDefaultPaddings(insets: any): void { |
| 351 | if (insets instanceof UIEdgeInsets) { |
| 352 | this._defaultPaddingTop = layout.toDevicePixels(insets.top); |
| 353 | this._defaultPaddingRight = layout.toDevicePixels(insets.right); |
| 354 | this._defaultPaddingBottom = layout.toDevicePixels(insets.bottom); |
| 355 | this._defaultPaddingLeft = layout.toDevicePixels(insets.left); |
| 356 | } else { |
| 357 | this._defaultPaddingTop = 0; |
| 358 | this._defaultPaddingRight = 0; |
| 359 | this._defaultPaddingBottom = 0; |
| 360 | this._defaultPaddingLeft = 0; |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | public getLocationInWindow(): Point { |
| 365 | if (!this.nativeViewProtected || !this.nativeViewProtected.window) { |
no outgoing calls
no test coverage detected