mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
98 lines
1.9 KiB
Smali
98 lines
1.9 KiB
Smali
.class final Landroidx/media3/exoplayer/video/MediaCodecVideoRenderer$Api26;
|
|
.super Ljava/lang/Object;
|
|
.source "MediaCodecVideoRenderer.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/media3/exoplayer/video/MediaCodecVideoRenderer;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1a
|
|
name = "Api26"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 520
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static doesDisplaySupportDolbyVision(Landroid/content/Context;)Z
|
|
.locals 5
|
|
|
|
const-string v0, "display"
|
|
|
|
.line 525
|
|
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/hardware/display/DisplayManager;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 527
|
|
invoke-virtual {p0, v0}, Landroid/hardware/display/DisplayManager;->getDisplay(I)Landroid/view/Display;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 528
|
|
invoke-virtual {p0}, Landroid/view/Display;->isHdr()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 529
|
|
invoke-virtual {p0}, Landroid/view/Display;->getHdrCapabilities()Landroid/view/Display$HdrCapabilities;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Landroid/view/Display$HdrCapabilities;->getSupportedHdrTypes()[I
|
|
|
|
move-result-object p0
|
|
|
|
.line 530
|
|
array-length v1, p0
|
|
|
|
move v2, v0
|
|
|
|
:goto_1
|
|
if-ge v2, v1, :cond_2
|
|
|
|
aget v3, p0, v2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ne v3, v4, :cond_1
|
|
|
|
move v0, v4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
:goto_2
|
|
return v0
|
|
.end method
|