/frameworks/base/services/common_time/ |
common_clock_service.h | 86 Vector<sp<ICommonClockListener> > mListeners;
|
/system/core/healthd/ |
BatteryPropertiesRegistrar.h | 43 Vector<sp<IBatteryPropertiesListener> > mListeners;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ViewPositionObserver.java | 20 private final ArrayList<Listener> mListeners; 28 mListeners = new ArrayList<Listener>(); 64 if (mListeners.contains(listener)) return; 66 if (mListeners.isEmpty()) { 71 mListeners.add(listener); 79 if (!mListeners.contains(listener)) return; 81 mListeners.remove(listener); 83 if (mListeners.isEmpty()) { 89 for (int i = 0; i < mListeners.size(); i++) { 90 mListeners.get(i).onPositionChanged(mPosition[0], mPosition[1]) [all...] |
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
InputManagerV16.java | 34 private final Map<InputManagerCompat.InputDeviceListener, V16InputDeviceListener> mListeners; 38 mListeners = new HashMap<InputManagerCompat.InputDeviceListener, V16InputDeviceListener>(); 79 mListeners.put(listener, v16Listener); 84 V16InputDeviceListener curListener = mListeners.remove(listener);
|
InputManagerV9.java | 43 private final Map<InputDeviceListener, Handler> mListeners; 90 mListeners = new HashMap<InputDeviceListener, Handler>(); 120 mListeners.remove(listener); 124 mListeners.put(listener, handler); 129 mListeners.remove(listener); 134 if (!mListeners.isEmpty()) { 137 for (InputDeviceListener listener : mListeners.keySet()) { 138 Handler handler = mListeners.get(listener);
|
/frameworks/base/location/java/android/location/ |
CountryDetector.java | 85 private final HashMap<CountryListener, ListenerTransport> mListeners; 95 mListeners = new HashMap<CountryListener, ListenerTransport>(); 123 synchronized (mListeners) { 124 if (!mListeners.containsKey(listener)) { 128 mListeners.put(listener, transport); 140 synchronized (mListeners) { 141 ListenerTransport transport = mListeners.get(listener); 144 mListeners.remove(listener);
|
/frameworks/base/services/java/com/android/server/wm/ |
PointerEventDispatcher.java | 31 ArrayList<PointerEventListener> mListeners = new ArrayList<PointerEventListener>(); 45 synchronized (mListeners) { 47 mListenersArray = new PointerEventListener[mListeners.size()]; 48 mListeners.toArray(mListenersArray); 66 synchronized (mListeners) { 67 if (mListeners.contains(listener)) { 71 mListeners.add(listener); 81 synchronized (mListeners) { 82 if (!mListeners.contains(listener)) { 86 mListeners.remove(listener) [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
MonitoredActivity.java | 26 private final ArrayList<LifeCycleListener> mListeners = 51 if (mListeners.contains(listener)) return; 52 mListeners.add(listener); 56 mListeners.remove(listener); 62 for (LifeCycleListener listener : mListeners) { 70 for (LifeCycleListener listener : mListeners) { 78 for (LifeCycleListener listener : mListeners) { 86 for (LifeCycleListener listener : mListeners) {
|
/packages/apps/Camera/src/com/android/camera/ui/ |
PopupManager.java | 39 private ArrayList<OnOtherPopupShowedListener> mListeners = new ArrayList<OnOtherPopupShowedListener>(); 42 for (OnOtherPopupShowedListener listener : mListeners) { 50 mListeners.add(listener);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
CheckBroker.java | 23 private Collection<OnCheckedChangedListener> mListeners = 35 for (OnCheckedChangedListener l : mListeners) { 42 for (OnCheckedChangedListener l : mListeners) { 50 mListeners.add(l); 54 mListeners.remove(l);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
PopupManager.java | 39 private ArrayList<OnOtherPopupShowedListener> mListeners = new ArrayList(); 42 for (OnOtherPopupShowedListener listener : mListeners) { 50 mListeners.add(listener);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
AudioModeProvider.java | 35 private final List<AudioModeListener> mListeners = Lists.newArrayList(); 44 for (AudioModeListener l : mListeners) { 51 for (AudioModeListener l : mListeners) { 60 for (AudioModeListener l : mListeners) { 66 if (!mListeners.contains(listener)) { 67 mListeners.add(listener); 75 if (mListeners.contains(listener)) { 76 mListeners.remove(listener);
|
/packages/services/Telephony/src/com/android/phone/ |
WiredHeadsetManager.java | 46 private final List<WiredHeadsetListener> mListeners = Lists.newArrayList(); 67 if (!mListeners.contains(listener)) { 68 mListeners.add(listener); 85 for (int i = 0; i < mListeners.size(); i++) { 86 mListeners.get(i).onWiredHeadsetConnection(mIsHeadsetPlugged);
|
/frameworks/base/core/java/android/animation/ |
Animator.java | 30 ArrayList<AnimatorListener> mListeners = null; 221 if (mListeners == null) { 222 mListeners = new ArrayList<AnimatorListener>(); 224 mListeners.add(listener); 234 if (mListeners == null) { 237 mListeners.remove(listener); 238 if (mListeners.size() == 0) { 239 mListeners = null; 250 return mListeners; 288 if (mListeners != null) [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 83 private List<ListenerDelegate> mListeners = new ArrayList<ListenerDelegate>(); 92 final int size = mListeners.size(); 94 mListeners.get(i).sendShareAvailabilityChanged(available); 99 final int size = mListeners.size(); 101 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); 113 private SparseArray<ObbListenerDelegate> mListeners = new SparseArray<ObbListenerDelegate>(); 118 synchronized (mListeners) { 119 delegate = mListeners.get(nonce); 121 mListeners.remove(nonce); 133 synchronized (mListeners) { [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
ChromeSigninController.java | 37 private final ObserverList<Listener> mListeners = new ObserverList<Listener>(); 82 for (Listener listener : mListeners) { 97 mListeners.addObserver(listener); 105 mListeners.removeObserver(listener);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListFilterController.java | 83 private final List<ContactListFilterListener> mListeners = 95 mListeners.add(listener); 100 mListeners.remove(listener); 124 if (notifyListeners && !mListeners.isEmpty()) { 137 for (ContactListFilterListener listener : mListeners) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSet.java | 152 private WeakHashMap<ContentListener, Object> mListeners = 159 mListeners.put(listener, null); 163 mListeners.remove(listener); 168 for (ContentListener listener : mListeners.keySet()) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 53 ArrayList<Animator.AnimatorListener> mListeners; 59 mListeners = new ArrayList<Animator.AnimatorListener>(); 64 mListeners.add(listener); 91 return mListeners; 101 for (int i = 0; i < mListeners.size(); i++) { 102 Animator.AnimatorListener listener = mListeners.get(i); 110 for (int i = 0; i < mListeners.size(); i++) { 111 Animator.AnimatorListener listener = mListeners.get(i); 119 for (int i = 0; i < mListeners.size(); i++) { 120 Animator.AnimatorListener listener = mListeners.get(i) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherViewPropertyAnimator.java | 54 ArrayList<Animator.AnimatorListener> mListeners; 60 mListeners = new ArrayList<Animator.AnimatorListener>(); 65 mListeners.add(listener); 92 return mListeners; 102 for (int i = 0; i < mListeners.size(); i++) { 103 Animator.AnimatorListener listener = mListeners.get(i); 111 for (int i = 0; i < mListeners.size(); i++) { 112 Animator.AnimatorListener listener = mListeners.get(i); 120 for (int i = 0; i < mListeners.size(); i++) { 121 Animator.AnimatorListener listener = mListeners.get(i) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
LocationBasedCountryDetectorTest.java | 44 private Map<String, LocationListener> mListeners; 55 mListeners = new HashMap<String, LocationListener>(); 98 mListeners.put(provider, listener); 103 for (Entry<String, LocationListener> entry : mListeners.entrySet()) { 105 mListeners.remove(entry.getKey()); 113 return mListeners; 128 LocationListener[] listeners = new LocationListener[mListeners.size()]; 136 return mListeners.size();
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 59 private List<LocationTrackingListener> mListeners; 121 mListeners = new ArrayList<LocationTrackingListener>( 140 mListeners.add(listener); 242 if (mListeners != null) { 243 for (LocationTrackingListener listener : mListeners) { 246 mListeners.clear(); 248 mListeners = null;
|
/frameworks/base/core/java/android/view/accessibility/ |
CaptioningManager.java | 54 mListeners = new ArrayList<CaptioningChangeListener>(); 144 synchronized (mListeners) { 145 if (mListeners.isEmpty()) { 156 mListeners.add(listener); 171 synchronized (mListeners) { 172 mListeners.remove(listener); 174 if (mListeners.isEmpty()) { 182 synchronized (mListeners) { 183 for (CaptioningChangeListener listener : mListeners) { 191 synchronized (mListeners) { [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 55 private final ArrayList<Listener> mListeners = new ArrayList<Listener>(); 78 for (Listener listener : mListeners) { 85 for (Listener listener : mListeners) { 98 for (Listener listener : mListeners) { 204 if (!mListeners.contains(listener)) { 205 mListeners.add(listener); 217 mListeners.remove(listener);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ProviderStatusWatcher.java | 87 private final ArrayList<ProviderStatusListener> mListeners = Lists.newArrayList(); 113 mListeners.add(listener); 118 mListeners.remove(listener); 123 Log.d(TAG, "notifyListeners: " + mListeners.size()); 126 for (ProviderStatusListener listener : mListeners) {
|