
Retrieve the overall seen display measurement through which the window this view is attached to has actually been positioned in. This usually takes into consideration display decorations higher than the window, for the two instances where the window by itself is remaining posture within them or even the window is staying placed below then and coated insets are utilized for the window to position its information inside of.
Accessibility occasions of sure forms will not be dispatched for populating the occasion text by means of this process. For particulars refer to AccessibilityEvent.
This consistent was deprecated in API level 28. The view drawing cache was mainly created out of date Together with the introduction of hardware-accelerated rendering in API eleven. With hardware-acceleration, intermediate cache layers are mainly unneeded and can easily cause a Internet loss in effectiveness because of the expense of making and updating the layer. From the uncommon scenarios wherever caching layers are handy, like for alpha animations, setLayerType(int, android.graphics.
Defines the path from the text. Might be an integer value, such as "100". Needs to be one among the next consistent values.
Return The category title of this item for use for accessibility functions. Subclasses should really only override this When they are implementing a thing that needs to be found as a totally new class of view when utilized by accessibility, unrelated to the class it can be deriving from. This can be utilized to fill in AccessibilityNodeInfo.setClassName.
View.OnApplyWindowInsetsListener Listener for making use of window insets on the view within a customized way. interface
View.OnCapturedPointerListener Interface definition for any check here callback to get invoked each time a captured pointer function is currently being dispatched this view. interface
Sets the colour in the ambient shadow that is definitely drawn if the view features a favourable Z or elevation worth. android:outlineSpotShadowColor
Software layers ought to be averted once the impacted view tree updates typically. Just about every update would require to re-render the software package layer, which could most likely be gradual (significantly when components acceleration is turned on Considering that the layer must be uploaded right into a components texture immediately after each individual update.)
The view drawing cache was mainly built obsolete Along with the introduction of hardware-accelerated rendering in API eleven. With components-acceleration, intermediate cache layers are largely pointless and can easily lead to a Internet reduction in general performance on account of the price of developing and updating the layer. During the scarce situations where caching layers are handy, for instance for alpha animations, setLayerType(int, android.graphics.Paint) handles this with components rendering.
View.OnContextClickListener Interface definition to get a callback to generally be invoked when a view is context clicked. interface}