Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type Display
- type MockDisplay
- type MockInterfaceDisplay
- func (v *MockInterfaceDisplay) ApplyChanges(flags dbus.Flags) error
- func (v *MockInterfaceDisplay) AssociateTouch(flags dbus.Flags, outputName string, touchSerial string) error
- func (v *MockInterfaceDisplay) Brightness() PropDisplayBrightness
- func (v *MockInterfaceDisplay) CanRotate(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceDisplay) CanSetBrightness(flags dbus.Flags, outputName string) (bool, error)
- func (v *MockInterfaceDisplay) ChangeBrightness(flags dbus.Flags, raised bool) error
- func (v *MockInterfaceDisplay) ColorTemperatureManual() proxy.PropInt32
- func (v *MockInterfaceDisplay) ColorTemperatureMode() proxy.PropInt32
- func (v *MockInterfaceDisplay) CurrentCustomId() proxy.PropString
- func (v *MockInterfaceDisplay) CustomIdList() proxy.PropStringArray
- func (v *MockInterfaceDisplay) DeleteCustomMode(flags dbus.Flags, name string) error
- func (v *MockInterfaceDisplay) DisplayMode() proxy.PropByte
- func (v *MockInterfaceDisplay) GetBrightness(flags dbus.Flags) (map[string]float64, error)
- func (v *MockInterfaceDisplay) GetBuiltinMonitor(flags dbus.Flags) (string, dbus.ObjectPath, error)
- func (v *MockInterfaceDisplay) GetRealDisplayMode(flags dbus.Flags) (uint8, error)
- func (v *MockInterfaceDisplay) GoApplyChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoAssociateTouch(flags dbus.Flags, ch chan *dbus.Call, outputName string, touchSerial string) *dbus.Call
- func (v *MockInterfaceDisplay) GoCanRotate(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoCanSetBrightness(flags dbus.Flags, ch chan *dbus.Call, outputName string) *dbus.Call
- func (v *MockInterfaceDisplay) GoChangeBrightness(flags dbus.Flags, ch chan *dbus.Call, raised bool) *dbus.Call
- func (v *MockInterfaceDisplay) GoDeleteCustomMode(flags dbus.Flags, ch chan *dbus.Call, name string) *dbus.Call
- func (v *MockInterfaceDisplay) GoGetBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoGetBuiltinMonitor(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoGetRealDisplayMode(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoListOutputNames(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoListOutputsCommonModes(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoModifyConfigName(flags dbus.Flags, ch chan *dbus.Call, name string, newName string) *dbus.Call
- func (v *MockInterfaceDisplay) GoRefreshBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoReset(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoResetChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoSave(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceDisplay) GoSetAndSaveBrightness(flags dbus.Flags, ch chan *dbus.Call, outputName string, value float64) *dbus.Call
- func (v *MockInterfaceDisplay) GoSetBrightness(flags dbus.Flags, ch chan *dbus.Call, outputName string, value float64) *dbus.Call
- func (v *MockInterfaceDisplay) GoSetColorTemperature(flags dbus.Flags, ch chan *dbus.Call, value int32) *dbus.Call
- func (v *MockInterfaceDisplay) GoSetMethodAdjustCCT(flags dbus.Flags, ch chan *dbus.Call, adjustMethod int32) *dbus.Call
- func (v *MockInterfaceDisplay) GoSetPrimary(flags dbus.Flags, ch chan *dbus.Call, outputName string) *dbus.Call
- func (v *MockInterfaceDisplay) GoSwitchMode(flags dbus.Flags, ch chan *dbus.Call, mode uint8, name string) *dbus.Call
- func (v *MockInterfaceDisplay) HasChanged() proxy.PropBool
- func (v *MockInterfaceDisplay) ListOutputNames(flags dbus.Flags) ([]string, error)
- func (v *MockInterfaceDisplay) ListOutputsCommonModes(flags dbus.Flags) ([][]interface{}, error)
- func (v *MockInterfaceDisplay) MaxBacklightBrightness() proxy.PropUint32
- func (v *MockInterfaceDisplay) ModifyConfigName(flags dbus.Flags, name string, newName string) error
- func (v *MockInterfaceDisplay) Monitors() proxy.PropObjectPathArray
- func (v *MockInterfaceDisplay) Primary() proxy.PropString
- func (v *MockInterfaceDisplay) PrimaryRect() PropDisplayPrimaryRect
- func (v *MockInterfaceDisplay) RefreshBrightness(flags dbus.Flags) error
- func (v *MockInterfaceDisplay) Reset(flags dbus.Flags) error
- func (v *MockInterfaceDisplay) ResetChanges(flags dbus.Flags) error
- func (v *MockInterfaceDisplay) Save(flags dbus.Flags) error
- func (v *MockInterfaceDisplay) ScreenHeight() proxy.PropUint16
- func (v *MockInterfaceDisplay) ScreenWidth() proxy.PropUint16
- func (v *MockInterfaceDisplay) SetAndSaveBrightness(flags dbus.Flags, outputName string, value float64) error
- func (v *MockInterfaceDisplay) SetBrightness(flags dbus.Flags, outputName string, value float64) error
- func (v *MockInterfaceDisplay) SetColorTemperature(flags dbus.Flags, value int32) error
- func (v *MockInterfaceDisplay) SetMethodAdjustCCT(flags dbus.Flags, adjustMethod int32) error
- func (v *MockInterfaceDisplay) SetPrimary(flags dbus.Flags, outputName string) error
- func (v *MockInterfaceDisplay) SwitchMode(flags dbus.Flags, mode uint8, name string) error
- func (v *MockInterfaceDisplay) TouchMap() PropDisplayTouchMap
- func (v *MockInterfaceDisplay) Touchscreens() PropTouchscreens
- func (v *MockInterfaceDisplay) TouchscreensV2() PropTouchscreensV2
- type MockInterfaceMonitor
- func (v *MockInterfaceMonitor) AvailableFillModes() proxy.PropStringArray
- func (v *MockInterfaceMonitor) BestMode() PropModeInfo
- func (v *MockInterfaceMonitor) Brightness() proxy.PropDouble
- func (v *MockInterfaceMonitor) Connected() proxy.PropBool
- func (v *MockInterfaceMonitor) CurrentFillMode() proxy.PropString
- func (v *MockInterfaceMonitor) CurrentMode() PropModeInfo
- func (v *MockInterfaceMonitor) CurrentRotateMode() proxy.PropByte
- func (v *MockInterfaceMonitor) Enable(flags dbus.Flags, enabled bool) error
- func (v *MockInterfaceMonitor) Enabled() proxy.PropBool
- func (v *MockInterfaceMonitor) GoEnable(flags dbus.Flags, ch chan *dbus.Call, enabled bool) *dbus.Call
- func (v *MockInterfaceMonitor) GoSetMode(flags dbus.Flags, ch chan *dbus.Call, mode uint32) *dbus.Call
- func (v *MockInterfaceMonitor) GoSetModeBySize(flags dbus.Flags, ch chan *dbus.Call, width uint16, height uint16) *dbus.Call
- func (v *MockInterfaceMonitor) GoSetPosition(flags dbus.Flags, ch chan *dbus.Call, X int16, y int16) *dbus.Call
- func (v *MockInterfaceMonitor) GoSetReflect(flags dbus.Flags, ch chan *dbus.Call, value uint16) *dbus.Call
- func (v *MockInterfaceMonitor) GoSetRefreshRate(flags dbus.Flags, ch chan *dbus.Call, value float64) *dbus.Call
- func (v *MockInterfaceMonitor) GoSetRotation(flags dbus.Flags, ch chan *dbus.Call, value uint16) *dbus.Call
- func (v *MockInterfaceMonitor) Height() proxy.PropUint16
- func (v *MockInterfaceMonitor) ID() proxy.PropUint32
- func (v *MockInterfaceMonitor) Manufacturer() proxy.PropString
- func (v *MockInterfaceMonitor) MmHeight() proxy.PropUint32
- func (v *MockInterfaceMonitor) MmWidth() proxy.PropUint32
- func (v *MockInterfaceMonitor) Model() proxy.PropString
- func (v *MockInterfaceMonitor) Modes() PropModeInfoSlice
- func (v *MockInterfaceMonitor) Name() proxy.PropString
- func (v *MockInterfaceMonitor) PreferredModes() PropModeInfoSlice
- func (v *MockInterfaceMonitor) Reflect() proxy.PropUint16
- func (v *MockInterfaceMonitor) Reflects() proxy.PropUint16Array
- func (v *MockInterfaceMonitor) RefreshRate() proxy.PropDouble
- func (v *MockInterfaceMonitor) Rotation() proxy.PropUint16
- func (v *MockInterfaceMonitor) Rotations() proxy.PropUint16Array
- func (v *MockInterfaceMonitor) SetMode(flags dbus.Flags, mode uint32) error
- func (v *MockInterfaceMonitor) SetModeBySize(flags dbus.Flags, width uint16, height uint16) error
- func (v *MockInterfaceMonitor) SetPosition(flags dbus.Flags, X int16, y int16) error
- func (v *MockInterfaceMonitor) SetReflect(flags dbus.Flags, value uint16) error
- func (v *MockInterfaceMonitor) SetRefreshRate(flags dbus.Flags, value float64) error
- func (v *MockInterfaceMonitor) SetRotation(flags dbus.Flags, value uint16) error
- func (v *MockInterfaceMonitor) Width() proxy.PropUint16
- func (v *MockInterfaceMonitor) X() proxy.PropInt16
- func (v *MockInterfaceMonitor) Y() proxy.PropInt16
- type MockMonitor
- type MockPropDisplayBrightness
- type MockPropDisplayPrimaryRect
- type MockPropDisplayTouchMap
- type MockPropModeInfo
- type MockPropModeInfoSlice
- type MockPropTouchscreens
- type MockPropTouchscreensV2
- type ModeInfo
- type Monitor
- type PropDisplayBrightness
- type PropDisplayPrimaryRect
- type PropDisplayTouchMap
- type PropModeInfo
- type PropModeInfoSlice
- type PropTouchscreens
- type PropTouchscreensV2
- type Rectangle
- type Touchscreen
- type TouchscreenV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Display ¶
func NewDisplay ¶
func NewDisplay(conn *dbus.Conn) Display
type MockDisplay ¶
type MockDisplay struct { MockInterfaceDisplay // interface org.deepin.dde.Display1 proxy.MockObject }
type MockInterfaceDisplay ¶
func (*MockInterfaceDisplay) ApplyChanges ¶
func (v *MockInterfaceDisplay) ApplyChanges(flags dbus.Flags) error
func (*MockInterfaceDisplay) AssociateTouch ¶
func (v *MockInterfaceDisplay) AssociateTouch(flags dbus.Flags, outputName string, touchSerial string) error
func (*MockInterfaceDisplay) Brightness ¶
func (v *MockInterfaceDisplay) Brightness() PropDisplayBrightness
func (*MockInterfaceDisplay) CanRotate ¶
func (v *MockInterfaceDisplay) CanRotate(flags dbus.Flags) (bool, error)
func (*MockInterfaceDisplay) CanSetBrightness ¶
func (v *MockInterfaceDisplay) CanSetBrightness(flags dbus.Flags, outputName string) (bool, error)
func (*MockInterfaceDisplay) ChangeBrightness ¶
func (v *MockInterfaceDisplay) ChangeBrightness(flags dbus.Flags, raised bool) error
func (*MockInterfaceDisplay) ColorTemperatureManual ¶
func (v *MockInterfaceDisplay) ColorTemperatureManual() proxy.PropInt32
func (*MockInterfaceDisplay) ColorTemperatureMode ¶
func (v *MockInterfaceDisplay) ColorTemperatureMode() proxy.PropInt32
func (*MockInterfaceDisplay) CurrentCustomId ¶
func (v *MockInterfaceDisplay) CurrentCustomId() proxy.PropString
func (*MockInterfaceDisplay) CustomIdList ¶
func (v *MockInterfaceDisplay) CustomIdList() proxy.PropStringArray
func (*MockInterfaceDisplay) DeleteCustomMode ¶
func (v *MockInterfaceDisplay) DeleteCustomMode(flags dbus.Flags, name string) error
func (*MockInterfaceDisplay) DisplayMode ¶
func (v *MockInterfaceDisplay) DisplayMode() proxy.PropByte
func (*MockInterfaceDisplay) GetBrightness ¶
func (v *MockInterfaceDisplay) GetBrightness(flags dbus.Flags) (map[string]float64, error)
func (*MockInterfaceDisplay) GetBuiltinMonitor ¶
func (v *MockInterfaceDisplay) GetBuiltinMonitor(flags dbus.Flags) (string, dbus.ObjectPath, error)
func (*MockInterfaceDisplay) GetRealDisplayMode ¶
func (v *MockInterfaceDisplay) GetRealDisplayMode(flags dbus.Flags) (uint8, error)
func (*MockInterfaceDisplay) GoApplyChanges ¶
func (v *MockInterfaceDisplay) GoApplyChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoAssociateTouch ¶
func (v *MockInterfaceDisplay) GoAssociateTouch(flags dbus.Flags, ch chan *dbus.Call, outputName string, touchSerial string) *dbus.Call
func (*MockInterfaceDisplay) GoCanRotate ¶
func (v *MockInterfaceDisplay) GoCanRotate(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoCanSetBrightness ¶
func (v *MockInterfaceDisplay) GoCanSetBrightness(flags dbus.Flags, ch chan *dbus.Call, outputName string) *dbus.Call
func (*MockInterfaceDisplay) GoChangeBrightness ¶
func (v *MockInterfaceDisplay) GoChangeBrightness(flags dbus.Flags, ch chan *dbus.Call, raised bool) *dbus.Call
func (*MockInterfaceDisplay) GoDeleteCustomMode ¶
func (v *MockInterfaceDisplay) GoDeleteCustomMode(flags dbus.Flags, ch chan *dbus.Call, name string) *dbus.Call
func (*MockInterfaceDisplay) GoGetBrightness ¶
func (v *MockInterfaceDisplay) GoGetBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoGetBuiltinMonitor ¶
func (v *MockInterfaceDisplay) GoGetBuiltinMonitor(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoGetRealDisplayMode ¶
func (v *MockInterfaceDisplay) GoGetRealDisplayMode(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoListOutputNames ¶
func (v *MockInterfaceDisplay) GoListOutputNames(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoListOutputsCommonModes ¶
func (v *MockInterfaceDisplay) GoListOutputsCommonModes(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoModifyConfigName ¶
func (v *MockInterfaceDisplay) GoModifyConfigName(flags dbus.Flags, ch chan *dbus.Call, name string, newName string) *dbus.Call
func (*MockInterfaceDisplay) GoRefreshBrightness ¶
func (v *MockInterfaceDisplay) GoRefreshBrightness(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoReset ¶
func (v *MockInterfaceDisplay) GoReset(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoResetChanges ¶
func (v *MockInterfaceDisplay) GoResetChanges(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoSave ¶
func (v *MockInterfaceDisplay) GoSave(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceDisplay) GoSetAndSaveBrightness ¶
func (v *MockInterfaceDisplay) GoSetAndSaveBrightness(flags dbus.Flags, ch chan *dbus.Call, outputName string, value float64) *dbus.Call
func (*MockInterfaceDisplay) GoSetBrightness ¶
func (v *MockInterfaceDisplay) GoSetBrightness(flags dbus.Flags, ch chan *dbus.Call, outputName string, value float64) *dbus.Call
func (*MockInterfaceDisplay) GoSetColorTemperature ¶
func (v *MockInterfaceDisplay) GoSetColorTemperature(flags dbus.Flags, ch chan *dbus.Call, value int32) *dbus.Call
func (*MockInterfaceDisplay) GoSetMethodAdjustCCT ¶
func (v *MockInterfaceDisplay) GoSetMethodAdjustCCT(flags dbus.Flags, ch chan *dbus.Call, adjustMethod int32) *dbus.Call
func (*MockInterfaceDisplay) GoSetPrimary ¶
func (v *MockInterfaceDisplay) GoSetPrimary(flags dbus.Flags, ch chan *dbus.Call, outputName string) *dbus.Call
func (*MockInterfaceDisplay) GoSwitchMode ¶
func (v *MockInterfaceDisplay) GoSwitchMode(flags dbus.Flags, ch chan *dbus.Call, mode uint8, name string) *dbus.Call
func (*MockInterfaceDisplay) HasChanged ¶
func (v *MockInterfaceDisplay) HasChanged() proxy.PropBool
func (*MockInterfaceDisplay) ListOutputNames ¶
func (v *MockInterfaceDisplay) ListOutputNames(flags dbus.Flags) ([]string, error)
func (*MockInterfaceDisplay) ListOutputsCommonModes ¶
func (v *MockInterfaceDisplay) ListOutputsCommonModes(flags dbus.Flags) ([][]interface{}, error)
func (*MockInterfaceDisplay) MaxBacklightBrightness ¶
func (v *MockInterfaceDisplay) MaxBacklightBrightness() proxy.PropUint32
func (*MockInterfaceDisplay) ModifyConfigName ¶
func (v *MockInterfaceDisplay) ModifyConfigName(flags dbus.Flags, name string, newName string) error
func (*MockInterfaceDisplay) Monitors ¶
func (v *MockInterfaceDisplay) Monitors() proxy.PropObjectPathArray
func (*MockInterfaceDisplay) Primary ¶
func (v *MockInterfaceDisplay) Primary() proxy.PropString
func (*MockInterfaceDisplay) PrimaryRect ¶
func (v *MockInterfaceDisplay) PrimaryRect() PropDisplayPrimaryRect
func (*MockInterfaceDisplay) RefreshBrightness ¶
func (v *MockInterfaceDisplay) RefreshBrightness(flags dbus.Flags) error
func (*MockInterfaceDisplay) Reset ¶
func (v *MockInterfaceDisplay) Reset(flags dbus.Flags) error
func (*MockInterfaceDisplay) ResetChanges ¶
func (v *MockInterfaceDisplay) ResetChanges(flags dbus.Flags) error
func (*MockInterfaceDisplay) Save ¶
func (v *MockInterfaceDisplay) Save(flags dbus.Flags) error
func (*MockInterfaceDisplay) ScreenHeight ¶
func (v *MockInterfaceDisplay) ScreenHeight() proxy.PropUint16
func (*MockInterfaceDisplay) ScreenWidth ¶
func (v *MockInterfaceDisplay) ScreenWidth() proxy.PropUint16
func (*MockInterfaceDisplay) SetAndSaveBrightness ¶
func (v *MockInterfaceDisplay) SetAndSaveBrightness(flags dbus.Flags, outputName string, value float64) error
func (*MockInterfaceDisplay) SetBrightness ¶
func (v *MockInterfaceDisplay) SetBrightness(flags dbus.Flags, outputName string, value float64) error
func (*MockInterfaceDisplay) SetColorTemperature ¶
func (v *MockInterfaceDisplay) SetColorTemperature(flags dbus.Flags, value int32) error
func (*MockInterfaceDisplay) SetMethodAdjustCCT ¶
func (v *MockInterfaceDisplay) SetMethodAdjustCCT(flags dbus.Flags, adjustMethod int32) error
func (*MockInterfaceDisplay) SetPrimary ¶
func (v *MockInterfaceDisplay) SetPrimary(flags dbus.Flags, outputName string) error
func (*MockInterfaceDisplay) SwitchMode ¶
func (v *MockInterfaceDisplay) SwitchMode(flags dbus.Flags, mode uint8, name string) error
func (*MockInterfaceDisplay) TouchMap ¶
func (v *MockInterfaceDisplay) TouchMap() PropDisplayTouchMap
func (*MockInterfaceDisplay) Touchscreens ¶
func (v *MockInterfaceDisplay) Touchscreens() PropTouchscreens
func (*MockInterfaceDisplay) TouchscreensV2 ¶
func (v *MockInterfaceDisplay) TouchscreensV2() PropTouchscreensV2
type MockInterfaceMonitor ¶
func (*MockInterfaceMonitor) AvailableFillModes ¶
func (v *MockInterfaceMonitor) AvailableFillModes() proxy.PropStringArray
func (*MockInterfaceMonitor) BestMode ¶
func (v *MockInterfaceMonitor) BestMode() PropModeInfo
func (*MockInterfaceMonitor) Brightness ¶
func (v *MockInterfaceMonitor) Brightness() proxy.PropDouble
func (*MockInterfaceMonitor) Connected ¶
func (v *MockInterfaceMonitor) Connected() proxy.PropBool
func (*MockInterfaceMonitor) CurrentFillMode ¶
func (v *MockInterfaceMonitor) CurrentFillMode() proxy.PropString
func (*MockInterfaceMonitor) CurrentMode ¶
func (v *MockInterfaceMonitor) CurrentMode() PropModeInfo
func (*MockInterfaceMonitor) CurrentRotateMode ¶
func (v *MockInterfaceMonitor) CurrentRotateMode() proxy.PropByte
func (*MockInterfaceMonitor) Enable ¶
func (v *MockInterfaceMonitor) Enable(flags dbus.Flags, enabled bool) error
func (*MockInterfaceMonitor) Enabled ¶
func (v *MockInterfaceMonitor) Enabled() proxy.PropBool
func (*MockInterfaceMonitor) GoEnable ¶
func (v *MockInterfaceMonitor) GoEnable(flags dbus.Flags, ch chan *dbus.Call, enabled bool) *dbus.Call
func (*MockInterfaceMonitor) GoSetMode ¶
func (v *MockInterfaceMonitor) GoSetMode(flags dbus.Flags, ch chan *dbus.Call, mode uint32) *dbus.Call
func (*MockInterfaceMonitor) GoSetModeBySize ¶
func (v *MockInterfaceMonitor) GoSetModeBySize(flags dbus.Flags, ch chan *dbus.Call, width uint16, height uint16) *dbus.Call
func (*MockInterfaceMonitor) GoSetPosition ¶
func (v *MockInterfaceMonitor) GoSetPosition(flags dbus.Flags, ch chan *dbus.Call, X int16, y int16) *dbus.Call
func (*MockInterfaceMonitor) GoSetReflect ¶
func (v *MockInterfaceMonitor) GoSetReflect(flags dbus.Flags, ch chan *dbus.Call, value uint16) *dbus.Call
func (*MockInterfaceMonitor) GoSetRefreshRate ¶
func (v *MockInterfaceMonitor) GoSetRefreshRate(flags dbus.Flags, ch chan *dbus.Call, value float64) *dbus.Call
func (*MockInterfaceMonitor) GoSetRotation ¶
func (v *MockInterfaceMonitor) GoSetRotation(flags dbus.Flags, ch chan *dbus.Call, value uint16) *dbus.Call
func (*MockInterfaceMonitor) Height ¶
func (v *MockInterfaceMonitor) Height() proxy.PropUint16
func (*MockInterfaceMonitor) ID ¶
func (v *MockInterfaceMonitor) ID() proxy.PropUint32
func (*MockInterfaceMonitor) Manufacturer ¶
func (v *MockInterfaceMonitor) Manufacturer() proxy.PropString
func (*MockInterfaceMonitor) MmHeight ¶
func (v *MockInterfaceMonitor) MmHeight() proxy.PropUint32
func (*MockInterfaceMonitor) MmWidth ¶
func (v *MockInterfaceMonitor) MmWidth() proxy.PropUint32
func (*MockInterfaceMonitor) Model ¶
func (v *MockInterfaceMonitor) Model() proxy.PropString
func (*MockInterfaceMonitor) Modes ¶
func (v *MockInterfaceMonitor) Modes() PropModeInfoSlice
func (*MockInterfaceMonitor) Name ¶
func (v *MockInterfaceMonitor) Name() proxy.PropString
func (*MockInterfaceMonitor) PreferredModes ¶
func (v *MockInterfaceMonitor) PreferredModes() PropModeInfoSlice
func (*MockInterfaceMonitor) Reflect ¶
func (v *MockInterfaceMonitor) Reflect() proxy.PropUint16
func (*MockInterfaceMonitor) Reflects ¶
func (v *MockInterfaceMonitor) Reflects() proxy.PropUint16Array
func (*MockInterfaceMonitor) RefreshRate ¶
func (v *MockInterfaceMonitor) RefreshRate() proxy.PropDouble
func (*MockInterfaceMonitor) Rotation ¶
func (v *MockInterfaceMonitor) Rotation() proxy.PropUint16
func (*MockInterfaceMonitor) Rotations ¶
func (v *MockInterfaceMonitor) Rotations() proxy.PropUint16Array
func (*MockInterfaceMonitor) SetMode ¶
func (v *MockInterfaceMonitor) SetMode(flags dbus.Flags, mode uint32) error
func (*MockInterfaceMonitor) SetModeBySize ¶
func (v *MockInterfaceMonitor) SetModeBySize(flags dbus.Flags, width uint16, height uint16) error
func (*MockInterfaceMonitor) SetPosition ¶
func (v *MockInterfaceMonitor) SetPosition(flags dbus.Flags, X int16, y int16) error
func (*MockInterfaceMonitor) SetReflect ¶
func (v *MockInterfaceMonitor) SetReflect(flags dbus.Flags, value uint16) error
func (*MockInterfaceMonitor) SetRefreshRate ¶
func (v *MockInterfaceMonitor) SetRefreshRate(flags dbus.Flags, value float64) error
func (*MockInterfaceMonitor) SetRotation ¶
func (v *MockInterfaceMonitor) SetRotation(flags dbus.Flags, value uint16) error
func (*MockInterfaceMonitor) Width ¶
func (v *MockInterfaceMonitor) Width() proxy.PropUint16
func (*MockInterfaceMonitor) X ¶
func (v *MockInterfaceMonitor) X() proxy.PropInt16
func (*MockInterfaceMonitor) Y ¶
func (v *MockInterfaceMonitor) Y() proxy.PropInt16
type MockMonitor ¶
type MockMonitor struct { MockInterfaceMonitor // interface org.deepin.dde.Display1.Monitor proxy.MockObject }
type MockPropDisplayBrightness ¶
func (MockPropDisplayBrightness) ConnectChanged ¶
func (p MockPropDisplayBrightness) ConnectChanged(cb func(hasValue bool, value map[string]float64)) error
type MockPropDisplayPrimaryRect ¶
func (MockPropDisplayPrimaryRect) ConnectChanged ¶
func (p MockPropDisplayPrimaryRect) ConnectChanged(cb func(hasValue bool, value Rectangle)) error
func (MockPropDisplayPrimaryRect) Get ¶
func (p MockPropDisplayPrimaryRect) Get(flags dbus.Flags) (value Rectangle, err error)
func (MockPropDisplayPrimaryRect) Set ¶
func (p MockPropDisplayPrimaryRect) Set(flags dbus.Flags, value Rectangle) error
type MockPropDisplayTouchMap ¶
func (MockPropDisplayTouchMap) ConnectChanged ¶
func (p MockPropDisplayTouchMap) ConnectChanged(cb func(hasValue bool, value map[string]string)) error
type MockPropModeInfo ¶
func (MockPropModeInfo) ConnectChanged ¶
func (p MockPropModeInfo) ConnectChanged(cb func(hasValue bool, value ModeInfo)) error
func (MockPropModeInfo) Get ¶
func (p MockPropModeInfo) Get(flags dbus.Flags) (value ModeInfo, err error)
func (MockPropModeInfo) Set ¶
func (p MockPropModeInfo) Set(flags dbus.Flags, value ModeInfo) error
type MockPropModeInfoSlice ¶
func (MockPropModeInfoSlice) ConnectChanged ¶
func (p MockPropModeInfoSlice) ConnectChanged(cb func(hasValue bool, value []ModeInfo)) error
func (MockPropModeInfoSlice) Get ¶
func (p MockPropModeInfoSlice) Get(flags dbus.Flags) (value []ModeInfo, err error)
func (MockPropModeInfoSlice) Set ¶
func (p MockPropModeInfoSlice) Set(flags dbus.Flags, value []ModeInfo) error
type MockPropTouchscreens ¶
func (MockPropTouchscreens) ConnectChanged ¶
func (p MockPropTouchscreens) ConnectChanged(cb func(hasValue bool, value []Touchscreen)) error
func (MockPropTouchscreens) Get ¶
func (p MockPropTouchscreens) Get(flags dbus.Flags) (value []Touchscreen, err error)
func (MockPropTouchscreens) Set ¶
func (p MockPropTouchscreens) Set(flags dbus.Flags, value []Touchscreen) error
type MockPropTouchscreensV2 ¶
func (MockPropTouchscreensV2) ConnectChanged ¶
func (p MockPropTouchscreensV2) ConnectChanged(cb func(hasValue bool, value []TouchscreenV2)) error
func (MockPropTouchscreensV2) Get ¶
func (p MockPropTouchscreensV2) Get(flags dbus.Flags) (value []TouchscreenV2, err error)
func (MockPropTouchscreensV2) Set ¶
func (p MockPropTouchscreensV2) Set(flags dbus.Flags, value []TouchscreenV2) error
type Monitor ¶
func NewMonitor ¶
type PropDisplayBrightness ¶
type PropDisplayPrimaryRect ¶
type PropDisplayTouchMap ¶
type PropModeInfo ¶
type PropModeInfoSlice ¶
type PropTouchscreens ¶
type PropTouchscreens interface { Get(flags dbus.Flags) (value []Touchscreen, err error) Set(flags dbus.Flags, value []Touchscreen) error ConnectChanged(cb func(hasValue bool, value []Touchscreen)) error }
type PropTouchscreensV2 ¶
type PropTouchscreensV2 interface { Get(flags dbus.Flags) (value []TouchscreenV2, err error) Set(flags dbus.Flags, value []TouchscreenV2) error ConnectChanged(cb func(hasValue bool, value []TouchscreenV2)) error }
type Touchscreen ¶
Touchscreen type
Click to show internal directories.
Click to hide internal directories.