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.java205 final WeakReference<OnColorsChangedListener> weakReference = references.get(i); in triggerColorsChanged() local
206 final OnColorsChangedListener listener = weakReference.get(); in triggerColorsChanged()
208 mOnColorsChangedListeners.remove(weakReference); in triggerColorsChanged()
238 final WeakReference<OnColorsChangedListener> weakReference = references.get(i); in removeOnColorsChangedListener() local
239 if (weakReference.get() == listener) { in removeOnColorsChangedListener()
240 mOnColorsChangedListeners.remove(weakReference); in removeOnColorsChangedListener()