consts

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: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SurfaceTypeGpu                                  int = 2
	SurfaceTypeHardware                             int = 1
	SurfaceTypeNormal                               int = 0
	SurfaceTypePushBuffers                          int = 3
	DefaultDisplay                                  int = 0
	FlagPresentation                                int = 8
	FlagPrivate                                     int = 4
	FlagRound                                       int = 16
	FlagSecure                                      int = 2
	FlagSupportsProtectedBuffers                    int = 1
	FrameRateCategoryHigh                           int = 1
	FrameRateCategoryNormal                         int = 0
	InvalidDisplay                                  int = -1
	StateDoze                                       int = 3
	StateDozeSuspend                                int = 4
	StateOff                                        int = 1
	StateOn                                         int = 2
	StateOnSuspend                                  int = 6
	StateUnknown                                    int = 0
	StateVr                                         int = 5
	Density140                                      int = 140
	Density180                                      int = 180
	Density200                                      int = 200
	Density220                                      int = 220
	Density260                                      int = 260
	Density280                                      int = 280
	Density300                                      int = 300
	Density340                                      int = 340
	Density360                                      int = 360
	Density390                                      int = 390
	Density400                                      int = 400
	Density420                                      int = 420
	Density440                                      int = 440
	Density450                                      int = 450
	Density520                                      int = 520
	Density560                                      int = 560
	Density600                                      int = 600
	DensityDefault                                  int = 160
	DensityDeviceStable                             int = 0
	DensityHigh                                     int = 240
	DensityLow                                      int = 120
	DensityMedium                                   int = 160
	DensityTv                                       int = 213
	DensityXhigh                                    int = 320
	DensityXxhigh                                   int = 480
	DensityXxxhigh                                  int = 640
	CompatSmallCoverScreenOptIn                     int = 1
	ScreenRecordingStateNotVisible                  int = 0
	ScreenRecordingStateVisible                     int = 1
	AccessibilityDataSensitiveAuto                  int = 0
	AccessibilityDataSensitiveNo                    int = 2
	AccessibilityDataSensitiveYes                   int = 1
	AccessibilityLiveRegionAssertive                int = 2
	AccessibilityLiveRegionNone                     int = 0
	AccessibilityLiveRegionPolite                   int = 1
	AutofillFlagIncludeNotImportantViews            int = 1
	AutofillTypeDate                                int = 4
	AutofillTypeList                                int = 3
	AutofillTypeNone                                int = 0
	AutofillTypeText                                int = 1
	AutofillTypeToggle                              int = 2
	ContentSensitivityAuto                          int = 0
	ContentSensitivityNotSensitive                  int = 2
	ContentSensitivitySensitive                     int = 1
	DragFlagAccessibilityAction                     int = 1024
	DragFlagGlobal                                  int = 256
	DragFlagGlobalPersistableUriPermission          int = 64
	DragFlagGlobalPrefixUriPermission               int = 128
	DragFlagGlobalSameApplication                   int = 4096
	DragFlagGlobalUriRead                           int = 1
	DragFlagGlobalUriWrite                          int = 2
	DragFlagHideCallingTaskOnDragStart              int = 16384
	DragFlagOpaque                                  int = 512
	DragFlagStartIntentSenderOnUnhandledDrag        int = 8192
	DrawingCacheQualityAuto                         int = 0
	DrawingCacheQualityHigh                         int = 1048576
	DrawingCacheQualityLow                          int = 524288
	FindViewsWithContentDescription                 int = 2
	FindViewsWithText                               int = 1
	Focusable                                       int = 1
	FocusablesAll                                   int = 0
	FocusablesTouchMode                             int = 1
	FocusableAuto                                   int = 16
	FocusBackward                                   int = 1
	FocusDown                                       int = 130
	FocusForward                                    int = 2
	FocusLeft                                       int = 17
	FocusRight                                      int = 66
	FocusUp                                         int = 33
	Gone                                            int = 8
	HapticFeedbackEnabled                           int = 268435456
	ImportantForAccessibilityAuto                   int = 0
	ImportantForAccessibilityNo                     int = 2
	ImportantForAccessibilityNoHideDescendants      int = 4
	ImportantForAccessibilityYes                    int = 1
	ImportantForAutofillAuto                        int = 0
	ImportantForAutofillNo                          int = 2
	ImportantForAutofillNoExcludeDescendants        int = 8
	ImportantForAutofillYes                         int = 1
	ImportantForAutofillYesExcludeDescendants       int = 4
	ImportantForContentCaptureAuto                  int = 0
	ImportantForContentCaptureNo                    int = 2
	ImportantForContentCaptureNoExcludeDescendants  int = 8
	ImportantForContentCaptureYes                   int = 1
	ImportantForContentCaptureYesExcludeDescendants int = 4
	Invisible                                       int = 4
	KeepScreenOn                                    int = 67108864
	LayerTypeHardware                               int = 2
	LayerTypeNone                                   int = 0
	LayerTypeSoftware                               int = 1
	LayoutDirectionInherit                          int = 2
	LayoutDirectionLocale                           int = 3
	LayoutDirectionLtr                              int = 0
	LayoutDirectionRtl                              int = 1
	MeasuredHeightStateShift                        int = 16
	MeasuredSizeMask                                int = 16777215
	MeasuredStateMask                               int = -16777216
	MeasuredStateTooSmall                           int = 16777216
	NotFocusable                                    int = 0
	NoId                                            int = -1
	OverScrollAlways                                int = 0
	OverScrollIfContentScrolls                      int = 1
	OverScrollNever                                 int = 2
	ScreenStateOff                                  int = 0
	ScreenStateOn                                   int = 1
	ScrollbarsInsideInset                           int = 16777216
	ScrollbarsInsideOverlay                         int = 0
	ScrollbarsOutsideInset                          int = 50331648
	ScrollbarsOutsideOverlay                        int = 33554432
	ScrollbarPositionDefault                        int = 0
	ScrollbarPositionLeft                           int = 1
	ScrollbarPositionRight                          int = 2
	ScrollAxisHorizontal                            int = 1
	ScrollAxisNone                                  int = 0
	ScrollAxisVertical                              int = 2
	ScrollCaptureHintAuto                           int = 0
	ScrollCaptureHintExclude                        int = 1
	ScrollCaptureHintExcludeDescendants             int = 4
	ScrollCaptureHintInclude                        int = 2
	ScrollIndicatorBottom                           int = 2
	ScrollIndicatorEnd                              int = 32
	ScrollIndicatorLeft                             int = 4
	ScrollIndicatorRight                            int = 8
	ScrollIndicatorStart                            int = 16
	ScrollIndicatorTop                              int = 1
	SoundEffectsEnabled                             int = 134217728
	StatusBarHidden                                 int = 1
	StatusBarVisible                                int = 0
	SystemUiFlagFullscreen                          int = 4
	SystemUiFlagHideNavigation                      int = 2
	SystemUiFlagImmersive                           int = 2048
	SystemUiFlagImmersiveSticky                     int = 4096
	SystemUiFlagLayoutFullscreen                    int = 1024
	SystemUiFlagLayoutHideNavigation                int = 512
	SystemUiFlagLayoutStable                        int = 256
	SystemUiFlagLightNavigationBar                  int = 16
	SystemUiFlagLightStatusBar                      int = 8192
	SystemUiFlagLowProfile                          int = 1
	SystemUiFlagVisible                             int = 0
	SystemUiLayoutFlags                             int = 1536
	TextAlignmentCenter                             int = 4
	TextAlignmentGravity                            int = 1
	TextAlignmentInherit                            int = 0
	TextAlignmentTextEnd                            int = 3
	TextAlignmentTextStart                          int = 2
	TextAlignmentViewEnd                            int = 6
	TextAlignmentViewStart                          int = 5
	TextDirectionAnyRtl                             int = 2
	TextDirectionFirstStrong                        int = 1
	TextDirectionFirstStrongLtr                     int = 6
	TextDirectionFirstStrongRtl                     int = 7
	TextDirectionInherit                            int = 0
	TextDirectionLocale                             int = 5
	TextDirectionLtr                                int = 3
	TextDirectionRtl                                int = 4
	Visible                                         int = 0
	ChangeFrameRateAlways                           int = 1
	ChangeFrameRateOnlyIfSeamless                   int = 0
	Creator                                         int = 0
	FrameRateCompatibilityAtLeast                   int = 2
	FrameRateCompatibilityDefault                   int = 0
	FrameRateCompatibilityFixedSource               int = 1
	Rotation0                                       int = 0
	Rotation180                                     int = 2
	Rotation270                                     int = 3
	Rotation90                                      int = 1
	FocusAfterDescendants                           int = 262144
	FocusBeforeDescendants                          int = 131072
	FocusBlockDescendants                           int = 393216
	LayoutModeClipBounds                            int = 0
	LayoutModeOpticalBounds                         int = 1
	PersistentAllCaches                             int = 3
	PersistentAnimationCache                        int = 1
	PersistentNoCache                               int = 0
	PersistentScrollingCache                        int = 2
	SurfaceLifecycleDefault                         int = 0
	SurfaceLifecycleFollowsAttachment               int = 2
	SurfaceLifecycleFollowsVisibility               int = 1
)
View Source
const (
	PropertyActivityEmbeddingAllowSystemOverride                  string = "android.window.PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE"
	PropertyActivityEmbeddingSplitsEnabled                        string = "android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
	PropertyCameraCompatAllowForceRotation                        string = "android.window.PROPERTY_CAMERA_COMPAT_ALLOW_FORCE_ROTATION"
	PropertyCameraCompatAllowRefresh                              string = "android.window.PROPERTY_CAMERA_COMPAT_ALLOW_REFRESH"
	PropertyCameraCompatEnableRefreshViaPause                     string = "android.window.PROPERTY_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE"
	PropertyCompatAllowDisplayOrientationOverride                 string = "android.window.PROPERTY_COMPAT_ALLOW_DISPLAY_ORIENTATION_OVERRIDE"
	PropertyCompatAllowIgnoringOrientationRequestWhenLoopDetected string = "android.window.PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED"
	PropertyCompatAllowMinAspectRatioOverride                     string = "android.window.PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE"
	PropertyCompatAllowOrientationOverride                        string = "android.window.PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE"
	PropertyCompatAllowResizeableActivityOverrides                string = "android.window.PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES"
	PropertyCompatAllowSandboxingViewBoundsApis                   string = "android.window.PROPERTY_COMPAT_ALLOW_SANDBOXING_VIEW_BOUNDS_APIS"
	PropertyCompatAllowSmallCoverScreen                           string = "android.window.PROPERTY_COMPAT_ALLOW_SMALL_COVER_SCREEN"
	PropertyCompatAllowUserAspectRatioFullscreenOverride          string = "android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE"
	PropertyCompatAllowUserAspectRatioOverride                    string = "android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE"
	PropertyCompatEnableFakeFocus                                 string = "android.window.PROPERTY_COMPAT_ENABLE_FAKE_FOCUS"
	PropertyCompatIgnoreRequestedOrientation                      string = "android.window.PROPERTY_COMPAT_IGNORE_REQUESTED_ORIENTATION"
	PropertySupportsMultiInstanceSystemUi                         string = "android.window.PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI"
	AutofillHintCreditCardExpirationDate                          string = "creditCardExpirationDate"
	AutofillHintCreditCardExpirationDay                           string = "creditCardExpirationDay"
	AutofillHintCreditCardExpirationMonth                         string = "creditCardExpirationMonth"
	AutofillHintCreditCardExpirationYear                          string = "creditCardExpirationYear"
	AutofillHintCreditCardNumber                                  string = "creditCardNumber"
	AutofillHintCreditCardSecurityCode                            string = "creditCardSecurityCode"
	AutofillHintEmailAddress                                      string = "emailAddress"
	AutofillHintName                                              string = "name"
	AutofillHintPassword                                          string = "password"
	AutofillHintPhone                                             string = "phone"
	AutofillHintPostalAddress                                     string = "postalAddress"
	AutofillHintPostalCode                                        string = "postalCode"
	AutofillHintUsername                                          string = "username"
)
View Source
const (
	RequestedFrameRateCategoryHigh         float32 = -4.0
	RequestedFrameRateCategoryLow          float32 = -2.0
	RequestedFrameRateCategoryNormal       float32 = -3.0
	RequestedFrameRateCategoryNoPreference float32 = -1.0
)

Variables

View Source
var (
	RequestedFrameRateCategoryDefault float32 = float32(math.NaN())
)

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