UIManagerModule.smali
.class public Lcom/facebook/react/uimanager/UIManagerModule;
.super Lcom/facebook/react/bridge/ReactContextBaseJavaModule;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/react/bridge/OnBatchCompleteListener;
.implements Lcom/facebook/react/bridge/LifecycleEventListener;
.implements Lcom/facebook/react/bridge/UIManager;
# annotations
.annotation runtime Lcom/facebook/react/module/annotations/ReactModule;
name = "UIManager"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;,
Lcom/facebook/react/uimanager/UIManagerModule$CustomEventNamesResolver;,
Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;
}
.end annotation
# static fields
.field private static final DEBUG:Z
.field public static final NAME:Ljava/lang/String; = "UIManager"
# instance fields
.field private mBatchId:I
.field private final mCustomDirectEvents:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field private final mEventDispatcher:Lcom/facebook/react/uimanager/events/EventDispatcher;
.field private final mListeners:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/facebook/react/uimanager/UIManagerModuleListener;",
">;"
}
.end annotation
.end field
.field private final mMemoryTrimCallback:Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
.field private final mModuleConstants:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field private final mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
.field private mViewManagerConstantsCache:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lcom/facebook/react/bridge/WritableMap;",
">;"
}
.end annotation
.end field
.field private volatile mViewManagerConstantsCacheSize:I
.field private final mViewManagerRegistry:Lcom/facebook/react/uimanager/ViewManagerRegistry;
# direct methods
.method public static constructor <clinit>()V
.registers 2
invoke-static {}, Lcom/facebook/debug/holder/PrinterHolder;->getPrinter()Lcom/facebook/debug/holder/Printer;
move-result-object v0
sget-object v1, Lcom/facebook/debug/tags/ReactDebugOverlayTags;->UI_MANAGER:Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;
invoke-interface {v0, v1}, Lcom/facebook/debug/holder/Printer;->shouldDisplayLogMessage(Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;)Z
move-result v0
sput-boolean v0, Lcom/facebook/react/uimanager/UIManagerModule;->DEBUG:Z
return-void
.end method
.method public constructor <init>(Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;I)V
.registers 5
.line 1
new-instance v0, Lcom/facebook/react/uimanager/UIImplementationProvider;
invoke-direct {v0}, Lcom/facebook/react/uimanager/UIImplementationProvider;-><init>()V
invoke-direct {p0, p1, p2, v0, p3}, Lcom/facebook/react/uimanager/UIManagerModule;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;Lcom/facebook/react/uimanager/UIImplementationProvider;I)V
return-void
.end method
.method public constructor <init>(Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;Lcom/facebook/react/uimanager/UIImplementationProvider;I)V
.registers 7
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 3
invoke-direct {p0, p1}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;)V
.line 4
new-instance v0, Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;-><init>(Lcom/facebook/react/uimanager/UIManagerModule;Lcom/facebook/react/uimanager/UIManagerModule$1;)V
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mMemoryTrimCallback:Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
.line 5
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mListeners:Ljava/util/List;
const/4 v0, 0x0
.line 6
iput v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mBatchId:I
.line 7
invoke-static {p1}, Lcom/facebook/react/uimanager/DisplayMetricsHolder;->initDisplayMetricsIfNotInitialized(Landroid/content/Context;)V
.line 8
new-instance v0, Lcom/facebook/react/uimanager/events/EventDispatcher;
invoke-direct {v0, p1}, Lcom/facebook/react/uimanager/events/EventDispatcher;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;)V
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mEventDispatcher:Lcom/facebook/react/uimanager/events/EventDispatcher;
.line 9
invoke-static {p2}, Lcom/facebook/react/uimanager/UIManagerModule;->createConstants(Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;)Ljava/util/Map;
move-result-object v1
iput-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mModuleConstants:Ljava/util/Map;
.line 10
invoke-static {}, Lcom/facebook/react/uimanager/UIManagerModuleConstants;->getDirectEventTypeConstants()Ljava/util/Map;
move-result-object v1
iput-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mCustomDirectEvents:Ljava/util/Map;
.line 11
new-instance v1, Lcom/facebook/react/uimanager/ViewManagerRegistry;
invoke-direct {v1, p2}, Lcom/facebook/react/uimanager/ViewManagerRegistry;-><init>(Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;)V
iput-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerRegistry:Lcom/facebook/react/uimanager/ViewManagerRegistry;
.line 12
invoke-virtual {p3, p1, v1, v0, p4}, Lcom/facebook/react/uimanager/UIImplementationProvider;->createUIImplementation(Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/ViewManagerRegistry;Lcom/facebook/react/uimanager/events/EventDispatcher;I)Lcom/facebook/react/uimanager/UIImplementation;
move-result-object p2
iput-object p2, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
.line 13
invoke-direct {p0, p2}, Lcom/facebook/react/uimanager/UIManagerModule;->updateUIImplementation(Lcom/facebook/react/uimanager/UIImplementation;)V
.line 14
invoke-virtual {p1, p0}, Lcom/facebook/react/bridge/ReactContext;->addLifecycleEventListener(Lcom/facebook/react/bridge/LifecycleEventListener;)V
return-void
.end method
.method public constructor <init>(Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/List;I)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/react/bridge/ReactApplicationContext;",
"Ljava/util/List<",
"Lcom/facebook/react/uimanager/ViewManager;",
">;I)V"
}
.end annotation
.line 2
new-instance v0, Lcom/facebook/react/uimanager/UIImplementationProvider;
invoke-direct {v0}, Lcom/facebook/react/uimanager/UIImplementationProvider;-><init>()V
invoke-direct {p0, p1, p2, v0, p3}, Lcom/facebook/react/uimanager/UIManagerModule;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/List;Lcom/facebook/react/uimanager/UIImplementationProvider;I)V
return-void
.end method
.method public constructor <init>(Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/List;Lcom/facebook/react/uimanager/UIImplementationProvider;I)V
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/react/bridge/ReactApplicationContext;",
"Ljava/util/List<",
"Lcom/facebook/react/uimanager/ViewManager;",
">;",
"Lcom/facebook/react/uimanager/UIImplementationProvider;",
"I)V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 15
invoke-direct {p0, p1}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;)V
.line 16
new-instance v0, Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;-><init>(Lcom/facebook/react/uimanager/UIManagerModule;Lcom/facebook/react/uimanager/UIManagerModule$1;)V
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mMemoryTrimCallback:Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
.line 17
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mListeners:Ljava/util/List;
const/4 v0, 0x0
.line 18
iput v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mBatchId:I
.line 19
invoke-static {p1}, Lcom/facebook/react/uimanager/DisplayMetricsHolder;->initDisplayMetricsIfNotInitialized(Landroid/content/Context;)V
.line 20
new-instance v0, Lcom/facebook/react/uimanager/events/EventDispatcher;
invoke-direct {v0, p1}, Lcom/facebook/react/uimanager/events/EventDispatcher;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;)V
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mEventDispatcher:Lcom/facebook/react/uimanager/events/EventDispatcher;
.line 21
invoke-static {}, Lcom/facebook/react/common/MapBuilder;->newHashMap()Ljava/util/HashMap;
move-result-object v2
iput-object v2, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mCustomDirectEvents:Ljava/util/Map;
.line 22
invoke-static {p2, v1, v2}, Lcom/facebook/react/uimanager/UIManagerModule;->createConstants(Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
move-result-object v1
iput-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mModuleConstants:Ljava/util/Map;
.line 23
new-instance v1, Lcom/facebook/react/uimanager/ViewManagerRegistry;
invoke-direct {v1, p2}, Lcom/facebook/react/uimanager/ViewManagerRegistry;-><init>(Ljava/util/List;)V
iput-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerRegistry:Lcom/facebook/react/uimanager/ViewManagerRegistry;
.line 24
invoke-virtual {p3, p1, v1, v0, p4}, Lcom/facebook/react/uimanager/UIImplementationProvider;->createUIImplementation(Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/ViewManagerRegistry;Lcom/facebook/react/uimanager/events/EventDispatcher;I)Lcom/facebook/react/uimanager/UIImplementation;
move-result-object p2
iput-object p2, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
.line 25
invoke-direct {p0, p2}, Lcom/facebook/react/uimanager/UIManagerModule;->updateUIImplementation(Lcom/facebook/react/uimanager/UIImplementation;)V
.line 26
invoke-virtual {p1, p0}, Lcom/facebook/react/bridge/ReactContext;->addLifecycleEventListener(Lcom/facebook/react/bridge/LifecycleEventListener;)V
return-void
.end method
.method public static synthetic access$100(Lcom/facebook/react/uimanager/UIManagerModule;)Ljava/util/Map;
.registers 1
iget-object p0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mCustomDirectEvents:Ljava/util/Map;
return-object p0
.end method
.method public static synthetic access$200(Lcom/facebook/react/uimanager/UIManagerModule;)Lcom/facebook/react/uimanager/UIImplementation;
.registers 1
iget-object p0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
return-object p0
.end method
.method private computeConstantsForViewManager(Ljava/lang/String;)Lcom/facebook/react/bridge/WritableMap;
.registers 8
const/4 v0, 0x0
if-eqz p1, :cond_a
.line 1
iget-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v1, p1}, Lcom/facebook/react/uimanager/UIImplementation;->resolveViewManager(Ljava/lang/String;)Lcom/facebook/react/uimanager/ViewManager;
move-result-object p1
goto :goto_b
:cond_a
move-object p1, v0
:goto_b
if-nez p1, :cond_e
return-object v0
:cond_e
const-wide/16 v1, 0x0
const-string v3, "UIManagerModule.getConstantsForViewManager"
.line 2
invoke-static {v1, v2, v3}, Lcom/facebook/systrace/SystraceMessage;->beginSection(JLjava/lang/String;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v3
.line 3
invoke-virtual {p1}, Lcom/facebook/react/uimanager/ViewManager;->getName()Ljava/lang/String;
move-result-object v4
const-string v5, "ViewManager"
invoke-virtual {v3, v5, v4}, Lcom/facebook/systrace/SystraceMessage$Builder;->arg(Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v3
.line 4
sget-object v4, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
const-string v5, "Lazy"
invoke-virtual {v3, v5, v4}, Lcom/facebook/systrace/SystraceMessage$Builder;->arg(Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v3
.line 5
invoke-virtual {v3}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
.line 6
:try_start_2b
iget-object v3, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mCustomDirectEvents:Ljava/util/Map;
.line 7
invoke-static {p1, v0, v0, v0, v3}, Lcom/facebook/react/uimanager/UIManagerModuleConstantsHelper;->createConstantsForViewManager(Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
move-result-object p1
if-eqz p1, :cond_3f
.line 8
invoke-static {p1}, Lcom/facebook/react/bridge/Arguments;->makeNativeMap(Ljava/util/Map;)Lcom/facebook/react/bridge/WritableNativeMap;
move-result-object p1
:try_end_37
.catchall {:try_start_2b .. :try_end_37} :catchall_47
.line 9
invoke-static {v1, v2}, Lcom/facebook/systrace/SystraceMessage;->endSection(J)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v0
invoke-virtual {v0}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
return-object p1
:cond_3f
invoke-static {v1, v2}, Lcom/facebook/systrace/SystraceMessage;->endSection(J)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object p1
invoke-virtual {p1}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
return-object v0
:catchall_47
move-exception p1
invoke-static {v1, v2}, Lcom/facebook/systrace/SystraceMessage;->endSection(J)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v0
invoke-virtual {v0}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
.line 10
throw p1
.end method
.method private static createConstants(Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;)Ljava/util/Map;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;",
")",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.line 1
sget-object v0, Lcom/facebook/react/bridge/ReactMarkerConstants;->CREATE_UI_MANAGER_MODULE_CONSTANTS_START:Lcom/facebook/react/bridge/ReactMarkerConstants;
invoke-static {v0}, Lcom/facebook/react/bridge/ReactMarker;->logMarker(Lcom/facebook/react/bridge/ReactMarkerConstants;)V
const-wide/16 v0, 0x0
const-string v2, "CreateUIManagerConstants"
.line 2
invoke-static {v0, v1, v2}, Lcom/facebook/systrace/SystraceMessage;->beginSection(JLjava/lang/String;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v2
.line 3
sget-object v3, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
const-string v4, "Lazy"
invoke-virtual {v2, v4, v3}, Lcom/facebook/systrace/SystraceMessage$Builder;->arg(Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v2
.line 4
invoke-virtual {v2}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
.line 5
:try_start_18
invoke-static {p0}, Lcom/facebook/react/uimanager/UIManagerModuleConstantsHelper;->createConstants(Lcom/facebook/react/uimanager/UIManagerModule$ViewManagerResolver;)Ljava/util/Map;
move-result-object p0
:try_end_1c
.catchall {:try_start_18 .. :try_end_1c} :catchall_25
.line 6
invoke-static {v0, v1}, Lcom/facebook/systrace/Systrace;->endSection(J)V
.line 7
sget-object v0, Lcom/facebook/react/bridge/ReactMarkerConstants;->CREATE_UI_MANAGER_MODULE_CONSTANTS_END:Lcom/facebook/react/bridge/ReactMarkerConstants;
invoke-static {v0}, Lcom/facebook/react/bridge/ReactMarker;->logMarker(Lcom/facebook/react/bridge/ReactMarkerConstants;)V
return-object p0
:catchall_25
move-exception p0
.line 8
invoke-static {v0, v1}, Lcom/facebook/systrace/Systrace;->endSection(J)V
.line 9
sget-object v0, Lcom/facebook/react/bridge/ReactMarkerConstants;->CREATE_UI_MANAGER_MODULE_CONSTANTS_END:Lcom/facebook/react/bridge/ReactMarkerConstants;
invoke-static {v0}, Lcom/facebook/react/bridge/ReactMarker;->logMarker(Lcom/facebook/react/bridge/ReactMarkerConstants;)V
.line 10
throw p0
.end method
.method private static createConstants(Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/facebook/react/uimanager/ViewManager;",
">;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;)",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.line 11
sget-object v0, Lcom/facebook/react/bridge/ReactMarkerConstants;->CREATE_UI_MANAGER_MODULE_CONSTANTS_START:Lcom/facebook/react/bridge/ReactMarkerConstants;
invoke-static {v0}, Lcom/facebook/react/bridge/ReactMarker;->logMarker(Lcom/facebook/react/bridge/ReactMarkerConstants;)V
const-wide/16 v0, 0x0
const-string v2, "CreateUIManagerConstants"
.line 12
invoke-static {v0, v1, v2}, Lcom/facebook/systrace/SystraceMessage;->beginSection(JLjava/lang/String;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v2
.line 13
sget-object v3, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
const-string v4, "Lazy"
invoke-virtual {v2, v4, v3}, Lcom/facebook/systrace/SystraceMessage$Builder;->arg(Ljava/lang/String;Ljava/lang/Object;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v2
.line 14
invoke-virtual {v2}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
.line 15
:try_start_18
invoke-static {p0, p1, p2}, Lcom/facebook/react/uimanager/UIManagerModuleConstantsHelper;->createConstants(Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
:try_end_1c
.catchall {:try_start_18 .. :try_end_1c} :catchall_25
.line 16
invoke-static {v0, v1}, Lcom/facebook/systrace/Systrace;->endSection(J)V
.line 17
sget-object p1, Lcom/facebook/react/bridge/ReactMarkerConstants;->CREATE_UI_MANAGER_MODULE_CONSTANTS_END:Lcom/facebook/react/bridge/ReactMarkerConstants;
invoke-static {p1}, Lcom/facebook/react/bridge/ReactMarker;->logMarker(Lcom/facebook/react/bridge/ReactMarkerConstants;)V
return-object p0
:catchall_25
move-exception p0
.line 18
invoke-static {v0, v1}, Lcom/facebook/systrace/Systrace;->endSection(J)V
.line 19
sget-object p1, Lcom/facebook/react/bridge/ReactMarkerConstants;->CREATE_UI_MANAGER_MODULE_CONSTANTS_END:Lcom/facebook/react/bridge/ReactMarkerConstants;
invoke-static {p1}, Lcom/facebook/react/bridge/ReactMarker;->logMarker(Lcom/facebook/react/bridge/ReactMarkerConstants;)V
.line 20
throw p0
.end method
.method private updateUIImplementation(Lcom/facebook/react/uimanager/UIImplementation;)V
.registers 3
.line 1
invoke-static {}, Lcom/facebook/react/modules/core/ReactChoreographer;->getInstance()Lcom/facebook/react/modules/core/ReactChoreographer;
move-result-object v0
invoke-virtual {v0}, Lcom/facebook/react/modules/core/ReactChoreographer;->getReactChoreographerDispatcher()Lcom/facebook/react/modules/core/ReactChoreographer$ReactChoreographerDispatcher;
move-result-object v0
if-eqz v0, :cond_12
.line 2
invoke-virtual {v0}, Lcom/facebook/react/modules/core/ReactChoreographer$ReactChoreographerDispatcher;->clearFrameCache()V
.line 3
iget-object v0, v0, Lcom/facebook/react/modules/core/ReactChoreographer$ReactChoreographerDispatcher;->mAtomicUIImplementation:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
:cond_12
return-void
.end method
# virtual methods
.method public addRootView(Landroid/view/View;)I
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroid/view/View;",
">(TT;)I"
}
.end annotation
const/4 v0, 0x0
.line 1
invoke-virtual {p0, p1, v0, v0}, Lcom/facebook/react/uimanager/UIManagerModule;->addRootView(Landroid/view/View;Lcom/facebook/react/bridge/WritableMap;Ljava/lang/String;)I
move-result p1
return p1
.end method
.method public addRootView(Landroid/view/View;Lcom/facebook/react/bridge/WritableMap;Ljava/lang/String;)I
.registers 9
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroid/view/View;",
">(TT;",
"Lcom/facebook/react/bridge/WritableMap;",
"Ljava/lang/String;",
")I"
}
.end annotation
const-wide/16 p2, 0x0
const-string v0, "UIManagerModule.addRootView"
.line 2
invoke-static {p2, p3, v0}, Lcom/facebook/systrace/Systrace;->beginSection(JLjava/lang/String;)V
.line 3
invoke-static {}, Lcom/facebook/react/uimanager/ReactRootViewTagGenerator;->getNextRootViewTag()I
move-result v0
.line 4
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v1
.line 5
new-instance v2, Lcom/facebook/react/uimanager/ThemedReactContext;
.line 6
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v3
move-object v4, p1
check-cast v4, Lcom/facebook/react/uimanager/ReactRoot;
invoke-interface {v4}, Lcom/facebook/react/uimanager/ReactRoot;->getSurfaceID()Ljava/lang/String;
move-result-object v4
invoke-direct {v2, v1, v3, v4}, Lcom/facebook/react/uimanager/ThemedReactContext;-><init>(Lcom/facebook/react/bridge/ReactApplicationContext;Landroid/content/Context;Ljava/lang/String;)V
.line 7
iget-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v1, p1, v0, v2}, Lcom/facebook/react/uimanager/UIImplementation;->registerRootView(Landroid/view/View;ILcom/facebook/react/uimanager/ThemedReactContext;)V
.line 8
invoke-static {p2, p3}, Lcom/facebook/systrace/Systrace;->endSection(J)V
return v0
.end method
.method public addUIBlock(Lcom/facebook/react/uimanager/UIBlock;)V
.registers 3
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->addUIBlock(Lcom/facebook/react/uimanager/UIBlock;)V
return-void
.end method
.method public addUIManagerListener(Lcom/facebook/react/uimanager/UIManagerModuleListener;)V
.registers 3
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mListeners:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public clearJSResponder()V
.registers 2
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->clearJSResponder()V
return-void
.end method
.method public configureNextLayoutAnimation(Lcom/facebook/react/bridge/ReadableMap;Lcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
.registers 4
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object p3, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {p3, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->configureNextLayoutAnimation(Lcom/facebook/react/bridge/ReadableMap;Lcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public createView(ILjava/lang/String;ILcom/facebook/react/bridge/ReadableMap;)V
.registers 8
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
sget-boolean v0, Lcom/facebook/react/uimanager/UIManagerModule;->DEBUG:Z
if-eqz v0, :cond_23
const-string v0, "(UIManager.createView) tag: "
const-string v1, ", class: "
const-string v2, ", props: "
.line 2
invoke-static {v0, p1, v1, p2, v2}, Landroidx/biometric/b0;->d(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
.line 3
invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "ReactNative"
.line 4
invoke-static {v1, v0}, Lcom/facebook/common/logging/FLog;->d(Ljava/lang/String;Ljava/lang/String;)V
.line 5
invoke-static {}, Lcom/facebook/debug/holder/PrinterHolder;->getPrinter()Lcom/facebook/debug/holder/Printer;
move-result-object v1
sget-object v2, Lcom/facebook/debug/tags/ReactDebugOverlayTags;->UI_MANAGER:Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;
invoke-interface {v1, v2, v0}, Lcom/facebook/debug/holder/Printer;->logMessage(Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;Ljava/lang/String;)V
.line 6
:cond_23
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/facebook/react/uimanager/UIImplementation;->createView(ILjava/lang/String;ILcom/facebook/react/bridge/ReadableMap;)V
return-void
.end method
.method public dismissPopupMenu()V
.registers 2
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->dismissPopupMenu()V
return-void
.end method
.method public dispatchCommand(IILcom/facebook/react/bridge/ReadableArray;)V
.registers 5
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->dispatchViewManagerCommand(IILcom/facebook/react/bridge/ReadableArray;)V
return-void
.end method
.method public dispatchCommand(ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
.registers 5
.line 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->dispatchViewManagerCommand(ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
return-void
.end method
.method public dispatchViewManagerCommand(ILcom/facebook/react/bridge/Dynamic;Lcom/facebook/react/bridge/ReadableArray;)V
.registers 7
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v0
invoke-static {p1}, Lcom/facebook/react/uimanager/common/ViewUtil;->getUIManagerType(I)I
move-result v1
.line 2
invoke-static {v0, v1}, Lcom/facebook/react/uimanager/UIManagerHelper;->getUIManager(Lcom/facebook/react/bridge/ReactContext;I)Lcom/facebook/react/bridge/UIManager;
move-result-object v0
if-nez v0, :cond_f
return-void
.line 3
:cond_f
invoke-interface {p2}, Lcom/facebook/react/bridge/Dynamic;->getType()Lcom/facebook/react/bridge/ReadableType;
move-result-object v1
sget-object v2, Lcom/facebook/react/bridge/ReadableType;->Number:Lcom/facebook/react/bridge/ReadableType;
if-ne v1, v2, :cond_1f
.line 4
invoke-interface {p2}, Lcom/facebook/react/bridge/Dynamic;->asInt()I
move-result p2
invoke-interface {v0, p1, p2, p3}, Lcom/facebook/react/bridge/UIManager;->dispatchCommand(IILcom/facebook/react/bridge/ReadableArray;)V
goto :goto_2e
.line 5
:cond_1f
invoke-interface {p2}, Lcom/facebook/react/bridge/Dynamic;->getType()Lcom/facebook/react/bridge/ReadableType;
move-result-object v1
sget-object v2, Lcom/facebook/react/bridge/ReadableType;->String:Lcom/facebook/react/bridge/ReadableType;
if-ne v1, v2, :cond_2e
.line 6
invoke-interface {p2}, Lcom/facebook/react/bridge/Dynamic;->asString()Ljava/lang/String;
move-result-object p2
invoke-interface {v0, p1, p2, p3}, Lcom/facebook/react/bridge/UIManager;->dispatchCommand(ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
:cond_2e
:goto_2e
return-void
.end method
.method public findSubviewIn(ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Callback;)V
.registers 8
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
const/4 v1, 0x0
.line 2
invoke-interface {p2, v1}, Lcom/facebook/react/bridge/ReadableArray;->getDouble(I)D
move-result-wide v1
invoke-static {v1, v2}, Lcom/facebook/react/uimanager/PixelUtil;->toPixelFromDIP(D)F
move-result v1
invoke-static {v1}, Ljava/lang/Math;->round(F)I
move-result v1
int-to-float v1, v1
const/4 v2, 0x1
.line 3
invoke-interface {p2, v2}, Lcom/facebook/react/bridge/ReadableArray;->getDouble(I)D
move-result-wide v2
invoke-static {v2, v3}, Lcom/facebook/react/uimanager/PixelUtil;->toPixelFromDIP(D)F
move-result p2
invoke-static {p2}, Ljava/lang/Math;->round(F)I
move-result p2
int-to-float p2, p2
.line 4
invoke-virtual {v0, p1, v1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->findSubviewIn(IFFLcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public getConstants()Ljava/util/Map;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mModuleConstants:Ljava/util/Map;
return-object v0
.end method
.method public getConstantsForViewManager(Ljava/lang/String;)Lcom/facebook/react/bridge/WritableMap;
.registers 3
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
isBlockingSynchronousMethod = true
.end annotation
.line 1
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCache:Ljava/util/Map;
if-eqz v0, :cond_1e
.line 2
invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1e
.line 3
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCache:Ljava/util/Map;
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/facebook/react/bridge/WritableMap;
.line 4
iget v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCacheSize:I
add-int/lit8 v0, v0, -0x1
iput v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCacheSize:I
if-gtz v0, :cond_1d
const/4 v0, 0x0
.line 5
iput-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCache:Ljava/util/Map;
:cond_1d
return-object p1
.line 6
:cond_1e
invoke-direct {p0, p1}, Lcom/facebook/react/uimanager/UIManagerModule;->computeConstantsForViewManager(Ljava/lang/String;)Lcom/facebook/react/bridge/WritableMap;
move-result-object p1
return-object p1
.end method
.method public getDefaultEventTypes()Lcom/facebook/react/bridge/WritableMap;
.registers 2
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
isBlockingSynchronousMethod = true
.end annotation
invoke-static {}, Lcom/facebook/react/uimanager/UIManagerModuleConstantsHelper;->getDefaultExportableEventTypes()Ljava/util/Map;
move-result-object v0
invoke-static {v0}, Lcom/facebook/react/bridge/Arguments;->makeNativeMap(Ljava/util/Map;)Lcom/facebook/react/bridge/WritableNativeMap;
move-result-object v0
return-object v0
.end method
.method public getDirectEventNamesResolver()Lcom/facebook/react/uimanager/UIManagerModule$CustomEventNamesResolver;
.registers 2
new-instance v0, Lcom/facebook/react/uimanager/UIManagerModule$1;
invoke-direct {v0, p0}, Lcom/facebook/react/uimanager/UIManagerModule$1;-><init>(Lcom/facebook/react/uimanager/UIManagerModule;)V
return-object v0
.end method
.method public getEventDispatcher()Lcom/facebook/react/uimanager/events/EventDispatcher;
.registers 2
.line 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mEventDispatcher:Lcom/facebook/react/uimanager/events/EventDispatcher;
return-object v0
.end method
.method public bridge synthetic getEventDispatcher()Ljava/lang/Object;
.registers 2
.line 1
invoke-virtual {p0}, Lcom/facebook/react/uimanager/UIManagerModule;->getEventDispatcher()Lcom/facebook/react/uimanager/events/EventDispatcher;
move-result-object v0
return-object v0
.end method
.method public getName()Ljava/lang/String;
.registers 2
const-string v0, "UIManager"
return-object v0
.end method
.method public getPerformanceCounters()Ljava/util/Map;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Long;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->getProfiledBatchPerfCounters()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public getUIImplementation()Lcom/facebook/react/uimanager/UIImplementation;
.registers 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
return-object v0
.end method
.method public getViewManagerRegistry_DO_NOT_USE()Lcom/facebook/react/uimanager/ViewManagerRegistry;
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerRegistry:Lcom/facebook/react/uimanager/ViewManagerRegistry;
return-object v0
.end method
.method public initialize()V
.registers 4
.line 1
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v0
iget-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mMemoryTrimCallback:Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
invoke-virtual {v0, v1}, Landroid/content/Context;->registerComponentCallbacks(Landroid/content/ComponentCallbacks;)V
.line 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mEventDispatcher:Lcom/facebook/react/uimanager/events/EventDispatcher;
.line 3
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v1
const-class v2, Lcom/facebook/react/uimanager/events/RCTEventEmitter;
invoke-virtual {v1, v2}, Lcom/facebook/react/bridge/ReactContext;->getJSModule(Ljava/lang/Class;)Lcom/facebook/react/bridge/JavaScriptModule;
move-result-object v1
check-cast v1, Lcom/facebook/react/uimanager/events/RCTEventEmitter;
const/4 v2, 0x1
.line 4
invoke-virtual {v0, v2, v1}, Lcom/facebook/react/uimanager/events/EventDispatcher;->registerEventEmitter(ILcom/facebook/react/uimanager/events/RCTEventEmitter;)V
return-void
.end method
.method public invalidateNodeLayout(I)V
.registers 4
.line 1
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->resolveShadowNode(I)Lcom/facebook/react/uimanager/ReactShadowNode;
move-result-object v0
if-nez v0, :cond_1f
.line 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Warning : attempted to dirty a non-existent react shadow node. reactTag="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "ReactNative"
invoke-static {v0, p1}, Lcom/facebook/common/logging/FLog;->w(Ljava/lang/String;Ljava/lang/String;)V
return-void
.line 3
:cond_1f
invoke-interface {v0}, Lcom/facebook/react/uimanager/ReactShadowNode;->dirty()V
.line 4
iget-object p1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
const/4 v0, -0x1
invoke-virtual {p1, v0}, Lcom/facebook/react/uimanager/UIImplementation;->dispatchViewUpdates(I)V
return-void
.end method
.method public manageChildren(ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;)V
.registers 16
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
sget-boolean v0, Lcom/facebook/react/uimanager/UIManagerModule;->DEBUG:Z
if-eqz v0, :cond_4b
.line 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "(UIManager.manageChildren) tag: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v2, ", moveFrom: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v2, ", moveTo: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v2, ", addTags: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v2, ", atIndices: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v2, ", removeFrom: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p6}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v2, "ReactNative"
.line 3
invoke-static {v2, v0}, Lcom/facebook/common/logging/FLog;->d(Ljava/lang/String;Ljava/lang/String;)V
.line 4
invoke-static {}, Lcom/facebook/debug/holder/PrinterHolder;->getPrinter()Lcom/facebook/debug/holder/Printer;
move-result-object v2
sget-object v3, Lcom/facebook/debug/tags/ReactDebugOverlayTags;->UI_MANAGER:Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;
invoke-interface {v2, v3, v0}, Lcom/facebook/debug/holder/Printer;->logMessage(Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;Ljava/lang/String;)V
.line 5
:cond_4b
iget-object v2, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
move v3, p1
move-object v4, p2
move-object v5, p3
move-object v6, p4
move-object v7, p5
move-object v8, p6
invoke-virtual/range {v2 .. v8}, Lcom/facebook/react/uimanager/UIImplementation;->manageChildren(ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;)V
return-void
.end method
.method public measure(ILcom/facebook/react/bridge/Callback;)V
.registers 4
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->measure(ILcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public measureInWindow(ILcom/facebook/react/bridge/Callback;)V
.registers 4
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->measureInWindow(ILcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public measureLayout(IILcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
.registers 6
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/facebook/react/uimanager/UIImplementation;->measureLayout(IILcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public measureLayoutRelativeToParent(ILcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
.registers 5
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->measureLayoutRelativeToParent(ILcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public onBatchComplete()V
.registers 6
.line 1
iget v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mBatchId:I
add-int/lit8 v1, v0, 0x1
.line 2
iput v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mBatchId:I
const-wide/16 v1, 0x0
const-string v3, "onBatchCompleteUI"
.line 3
invoke-static {v1, v2, v3}, Lcom/facebook/systrace/SystraceMessage;->beginSection(JLjava/lang/String;)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v3
const-string v4, "BatchId"
.line 4
invoke-virtual {v3, v4, v0}, Lcom/facebook/systrace/SystraceMessage$Builder;->arg(Ljava/lang/String;I)Lcom/facebook/systrace/SystraceMessage$Builder;
move-result-object v3
.line 5
invoke-virtual {v3}, Lcom/facebook/systrace/SystraceMessage$Builder;->flush()V
.line 6
iget-object v3, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mListeners:Ljava/util/List;
invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v3
:goto_1d
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v4
if-eqz v4, :cond_2d
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/facebook/react/uimanager/UIManagerModuleListener;
.line 7
invoke-interface {v4, p0}, Lcom/facebook/react/uimanager/UIManagerModuleListener;->willDispatchViewUpdates(Lcom/facebook/react/uimanager/UIManagerModule;)V
goto :goto_1d
.line 8
:cond_2d
:try_start_2d
iget-object v3, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v3, v0}, Lcom/facebook/react/uimanager/UIImplementation;->dispatchViewUpdates(I)V
:try_end_32
.catchall {:try_start_2d .. :try_end_32} :catchall_36
.line 9
invoke-static {v1, v2}, Lcom/facebook/systrace/Systrace;->endSection(J)V
return-void
:catchall_36
move-exception v0
invoke-static {v1, v2}, Lcom/facebook/systrace/Systrace;->endSection(J)V
.line 10
throw v0
.end method
.method public onCatalystInstanceDestroy()V
.registers 3
.line 1
invoke-super {p0}, Lcom/facebook/react/bridge/BaseJavaModule;->onCatalystInstanceDestroy()V
.line 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mEventDispatcher:Lcom/facebook/react/uimanager/events/EventDispatcher;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/events/EventDispatcher;->onCatalystInstanceDestroyed()V
.line 3
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v0
iget-object v1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mMemoryTrimCallback:Lcom/facebook/react/uimanager/UIManagerModule$MemoryTrimCallback;
invoke-virtual {v0, v1}, Landroid/content/Context;->unregisterComponentCallbacks(Landroid/content/ComponentCallbacks;)V
.line 4
invoke-static {}, Lcom/facebook/react/uimanager/YogaNodePool;->get()Lcom/facebook/react/common/ClearableSynchronizedPool;
move-result-object v0
invoke-virtual {v0}, Lcom/facebook/react/common/ClearableSynchronizedPool;->clear()V
.line 5
invoke-static {}, Lcom/facebook/react/uimanager/ViewManagerPropertyUpdater;->clear()V
return-void
.end method
.method public onHostDestroy()V
.registers 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->onHostDestroy()V
return-void
.end method
.method public onHostPause()V
.registers 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->onHostPause()V
return-void
.end method
.method public onHostResume()V
.registers 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->onHostResume()V
return-void
.end method
.method public playTouchSound()V
.registers 3
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v0
const-string v1, "audio"
invoke-virtual {v0, v1}, Lcom/facebook/react/bridge/ReactContext;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/media/AudioManager;
if-eqz v0, :cond_12
const/4 v1, 0x0
.line 2
invoke-virtual {v0, v1}, Landroid/media/AudioManager;->playSoundEffect(I)V
:cond_12
return-void
.end method
.method public preComputeConstantsForViewManager(Ljava/util/List;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
new-instance v0, Landroidx/collection/a;
invoke-direct {v0}, Landroidx/collection/a;-><init>()V
.line 2
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_9
:goto_9
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1f
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
.line 3
invoke-direct {p0, v2}, Lcom/facebook/react/uimanager/UIManagerModule;->computeConstantsForViewManager(Ljava/lang/String;)Lcom/facebook/react/bridge/WritableMap;
move-result-object v3
if-eqz v3, :cond_9
.line 4
invoke-virtual {v0, v2, v3}, Landroidx/collection/g;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_9
.line 5
:cond_1f
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
iput p1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCacheSize:I
.line 6
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object p1
iput-object p1, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mViewManagerConstantsCache:Ljava/util/Map;
return-void
.end method
.method public prependUIBlock(Lcom/facebook/react/uimanager/UIBlock;)V
.registers 3
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->prependUIBlock(Lcom/facebook/react/uimanager/UIBlock;)V
return-void
.end method
.method public profileNextBatch()V
.registers 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->profileNextBatch()V
return-void
.end method
.method public removeRootView(I)V
.registers 3
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->removeRootView(I)V
return-void
.end method
.method public removeSubviewsFromContainerWithID(I)V
.registers 3
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->removeSubviewsFromContainerWithID(I)V
return-void
.end method
.method public removeUIManagerListener(Lcom/facebook/react/uimanager/UIManagerModuleListener;)V
.registers 3
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mListeners:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
return-void
.end method
.method public replaceExistingNonRootView(II)V
.registers 4
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->replaceExistingNonRootView(II)V
return-void
.end method
.method public resolveRootTagFromReactTag(I)I
.registers 3
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-static {p1}, Lcom/facebook/react/uimanager/common/ViewUtil;->isRootTag(I)Z
move-result v0
if-eqz v0, :cond_7
goto :goto_d
.line 2
:cond_7
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->resolveRootTagFromReactTag(I)I
move-result p1
:goto_d
return p1
.end method
.method public resolveView(I)Landroid/view/View;
.registers 3
.line 1
invoke-static {}, Lcom/facebook/react/bridge/UiThreadUtil;->assertOnUiThread()V
.line 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
.line 3
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIImplementation;->getUIViewOperationQueue()Lcom/facebook/react/uimanager/UIViewOperationQueue;
move-result-object v0
.line 4
invoke-virtual {v0}, Lcom/facebook/react/uimanager/UIViewOperationQueue;->getNativeViewHierarchyManager()Lcom/facebook/react/uimanager/NativeViewHierarchyManager;
move-result-object v0
.line 5
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/NativeViewHierarchyManager;->resolveView(I)Landroid/view/View;
move-result-object p1
return-object p1
.end method
.method public sendAccessibilityEvent(II)V
.registers 5
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
invoke-static {p1}, Lcom/facebook/react/uimanager/common/ViewUtil;->getUIManagerType(I)I
move-result v0
const/4 v1, 0x2
if-ne v0, v1, :cond_15
.line 2
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v1
invoke-static {v1, v0}, Lcom/facebook/react/uimanager/UIManagerHelper;->getUIManager(Lcom/facebook/react/bridge/ReactContext;I)Lcom/facebook/react/bridge/UIManager;
move-result-object v0
if-eqz v0, :cond_1a
.line 3
invoke-interface {v0, p1, p2}, Lcom/facebook/react/bridge/UIManager;->sendAccessibilityEvent(II)V
goto :goto_1a
.line 4
:cond_15
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->sendAccessibilityEvent(II)V
:cond_1a
:goto_1a
return-void
.end method
.method public setChildren(ILcom/facebook/react/bridge/ReadableArray;)V
.registers 6
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
sget-boolean v0, Lcom/facebook/react/uimanager/UIManagerModule;->DEBUG:Z
if-eqz v0, :cond_2b
.line 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "(UIManager.setChildren) tag: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", children: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "ReactNative"
.line 3
invoke-static {v1, v0}, Lcom/facebook/common/logging/FLog;->d(Ljava/lang/String;Ljava/lang/String;)V
.line 4
invoke-static {}, Lcom/facebook/debug/holder/PrinterHolder;->getPrinter()Lcom/facebook/debug/holder/Printer;
move-result-object v1
sget-object v2, Lcom/facebook/debug/tags/ReactDebugOverlayTags;->UI_MANAGER:Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;
invoke-interface {v1, v2, v0}, Lcom/facebook/debug/holder/Printer;->logMessage(Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;Ljava/lang/String;)V
.line 5
:cond_2b
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->setChildren(ILcom/facebook/react/bridge/ReadableArray;)V
return-void
.end method
.method public setJSResponder(IZ)V
.registers 4
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2}, Lcom/facebook/react/uimanager/UIImplementation;->setJSResponder(IZ)V
return-void
.end method
.method public setLayoutAnimationEnabledExperimental(Z)V
.registers 3
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->setLayoutAnimationEnabledExperimental(Z)V
return-void
.end method
.method public setViewHierarchyUpdateDebugListener(Lcom/facebook/react/uimanager/debug/NotThreadSafeViewHierarchyUpdateDebugListener;)V
.registers 3
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1}, Lcom/facebook/react/uimanager/UIImplementation;->setViewHierarchyUpdateDebugListener(Lcom/facebook/react/uimanager/debug/NotThreadSafeViewHierarchyUpdateDebugListener;)V
return-void
.end method
.method public setViewLocalData(ILjava/lang/Object;)V
.registers 5
.line 1
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v0
.line 2
invoke-virtual {v0}, Lcom/facebook/react/bridge/ReactContext;->assertOnUiQueueThread()V
.line 3
new-instance v1, Lcom/facebook/react/uimanager/UIManagerModule$2;
invoke-direct {v1, p0, v0, p1, p2}, Lcom/facebook/react/uimanager/UIManagerModule$2;-><init>(Lcom/facebook/react/uimanager/UIManagerModule;Lcom/facebook/react/bridge/ReactContext;ILjava/lang/Object;)V
invoke-virtual {v0, v1}, Lcom/facebook/react/bridge/ReactContext;->runOnNativeModulesQueueThread(Ljava/lang/Runnable;)V
return-void
.end method
.method public showPopupMenu(ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
.registers 6
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/facebook/react/uimanager/UIImplementation;->showPopupMenu(ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
return-void
.end method
.method public synchronouslyUpdateViewOnUIThread(ILcom/facebook/react/bridge/ReadableMap;)V
.registers 5
.line 1
invoke-static {p1}, Lcom/facebook/react/uimanager/common/ViewUtil;->getUIManagerType(I)I
move-result v0
const/4 v1, 0x2
if-ne v0, v1, :cond_15
.line 2
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v1
invoke-static {v1, v0}, Lcom/facebook/react/uimanager/UIManagerHelper;->getUIManager(Lcom/facebook/react/bridge/ReactContext;I)Lcom/facebook/react/bridge/UIManager;
move-result-object v0
if-eqz v0, :cond_1f
.line 3
invoke-interface {v0, p1, p2}, Lcom/facebook/react/bridge/UIManager;->synchronouslyUpdateViewOnUIThread(ILcom/facebook/react/bridge/ReadableMap;)V
goto :goto_1f
.line 4
:cond_15
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
new-instance v1, Lcom/facebook/react/uimanager/ReactStylesDiffMap;
invoke-direct {v1, p2}, Lcom/facebook/react/uimanager/ReactStylesDiffMap;-><init>(Lcom/facebook/react/bridge/ReadableMap;)V
invoke-virtual {v0, p1, v1}, Lcom/facebook/react/uimanager/UIImplementation;->synchronouslyUpdateViewOnUIThread(ILcom/facebook/react/uimanager/ReactStylesDiffMap;)V
:cond_1f
:goto_1f
return-void
.end method
.method public updateNodeSize(III)V
.registers 5
.line 1
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v0
invoke-virtual {v0}, Lcom/facebook/react/bridge/ReactContext;->assertOnNativeModulesQueueThread()V
.line 2
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->updateNodeSize(III)V
return-void
.end method
.method public updateRootLayoutSpecs(III)V
.registers 12
.line 1
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object v6
.line 2
new-instance v7, Lcom/facebook/react/uimanager/UIManagerModule$4;
move-object v0, v7
move-object v1, p0
move-object v2, v6
move v3, p1
move v4, p2
move v5, p3
invoke-direct/range {v0 .. v5}, Lcom/facebook/react/uimanager/UIManagerModule$4;-><init>(Lcom/facebook/react/uimanager/UIManagerModule;Lcom/facebook/react/bridge/ReactContext;III)V
invoke-virtual {v6, v7}, Lcom/facebook/react/bridge/ReactContext;->runOnNativeModulesQueueThread(Ljava/lang/Runnable;)V
return-void
.end method
.method public updateView(ILjava/lang/String;Lcom/facebook/react/bridge/ReadableMap;)V
.registers 7
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.line 1
sget-boolean v0, Lcom/facebook/react/uimanager/UIManagerModule;->DEBUG:Z
if-eqz v0, :cond_23
const-string v0, "(UIManager.updateView) tag: "
const-string v1, ", class: "
const-string v2, ", props: "
.line 2
invoke-static {v0, p1, v1, p2, v2}, Landroidx/biometric/b0;->d(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
.line 3
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "ReactNative"
.line 4
invoke-static {v1, v0}, Lcom/facebook/common/logging/FLog;->d(Ljava/lang/String;Ljava/lang/String;)V
.line 5
invoke-static {}, Lcom/facebook/debug/holder/PrinterHolder;->getPrinter()Lcom/facebook/debug/holder/Printer;
move-result-object v1
sget-object v2, Lcom/facebook/debug/tags/ReactDebugOverlayTags;->UI_MANAGER:Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;
invoke-interface {v1, v2, v0}, Lcom/facebook/debug/holder/Printer;->logMessage(Lcom/facebook/debug/debugoverlay/model/DebugOverlayTag;Ljava/lang/String;)V
.line 6
:cond_23
invoke-static {p1}, Lcom/facebook/react/uimanager/common/ViewUtil;->getUIManagerType(I)I
move-result v0
const/4 v1, 0x2
if-ne v0, v1, :cond_43
.line 7
invoke-virtual {p0}, Lcom/facebook/react/bridge/ReactContextBaseJavaModule;->getReactApplicationContext()Lcom/facebook/react/bridge/ReactApplicationContext;
move-result-object p2
.line 8
invoke-virtual {p2}, Lcom/facebook/react/bridge/ReactContext;->hasActiveCatalystInstance()Z
move-result v1
if-eqz v1, :cond_48
.line 9
invoke-static {p2, v0}, Lcom/facebook/react/uimanager/UIManagerHelper;->getUIManager(Lcom/facebook/react/bridge/ReactContext;I)Lcom/facebook/react/bridge/UIManager;
move-result-object v0
if-eqz v0, :cond_48
.line 10
new-instance v1, Lcom/facebook/react/uimanager/UIManagerModule$3;
invoke-direct {v1, p0, v0, p1, p3}, Lcom/facebook/react/uimanager/UIManagerModule$3;-><init>(Lcom/facebook/react/uimanager/UIManagerModule;Lcom/facebook/react/bridge/UIManager;ILcom/facebook/react/bridge/ReadableMap;)V
invoke-virtual {p2, v1}, Lcom/facebook/react/bridge/ReactContext;->runOnUiQueueThread(Ljava/lang/Runnable;)V
goto :goto_48
.line 11
:cond_43
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->updateView(ILjava/lang/String;Lcom/facebook/react/bridge/ReadableMap;)V
:cond_48
:goto_48
return-void
.end method
.method public viewIsDescendantOf(IILcom/facebook/react/bridge/Callback;)V
.registers 5
.annotation runtime Lcom/facebook/react/bridge/ReactMethod;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
iget-object v0, p0, Lcom/facebook/react/uimanager/UIManagerModule;->mUIImplementation:Lcom/facebook/react/uimanager/UIImplementation;
invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/react/uimanager/UIImplementation;->viewIsDescendantOf(IILcom/facebook/react/bridge/Callback;)V
return-void
.end method