1702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk/*
2702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * Copyright (C) 2017 The Android Open Source Project
3702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk *
4702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * except in compliance with the License. You may obtain a copy of the License at
6702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk *
7702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk *      http://www.apache.org/licenses/LICENSE-2.0
8702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk *
9702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * Unless required by applicable law or agreed to in writing, software distributed under the
10702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * KIND, either express or implied. See the License for the specific language governing
12702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk * permissions and limitations under the License.
13702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk */
14702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk
15702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkpackage com.android.systemui.plugins.qs;
16702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk
17702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkimport android.content.Context;
18702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkimport android.view.View;
19702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkimport android.view.ViewGroup;
20702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk
21702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkimport com.android.systemui.plugins.annotations.ProvidesInterface;
22702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkimport com.android.systemui.plugins.qs.QSTile.State;
23702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk
24702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk@ProvidesInterface(version = QSIconView.VERSION)
25702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monkpublic abstract class QSIconView extends ViewGroup {
26702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk    public static final int VERSION = 1;
27702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk
28702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk    public QSIconView(Context context) {
29702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk        super(context);
30702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk    }
31702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk
32702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk    public abstract void setIcon(State state);
33702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk    public abstract void disableAnimation();
34702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk    public abstract View getIconView();
35702e2ebf9fbfb715c1d9b716683c9e4d182b575eJason Monk}
36