.class public Landroidx/emoji2/text/FontRequestEmojiCompatConfig$FontProviderHelper; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope; } .end annotation .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/emoji2/text/FontRequestEmojiCompatConfig; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "FontProviderHelper" .end annotation # direct methods .method public constructor ()V .locals 0 .line 412 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public buildTypeface(Landroid/content/Context;Landroidx/core/provider/FontsContractCompat$FontInfo;)Landroid/graphics/Typeface; .locals 2 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroidx/core/provider/FontsContractCompat$FontInfo; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation .annotation system Ldalvik/annotation/Throws; value = { Landroid/content/pm/PackageManager$NameNotFoundException; } .end annotation const/4 v0, 0x1 new-array v0, v0, [Landroidx/core/provider/FontsContractCompat$FontInfo; const/4 v1, 0x0 aput-object p2, v0, v1 const/4 p2, 0x0 .line 424 invoke-static {p1, p2, v0}, Landroidx/core/provider/FontsContractCompat;->buildTypeface(Landroid/content/Context;Landroid/os/CancellationSignal;[Landroidx/core/provider/FontsContractCompat$FontInfo;)Landroid/graphics/Typeface; move-result-object p1 return-object p1 .end method .method public fetchFonts(Landroid/content/Context;Landroidx/core/provider/FontRequest;)Landroidx/core/provider/FontsContractCompat$FontFamilyResult; .locals 1 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroidx/core/provider/FontRequest; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Throws; value = { Landroid/content/pm/PackageManager$NameNotFoundException; } .end annotation const/4 v0, 0x0 .line 417 invoke-static {p1, v0, p2}, Landroidx/core/provider/FontsContractCompat;->fetchFonts(Landroid/content/Context;Landroid/os/CancellationSignal;Landroidx/core/provider/FontRequest;)Landroidx/core/provider/FontsContractCompat$FontFamilyResult; move-result-object p1 return-object p1 .end method .method public registerObserver(Landroid/content/Context;Landroid/net/Uri;Landroid/database/ContentObserver;)V .locals 1 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Landroid/database/ContentObserver; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 431 invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; move-result-object p1 const/4 v0, 0x0 invoke-virtual {p1, p2, v0, p3}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V return-void .end method .method public unregisterObserver(Landroid/content/Context;Landroid/database/ContentObserver;)V .locals 0 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/database/ContentObserver; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 438 invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; move-result-object p1 invoke-virtual {p1, p2}, Landroid/content/ContentResolver;->unregisterContentObserver(Landroid/database/ContentObserver;)V return-void .end method