MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / __init__

Method __init__

src/com/dtmilano/android/viewclient.py:2271–2280  ·  view source on GitHub ↗
(self, view)

Source from the content-addressed store, hash-verified

2269 """
2270
2271 def __init__(self, view):
2272 self.vc = None
2273 self.view = view
2274 self.vertical = True
2275 self.bounds = view.getBounds()
2276 (self.x, self.y, self.w, self.h) = view.getPositionAndSize()
2277 self.steps = 10
2278 self.duration = 800
2279 self.swipeDeadZonePercentage = 0.1
2280 self.maxSearchSwipes = 10
2281
2282 def flingBackward(self):
2283 if self.vertical:

Callers

nothing calls this directly

Calls 2

getBoundsMethod · 0.80
getPositionAndSizeMethod · 0.80

Tested by

no test coverage detected