Searched refs:DefaultDisplay (Results 1 – 16 of 16) sorted by relevance
36 DefaultDisplay.DisplayInfoChangeListener {60 DefaultDisplay display = DefaultDisplay.INSTANCE.get(context); in ConfigMonitor()62 DefaultDisplay.Info displayInfo = display.getInfo(); in ConfigMonitor()85 public void onDisplayInfoChanged(DefaultDisplay.Info info, int flags) { in onDisplayInfoChanged()116 DefaultDisplay display = DefaultDisplay.INSTANCE.get(mContext); in unregister()
36 public class DefaultDisplay implements DisplayListener { class38 public static final MainThreadInitializedObject<DefaultDisplay> INSTANCE =39 new MainThreadInitializedObject<>(DefaultDisplay::new);53 private DefaultDisplay(Context context) { in DefaultDisplay() method in DefaultDisplay
82 import com.android.launcher3.util.DefaultDisplay;135 NavigationModeChangeListener, DefaultDisplay.DisplayInfoChangeListener {326 mDefaultDisplayId = DefaultDisplay.INSTANCE.get(this).getInfo().id; in onCreate()393 DefaultDisplay.Info displayInfo = DefaultDisplay.INSTANCE.get(this).getInfo(); in initTouchBounds()439 DefaultDisplay.INSTANCE.get(this).addChangeListener(this); in onNavigationModeChanged()441 DefaultDisplay.INSTANCE.get(this).removeChangeListener(this); in onNavigationModeChanged()457 public void onDisplayInfoChanged(DefaultDisplay.Info info, int flags) { in onDisplayInfoChanged()523 DefaultDisplay.INSTANCE.get(this).removeChangeListener(this); in onDestroy()
25 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
26 import com.android.launcher3.util.DefaultDisplay;39 mDisplayRotation = DefaultDisplay.INSTANCE.get(context).getInfo().rotation; in NavBarPosition()
23 import com.android.launcher3.util.DefaultDisplay;144 int singleFrameMs = DefaultDisplay.getSingleFrameMs(context); in build()
19 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
42 import com.android.launcher3.util.DefaultDisplay;108 mDisplaySize = DefaultDisplay.INSTANCE.get(context).getInfo().realSize; in DeviceLockedInputConsumer()
50 import com.android.launcher3.util.DefaultDisplay;190 DefaultDisplay.Info displayInfo = DefaultDisplay.INSTANCE.get(context).getInfo(); in initGrid()
34 import com.android.launcher3.util.DefaultDisplay;589 boolean isSeascape = DefaultDisplay.INSTANCE.get(context).getInfo().rotation in updateIsSeascape()
18 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
38 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
27 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;
23 import static com.android.launcher3.util.DefaultDisplay.getSingleFrameMs;