(e)
| 320 | } |
| 321 | |
| 322 | handleBaseLayout(e) { |
| 323 | const layout = e.nativeEvent.layout; |
| 324 | |
| 325 | this.setState({ |
| 326 | baseLayout: layout, |
| 327 | frontFaceOriginY: layout.height / 2, |
| 328 | backFaceOriginY: -layout.height / 2, |
| 329 | }, () => { |
| 330 | this.flushTransform( |
| 331 | this.frontFaceRef, |
| 332 | /* eslint-disable no-underscore-dangle */ |
| 333 | this.state.rotateXfront.__getValue(), |
| 334 | /* eslint-enable */ |
| 335 | this.state.frontFaceOriginY, |
| 336 | ); |
| 337 | |
| 338 | this.flushTransform( |
| 339 | this.backFaceRef, |
| 340 | /* eslint-disable no-underscore-dangle */ |
| 341 | this.state.rotateXback.__getValue(), |
| 342 | /* eslint-enable */ |
| 343 | this.state.backFaceOriginY, |
| 344 | ); |
| 345 | }); |
| 346 | } |
| 347 | |
| 348 | renderFrontface() { |
| 349 | if (this.state.baseLayout) { |
nothing calls this directly
no test coverage detected