Home | History | Annotate | Download | only in display

Lines Matching defs:SurfaceControl

30 import android.view.SurfaceControl;
45 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN,
46 SurfaceControl.BUILT_IN_DISPLAY_ID_HDMI,
71 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId);
73 SurfaceControl.PhysicalDisplayInfo[] configs =
74 SurfaceControl.getDisplayConfigs(displayToken);
81 int activeConfig = SurfaceControl.getActiveConfig(displayToken);
119 return SurfaceControl.POWER_MODE_OFF;
121 return SurfaceControl.POWER_MODE_DOZE;
123 return SurfaceControl.POWER_MODE_DOZE_SUSPEND;
125 return SurfaceControl.POWER_MODE_NORMAL;
131 private final SurfaceControl.PhysicalDisplayInfo mPhys;
142 SurfaceControl.PhysicalDisplayInfo[] physicalDisplayInfos, int activeDisplayInfo) {
145 mPhys = new SurfaceControl.PhysicalDisplayInfo(
152 SurfaceControl.PhysicalDisplayInfo[] physicalDisplayInfos, int activeDisplayInfo) {
153 SurfaceControl.PhysicalDisplayInfo newPhys = physicalDisplayInfos[activeDisplayInfo];
190 if (mBuiltInDisplayId == SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN) {
242 SurfaceControl.setDisplayPowerMode(token, mode);
263 SurfaceControl.setActiveConfig(getDisplayTokenLocked(), configIndex);
269 SurfaceControl.setActiveConfig(getDisplayTokenLocked(), mDefaultPhysicalDisplayInfo);
286 SurfaceControl.PhysicalDisplayInfo[] physicalDisplayInfos,
287 SurfaceControl.PhysicalDisplayInfo activePhys) {
293 final SurfaceControl.PhysicalDisplayInfo phys = physicalDisplayInfos[i];