Home
last modified time | relevance | path

Searched refs:mWindowManager (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DWinscopeTraceTest.java57 private IWindowManager mWindowManager; field in WinscopeTraceTest
71 ReflectionHelpers.setField(mWinscopeTrace, "mWindowManager", mWindowManager); in setUp()
87 doReturn(true).when(mWindowManager).isWindowTraceEnabled(); in wmReturnsTraceEnabled_shouldReturnEnabled()
95 doReturn(false).when(mWindowManager).isWindowTraceEnabled(); in sfReturnsTraceEnabled_shouldReturnEnabled()
109 doReturn(true).when(mWindowManager).isWindowTraceEnabled(); in sfAndWmReturnsTraceEnabled_shouldReturnEnabled()
116 doReturn(false).when(mWindowManager).isWindowTraceEnabled(); in wmAndSfAndImmReturnTraceDisabled_shouldReturnDisabled()
129 doReturn(false).when(mWindowManager).isWindowTraceEnabled(); in wmAndSfReturnTraceDisabled_immReturnsTraceEnabled_shouldReturnEnabled()
162 .when(mWindowManager).isWindowTraceEnabled(); in wmThrowsRemoteExAndSfReturnsTraceDisabled_shouldReturnDisabled()
169 doReturn(false).when(mWindowManager).isWindowTraceEnabled(); in sfUnavailableAndWmAndImmReturnTraceDisabled_shouldReturnDisabled()
178 verify(mWindowManager).startWindowTrace(); in setIsEnableTrue_shouldEnableWindowTrace()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAnimatorDurationScalePreferenceControllerTest.java53 private IWindowManager mWindowManager; field in AnimatorDurationScalePreferenceControllerTest
78 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setup()
87 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, DEFAULT_VALUE); in onPreferenceChange_noValueSet_shouldSetDefault()
94 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, in onPreferenceChange_option5Selected_shouldSetOption5()
100 when(mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR)) in updateState_option5Set_shouldUpdatePreferenceToOption5()
111 when(mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR)) in updateState_option3Set_shouldUpdatePreferenceToOption3()
124 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, DEFAULT_VALUE); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
DTransitionAnimationScalePreferenceControllerTest.java54 private IWindowManager mWindowManager; field in TransitionAnimationScalePreferenceControllerTest
78 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setup()
87 verify(mWindowManager) in onPreferenceChange_noValueSet_shouldSetDefault()
95 verify(mWindowManager) in onPreferenceChange_option5Selected_shouldSetOption5()
101 when(mWindowManager.getAnimationScale(TRANSITION_ANIMATION_SCALE_SELECTOR)) in updateState_option5Set_shouldUpdatePreferenceToOption5()
112 when(mWindowManager.getAnimationScale(TRANSITION_ANIMATION_SCALE_SELECTOR)) in updateState_option3Set_shouldUpdatePreferenceToOption3()
125 verify(mWindowManager) in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
DWindowAnimationScalePreferenceControllerTest.java54 private IWindowManager mWindowManager; field in WindowAnimationScalePreferenceControllerTest
78 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setup()
87 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, DEFAULT_VALUE); in onPreferenceChange_noValueSet_shouldSetDefault()
94 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, in onPreferenceChange_option5Selected_shouldSetOption5()
100 when(mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR)) in updateState_option5Set_shouldUpdatePreferenceToOption5()
111 when(mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR)) in updateState_option3Set_shouldUpdatePreferenceToOption3()
124 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, DEFAULT_VALUE); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
DStrictModePreferenceControllerTest.java45 private IWindowManager mWindowManager; field in StrictModePreferenceControllerTest
57 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setUp()
66 verify(mWindowManager).setStrictModeVisualIndicatorPreference( in onPreferenceChange_settingEnabled_shouldTurnOnStrictMode()
75 verify(mWindowManager).setStrictModeVisualIndicatorPreference( in onPreferenceChange_settingDisabled_shouldTurnOffStrictMode()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/
DVisibleBoundsSimulator.java53 private WindowManager mWindowManager; field in VisibleBoundsSimulator
101 mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE); in applyDisplayOverlay()
105 mWindowManager.getDefaultDisplay().getRealMetrics(displayMetrics); in applyDisplayOverlay()
120 Display display = mWindowManager.getDefaultDisplay(); in applyDisplayOverlay()
143 mWindowManager.addView(mContainer, params); in applyDisplayOverlay()
149 mWindowManager.removeView(mContainer); in onDestroy()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java55 private WindowManager mWindowManager; field in HvacUiService
104 mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE); in onCreate()
107 mWindowManager.getDefaultDisplay().getRealMetrics(mDisplayMetrics); in onCreate()
135 mWindowManager.removeView(this); in onCreate()
213 mWindowManager, mDriverTemperatureBar, mPassengerTemperatureBar, in layoutHvacUi()
223 mWindowManager.addView(view, params); in addViewToWindowManagerAndTrack()
230 mWindowManager.updateViewLayout(v, lp); in setYPosition()
248 mWindowManager.removeView(view); in onDestroy()
/packages/apps/Settings/src/com/android/settings/development/
DTransitionAnimationScalePreferenceController.java43 private final IWindowManager mWindowManager; field in TransitionAnimationScalePreferenceController
50 mWindowManager = IWindowManager.Stub.asInterface( in TransitionAnimationScalePreferenceController()
83 mWindowManager.setAnimationScale(TRANSITION_ANIMATION_SCALE_SELECTOR, scale); in writeAnimationScaleOption()
92 final float scale = mWindowManager.getAnimationScale( in updateAnimationScaleValue()
DAnimatorDurationScalePreferenceController.java42 private final IWindowManager mWindowManager; field in AnimatorDurationScalePreferenceController
49 mWindowManager = IWindowManager.Stub.asInterface( in AnimatorDurationScalePreferenceController()
81 mWindowManager.setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, scale); in writeAnimationScaleOption()
90 final float scale = mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR); in updateAnimationScaleValue()
DWindowAnimationScalePreferenceController.java43 private final IWindowManager mWindowManager; field in WindowAnimationScalePreferenceController
50 mWindowManager = IWindowManager.Stub.asInterface( in WindowAnimationScalePreferenceController()
82 mWindowManager.setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, scale); in writeAnimationScaleOption()
91 final float scale = mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR); in updateAnimationScaleValue()
DStrictModePreferenceController.java44 private final IWindowManager mWindowManager; field in StrictModePreferenceController
49 mWindowManager = IWindowManager.Stub.asInterface( in StrictModePreferenceController()
83 mWindowManager.setStrictModeVisualIndicatorPreference( in writeStrictModeVisualOptions()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/
DCurrentActivityService.java62 private WindowManager mWindowManager; field in CurrentActivityService
103 mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE); in onCreate()
140 mWindowManager.updateViewLayout(view, layoutParams); in onCreate()
151 mWindowManager.addView(mTextView, layoutParams); in onCreate()
177 mWindowManager.removeView(mTextView); in onDestroy()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DSystemUIOverlayWindowController.java48 private final WindowManager mWindowManager; field in SystemUIOverlayWindowController
65 mWindowManager = windowManager; in SystemUIOverlayWindowController()
111 mWindowManager.addView(mBaseLayout, mLp); in attach()
179 mWindowManager.updateViewLayout(mBaseLayout, mLp); in updateWindow()
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureNavigationSettingsFragment.java48 private WindowManager mWindowManager; field in GestureNavigationSettingsFragment
63 mWindowManager = (WindowManager) getActivity().getSystemService(Context.WINDOW_SERVICE); in onCreate()
84 mWindowManager.addView(mIndicatorView, mIndicatorView.getLayoutParams( in onResume()
92 mWindowManager.removeView(mIndicatorView); in onPause()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBar.java72 private final WindowManager mWindowManager; field in CarSystemBar
141 mWindowManager = windowManager; in CarSystemBar()
373 mWindowManager.addView(mTopSystemBarWindow, in attachNavBarBySide()
381 mWindowManager.addView(mBottomSystemBarWindow, in attachNavBarBySide()
387 mWindowManager.addView(mLeftSystemBarWindow, in attachNavBarBySide()
393 mWindowManager.addView(mRightSystemBarWindow, in attachNavBarBySide()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarActivityContext.java94 private final WindowManager mWindowManager; field in TaskbarActivityContext
135 mWindowManager = c.getSystemService(WindowManager.class); in TaskbarActivityContext()
160 mWindowManager.addView(mDragLayer, mWindowLayoutParams); in init()
171 mWindowManager.updateViewLayout(mDragLayer, mWindowLayoutParams); in setTaskbarWindowHeight()
219 mWindowManager.removeViewImmediate(mDragLayer); in onDestroy()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java72 private IWindowManager mWindowManager; field in SpareParts
131 mWindowManager = IWindowManager.Stub.asInterface(ServiceManager.getService("window")); in onCreate()
181 mWindowManager.setAnimationScale(which, val); in writeAnimationPreference()
219 float scale = mWindowManager.getAnimationScale(which); in readAnimationPreference()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java200 private IWindowManager mWindowManager; field in DevelopmentTiles.WinscopeTrace
207 mWindowManager = WindowManagerGlobal.getWindowManagerService(); in onCreate()
218 return mWindowManager.isWindowTraceEnabled(); in isWindowTraceEnabled()
281 mWindowManager.startWindowTrace(); in setWindowTraceEnabled()
283 mWindowManager.stopWindowTrace(); in setWindowTraceEnabled()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainerTest.java47 WindowManager mWindowManager; field in CarHeadsUpNotificationContainerTest
62 context, mWindowManager) { in setup()
69 verify(mWindowManager).addView( in setup()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/notification/
DCarHeadsUpNotificationSystemContainerTest.java53 private WindowManager mWindowManager; field in CarHeadsUpNotificationSystemContainerTest
70 mCarDeviceProvisionedController, mWindowManager, mOverlayViewGlobalStateController); in setUp()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java139 final WindowManager mWindowManager; field in SendUi
210 mWindowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in SendUi()
213 mDisplay = mWindowManager.getDefaultDisplay(); in SendUi()
410 mWindowManager.addView(mDecor, mWindowLayoutParams); in showPreSend()
538 mWindowManager.removeView(mDecor); in dismiss()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarTest.java88 private WindowManager mWindowManager; field in CarSystemBarTest
145 mStatusBarIconController, mWindowManager, mDeviceProvisionedController, in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java179 private IWindowManager mWindowManager; field in DevelopmentFragment
280 mWindowManager = IWindowManager.Stub.asInterface(ServiceManager.getService("window")); in onCreate()
960 mWindowManager.setStrictModeVisualIndicatorPreference(mStrictMode.isChecked() in writeStrictModeVisualOptions()
1406 float scale = mWindowManager.getAnimationScale(which); in updateAnimationScaleValue()
1435 mWindowManager.setAnimationScale(which, scale); in writeAnimationScaleOption()
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java112 private WindowManager mWindowManager; field in HvacPanelController
143 mWindowManager = windowManager; in HvacPanelController()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java554 private WindowManager mWindowManager; field in RotaryService
682 if (mWindowManager == null) { in getSystemService()
684 mWindowManager = (WindowManager) windowContext.getSystemService(WINDOW_SERVICE); in getSystemService()
686 return mWindowManager; in getSystemService()