blob: a936f8b57db968cbcde5fdbeb82ef0f174681a88 [file] [log] [blame]
Joe Onorato93839052009-08-06 20:34:32 -07001/*
2 * Copyright (C) 2008 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
17package com.android.launcher2;
18
Mike Cleron4a5c1e12009-11-03 10:17:05 -080019import java.util.ArrayList;
Joe Onorato93839052009-08-06 20:34:32 -070020
Daniel Sandler388f6792010-03-02 14:08:08 -050021public interface AllAppsView {
Daniel Sandlerc351eb82010-03-03 15:05:19 -050022 public interface Watcher {
23 public void zoomed(float zoom);
Romain Guy060b5c82010-03-04 10:07:38 -080024 }
Daniel Sandlerc351eb82010-03-03 15:05:19 -050025
Daniel Sandler388f6792010-03-02 14:08:08 -050026 public void setLauncher(Launcher launcher);
Joe Onorato9c1289c2009-08-17 11:03:03 -040027
Daniel Sandler388f6792010-03-02 14:08:08 -050028 public void setDragController(DragController dragger);
Joe Onoratofb0ca672009-09-14 17:55:46 -040029
Daniel Sandler388f6792010-03-02 14:08:08 -050030 public void zoom(float zoom, boolean animate);
Joe Onoratobcbeab82009-10-01 21:45:43 -070031
Daniel Sandler388f6792010-03-02 14:08:08 -050032 public boolean isVisible();
Joe Onoratoeb8325a2009-11-08 13:20:30 -050033
Daniel Sandler388f6792010-03-02 14:08:08 -050034 public boolean isOpaque();
Joe Onoratoeb8325a2009-11-08 13:20:30 -050035
Daniel Sandler388f6792010-03-02 14:08:08 -050036 public void setApps(ArrayList<ApplicationInfo> list);
Joe Onoratofb0ca672009-09-14 17:55:46 -040037
Daniel Sandler388f6792010-03-02 14:08:08 -050038 public void addApps(ArrayList<ApplicationInfo> list);
Joe Onorato6665c0f2009-09-02 15:27:24 -070039
Daniel Sandler388f6792010-03-02 14:08:08 -050040 public void removeApps(ArrayList<ApplicationInfo> list);
Joe Onoratof7b0e012009-10-01 14:09:15 -070041
Joe Onorato64e6be72010-03-05 15:05:52 -050042 public void updateApps(ArrayList<ApplicationInfo> list);
Jason Sams2e19c052009-10-20 18:19:55 -070043
Daniel Sandler388f6792010-03-02 14:08:08 -050044 public void dumpState();
Joe Onorato93839052009-08-06 20:34:32 -070045}