Searched refs:ScreenOnTracker (Results 1 – 4 of 4) sorted by relevance
30 public class ScreenOnTracker implements SafeCloseable { class32 public static final MainThreadInitializedObject<ScreenOnTracker> INSTANCE =33 new MainThreadInitializedObject<>(ScreenOnTracker::new);41 private ScreenOnTracker(Context context) { in ScreenOnTracker() method in ScreenOnTracker
42 import com.android.launcher3.util.ScreenOnTracker;43 import com.android.launcher3.util.ScreenOnTracker.ScreenOnListener;178 ScreenOnTracker.INSTANCE.get(mActivity).addListener(mScreenOnListener); in onViewAttachedToWindow()183 ScreenOnTracker.INSTANCE.get(mActivity).removeListener(mScreenOnListener); in onViewDetachedFromWindow()
106 import com.android.launcher3.util.ScreenOnTracker;538 private final ScreenOnTracker.ScreenOnListener mScreenOnListener = this::onScreenOnChanged;603 ScreenOnTracker.INSTANCE.get(this).addListener(mScreenOnListener); in onCreate()755 ScreenOnTracker.INSTANCE.get(this).removeListener(mScreenOnListener);
243 import com.android.launcher3.util.ScreenOnTracker;244 import com.android.launcher3.util.ScreenOnTracker.ScreenOnListener;578 ScreenOnTracker.INSTANCE.get(this).addListener(mScreenOnListener); in onCreate()1796 ScreenOnTracker.INSTANCE.get(this).removeListener(mScreenOnListener);