Repo Created

This commit is contained in:
Fr4nz D13trich 2025-11-15 17:44:12 +01:00
parent eb305e2886
commit a8c22c65db
4784 changed files with 329907 additions and 2 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ SPDX-FileCopyrightText: 2024 microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest />

View file

@ -0,0 +1,30 @@
/*
* SPDX-FileCopyrightText: 2024 microG Project Team
* SPDX-License-Identifier: Apache-2.0
* Notice: Portions of this file are reproduced from work created and shared by Google and used
* according to terms described in the Creative Commons 4.0 Attribution License.
* See https://developers.google.com/readme/policies for details.
*/
package com.google.android.gms.panorama;
import com.google.android.gms.common.api.Api;
import com.google.android.gms.common.api.GoogleApiClient;
/**
* The main entry point for panorama integration.
*/
@Deprecated
public class Panorama {
/**
* Token to pass to {@link GoogleApiClient.Builder#addApi(Api)} to enable the Panorama features.
*/
@Deprecated
public static final Api<Api.ApiOptions.NoOptions> API = null;
/**
* The entry point for interacting with the Panorama API.
*/
@Deprecated
public static final PanoramaApi PanoramaApi = null;
}

View file

@ -0,0 +1,50 @@
/*
* SPDX-FileCopyrightText: 2024 microG Project Team
* SPDX-License-Identifier: Apache-2.0
* Notice: Portions of this file are reproduced from work created and shared by Google and used
* according to terms described in the Creative Commons 4.0 Attribution License.
* See https://developers.google.com/readme/policies for details.
*/
package com.google.android.gms.panorama;
import android.content.Intent;
import android.net.Uri;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.api.PendingResult;
import com.google.android.gms.common.api.Result;
/**
* The main entry point for interacting with Panorama viewer. This class provides methods for obtaining an Intent to view a Panorama.
*/
@Deprecated
public interface PanoramaApi {
/**
* Loads information about a panorama.
*
* @param uri the URI of the panorama to load info about. May be a file:, content:, or android_resource: scheme.
*/
@Deprecated
PendingResult<PanoramaApi.PanoramaResult> loadPanoramaInfo(GoogleApiClient client, Uri uri);
/**
* Loads information about a panorama from a content provider. This method will also explicitly grant and revoke access to
* the URI while the load is happening so images in content providers may be inspected without giving permission to an
* entire content provider. The returned viewer intent will also have the {@link Intent#FLAG_GRANT_READ_URI_PERMISSION} set so
* the viewer has access.
*/
@Deprecated
PendingResult<PanoramaApi.PanoramaResult> loadPanoramaInfoAndGrantAccess(GoogleApiClient client, Uri uri);
/**
* Result interface for loading panorama info.
*/
@Deprecated
interface PanoramaResult extends Result {
/**
* Returns if the image is a panorama this is not null and will launch a viewer when started. If the image is not a panorama this will be null.
*/
@Deprecated
Intent getViewerIntent();
}
}

View file

@ -0,0 +1,11 @@
/*
* SPDX-FileCopyrightText: 2023 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.android.gms.panorama.internal;
import android.content.Intent;
interface IPanoramaCallbacks {
void onPanoramaResult(int statusCode, in Bundle statusExtras, int unknown, in Intent viewerIntent);
}

View file

@ -0,0 +1,13 @@
/*
* SPDX-FileCopyrightText: 2023 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.android.gms.panorama.internal;
import com.google.android.gms.panorama.internal.IPanoramaCallbacks;
import android.os.Bundle;
import android.net.Uri;
interface IPanoramaService {
void loadPanoramaInfo(IPanoramaCallbacks callback, in Uri uri, in Bundle bundle, boolean needGrantReadUriPermissions) = 0;
}