Documentation
¶
Index ¶
Constants ¶
View Source
const ( 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 Creator int = 0 HdrTypeDolbyVision int = 1 HdrTypeHdr10 int = 2 HdrTypeHdr10Plus int = 4 HdrTypeHlg int = 3 HdrTypeInvalid int = -1 SurfaceLifecycleDefault int = 0 SurfaceLifecycleFollowsAttachment int = 2 SurfaceLifecycleFollowsVisibility 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 SystemUiFlagImmersive int = 2048 SystemUiFlagImmersiveSticky int = 4096 SystemUiFlagLayoutFullscreen int = 1024 SystemUiFlagLayoutStable int = 256 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 AtMost int = -2147483648 Exactly int = 1073741824 Unspecified int = 0 ChangeFrameRateAlways int = 1 ChangeFrameRateOnlyIfSeamless int = 0 FrameRateCompatibilityAtLeast int = 2 FrameRateCompatibilityDefault int = 0 FrameRateCompatibilityFixedSource int = 1 Rotation0 int = 0 Rotation180 int = 2 Rotation270 int = 3 Rotation90 int = 1 SurfaceTypeGpu int = 2 SurfaceTypeHardware int = 1 SurfaceTypeNormal int = 0 SurfaceTypePushBuffers int = 3 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 FillParent int = -1 MatchParent int = -1 WrapContent int = -2 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 AlphaChanged int = 128 AnimationChanged int = 16 DimAmountChanged int = 32 DisplayFlagDisableHdrConversion int = 1 FirstApplicationWindow int = 1 FirstSubWindow int = 1000 FirstSystemWindow int = 2000 FlagsChanged int = 4 FlagAllowLockWhileScreenOn int = 1 FlagAltFocusableIm int = 131072 FlagBlurBehind int = 4 FlagDimBehind int = 2 FlagDismissKeyguard int = 4194304 FlagDither int = 4096 FlagDrawsSystemBarBackgrounds int = -2147483648 FlagForceNotFullscreen int = 2048 FlagFullscreen int = 1024 FlagHardwareAccelerated int = 16777216 FlagIgnoreCheekPresses int = 32768 FlagKeepScreenOn int = 128 FlagLayoutAttachedInDecor int = 1073741824 FlagLayoutInsetDecor int = 65536 FlagLayoutInOverscan int = 33554432 FlagLayoutInScreen int = 256 FlagLayoutNoLimits int = 512 FlagLocalFocusMode int = 268435456 FlagNotFocusable int = 8 FlagNotTouchable int = 16 FlagNotTouchModal int = 32 FlagScaled int = 16384 FlagShowWallpaper int = 1048576 FlagShowWhenLocked int = 524288 FlagSplitTouch int = 8388608 FlagTouchableWhenWaking int = 64 FlagTranslucentStatus int = 67108864 FlagTurnScreenOn int = 2097152 FlagWatchOutsideTouch int = 262144 FormatChanged int = 8 LastApplicationWindow int = 99 LastSubWindow int = 1999 LastSystemWindow int = 2999 LayoutChanged int = 1 LayoutInDisplayCutoutModeAlways int = 3 LayoutInDisplayCutoutModeDefault int = 0 LayoutInDisplayCutoutModeNever int = 2 LayoutInDisplayCutoutModeShortEdges int = 1 MemoryTypeChanged int = 256 MemoryTypeGpu int = 2 MemoryTypeHardware int = 1 MemoryTypeNormal int = 0 MemoryTypePushBuffers int = 3 RotationAnimationChanged int = 4096 RotationAnimationCrossfade int = 1 RotationAnimationJumpcut int = 2 RotationAnimationRotate int = 0 RotationAnimationSeamless int = 3 ScreenBrightnessChanged int = 2048 ScreenOrientationChanged int = 1024 SoftInputAdjustNothing int = 48 SoftInputAdjustPan int = 32 SoftInputAdjustResize int = 16 SoftInputAdjustUnspecified int = 0 SoftInputMaskAdjust int = 240 SoftInputMaskState int = 15 SoftInputModeChanged int = 512 SoftInputStateAlwaysHidden int = 3 SoftInputStateAlwaysVisible int = 5 SoftInputStateHidden int = 2 SoftInputStateUnchanged int = 1 SoftInputStateUnspecified int = 0 SoftInputStateVisible int = 4 TitleChanged int = 64 TypeAccessibilityOverlay int = 2032 TypeApplication int = 2 TypeApplicationAttachedDialog int = 1003 TypeApplicationMedia int = 1001 TypeApplicationOverlay int = 2038 TypeApplicationPanel int = 1000 TypeApplicationStarting int = 3 TypeApplicationSubPanel int = 1002 TypeBaseApplication int = 1 TypeChanged int = 2 TypeDrawnApplication int = 4 TypeInputMethod int = 2011 TypeInputMethodDialog int = 2012 TypeKeyguardDialog int = 2009 TypePhone int = 2002 TypePriorityPhone int = 2007 TypePrivatePresentation int = 2030 TypeSearchBar int = 2001 TypeStatusBar int = 2000 TypeSystemAlert int = 2003 TypeSystemDialog int = 2008 TypeSystemError int = 2010 TypeSystemOverlay int = 2006 TypeToast int = 2005 TypeWallpaper int = 2013 )
View Source
const ( InvalidLuminance float32 = -1.0 RequestedFrameRateCategoryHigh float32 = -4.0 RequestedFrameRateCategoryLow float32 = -2.0 RequestedFrameRateCategoryNormal float32 = -3.0 RequestedFrameRateCategoryNoPreference float32 = -1.0 BrightnessOverrideFull float32 = 1.0 BrightnessOverrideNone float32 = -1.0 BrightnessOverrideOff float32 = 0.0 )
View Source
const ( 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" 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" )
Variables ¶
View Source
var (
RequestedFrameRateCategoryDefault float32 = float32(math.NaN())
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.