consts

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Density140                     = 140
	Density180                     = 180
	Density200                     = 200
	Density220                     = 220
	Density260                     = 260
	Density280                     = 280
	Density300                     = 300
	Density340                     = 340
	Density360                     = 360
	Density390                     = 390
	Density400                     = 400
	Density420                     = 420
	Density440                     = 440
	Density450                     = 450
	Density520                     = 520
	Density560                     = 560
	Density600                     = 600
	DensityDefault                 = 160
	DensityDeviceStable            = 0
	DensityHigh                    = 240
	DensityLow                     = 120
	DensityMedium                  = 160
	DensityTv                      = 213
	DensityXhigh                   = 320
	DensityXxhigh                  = 480
	DensityXxxhigh                 = 640
	DefaultDisplay                 = 0
	FlagPresentation               = 8
	FlagPrivate                    = 4
	FlagRound                      = 16
	FlagSecure                     = 2
	FlagSupportsProtectedBuffers   = 1
	FrameRateCategoryHigh          = 1
	FrameRateCategoryNormal        = 0
	InvalidDisplay                 = -1
	StateDoze                      = 3
	StateDozeSuspend               = 4
	StateOff                       = 1
	StateOn                        = 2
	StateOnSuspend                 = 6
	StateUnknown                   = 0
	StateVr                        = 5
	CompatSmallCoverScreenOptIn    = 1
	ScreenRecordingStateNotVisible = 0
	ScreenRecordingStateVisible    = 1
)
View Source
const (
	PropertyActivityEmbeddingAllowSystemOverride                  = "android.window.PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE"
	PropertyActivityEmbeddingSplitsEnabled                        = "android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
	PropertyCameraCompatAllowForceRotation                        = "android.window.PROPERTY_CAMERA_COMPAT_ALLOW_FORCE_ROTATION"
	PropertyCameraCompatAllowRefresh                              = "android.window.PROPERTY_CAMERA_COMPAT_ALLOW_REFRESH"
	PropertyCameraCompatEnableRefreshViaPause                     = "android.window.PROPERTY_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE"
	PropertyCompatAllowDisplayOrientationOverride                 = "android.window.PROPERTY_COMPAT_ALLOW_DISPLAY_ORIENTATION_OVERRIDE"
	PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected = "android.window.PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED"
	PropertyCompatAllowMinAspectRatioOverride                     = "android.window.PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE"
	PropertyCompatAllowOrientationOverride                        = "android.window.PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE"
	PropertyCompatAllowResizeableActivityOverrides                = "android.window.PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES"
	PropertyCompatAllowSandboxingViewBoundsApis                   = "android.window.PROPERTY_COMPAT_ALLOW_SANDBOXING_VIEW_BOUNDS_APIS"
	PropertyCompatAllowSmallCoverScreen                           = "android.window.PROPERTY_COMPAT_ALLOW_SMALL_COVER_SCREEN"
	PropertyCompatAllowUserAspectRatioFullscreenOverride          = "android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE"
	PropertyCompatAllowUserAspectRatioOverride                    = "android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE"
	PropertyCompatEnableFakeFocus                                 = "android.window.PROPERTY_COMPAT_ENABLE_FAKE_FOCUS"
	PropertyCompatIgnoreRequestedOrientation                      = "android.window.PROPERTY_COMPAT_IGNORE_REQUESTED_ORIENTATION"
	PropertySupportsMultiInstanceSystemUi                         = "android.window.PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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