Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DScreenOnTracker.java30 public class ScreenOnTracker implements SafeCloseable { class
32 public static final MainThreadInitializedObject<ScreenOnTracker> INSTANCE =
33 new MainThreadInitializedObject<>(ScreenOnTracker::new);
41 private ScreenOnTracker(Context context) { in ScreenOnTracker() method in ScreenOnTracker
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DSysUiScrim.java42 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()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java106 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);
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java243 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);