Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java165 verify(mInjector.getWindowManager()).startFreezingScreen(anyInt(), anyInt()); in testStartUser_foreground()
166 verify(mInjector.getWindowManager(), never()).stopFreezingScreen(); in testStartUser_foreground()
167 verify(mInjector.getWindowManager(), times(1)).setSwitchingUser(anyBoolean()); in testStartUser_foreground()
168 verify(mInjector.getWindowManager()).setSwitchingUser(true); in testStartUser_foreground()
177 verify(mInjector.getWindowManager(), never()).startFreezingScreen(anyInt(), anyInt()); in testStartUser_background()
178 verify(mInjector.getWindowManager(), never()).setSwitchingUser(anyBoolean()); in testStartUser_background()
187 verify(mInjector.getWindowManager(), never()).startFreezingScreen(anyInt(), anyInt()); in testStartUserUIDisabled()
188 verify(mInjector.getWindowManager(), never()).stopFreezingScreen(); in testStartUserUIDisabled()
189 verify(mInjector.getWindowManager(), never()).setSwitchingUser(anyBoolean()); in testStartUserUIDisabled()
220 verify(mInjector.getWindowManager(), times(1)).setSwitchingUser(anyBoolean()); in testFailedStartUserInForeground()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DImmersiveModeConfirmation.java178 getWindowManager().removeView(mClingWindow); in handleHide()
276 getWindowManager().getDefaultDisplay().getMetrics(metrics); in onAttachedToWindow()
347 private WindowManager getWindowManager() { in getWindowManager() method in ImmersiveModeConfirmation
366 getWindowManager().addView(mClingWindow, lp); in handleShow()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java381 public WindowManager getWindowManager() { in getWindowManager() method in DreamService
382 return mWindow != null ? mWindow.getWindowManager() : null; in getWindowManager()
983 mWindow.getWindowManager().removeViewImmediate(mWindow.getDecorView()); in detach()
1057 getWindowManager().addView(mWindow.getDecorView(), mWindow.getAttributes()); in attach()
1101 mWindow.getWindowManager().updateViewLayout(mWindow.getDecorView(), lp); in applyWindowFlags()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java238 WindowManager wm = getWindowManager(); in onCreate()
241 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreate()
261 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreateOptionsMenu()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java127 mRegistered = mControllerCtx.getWindowManager().setMagnificationCallbacks( in register()
135 mControllerCtx.getWindowManager().getMagnificationRegion( in register()
153 mControllerCtx.getWindowManager().setMagnificationCallbacks( in unregister()
401 mControllerCtx.getWindowManager().setForceShowMagnifiableBounds( in setForceShowMagnifiableBounds()
1207 mControllerCtx.getWindowManager().setMagnificationSpec( in setEnabled()
1240 mControllerCtx.getWindowManager().setMagnificationSpec( in setMagnificationSpecLocked()
1347 public WindowManagerInternal getWindowManager() { in getWindowManager() method in MagnificationController.ControllerContext
/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.java65 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.java41 final Display display = getWindowManager().getDefaultDisplay(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java68 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/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DSettingsFragment.java55 float refreshRate = getActivity().getWindowManager().getDefaultDisplay().getRefreshRate(); in onCreatePreferences()
/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/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/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingStackFromBottomTest.java111 (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()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1067 mInjector.getWindowManager().startFreezingScreen(
1111 mInjector.getWindowManager().setCurrentUser(userId, getCurrentProfileIds());
1116 mInjector.getWindowManager().setSwitchingUser(true);
1117 mInjector.getWindowManager().lockNow(null);
1122 mInjector.getWindowManager().setCurrentProfileIds(getCurrentProfileIds());
1226 mInjector.getWindowManager().setSwitchingUser(false);
1380 mInjector.getWindowManager().setSwitchingUser(false);
1504 mInjector.getWindowManager().stopFreezingScreen();
2245 WindowManagerService getWindowManager() {
/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/opt/gamesdk/src/swappy/
DSwappy.cpp57 jmethodID getWindowManager = env->GetMethodID( in init() local
67 jobject wm = env->CallObjectMethod(jactivity, getWindowManager); in init()
/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/CannyLive/src/com/android/example/cannylive/
DCameraView.java170 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()

12