Searched refs:listener (Results 1 – 6 of 6) sorted by relevance
119 public void addControllerListener(ControllerListener listener) { in addControllerListener() argument120 assert listener != null; in addControllerListener()121 if (listener != null) { in addControllerListener()123 if (!mListeners.contains(listener)) { in addControllerListener()124 mListeners.add(listener); in addControllerListener()135 public void removeControllerListener(ControllerListener listener) { in removeControllerListener() argument136 assert listener != null; in removeControllerListener()138 mListeners.remove(listener); in removeControllerListener()249 for (ControllerListener listener : mListeners) { in notifyErrorChanged()250 listener.onErrorChanged(); in notifyErrorChanged()[all …]
63 private StateListener listener; field in ViewNode124 listener.nodeStateChanged(this); in filter()129 listener.nodeIndexChanged(this); in computeIndex()136 void setStateListener(StateListener listener) { in setStateListener() argument137 this.listener = listener; in setStateListener()
110 final ControllerListener listener = createControllerListener(); in bindToService() local121 mServiceBinder.addControllerListener(listener); in bindToService()
56 public static void startListenForDevices(AndroidDebugBridge.IDeviceChangeListener listener) { in startListenForDevices() argument57 AndroidDebugBridge.addDeviceChangeListener(listener); in startListenForDevices()
105 public void setVisibilityListener(Runnable listener) { in setVisibilityListener() argument106 mVisibilityListener = listener; in setVisibilityListener()
49 In the other direction, the activity provides a listener for the service to notify55 and then the activity wants to provide a listener to get notified by the handler: