Lines Matching defs:dock
74 struct ext_transform_t dock; /* docking settings */
77 __u8 force_dock; /* must dock */
1013 if (ext->dock.enabled && !(ext->mirror.enabled && !(num->dockable || ext->force_dock))) {
1025 ext->current = ext->dock;
1427 ext->current.enabled ? ext->current.docking ? "dock+" : "mirror+" : "OFF+",
1731 ext->dock.enabled = ext->mirror.enabled = 0;
1733 /* check whether we can clone and/or dock */
1736 ext->dock.enabled = atoi(value) > 0;
1744 ext->dock.rotation = atoi(value) & EXT_ROTATION;
1745 ext->dock.hflip = (atoi(value) & EXT_HFLIP) > 0;
1746 ext->dock.docking = 1;
1755 ext->dock.rotation = 0;
1756 ext->dock.hflip = 0;
1759 property_get("persist.hwc.dock_image", value, "/vendor/res/images/dock/dock.png");
1777 ALOGI("external display changed (state=%d, mirror={%s tform=%ddeg%s}, dock={%s tform=%ddeg%s%s}, tv=%d", state,
1781 ext->dock.enabled ? "enabled" : "disabled",
1782 ext->dock.rotation * 90,
1783 ext->dock.hflip ? "+hflip" : "",
1798 int dock;
1805 dock = !strcmp(s, "change@/devices/virtual/switch/dock");
1810 if (!dock && !vsync && !hdmi)
1832 if (dock)
2119 sw_fd = open("/sys/class/switch/dock/state", O_RDONLY);