mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-02 18:50:21 +01:00
49 lines
2.8 KiB
Java
49 lines
2.8 KiB
Java
package com.amazon.leapfrogmapgl;
|
|
|
|
import com.amazon.alexa.app.notification.actions.NotificationActionConstants;
|
|
import com.facebook.react.bridge.Arguments;
|
|
import com.facebook.react.bridge.WritableMap;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0000\u0018\u0000 \u000f2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u000fB/\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\b¢\u0006\u0004\b\n\u0010\u000bJ\b\u0010\f\u001a\u00020\u0006H\u0016J\b\u0010\r\u001a\u00020\u000eH\u0014R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\bX\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0010"}, d2 = {"Lcom/amazon/leapfrogmapgl/NativeMapboxEntityTapEvent;", "Lcom/amazon/leapfrogmapgl/NativeMapboxViewEvent;", "surfaceId", "", "viewId", NotificationActionConstants.ACTION_ID_KEY, "", "screenX", "", "screenY", "<init>", "(IILjava/lang/String;DD)V", "getEventName", "getEventData", "Lcom/facebook/react/bridge/WritableMap;", "Companion", "LeapfrogMapGLAndroid_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
|
/* loaded from: classes5.dex */
|
|
public final class NativeMapboxEntityTapEvent extends NativeMapboxViewEvent<NativeMapboxEntityTapEvent> {
|
|
|
|
@NotNull
|
|
public static final String EVENT_NAME = "topEntityTap";
|
|
|
|
@NotNull
|
|
private final String actionId;
|
|
private final double screenX;
|
|
private final double screenY;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public NativeMapboxEntityTapEvent(int i, int i2, @NotNull String str, double d, double d2) {
|
|
super(i, i2);
|
|
str.getClass();
|
|
this.actionId = str;
|
|
this.screenX = d;
|
|
this.screenY = d2;
|
|
}
|
|
|
|
@Override // com.facebook.react.uimanager.events.Event
|
|
@NotNull
|
|
/* renamed from: getEventData */
|
|
public WritableMap getData() {
|
|
WritableMap createMap = Arguments.createMap();
|
|
createMap.getClass();
|
|
createMap.putString(NotificationActionConstants.ACTION_ID_KEY, this.actionId);
|
|
createMap.putDouble("x", this.screenX);
|
|
createMap.putDouble("y", this.screenY);
|
|
return createMap;
|
|
}
|
|
|
|
@Override // com.facebook.react.uimanager.events.Event
|
|
@NotNull
|
|
/* renamed from: getEventName */
|
|
public String getName() {
|
|
return EVENT_NAME;
|
|
}
|
|
}
|