/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | AnimatorDurationScalePreferenceControllerTest.java | 49 private IWindowManager mWindowManager; field in AnimatorDurationScalePreferenceControllerTest 74 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setup() 83 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, DEFAULT_VALUE); in onPreferenceChange_noValueSet_shouldSetDefault() 90 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, in onPreferenceChange_option5Selected_shouldSetOption5() 96 when(mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR)) in updateState_option5Set_shouldUpdatePreferenceToOption5() 107 when(mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR)) in updateState_option3Set_shouldUpdatePreferenceToOption3() 120 verify(mWindowManager).setAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR, DEFAULT_VALUE); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
|
D | WindowAnimationScalePreferenceControllerTest.java | 50 private IWindowManager mWindowManager; field in WindowAnimationScalePreferenceControllerTest 76 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setup() 85 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, DEFAULT_VALUE); in onPreferenceChange_noValueSet_shouldSetDefault() 92 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, in onPreferenceChange_option5Selected_shouldSetOption5() 98 when(mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR)) in updateState_option5Set_shouldUpdatePreferenceToOption5() 109 when(mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR)) in updateState_option3Set_shouldUpdatePreferenceToOption3() 122 verify(mWindowManager).setAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR, DEFAULT_VALUE); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
|
D | TransitionAnimationScalePreferenceControllerTest.java | 50 private IWindowManager mWindowManager; field in TransitionAnimationScalePreferenceControllerTest 76 ReflectionHelpers.setField(mController, "mWindowManager", mWindowManager); in setup() 85 verify(mWindowManager) in onPreferenceChange_noValueSet_shouldSetDefault() 93 verify(mWindowManager) in onPreferenceChange_option5Selected_shouldSetOption5() 99 when(mWindowManager.getAnimationScale(TRANSITION_ANIMATION_SCALE_SELECTOR)) in updateState_option5Set_shouldUpdatePreferenceToOption5() 110 when(mWindowManager.getAnimationScale(TRANSITION_ANIMATION_SCALE_SELECTOR)) in updateState_option3Set_shouldUpdatePreferenceToOption3() 123 verify(mWindowManager) 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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/android/car/ui/plugin/ |
D | PluginContextWrapper.java | 36 private WindowManager mWindowManager; field in PluginContextWrapper 70 mWindowManager = windowManager; in setWindowManager() 75 if (WINDOW_SERVICE.equals(name) && mWindowManager != null) { in getSystemService() 76 return mWindowManager; in getSystemService()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AnimatorDurationScalePreferenceController.java | 41 private final IWindowManager mWindowManager; field in AnimatorDurationScalePreferenceController 48 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 | TransitionAnimationScalePreferenceController.java | 42 private final IWindowManager mWindowManager; field in TransitionAnimationScalePreferenceController 49 mWindowManager = IWindowManager.Stub.asInterface( in TransitionAnimationScalePreferenceController() 82 mWindowManager.setAnimationScale(TRANSITION_ANIMATION_SCALE_SELECTOR, scale); in writeAnimationScaleOption() 91 final float scale = mWindowManager.getAnimationScale( in updateAnimationScaleValue()
|
D | WindowAnimationScalePreferenceController.java | 42 private final IWindowManager mWindowManager; field in WindowAnimationScalePreferenceController 49 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | InjectMotionTestFragment.java | 77 private WindowManager mWindowManager; field in InjectMotionTestFragment 301 if (mWindowManager != null) { in showTouchPointView() 305 mWindowManager = getContext().createWindowContext(display, TYPE_APPLICATION_OVERLAY, in showTouchPointView() 313 mWindowManager.addView(mTouchPointView, lp); in showTouchPointView() 320 if (mWindowManager == null) { in removeTouchPointView() 323 mWindowManager.removeView(mTouchPointView); in removeTouchPointView() 324 mWindowManager = null; in removeTouchPointView()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | SystemUIOverlayWindowController.java | 62 private final WindowManager mWindowManager; field in SystemUIOverlayWindowController 78 mWindowManager = windowManager; in SystemUIOverlayWindowController() 138 mWindowManager.addView(mBaseLayout, mLp); in attach() 213 mWindowManager.updateViewLayout(mBaseLayout, mLp); in updateWindow() 229 mWindowManager.getCurrentWindowMetrics().getWindowInsets().getDisplayCutout(); in handleDisplayCutout()
|
/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 | 110 private final WindowManager mWindowManager; field in CarSystemBar 196 mWindowManager = windowManager; in CarSystemBar() 507 mWindowManager.addView(mTopSystemBarWindow, in attachNavBarBySide() 520 mWindowManager.addView(mBottomSystemBarWindow, in attachNavBarBySide() 533 mWindowManager.addView(mLeftSystemBarWindow, in attachNavBarBySide() 547 mWindowManager.addView(mRightSystemBarWindow, in attachNavBarBySide() 820 mWindowManager.removeViewImmediate(mTopSystemBarWindow); in clearSystemBarWindow() 830 mWindowManager.removeViewImmediate(mBottomSystemBarWindow); in clearSystemBarWindow() 840 mWindowManager.removeViewImmediate(mLeftSystemBarWindow); in clearSystemBarWindow() 850 mWindowManager.removeViewImmediate(mRightSystemBarWindow); in clearSystemBarWindow()
|
/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/Car/SystemUI/src/com/android/systemui/car/wm/activity/window/ |
D | ActivityWindowControllerImpl.java | 60 private final WindowManager mWindowManager; field in ActivityWindowControllerImpl 94 mWindowManager = windowManager; in ActivityWindowControllerImpl() 131 mWindowManager.addView(mLayout, mWmLayoutParams); in inflate()
|
/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/Car/SystemUI/src/com/android/systemui/car/keyguard/ |
D | CarKeyguardViewController.java | 89 private final WindowManager mWindowManager; field in CarKeyguardViewController 177 mWindowManager = windowManager; in CarKeyguardViewController() 550 mWindowManager.addView(toastView, params); in makeOverlayToast() 566 mWindowManager.removeViewImmediate(toastView); in makeOverlayToast()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarActivityContext.java | 167 private final WindowManager mWindowManager; field in TaskbarActivityContext 226 mWindowManager = c.getSystemService(WindowManager.class); in TaskbarActivityContext() 280 mWindowManager, in TaskbarActivityContext() 388 mWindowManager.addView(mDragLayer, mWindowLayoutParams); in init() 806 mWindowManager.removeViewImmediate(mDragLayer); in onDestroy() 1063 mWindowManager.addView(view, windowLayoutParams); in addWindowView() 1070 mWindowManager.removeViewImmediate(view); in removeWindowView() 1528 mWindowManager.updateViewLayout(mDragLayer.getRootView(), mWindowLayoutParams); in notifyUpdateLayoutParams() 1530 mWindowManager.updateViewLayout(mDragLayer, mWindowLayoutParams); in notifyUpdateLayoutParams()
|
D | TaskbarManager.java | 114 private WindowManager mWindowManager; field in TaskbarManager 227 mWindowManager = mContext.getSystemService(WindowManager.class); in TaskbarManager() 617 mWindowManager.addView(mTaskbarRootLayout, in addTaskbarRootViewToWindow() 626 mWindowManager.removeViewImmediate(mTaskbarRootLayout); in removeTaskbarRootViewFromWindow()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 191 private IWindowManager mWindowManager; field in DevelopmentFragment 300 mWindowManager = IWindowManager.Stub.asInterface(ServiceManager.getService("window")); in onCreate() 989 mWindowManager.setStrictModeVisualIndicatorPreference(mStrictMode.isChecked() in writeStrictModeVisualOptions() 1481 float scale = mWindowManager.getAnimationScale(which); in updateAnimationScaleValue() 1510 mWindowManager.setAnimationScale(which, scale); in writeAnimationScaleOption()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | CarSystemBarTest.java | 110 private WindowManager mWindowManager; field in CarSystemBarTest 182 mStatusBarIconController, mWindowManager, mDeviceProvisionedController, in initCarSystemBar()
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 550 private WindowManager mWindowManager; field in RotaryService 717 if (mWindowManager == null) { in getSystemService() 719 mWindowManager = (WindowManager) windowContext.getSystemService(WINDOW_SERVICE); in getSystemService() 721 return mWindowManager; in getSystemService()
|