Painting$4.smali
.class Lim/tpelyyftgw/ui/components/paint/Painting$4;
.super Ljava/lang/Object;
.source "Painting.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/paint/Painting;->restoreSlice(Lim/tpelyyftgw/ui/components/paint/Slice;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/paint/Painting;
.field final synthetic val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/paint/Painting;Lim/tpelyyftgw/ui/components/paint/Slice;)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/paint/Painting;
.line 285
iput-object p1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->this$0:Lim/tpelyyftgw/ui/components/paint/Painting;
iput-object p2, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 11
.line 288
iget-object v0, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/paint/Slice;->getData()Ljava/nio/ByteBuffer;
move-result-object v0
.line 290
.local v0, "buffer":Ljava/nio/ByteBuffer;
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->this$0:Lim/tpelyyftgw/ui/components/paint/Painting;
# invokes: Lim/tpelyyftgw/ui/components/paint/Painting;->getTexture()I
invoke-static {v1}, Lim/tpelyyftgw/ui/components/paint/Painting;->access$1800(Lim/tpelyyftgw/ui/components/paint/Painting;)I
move-result v1
const/16 v2, 0xde1
invoke-static {v2, v1}, Landroid/opengl/GLES20;->glBindTexture(II)V
.line 291
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/Slice;->getX()I
move-result v3
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/Slice;->getY()I
move-result v4
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/Slice;->getWidth()I
move-result v5
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/Slice;->getHeight()I
move-result v6
const/16 v1, 0xde1
const/4 v2, 0x0
const/16 v7, 0x1908
const/16 v8, 0x1401
move-object v9, v0
invoke-static/range {v1 .. v9}, Landroid/opengl/GLES20;->glTexSubImage2D(IIIIIIIILjava/nio/Buffer;)V
.line 292
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->this$0:Lim/tpelyyftgw/ui/components/paint/Painting;
# invokes: Lim/tpelyyftgw/ui/components/paint/Painting;->isSuppressingChanges()Z
invoke-static {v1}, Lim/tpelyyftgw/ui/components/paint/Painting;->access$1900(Lim/tpelyyftgw/ui/components/paint/Painting;)Z
move-result v1
if-nez v1, :cond_53
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->this$0:Lim/tpelyyftgw/ui/components/paint/Painting;
# getter for: Lim/tpelyyftgw/ui/components/paint/Painting;->delegate:Lim/tpelyyftgw/ui/components/paint/Painting$PaintingDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/paint/Painting;->access$900(Lim/tpelyyftgw/ui/components/paint/Painting;)Lim/tpelyyftgw/ui/components/paint/Painting$PaintingDelegate;
move-result-object v1
if-eqz v1, :cond_53
.line 293
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->this$0:Lim/tpelyyftgw/ui/components/paint/Painting;
# getter for: Lim/tpelyyftgw/ui/components/paint/Painting;->delegate:Lim/tpelyyftgw/ui/components/paint/Painting$PaintingDelegate;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/paint/Painting;->access$900(Lim/tpelyyftgw/ui/components/paint/Painting;)Lim/tpelyyftgw/ui/components/paint/Painting$PaintingDelegate;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/paint/Slice;->getBounds()Landroid/graphics/RectF;
move-result-object v2
invoke-interface {v1, v2}, Lim/tpelyyftgw/ui/components/paint/Painting$PaintingDelegate;->contentChanged(Landroid/graphics/RectF;)V
.line 296
:cond_53
iget-object v1, p0, Lim/tpelyyftgw/ui/components/paint/Painting$4;->val$slice:Lim/tpelyyftgw/ui/components/paint/Slice;
invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/paint/Slice;->cleanResources()V
.line 297
return-void
.end method