MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / tactileTouchVibe

Method tactileTouchVibe

CodenameOne/src/com/codename1/ui/Form.java:3304–3308  ·  view source on GitHub ↗
(int x, int y, Component cmp)

Source from the content-addressed store, hash-verified

3302 }
3303
3304 private void tactileTouchVibe(int x, int y, Component cmp) {
3305 if (tactileTouchDuration > 0 && cmp.isTactileTouch(x, y)) {
3306 Display.getInstance().vibrate(tactileTouchDuration);
3307 }
3308 }
3309
3310 //https://github.com/codenameone/CodenameOne/issues/2352
3311 private void cancelScrolling(Component cmp) {

Callers 1

pointerPressedMethod · 0.95

Calls 3

getInstanceMethod · 0.95
isTactileTouchMethod · 0.45
vibrateMethod · 0.45

Tested by

no test coverage detected