smartspace

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionILauncherUnlockAnimationControllerPrepareForUnlock               = binder.FirstCallTransaction + 0
	TransactionILauncherUnlockAnimationControllerSetUnlockAmount                = binder.FirstCallTransaction + 1
	TransactionILauncherUnlockAnimationControllerPlayUnlockAnimation            = binder.FirstCallTransaction + 2
	TransactionILauncherUnlockAnimationControllerSetSmartspaceSelectedPage      = binder.FirstCallTransaction + 3
	TransactionILauncherUnlockAnimationControllerSetSmartspaceVisibility        = binder.FirstCallTransaction + 4
	TransactionILauncherUnlockAnimationControllerDispatchSmartspaceStateToSysui = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodILauncherUnlockAnimationControllerPrepareForUnlock               = "prepareForUnlock"
	MethodILauncherUnlockAnimationControllerSetUnlockAmount                = "setUnlockAmount"
	MethodILauncherUnlockAnimationControllerPlayUnlockAnimation            = "playUnlockAnimation"
	MethodILauncherUnlockAnimationControllerSetSmartspaceSelectedPage      = "setSmartspaceSelectedPage"
	MethodILauncherUnlockAnimationControllerSetSmartspaceVisibility        = "setSmartspaceVisibility"
	MethodILauncherUnlockAnimationControllerDispatchSmartspaceStateToSysui = "dispatchSmartspaceStateToSysui"
)
View Source
const (
	TransactionISysuiUnlockAnimationControllerSetLauncherUnlockController      = binder.FirstCallTransaction + 0
	TransactionISysuiUnlockAnimationControllerOnLauncherSmartspaceStateUpdated = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodISysuiUnlockAnimationControllerSetLauncherUnlockController      = "setLauncherUnlockController"
	MethodISysuiUnlockAnimationControllerOnLauncherSmartspaceStateUpdated = "onLauncherSmartspaceStateUpdated"
)
View Source
const DescriptorILauncherUnlockAnimationController = "com.android.systemui.shared.system.smartspace.ILauncherUnlockAnimationController"
View Source
const DescriptorISysuiUnlockAnimationController = "com.android.systemui.shared.system.smartspace.ISysuiUnlockAnimationController"

Variables

This section is empty.

Functions

This section is empty.

Types

type ILauncherUnlockAnimationController

type ILauncherUnlockAnimationController interface {
	AsBinder() binder.IBinder
	PrepareForUnlock(ctx context.Context, animateSmartspace bool, lockscreenSmartspaceBounds graphics.Rect, selectedPage int32) error
	SetUnlockAmount(ctx context.Context, amount float32, forceIfAnimating bool) error
	PlayUnlockAnimation(ctx context.Context, unlocked bool, duration int64, startDelay int64) error
	SetSmartspaceSelectedPage(ctx context.Context, selectedPage int32) error
	SetSmartspaceVisibility(ctx context.Context, visibility int32) error
	DispatchSmartspaceStateToSysui(ctx context.Context) error
}

func NewLauncherUnlockAnimationControllerStub

func NewLauncherUnlockAnimationControllerStub(
	impl ILauncherUnlockAnimationControllerServer,
) ILauncherUnlockAnimationController

NewLauncherUnlockAnimationControllerStub creates a server-side ILauncherUnlockAnimationController wrapping the given server implementation. The returned value satisfies ILauncherUnlockAnimationController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ILauncherUnlockAnimationControllerServer

type ILauncherUnlockAnimationControllerServer interface {
	PrepareForUnlock(ctx context.Context, animateSmartspace bool, lockscreenSmartspaceBounds graphics.Rect, selectedPage int32) error
	SetUnlockAmount(ctx context.Context, amount float32, forceIfAnimating bool) error
	PlayUnlockAnimation(ctx context.Context, unlocked bool, duration int64, startDelay int64) error
	SetSmartspaceSelectedPage(ctx context.Context, selectedPage int32) error
	SetSmartspaceVisibility(ctx context.Context, visibility int32) error
	DispatchSmartspaceStateToSysui(ctx context.Context) error
}

ILauncherUnlockAnimationControllerServer is the server-side interface that user implementations provide to NewLauncherUnlockAnimationControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISysuiUnlockAnimationController

type ISysuiUnlockAnimationController interface {
	AsBinder() binder.IBinder
	SetLauncherUnlockController(ctx context.Context, activityClass string, callback ILauncherUnlockAnimationController) error
	OnLauncherSmartspaceStateUpdated(ctx context.Context, state SmartspaceState) error
}

func NewSysuiUnlockAnimationControllerStub

func NewSysuiUnlockAnimationControllerStub(
	impl ISysuiUnlockAnimationControllerServer,
) ISysuiUnlockAnimationController

NewSysuiUnlockAnimationControllerStub creates a server-side ISysuiUnlockAnimationController wrapping the given server implementation. The returned value satisfies ISysuiUnlockAnimationController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISysuiUnlockAnimationControllerServer

type ISysuiUnlockAnimationControllerServer interface {
	SetLauncherUnlockController(ctx context.Context, activityClass string, callback ILauncherUnlockAnimationController) error
	OnLauncherSmartspaceStateUpdated(ctx context.Context, state SmartspaceState) error
}

ISysuiUnlockAnimationControllerServer is the server-side interface that user implementations provide to NewSysuiUnlockAnimationControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type LauncherUnlockAnimationControllerProxy

type LauncherUnlockAnimationControllerProxy struct {
	Remote binder.IBinder
}

func NewLauncherUnlockAnimationControllerProxy

func NewLauncherUnlockAnimationControllerProxy(
	remote binder.IBinder,
) *LauncherUnlockAnimationControllerProxy

func (*LauncherUnlockAnimationControllerProxy) AsBinder

func (*LauncherUnlockAnimationControllerProxy) DispatchSmartspaceStateToSysui

func (p *LauncherUnlockAnimationControllerProxy) DispatchSmartspaceStateToSysui(
	ctx context.Context,
) error

func (*LauncherUnlockAnimationControllerProxy) PlayUnlockAnimation

func (p *LauncherUnlockAnimationControllerProxy) PlayUnlockAnimation(
	ctx context.Context,
	unlocked bool,
	duration int64,
	startDelay int64,
) error

func (*LauncherUnlockAnimationControllerProxy) PrepareForUnlock

func (p *LauncherUnlockAnimationControllerProxy) PrepareForUnlock(
	ctx context.Context,
	animateSmartspace bool,
	lockscreenSmartspaceBounds graphics.Rect,
	selectedPage int32,
) error

func (*LauncherUnlockAnimationControllerProxy) SetSmartspaceSelectedPage

func (p *LauncherUnlockAnimationControllerProxy) SetSmartspaceSelectedPage(
	ctx context.Context,
	selectedPage int32,
) error

func (*LauncherUnlockAnimationControllerProxy) SetSmartspaceVisibility

func (p *LauncherUnlockAnimationControllerProxy) SetSmartspaceVisibility(
	ctx context.Context,
	visibility int32,
) error

func (*LauncherUnlockAnimationControllerProxy) SetUnlockAmount

func (p *LauncherUnlockAnimationControllerProxy) SetUnlockAmount(
	ctx context.Context,
	amount float32,
	forceIfAnimating bool,
) error

type LauncherUnlockAnimationControllerStub

type LauncherUnlockAnimationControllerStub struct {
	Impl      ILauncherUnlockAnimationController
	Transport binder.VersionAwareTransport
}

LauncherUnlockAnimationControllerStub dispatches incoming binder transactions to a typed ILauncherUnlockAnimationController implementation.

func (*LauncherUnlockAnimationControllerStub) Descriptor

func (*LauncherUnlockAnimationControllerStub) OnTransaction

type SmartspaceState

type SmartspaceState struct {
}

func (*SmartspaceState) MarshalParcel

func (s *SmartspaceState) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SmartspaceState) UnmarshalParcel

func (s *SmartspaceState) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SysuiUnlockAnimationControllerProxy

type SysuiUnlockAnimationControllerProxy struct {
	Remote binder.IBinder
}

func NewSysuiUnlockAnimationControllerProxy

func NewSysuiUnlockAnimationControllerProxy(
	remote binder.IBinder,
) *SysuiUnlockAnimationControllerProxy

func (*SysuiUnlockAnimationControllerProxy) AsBinder

func (*SysuiUnlockAnimationControllerProxy) OnLauncherSmartspaceStateUpdated

func (p *SysuiUnlockAnimationControllerProxy) OnLauncherSmartspaceStateUpdated(
	ctx context.Context,
	state SmartspaceState,
) error

func (*SysuiUnlockAnimationControllerProxy) SetLauncherUnlockController

func (p *SysuiUnlockAnimationControllerProxy) SetLauncherUnlockController(
	ctx context.Context,
	activityClass string,
	callback ILauncherUnlockAnimationController,
) error

type SysuiUnlockAnimationControllerStub

type SysuiUnlockAnimationControllerStub struct {
	Impl      ISysuiUnlockAnimationController
	Transport binder.VersionAwareTransport
}

SysuiUnlockAnimationControllerStub dispatches incoming binder transactions to a typed ISysuiUnlockAnimationController implementation.

func (*SysuiUnlockAnimationControllerStub) Descriptor

func (*SysuiUnlockAnimationControllerStub) OnTransaction

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL