Home
last modified time | relevance | path

Searched refs:weakReference (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java202 final WeakReference<OnColorsChangedListener> weakReference = references.get(i); in triggerColorsChanged() local
203 final OnColorsChangedListener listener = weakReference.get(); in triggerColorsChanged()
205 mOnColorsChangedListeners.remove(weakReference); in triggerColorsChanged()
235 final WeakReference<OnColorsChangedListener> weakReference = references.get(i); in removeOnColorsChangedListener() local
236 if (weakReference.get() == listener) { in removeOnColorsChangedListener()
237 mOnColorsChangedListeners.remove(weakReference); in removeOnColorsChangedListener()