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.
113 lines
2.4 KiB
113 lines
2.4 KiB
.class Lcom/facebook/internal/ImageDownloader$RequestKey; |
|
.super Ljava/lang/Object; |
|
.source "ImageDownloader.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/facebook/internal/ImageDownloader; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0xa |
|
name = "RequestKey" |
|
.end annotation |
|
|
|
|
|
# static fields |
|
.field private static final HASH_MULTIPLIER:I = 0x25 |
|
|
|
.field private static final HASH_SEED:I = 0x1d |
|
|
|
|
|
# instance fields |
|
.field tag:Ljava/lang/Object; |
|
|
|
.field uri:Landroid/net/Uri; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Landroid/net/Uri;Ljava/lang/Object;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 315 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 316 |
|
iput-object p1, p0, Lcom/facebook/internal/ImageDownloader$RequestKey;->uri:Landroid/net/Uri; |
|
|
|
.line 317 |
|
iput-object p2, p0, Lcom/facebook/internal/ImageDownloader$RequestKey;->tag:Ljava/lang/Object; |
|
|
|
.line 318 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public equals(Ljava/lang/Object;)Z |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v0, 0x0 |
|
|
|
.line 332 |
|
.line 334 |
|
if-eqz p1, :cond_0 |
|
|
|
instance-of v1, p1, Lcom/facebook/internal/ImageDownloader$RequestKey; |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
.line 335 |
|
check-cast p1, Lcom/facebook/internal/ImageDownloader$RequestKey; |
|
|
|
.line 336 |
|
iget-object v1, p1, Lcom/facebook/internal/ImageDownloader$RequestKey;->uri:Landroid/net/Uri; |
|
|
|
iget-object v2, p0, Lcom/facebook/internal/ImageDownloader$RequestKey;->uri:Landroid/net/Uri; |
|
|
|
if-ne v1, v2, :cond_0 |
|
|
|
iget-object v1, p1, Lcom/facebook/internal/ImageDownloader$RequestKey;->tag:Ljava/lang/Object; |
|
|
|
iget-object v2, p0, Lcom/facebook/internal/ImageDownloader$RequestKey;->tag:Ljava/lang/Object; |
|
|
|
if-ne v1, v2, :cond_0 |
|
|
|
const/4 v0, 0x1 |
|
|
|
.line 339 |
|
:cond_0 |
|
return v0 |
|
.end method |
|
|
|
.method public hashCode()I |
|
.locals 2 |
|
|
|
.prologue |
|
.line 322 |
|
.line 324 |
|
iget-object v0, p0, Lcom/facebook/internal/ImageDownloader$RequestKey;->uri:Landroid/net/Uri; |
|
|
|
invoke-virtual {v0}, Landroid/net/Uri;->hashCode()I |
|
|
|
move-result v0 |
|
|
|
add-int/lit16 v0, v0, 0x431 |
|
|
|
.line 325 |
|
mul-int/lit8 v0, v0, 0x25 |
|
|
|
iget-object v1, p0, Lcom/facebook/internal/ImageDownloader$RequestKey;->tag:Ljava/lang/Object; |
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I |
|
|
|
move-result v1 |
|
|
|
add-int/2addr v0, v1 |
|
|
|
.line 327 |
|
return v0 |
|
.end method
|
|
|