Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java116 Mockito.verify(mInjector.getWindowManager()).startFreezingScreen(anyInt(), anyInt()); in testStartUser_foreground()
117 Mockito.verify(mInjector.getWindowManager(), never()).stopFreezingScreen(); in testStartUser_foreground()
118 Mockito.verify(mInjector.getWindowManager(), times(1)).setSwitchingUser(anyBoolean()); in testStartUser_foreground()
119 Mockito.verify(mInjector.getWindowManager()).setSwitchingUser(true); in testStartUser_foreground()
132 mInjector.getWindowManager(), never()).startFreezingScreen(anyInt(), anyInt()); in testStartUser_background()
133 Mockito.verify(mInjector.getWindowManager(), never()).setSwitchingUser(anyBoolean()); in testStartUser_background()
146 Mockito.verify(mInjector.getWindowManager(), never()) in testStartUserUIDisabled()
148 Mockito.verify(mInjector.getWindowManager(), never()).stopFreezingScreen(); in testStartUserUIDisabled()
149 Mockito.verify(mInjector.getWindowManager(), never()).setSwitchingUser(anyBoolean()); in testStartUserUIDisabled()
181 Mockito.verify(mInjector.getWindowManager(), times(1)).setSwitchingUser(anyBoolean()); in testFailedStartUserInForeground()
[all …]
/frameworks/base/core/java/android/service/dreams/
DDreamService.java379 public WindowManager getWindowManager() { in getWindowManager() method in DreamService
380 return mWindow != null ? mWindow.getWindowManager() : null; in getWindowManager()
927 mWindow.getWindowManager().removeViewImmediate(mWindow.getDecorView()); in detach()
1001 getWindowManager().addView(mWindow.getDecorView(), mWindow.getAttributes()); in attach()
1045 mWindow.getWindowManager().updateViewLayout(mWindow.getDecorView(), lp); in applyWindowFlags()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java43 int dx = getWindowManager().getDefaultDisplay().getWidth(); in onResume()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabels.java66 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
DRequestRectangleVisible.java50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java45 final Display display = getWindowManager().getDefaultDisplay(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfInternalSelectionViews.java116 getWindowManager().getDefaultDisplay().getSize(size); in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java850 mInjector.getWindowManager().startFreezingScreen(
876 mInjector.getWindowManager().setCurrentUser(userId, mCurrentProfileIds);
880 mInjector.getWindowManager().setSwitchingUser(true);
881 mInjector.getWindowManager().lockNow(null);
886 mInjector.getWindowManager().setCurrentProfileIds(mCurrentProfileIds);
978 mInjector.getWindowManager().setSwitchingUser(false);
1092 mInjector.getWindowManager().setSwitchingUser(false);
1203 mInjector.getWindowManager().stopFreezingScreen();
1683 WindowManagerService getWindowManager() {
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java62 Display display = activity.getWindowManager().getDefaultDisplay(); in dragQuarterScreenDown()
92 Display display = activity.getWindowManager().getDefaultDisplay(); in dragQuarterScreenUp()
225 int screenHeight = activity.getWindowManager().getDefaultDisplay().getHeight(); in dragViewToBottom()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapSurfaceViewActivity.java99 int rotation = activity.getWindowManager().getDefaultDisplay() in setCameraDisplayOrientation()
DTextureViewActivity.java125 int rotation = getWindowManager().getDefaultDisplay().getRotation(); in getCameraOrientation()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java149 (int)(mActivity.getWindowManager().getDefaultDisplay().getHeight() * 0.75f)); in testLongScroll()
/frameworks/base/core/tests/coretests/src/android/util/
DScrollViewScenario.java242 int screenHeight = getWindowManager().getDefaultDisplay().getHeight() in onCreate()
DGridScenario.java236 mScreenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
DListScenario.java308 mScreenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingStackFromBottomTest.java111 (int) (mActivity.getWindowManager().getDefaultDisplay().getHeight() * 0.75f)); in testLongScroll()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java335 getWindowManager()); in cropImageAndSetWallpaper()
362 Display d = getWindowManager().getDefaultDisplay(); in cropImageAndSetWallpaper()
369 getWindowManager()); in cropImageAndSetWallpaper()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraView.java170 int rotation = mActivity.getWindowManager().getDefaultDisplay().getRotation(); in takePicture()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraView.java169 int rotation = mActivity.getWindowManager().getDefaultDisplay().getRotation(); in takePicture()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java109 getWindowManager().getDefaultDisplay().getSize(size); in onCreateOptionsMenu()
DImageProcessingActivityJB.java674 getWindowManager().getDefaultDisplay().getSize(size); in startProcessor()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPControls.java107 getWindowManager().getDefaultDisplay().getSize(size); in onCreateOptionsMenu()
DImageProcessingActivity2.java718 getWindowManager().getDefaultDisplay().getSize(size); in startProcessor()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java799 final WindowManager wm = getWindowManager(); in openPanel()
922 final ViewManager wm = getWindowManager(); in closePanel()
1123 final ViewManager wm = getWindowManager(); in closeAllPanels()
1394 final ViewManager wm = getWindowManager(); in onOptionsPanelRotationChanged()

12