183 lines
5.0 KiB
Java
183 lines
5.0 KiB
Java
package com.google.android.gms.maps;
|
|
|
|
import android.os.RemoteException;
|
|
import com.google.android.gms.maps.internal.IUiSettingsDelegate;
|
|
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
|
|
|
/* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
public final class UiSettings {
|
|
private final IUiSettingsDelegate zza;
|
|
|
|
UiSettings(IUiSettingsDelegate iUiSettingsDelegate) {
|
|
this.zza = iUiSettingsDelegate;
|
|
}
|
|
|
|
public boolean isCompassEnabled() {
|
|
try {
|
|
return this.zza.isCompassEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isIndoorLevelPickerEnabled() {
|
|
try {
|
|
return this.zza.isIndoorLevelPickerEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isMapToolbarEnabled() {
|
|
try {
|
|
return this.zza.isMapToolbarEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isMyLocationButtonEnabled() {
|
|
try {
|
|
return this.zza.isMyLocationButtonEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isRotateGesturesEnabled() {
|
|
try {
|
|
return this.zza.isRotateGesturesEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isScrollGesturesEnabled() {
|
|
try {
|
|
return this.zza.isScrollGesturesEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isScrollGesturesEnabledDuringRotateOrZoom() {
|
|
try {
|
|
return this.zza.isScrollGesturesEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isTiltGesturesEnabled() {
|
|
try {
|
|
return this.zza.isTiltGesturesEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isZoomControlsEnabled() {
|
|
try {
|
|
return this.zza.isZoomControlsEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public boolean isZoomGesturesEnabled() {
|
|
try {
|
|
return this.zza.isZoomGesturesEnabled();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setAllGesturesEnabled(boolean z) {
|
|
try {
|
|
this.zza.setAllGesturesEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setCompassEnabled(boolean z) {
|
|
try {
|
|
this.zza.setCompassEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setIndoorLevelPickerEnabled(boolean z) {
|
|
try {
|
|
this.zza.setIndoorLevelPickerEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setMapToolbarEnabled(boolean z) {
|
|
try {
|
|
this.zza.setMapToolbarEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setMyLocationButtonEnabled(boolean z) {
|
|
try {
|
|
this.zza.setMyLocationButtonEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setRotateGesturesEnabled(boolean z) {
|
|
try {
|
|
this.zza.setRotateGesturesEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setScrollGesturesEnabled(boolean z) {
|
|
try {
|
|
this.zza.setScrollGesturesEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setScrollGesturesEnabledDuringRotateOrZoom(boolean z) {
|
|
try {
|
|
this.zza.setScrollGesturesEnabledDuringRotateOrZoom(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setTiltGesturesEnabled(boolean z) {
|
|
try {
|
|
this.zza.setTiltGesturesEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setZoomControlsEnabled(boolean z) {
|
|
try {
|
|
this.zza.setZoomControlsEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public void setZoomGesturesEnabled(boolean z) {
|
|
try {
|
|
this.zza.setZoomGesturesEnabled(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
} |