1 /* 2 * Copyright (C) 2024 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 17 package com.android.quickstep.dagger; 18 19 import com.android.launcher3.dagger.LauncherAppComponent; 20 import com.android.launcher3.dagger.LauncherBaseAppComponent; 21 import com.android.launcher3.model.WellbeingModel; 22 import com.android.launcher3.statehandlers.DesktopVisibilityController; 23 import com.android.quickstep.OverviewComponentObserver; 24 import com.android.quickstep.RecentsAnimationDeviceState; 25 import com.android.quickstep.RecentsModel; 26 import com.android.quickstep.RotationTouchHelper; 27 import com.android.quickstep.SimpleOrientationTouchTransformer; 28 import com.android.quickstep.SystemDecorationChangeObserver; 29 import com.android.quickstep.SystemUiProxy; 30 import com.android.quickstep.TopTaskTracker; 31 import com.android.quickstep.fallback.window.RecentsDisplayModel; 32 import com.android.quickstep.logging.SettingsChangeLogger; 33 import com.android.quickstep.util.AsyncClockEventDelegate; 34 import com.android.quickstep.util.ContextualSearchHapticManager; 35 import com.android.quickstep.util.ContextualSearchStateManager; 36 37 /** 38 * Launcher Quickstep base component for Dagger injection. 39 * 40 * This class is not actually annotated as a Dagger component, since it is not used directly as one. 41 * Doing so generates unnecessary code bloat. 42 * 43 * See {@link LauncherAppComponent} for the one actually used. 44 */ 45 public interface QuickstepBaseAppComponent extends LauncherBaseAppComponent { 46 getWellbeingModel()47 WellbeingModel getWellbeingModel(); 48 getAsyncClockEventDelegate()49 AsyncClockEventDelegate getAsyncClockEventDelegate(); 50 getSystemUiProxy()51 SystemUiProxy getSystemUiProxy(); 52 getRecentsDisplayModel()53 RecentsDisplayModel getRecentsDisplayModel(); 54 getOverviewComponentObserver()55 OverviewComponentObserver getOverviewComponentObserver(); 56 getDesktopVisibilityController()57 DesktopVisibilityController getDesktopVisibilityController(); 58 getTopTaskTracker()59 TopTaskTracker getTopTaskTracker(); 60 getRotationTouchHelper()61 RotationTouchHelper getRotationTouchHelper(); 62 getContextualSearchHapticManager()63 ContextualSearchHapticManager getContextualSearchHapticManager(); 64 getContextualSearchStateManager()65 ContextualSearchStateManager getContextualSearchStateManager(); 66 getRecentsAnimationDeviceState()67 RecentsAnimationDeviceState getRecentsAnimationDeviceState(); 68 getRecentsModel()69 RecentsModel getRecentsModel(); 70 getSettingsChangeLogger()71 SettingsChangeLogger getSettingsChangeLogger(); 72 getSimpleOrientationTouchTransformer()73 SimpleOrientationTouchTransformer getSimpleOrientationTouchTransformer(); 74 getSystemDecorationChangeObserver()75 SystemDecorationChangeObserver getSystemDecorationChangeObserver(); 76 } 77