1 /*
2  * Copyright (C) 2023 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package android.car.app;
17 
18 import android.view.SurfaceControl;
19 import android.os.Bundle;
20 import android.app.PendingIntent;
21 import android.graphics.Rect;
22 import android.car.app.ICarTaskViewClient;
23 import android.car.app.ICarTaskViewHost;
24 
25 
26 /**
27  * Binder API for {@link CarSystemUIProxy}
28  * @hide
29  */
30 interface ICarSystemUIProxy {
31     /**
32      * @deprecated, use createRootTaskView()
33      */
createControlledCarTaskView(in ICarTaskViewClient client)34     ICarTaskViewHost createControlledCarTaskView(in ICarTaskViewClient client);
35 
36     /**
37      * Creates the host side of the task view and links the provided {@code carTaskVIewClient}
38      * to the same.
39      *
40      * @return a handle to the host side of task view.
41      */
createCarTaskView(in ICarTaskViewClient client)42     ICarTaskViewHost createCarTaskView(in ICarTaskViewClient client);
43 }
44