OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:videoDisplayAspectRatio
(Results
1 - 2
of
2
) sorted by null
/packages/apps/TV/src/com/android/tv/ui/
TvViewUiManager.java
225
float
videoDisplayAspectRatio
= mTvView.getVideoDisplayAspectRatio();
226
if (viewWidth <= 0 || viewHeight <= 0 ||
videoDisplayAspectRatio
<= 0f) {
232
+ ",
videoDisplayAspectRatio
=" +
videoDisplayAspectRatio
239
return Math.abs(viewRatio -
videoDisplayAspectRatio
) >= DISPLAY_MODE_EPSILON;
485
private void applyDisplayMode(float
videoDisplayAspectRatio
, boolean animate,
487
if (
videoDisplayAspectRatio
<= 0f) {
488
videoDisplayAspectRatio
= (float) mWindowWidth / mWindowHeight;
493
&& Math.abs(mAppliedVideoDisplayAspectRatio -
videoDisplayAspectRatio
) <
502
mAppliedVideoDisplayAspectRatio =
videoDisplayAspectRatio
;
[
all
...]
/packages/apps/TV/src/com/android/tv/util/
Utils.java
505
public static String getAspectRatioString(float
videoDisplayAspectRatio
) {
506
if (
videoDisplayAspectRatio
<= 0) {
511
if (Math.abs((float) ratio.width / ratio.height -
videoDisplayAspectRatio
) < 0.05f) {
[
all
...]
Completed in 65 milliseconds