Home
last modified time | relevance | path

Searched refs:taskbarActivityContext (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DTaskbarHoverToolTipControllerTest.java81 .when(taskbarActivityContext).getSystemService(anyString()); in setup()
82 when(taskbarActivityContext.getResources()).thenReturn(context.getResources()); in setup()
83 when(taskbarActivityContext.getApplicationInfo()).thenReturn( in setup()
85 when(taskbarActivityContext.getDragLayer()).thenReturn(mTaskbarDragLayer); in setup()
86 when(taskbarActivityContext.getMainLooper()).thenReturn(context.getMainLooper()); in setup()
87 when(taskbarActivityContext.getDisplay()).thenReturn(mDisplay); in setup()
118 taskbarActivityContext, mTaskbarView, mHoverBubbleTextView); in setup()
132 verify(taskbarActivityContext).setAutohideSuspendFlag(FLAG_AUTOHIDE_SUSPEND_HOVERING_ICONS, in onHover_hoverEnterIcon_revealToolTip()
146 verify(taskbarActivityContext).setAutohideSuspendFlag(FLAG_AUTOHIDE_SUSPEND_HOVERING_ICONS, in onHover_hoverExitIcon_closeToolTip()
160 verify(taskbarActivityContext).setAutohideSuspendFlag(FLAG_AUTOHIDE_SUSPEND_HOVERING_ICONS, in onHover_hoverEnterFolderIcon_revealToolTip()
[all …]
DTaskbarKeyguardControllerTest.kt41 whenever(taskbarActivityContext.getSystemService(KeyguardManager::class.java)) in setup()
44 whenever(taskbarActivityContext.dragLayer).thenReturn(baseDragLayer) in setup()
46 taskbarKeyguardController = TaskbarKeyguardController(taskbarActivityContext) in setup()
DTaskbarBaseTestCase.kt33 @Mock lateinit var taskbarActivityContext: TaskbarActivityContext variable in com.android.launcher3.taskbar.TaskbarBaseTestCase
75 taskbarActivityContext, in setup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/customization/
DTaskbarFeatureEvaluator.kt27 private val taskbarActivityContext: TaskbarActivityContext, constant in com.android.launcher3.taskbar.customization.TaskbarFeatureEvaluator
34 val hasNavButtons = taskbarActivityContext.isThreeButtonNav
43 get() = DisplayController.isTransientTaskbar(taskbarActivityContext)
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/taskbar/controllers/
DTaskbarPinningControllerTest.kt71 whenever(taskbarActivityContext.launcherPrefs).thenReturn(launcherPrefs) in setup()
72 whenever(taskbarActivityContext.dragLayer).thenReturn(taskbarDragLayer) in setup()
73 whenever(taskbarActivityContext.statsLogManager).thenReturn(statsLogManager) in setup()
75 spy(TaskbarPinningController(taskbarActivityContext, isInDesktopModeProvider)) in setup()
95 verify(taskbarActivityContext, times(1)).onPopupVisibilityChanged(false) in testOnCloseCallback_whenClosingPopupView_shouldPostVisibilityChangedToDragLayer()
148 verify(taskbarActivityContext, times(1)).onPopupVisibilityChanged(true) in testShowPinningView_whenShowingPinningView_shouldSetTaskbarWindowFullscreenAndPostRunnableToView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarControllers.java40 public final TaskbarActivityContext taskbarActivityContext; field in TaskbarControllers
89 public TaskbarControllers(TaskbarActivityContext taskbarActivityContext, in TaskbarControllers() argument
115 this.taskbarActivityContext = taskbarActivityContext; in TaskbarControllers()
307 return taskbarActivityContext; in getTaskbarActivityContext()
DKeyboardQuickSwitchViewController.java153 TaskbarActivityContext context = mControllers.taskbarActivityContext; in launchTaskAt()
155 Utilities.isRtl(mControllers.taskbarActivityContext.getResources()), in launchTaskAt()
173 ActivityOptions activityOptions = mControllers.taskbarActivityContext in launchTaskAt()
254 mControllers.taskbarActivityContext.launchKeyboardFocusedTask(); in launchTaskAt()
DTaskbarUIController.java109 return mControllers.taskbarActivityContext.getDragLayer(); in getRootView()
124 if (!DisplayController.isTransientTaskbar(mControllers.taskbarActivityContext) in hideOverlayWindow()
165 mControllers.taskbarActivityContext.startTranslationSpring(); in startTranslationSpring()
368 .getSplitPositionOptions(mControllers.taskbarActivityContext.getDeviceProfile()) in getSplitMenuOptions()
DTaskbarLauncherStateController.java410 if (mControllers.taskbarActivityContext.isDestroyed()) { in applyState()
475 mControllers.taskbarActivityContext.notifyUpdateLayoutParams(); in onStateChangeApplied()
505 AbstractFloatingView.closeAllOpenViews(mControllers.taskbarActivityContext); in onStateChangeApplied()
745 mControllers.taskbarActivityContext.getDragLayer(), in onIconAlignmentRatioChanged()
752 if (mControllers.taskbarActivityContext.isDestroyed()) { in updateIconAlphaForHome()
757 || mControllers.taskbarActivityContext.isPhoneMode() in updateIconAlphaForHome()
DTaskbarDividerPopupView.kt57 taskbarActivityContext: TaskbarActivityContext, in <lambda>()
60 taskbarActivityContext.layoutInflater.inflate( in <lambda>()
62 taskbarActivityContext.dragLayer, in <lambda>()
DKeyboardQuickSwitchController.java72 mModel = RecentsModel.INSTANCE.get(controllers.taskbarActivityContext); in init()
87 mControllers.taskbarActivityContext.getMainThreadHandler().post( in onConfigurationChanged()
DFallbackTaskbarUIController.java127 .get(mControllers.taskbarActivityContext).getCachedTopTask(true); in isIn3pHomeOrRecents()
DTaskbarStashViaTouchController.kt41 private val activity: TaskbarActivityContext = controllers.taskbarActivityContext
DNavbarButtonsViewController.java251 ? new Point(0, mControllers.taskbarActivityContext.getSetupWindowSize()) in setupController()
754 mControllers.taskbarActivityContext.setTaskbarWindowSize( in handleSetupUi()
755 mControllers.taskbarActivityContext.getSetupWindowSize()); in handleSetupUi()
DLauncherTaskbarUIController.java324 mLauncher.logAppLaunch(mControllers.taskbarActivityContext.getStatsLogManager(), item, in onTaskbarIconLaunched()
DTaskbarStashController.java891 View v = mControllers.taskbarActivityContext.getDragLayer(); in addJankMonitorListener()
1005 long imeExitDuration = mControllers.taskbarActivityContext.getResources() in getTaskbarStashStartDelayForIme()
DTaskbarInsetsController.kt415 controllers.taskbarActivityContext.dragLayer.lastDrawnTransientRect.toRegion() in <lambda>()
DTaskbarDragController.java455 TaskbarDragLayer dragLayer = mControllers.taskbarActivityContext.getDragLayer(); in startSystemDrag()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DTaskbarUnstashInputConsumer.java98 InputMonitorCompat inputMonitor, TaskbarActivityContext taskbarActivityContext, in TaskbarUnstashInputConsumer() argument
101 mTaskbarActivityContext = taskbarActivityContext; in TaskbarUnstashInputConsumer()
108 taskbarActivityContext.getDeviceProfile()); in TaskbarUnstashInputConsumer()
109 mTaskbarNavThresholdY = taskbarActivityContext.getDeviceProfile().heightPx in TaskbarUnstashInputConsumer()
123 ? taskbarActivityContext.getTranslationCallbacks() in TaskbarUnstashInputConsumer()