Home | History | Annotate | Download | only in display

Lines Matching defs:SurfaceControl

30 import android.view.SurfaceControl;
47 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN,
48 SurfaceControl.BUILT_IN_DISPLAY_ID_HDMI,
73 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId);
75 SurfaceControl.PhysicalDisplayInfo[] configs =
76 SurfaceControl.getDisplayConfigs(displayToken);
83 int activeConfig = SurfaceControl.getActiveConfig(displayToken);
121 return SurfaceControl.POWER_MODE_OFF;
123 return SurfaceControl.POWER_MODE_DOZE;
125 return SurfaceControl.POWER_MODE_DOZE_SUSPEND;
127 return SurfaceControl.POWER_MODE_NORMAL;
133 private final SurfaceControl.PhysicalDisplayInfo mPhys;
144 SurfaceControl.PhysicalDisplayInfo[] physicalDisplayInfos, int activeDisplayInfo) {
147 mPhys = new SurfaceControl.PhysicalDisplayInfo(
154 SurfaceControl.PhysicalDisplayInfo[] physicalDisplayInfos, int activeDisplayInfo) {
155 SurfaceControl.PhysicalDisplayInfo newPhys = physicalDisplayInfos[activeDisplayInfo];
193 if (mBuiltInDisplayId == SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN) {
245 SurfaceControl.setDisplayPowerMode(token, mode);
266 SurfaceControl.setActiveConfig(getDisplayTokenLocked(), configIndex);
272 SurfaceControl.setActiveConfig(getDisplayTokenLocked(), mDefaultPhysicalDisplayInfo);
289 SurfaceControl.PhysicalDisplayInfo[] physicalDisplayInfos,
290 SurfaceControl.PhysicalDisplayInfo activePhys) {
296 final SurfaceControl.PhysicalDisplayInfo phys = physicalDisplayInfos[i];