Merge "Add documentation for LayoutParams.preferredRefreshRate" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
336fcab788
@@ -3108,10 +3108,14 @@ public interface WindowManager extends ViewManager {
|
||||
|
||||
/**
|
||||
* The preferred refresh rate for the window.
|
||||
*
|
||||
* <p>
|
||||
* This must be one of the supported refresh rates obtained for the display(s) the window
|
||||
* is on. The selected refresh rate will be applied to the display's default mode.
|
||||
*
|
||||
* <p>
|
||||
* This should be used in favor of {@link LayoutParams#preferredDisplayModeId} for
|
||||
* applications that want to specify the refresh rate, but do not want to specify a
|
||||
* preference for any other displayMode properties (e.g., resolution).
|
||||
* <p>
|
||||
* This value is ignored if {@link #preferredDisplayModeId} is set.
|
||||
*
|
||||
* @see Display#getSupportedRefreshRates()
|
||||
|
||||
Reference in New Issue
Block a user