Searched refs:accelerometerListener (Results 1 – 1 of 1) sorted by relevance
50 private final AccelerometerListener accelerometerListener; field in ProximitySensor63 @NonNull AccelerometerListener accelerometerListener) { in ProximitySensor() argument73 this.accelerometerListener = accelerometerListener; in ProximitySensor()74 this.accelerometerListener.setListener(this); in ProximitySensor()89 accelerometerListener.enable(false); in tearDown()126 accelerometerListener.enable(isPhoneOffhook); in onStateChange()165 accelerometerListener.enable(isDisplayOn); in onDisplayStateChanged()