/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/ |
D | WinscopeTraceTest.java | 57 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/ |
D | AnimatorDurationScalePreferenceControllerTest.java | 53 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()
|
D | TransitionAnimationScalePreferenceControllerTest.java | 54 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()
|
D | WindowAnimationScalePreferenceControllerTest.java | 54 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()
|
D | StrictModePreferenceControllerTest.java | 45 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/ |
D | VisibleBoundsSimulator.java | 53 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/ |
D | HvacUiService.java | 55 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/ |
D | TransitionAnimationScalePreferenceController.java | 43 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()
|
D | AnimatorDurationScalePreferenceController.java | 42 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()
|
D | WindowAnimationScalePreferenceController.java | 43 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()
|
D | StrictModePreferenceController.java | 44 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/ |
D | CurrentActivityService.java | 62 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/ |
D | SystemUIOverlayWindowController.java | 48 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/ |
D | GestureNavigationSettingsFragment.java | 48 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/ |
D | CarSystemBar.java | 72 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/ |
D | TaskbarActivityContext.java | 94 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/ |
D | SpareParts.java | 72 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/ |
D | DevelopmentTiles.java | 200 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/ |
D | CarHeadsUpNotificationContainerTest.java | 47 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/ |
D | CarHeadsUpNotificationSystemContainerTest.java | 53 private WindowManager mWindowManager; field in CarHeadsUpNotificationSystemContainerTest 70 mCarDeviceProvisionedController, mWindowManager, mOverlayViewGlobalStateController); in setUp()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 139 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/ |
D | CarSystemBarTest.java | 88 private WindowManager mWindowManager; field in CarSystemBarTest 145 mStatusBarIconController, mWindowManager, mDeviceProvisionedController, in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 179 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/ |
D | HvacPanelController.java | 112 private WindowManager mWindowManager; field in HvacPanelController 143 mWindowManager = windowManager; in HvacPanelController()
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 554 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()
|