語言

FrameMetrics.FirstDrawFrame 欄位

定義

警告

This constant will be removed in the future version. Use Android.Views.FrameMetricsId enum directly instead of this field.

度量識別碼,用於判斷此框是否為首次繪製新視窗配置的布林值。

[Android.Runtime.Register("FIRST_DRAW_FRAME", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.FrameMetricsId enum directly instead of this field.", true)]
public const Android.Views.FrameMetricsId FirstDrawFrame = 9;
[<Android.Runtime.Register("FIRST_DRAW_FRAME", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.FrameMetricsId enum directly instead of this field.", true)>]
val mutable FirstDrawFrame : Android.Views.FrameMetricsId

欄位值

Value = 9
屬性

備註

度量識別碼,用於判斷此框是否為首次繪製新視窗配置的布林值。

#getMetric(int) 假則回傳 0,真回傳 1。

第一繪製幀預期會很慢,通常應該免於顯示卡頓的計算,因為它們不會造成動畫跳躍,且通常會被視窗動畫或其他技巧隱藏。

的 android.view.FrameMetrics.FIRST_DRAW_FRAMEJava 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於