Searched refs:TwilightListener (Results 1 – 7 of 7) sorted by relevance
32 void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler); in registerListener()39 void unregisterListener(@NonNull TwilightListener listener); in unregisterListener()
61 private final ArrayMap<TwilightListener, Handler> mListeners = new ArrayMap<>();86 public void registerListener(@NonNull TwilightListener listener, in onStart()99 public void unregisterListener(@NonNull TwilightListener listener) { in onStart()227 final TwilightListener listener = mListeners.keyAt(i); in updateTwilightState()
24 public interface TwilightListener { interface
58 import com.android.server.twilight.TwilightListener;1375 private final Map<TwilightListener, Handler> mListeners = new HashMap<>();1388 for (Map.Entry<TwilightListener, Handler> entry : mListeners.entrySet()) { in setTwilightState()1407 public void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler) { in registerListener()1414 public void unregisterListener(@NonNull TwilightListener listener) { in unregisterListener()
102 import com.android.server.twilight.TwilightListener;169 private TwilightListener mTwilightListener;191 mTwilightListener = (TwilightListener) inv.getArgument(0); in setUp()
104 import com.android.server.twilight.TwilightListener;315 private final TwilightListener mTwilightListener = new TwilightListener() {
83 import com.android.server.twilight.TwilightListener;1270 TwilightListener {