Documentation
¶
Overview ¶
Package window provides Go bindings for android.window.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type BackEvent
- func (m *BackEvent) Equals(arg0 *jni.Object) (bool, error)
- func (m *BackEvent) GetFrameTimeMillis() (int64, error)
- func (m *BackEvent) GetProgress() (float32, error)
- func (m *BackEvent) GetSwipeEdge() (int32, error)
- func (m *BackEvent) GetTouchX() (float32, error)
- func (m *BackEvent) GetTouchY() (float32, error)
- func (m *BackEvent) ToString() (string, error)
- type InputTransferToken
- type OnBackInvokedCallback
- type OnBackInvokedDispatcher
- type SplashScreen
- type SplashScreenOnExitAnimationListener
- type SplashScreenView
- func (m *SplashScreenView) GetIconAnimationDuration() (*jni.Object, error)
- func (m *SplashScreenView) GetIconAnimationStart() (*jni.Object, error)
- func (m *SplashScreenView) GetIconView() (*jni.Object, error)
- func (m *SplashScreenView) Remove() error
- func (m *SplashScreenView) SetAlpha(arg0 float32) error
- type SurfaceSyncGroup
- type SystemOnBackInvokedCallbacks
- type TrustedPresentationThresholds
- func (m *TrustedPresentationThresholds) DescribeContents() (int32, error)
- func (m *TrustedPresentationThresholds) Equals(arg0 *jni.Object) (bool, error)
- func (m *TrustedPresentationThresholds) GetMinAlpha() (float32, error)
- func (m *TrustedPresentationThresholds) GetMinFractionRendered() (float32, error)
- func (m *TrustedPresentationThresholds) GetStabilityRequirementMillis() (int32, error)
- func (m *TrustedPresentationThresholds) HashCode() (int32, error)
- func (m *TrustedPresentationThresholds) ToString() (string, error)
- func (m *TrustedPresentationThresholds) WriteToParcel(arg0 *jni.Object, arg1 int32) error
Constants ¶
const ( Creator = consts.Creator PriorityDefault = consts.PriorityDefault PriorityOverlay = consts.PriorityOverlay SplashScreenStyleIcon = consts.SplashScreenStyleIcon SplashScreenStyleSolidColor = consts.SplashScreenStyleSolidColor EdgeLeft = consts.EdgeLeft EdgeNone = consts.EdgeNone EdgeRight = consts.EdgeRight )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackEvent ¶
BackEvent wraps android.window.BackEvent.
func NewBackEvent ¶
func NewBackEvent(vm *jni.VM, arg0 float32, arg1 float32, arg2 float32, arg3 int32) (*BackEvent, error)
NewBackEvent creates a new android.window.BackEvent instance.
func (*BackEvent) GetFrameTimeMillis ¶
GetFrameTimeMillis calls android.window.BackEvent.getFrameTimeMillis.
func (*BackEvent) GetProgress ¶
GetProgress calls android.window.BackEvent.getProgress.
func (*BackEvent) GetSwipeEdge ¶
GetSwipeEdge calls android.window.BackEvent.getSwipeEdge.
type InputTransferToken ¶
InputTransferToken wraps android.window.InputTransferToken.
func (*InputTransferToken) DescribeContents ¶
func (m *InputTransferToken) DescribeContents() (int32, error)
DescribeContents calls android.window.InputTransferToken.describeContents.
func (*InputTransferToken) Equals ¶
func (m *InputTransferToken) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.window.InputTransferToken.equals.
func (*InputTransferToken) HashCode ¶
func (m *InputTransferToken) HashCode() (int32, error)
HashCode calls android.window.InputTransferToken.hashCode.
func (*InputTransferToken) WriteToParcel ¶
func (m *InputTransferToken) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.window.InputTransferToken.writeToParcel.
type OnBackInvokedCallback ¶
OnBackInvokedCallback wraps android.window.OnBackInvokedCallback.
func (*OnBackInvokedCallback) OnBackInvoked ¶
func (m *OnBackInvokedCallback) OnBackInvoked() error
OnBackInvoked calls android.window.OnBackInvokedCallback.onBackInvoked.
type OnBackInvokedDispatcher ¶
OnBackInvokedDispatcher wraps android.window.OnBackInvokedDispatcher.
func (*OnBackInvokedDispatcher) RegisterOnBackInvokedCallback ¶
func (m *OnBackInvokedDispatcher) RegisterOnBackInvokedCallback(arg0 int32, arg1 *jni.Object) error
RegisterOnBackInvokedCallback calls android.window.OnBackInvokedDispatcher.registerOnBackInvokedCallback.
func (*OnBackInvokedDispatcher) UnregisterOnBackInvokedCallback ¶
func (m *OnBackInvokedDispatcher) UnregisterOnBackInvokedCallback(arg0 *jni.Object) error
UnregisterOnBackInvokedCallback calls android.window.OnBackInvokedDispatcher.unregisterOnBackInvokedCallback.
type SplashScreen ¶
SplashScreen wraps android.window.SplashScreen.
func (*SplashScreen) ClearOnExitAnimationListener ¶
func (m *SplashScreen) ClearOnExitAnimationListener() error
ClearOnExitAnimationListener calls android.window.SplashScreen.clearOnExitAnimationListener.
func (*SplashScreen) SetOnExitAnimationListener ¶
func (m *SplashScreen) SetOnExitAnimationListener(arg0 *jni.Object) error
SetOnExitAnimationListener calls android.window.SplashScreen.setOnExitAnimationListener.
func (*SplashScreen) SetSplashScreenTheme ¶
func (m *SplashScreen) SetSplashScreenTheme(arg0 int32) error
SetSplashScreenTheme calls android.window.SplashScreen.setSplashScreenTheme.
type SplashScreenOnExitAnimationListener ¶
SplashScreenOnExitAnimationListener wraps android.window.SplashScreen$OnExitAnimationListener.
func (*SplashScreenOnExitAnimationListener) OnSplashScreenExit ¶
func (m *SplashScreenOnExitAnimationListener) OnSplashScreenExit(arg0 *jni.Object) error
OnSplashScreenExit calls android.window.SplashScreen$OnExitAnimationListener.onSplashScreenExit.
type SplashScreenView ¶
SplashScreenView wraps android.window.SplashScreenView.
func (*SplashScreenView) GetIconAnimationDuration ¶
func (m *SplashScreenView) GetIconAnimationDuration() (*jni.Object, error)
GetIconAnimationDuration calls android.window.SplashScreenView.getIconAnimationDuration.
func (*SplashScreenView) GetIconAnimationStart ¶
func (m *SplashScreenView) GetIconAnimationStart() (*jni.Object, error)
GetIconAnimationStart calls android.window.SplashScreenView.getIconAnimationStart.
func (*SplashScreenView) GetIconView ¶
func (m *SplashScreenView) GetIconView() (*jni.Object, error)
GetIconView calls android.window.SplashScreenView.getIconView.
func (*SplashScreenView) Remove ¶
func (m *SplashScreenView) Remove() error
Remove calls android.window.SplashScreenView.remove.
func (*SplashScreenView) SetAlpha ¶
func (m *SplashScreenView) SetAlpha(arg0 float32) error
SetAlpha calls android.window.SplashScreenView.setAlpha.
type SurfaceSyncGroup ¶
SurfaceSyncGroup wraps android.window.SurfaceSyncGroup.
func NewSurfaceSyncGroup ¶
func NewSurfaceSyncGroup(vm *jni.VM, arg0 string) (*SurfaceSyncGroup, error)
NewSurfaceSyncGroup creates a new android.window.SurfaceSyncGroup instance.
func (*SurfaceSyncGroup) AddTransaction ¶
func (m *SurfaceSyncGroup) AddTransaction(arg0 *jni.Object) error
AddTransaction calls android.window.SurfaceSyncGroup.addTransaction.
func (*SurfaceSyncGroup) MarkSyncReady ¶
func (m *SurfaceSyncGroup) MarkSyncReady() error
MarkSyncReady calls android.window.SurfaceSyncGroup.markSyncReady.
type SystemOnBackInvokedCallbacks ¶
SystemOnBackInvokedCallbacks wraps android.window.SystemOnBackInvokedCallbacks.
func (*SystemOnBackInvokedCallbacks) FinishAndRemoveTaskCallback ¶
func (m *SystemOnBackInvokedCallbacks) FinishAndRemoveTaskCallback(arg0 *jni.Object) (*jni.Object, error)
FinishAndRemoveTaskCallback calls android.window.SystemOnBackInvokedCallbacks.finishAndRemoveTaskCallback.
func (*SystemOnBackInvokedCallbacks) MoveTaskToBackCallback ¶
func (m *SystemOnBackInvokedCallbacks) MoveTaskToBackCallback(arg0 *jni.Object) (*jni.Object, error)
MoveTaskToBackCallback calls android.window.SystemOnBackInvokedCallbacks.moveTaskToBackCallback.
type TrustedPresentationThresholds ¶
TrustedPresentationThresholds wraps android.window.TrustedPresentationThresholds.
func NewTrustedPresentationThresholds ¶
func NewTrustedPresentationThresholds(vm *jni.VM, arg0 float32, arg1 float32, arg2 int32) (*TrustedPresentationThresholds, error)
NewTrustedPresentationThresholds creates a new android.window.TrustedPresentationThresholds instance.
func (*TrustedPresentationThresholds) DescribeContents ¶
func (m *TrustedPresentationThresholds) DescribeContents() (int32, error)
DescribeContents calls android.window.TrustedPresentationThresholds.describeContents.
func (*TrustedPresentationThresholds) Equals ¶
func (m *TrustedPresentationThresholds) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.window.TrustedPresentationThresholds.equals.
func (*TrustedPresentationThresholds) GetMinAlpha ¶
func (m *TrustedPresentationThresholds) GetMinAlpha() (float32, error)
GetMinAlpha calls android.window.TrustedPresentationThresholds.getMinAlpha.
func (*TrustedPresentationThresholds) GetMinFractionRendered ¶
func (m *TrustedPresentationThresholds) GetMinFractionRendered() (float32, error)
GetMinFractionRendered calls android.window.TrustedPresentationThresholds.getMinFractionRendered.
func (*TrustedPresentationThresholds) GetStabilityRequirementMillis ¶
func (m *TrustedPresentationThresholds) GetStabilityRequirementMillis() (int32, error)
GetStabilityRequirementMillis calls android.window.TrustedPresentationThresholds.getStabilityRequirementMillis.
func (*TrustedPresentationThresholds) HashCode ¶
func (m *TrustedPresentationThresholds) HashCode() (int32, error)
HashCode calls android.window.TrustedPresentationThresholds.hashCode.
func (*TrustedPresentationThresholds) ToString ¶
func (m *TrustedPresentationThresholds) ToString() (string, error)
ToString calls android.window.TrustedPresentationThresholds.toString.
func (*TrustedPresentationThresholds) WriteToParcel ¶
func (m *TrustedPresentationThresholds) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.window.TrustedPresentationThresholds.writeToParcel.