mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
167 lines
5.5 KiB
Smali
167 lines
5.5 KiB
Smali
|
.class final Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "FlutterView.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lio/flutter/view/TextureRegistry$SurfaceTextureEntry;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lio/flutter/view/FlutterView;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x10
|
||
|
name = "SurfaceTextureRegistryEntry"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final id:J
|
||
|
|
||
|
.field private onFrameListener:Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;
|
||
|
|
||
|
.field private released:Z
|
||
|
|
||
|
.field private final textureWrapper:Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
|
||
|
.field final synthetic this$0:Lio/flutter/view/FlutterView;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lio/flutter/view/FlutterView;JLandroid/graphics/SurfaceTexture;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->this$0:Lio/flutter/view/FlutterView;
|
||
|
|
||
|
.line 930
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 949
|
||
|
new-instance p1, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry$1;
|
||
|
|
||
|
invoke-direct {p1, p0}, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry$1;-><init>(Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;)V
|
||
|
|
||
|
iput-object p1, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->onFrameListener:Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;
|
||
|
|
||
|
iput-wide p2, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->id:J
|
||
|
|
||
|
.line 932
|
||
|
new-instance p1, Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
|
||
|
invoke-direct {p1, p4}, Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;-><init>(Landroid/graphics/SurfaceTexture;)V
|
||
|
|
||
|
iput-object p1, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->textureWrapper:Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
|
||
|
.line 940
|
||
|
invoke-virtual {p0}, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->surfaceTexture()Landroid/graphics/SurfaceTexture;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iget-object p0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->onFrameListener:Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;
|
||
|
|
||
|
new-instance p2, Landroid/os/Handler;
|
||
|
|
||
|
invoke-direct {p2}, Landroid/os/Handler;-><init>()V
|
||
|
|
||
|
invoke-virtual {p1, p0, p2}, Landroid/graphics/SurfaceTexture;->setOnFrameAvailableListener(Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;Landroid/os/Handler;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic access$200(Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;)Z
|
||
|
.locals 0
|
||
|
|
||
|
.line 925
|
||
|
iget-boolean p0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->released:Z
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic access$300(Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;)J
|
||
|
.locals 2
|
||
|
|
||
|
.line 925
|
||
|
iget-wide v0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->id:J
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public id()J
|
||
|
.locals 2
|
||
|
|
||
|
iget-wide v0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->id:J
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public release()V
|
||
|
.locals 3
|
||
|
|
||
|
iget-boolean v0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->released:Z
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
iput-boolean v0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->released:Z
|
||
|
|
||
|
.line 995
|
||
|
invoke-virtual {p0}, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->surfaceTexture()Landroid/graphics/SurfaceTexture;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/graphics/SurfaceTexture;->setOnFrameAvailableListener(Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;)V
|
||
|
|
||
|
iget-object v0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->textureWrapper:Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
|
||
|
.line 996
|
||
|
invoke-virtual {v0}, Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;->release()V
|
||
|
|
||
|
iget-object v0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->this$0:Lio/flutter/view/FlutterView;
|
||
|
|
||
|
.line 997
|
||
|
invoke-static {v0}, Lio/flutter/view/FlutterView;->access$100(Lio/flutter/view/FlutterView;)Lio/flutter/view/FlutterNativeView;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Lio/flutter/view/FlutterNativeView;->getFlutterJNI()Lio/flutter/embedding/engine/FlutterJNI;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-wide v1, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->id:J
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lio/flutter/embedding/engine/FlutterJNI;->unregisterTexture(J)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public surfaceTexture()Landroid/graphics/SurfaceTexture;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->textureWrapper:Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
|
||
|
.line 973
|
||
|
invoke-virtual {p0}, Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;->surfaceTexture()Landroid/graphics/SurfaceTexture;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public textureWrapper()Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lio/flutter/view/FlutterView$SurfaceTextureRegistryEntry;->textureWrapper:Lio/flutter/embedding/engine/renderer/SurfaceTextureWrapper;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|