convert TraceUpdate to Kotlin (#43805)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43805

convert Java to Kotlin: `react/views/debuggingoverlay/TraceUpdate.java`

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D55658446

fbshipit-source-id: d5c8d714f759b78138ea9069dc179c13ff10adeb
This commit is contained in:
Alan Lee
2024-04-03 23:42:44 -07:00
committed by Facebook GitHub Bot
parent 727f30bd0b
commit 9876adba4a
3 changed files with 15 additions and 40 deletions
@@ -5899,9 +5899,9 @@ public class com/facebook/react/views/debuggingoverlay/DebuggingOverlayManager$$
public final class com/facebook/react/views/debuggingoverlay/TraceUpdate {
public fun <init> (ILandroid/graphics/RectF;I)V
public fun getColor ()I
public fun getId ()I
public fun getRectangle ()Landroid/graphics/RectF;
public final fun getColor ()I
public final fun getId ()I
public final fun getRectangle ()Landroid/graphics/RectF;
}
public class com/facebook/react/views/drawer/ReactDrawerLayoutManager : com/facebook/react/uimanager/ViewGroupManager, com/facebook/react/viewmanagers/AndroidDrawerLayoutManagerInterface {
@@ -1,37 +0,0 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.debuggingoverlay;
import android.graphics.RectF;
import com.facebook.infer.annotation.Nullsafe;
@Nullsafe(Nullsafe.Mode.LOCAL)
public final class TraceUpdate {
private final int mId;
private final int mColor;
private final RectF mRectangle;
public TraceUpdate(int id, RectF rectangle, int color) {
mId = id;
mRectangle = rectangle;
mColor = color;
}
public int getId() {
return mId;
}
public int getColor() {
return mColor;
}
public RectF getRectangle() {
return mRectangle;
}
}
@@ -0,0 +1,12 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.debuggingoverlay
import android.graphics.RectF
public class TraceUpdate(public val id: Int, public val rectangle: RectF, public val color: Int)