You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.3 KiB
84 lines
2.3 KiB
2 years ago
|
.class Lcom/via/gpuimage/GPUImageView$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "GPUImageView.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/via/gpuimage/GPUImageView;->capture(II)Landroid/graphics/Bitmap;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/via/gpuimage/GPUImageView;
|
||
|
|
||
|
.field final synthetic val$waiter:Ljava/util/concurrent/Semaphore;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/via/gpuimage/GPUImageView;Ljava/util/concurrent/Semaphore;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 225
|
||
|
iput-object p1, p0, Lcom/via/gpuimage/GPUImageView$1;->this$0:Lcom/via/gpuimage/GPUImageView;
|
||
|
|
||
|
iput-object p2, p0, Lcom/via/gpuimage/GPUImageView$1;->val$waiter:Ljava/util/concurrent/Semaphore;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onGlobalLayout()V
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 228
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x10
|
||
|
|
||
|
if-ge v0, v1, :cond_0
|
||
|
|
||
|
.line 229
|
||
|
iget-object v0, p0, Lcom/via/gpuimage/GPUImageView$1;->this$0:Lcom/via/gpuimage/GPUImageView;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/via/gpuimage/GPUImageView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeGlobalOnLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
||
|
|
||
|
.line 233
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lcom/via/gpuimage/GPUImageView$1;->val$waiter:Ljava/util/concurrent/Semaphore;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/util/concurrent/Semaphore;->release()V
|
||
|
|
||
|
.line 234
|
||
|
return-void
|
||
|
|
||
|
.line 231
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lcom/via/gpuimage/GPUImageView$1;->this$0:Lcom/via/gpuimage/GPUImageView;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/via/gpuimage/GPUImageView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|