Gets the width.
(self)
| 592 | return 0 |
| 593 | |
| 594 | def getWidth(self): |
| 595 | """ |
| 596 | Gets the width. |
| 597 | """ |
| 598 | |
| 599 | if self.useUiAutomator: |
| 600 | return self.map['bounds'][1][0] - self.map['bounds'][0][0] |
| 601 | else: |
| 602 | try: |
| 603 | return int(self.map[self.widthProperty]) |
| 604 | except: |
| 605 | return 0 |
| 606 | |
| 607 | def getUniqueId(self): |
| 608 | """ |
no outgoing calls