/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | CommandQueueTest.java | 17 import static android.view.Display.DEFAULT_DISPLAY; 76 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable() 78 verify(mCallbacks).disable(eq(DEFAULT_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisable() 115 mCommandQueue.setSystemUiVisibility(DEFAULT_DISPLAY, 1, 2, 3, 4, null, r, false); in testSetSystemUiVisibility() 117 verify(mCallbacks).setSystemUiVisibility(eq(DEFAULT_DISPLAY), eq(1), eq(2), eq(3), eq(4), in testSetSystemUiVisibility() 132 mCommandQueue.setImeWindowStatus(DEFAULT_DISPLAY, null, 1, 2, true); in testShowImeButton() 135 eq(DEFAULT_DISPLAY), eq(null), eq(1), eq(2), eq(true)); in testShowImeButton() 197 mCommandQueue.setWindowState(DEFAULT_DISPLAY, 1, 2); in testSetWindowState() 199 verify(mCallbacks).setWindowState(eq(DEFAULT_DISPLAY), eq(1), eq(2)); in testSetWindowState() 218 mCommandQueue.appTransitionPending(DEFAULT_DISPLAY); in testAppTransitionPending() [all …]
|
D | NavigationBarControllerTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 78 mDefaultNavBar.mDisplayId = DEFAULT_DISPLAY; in initializeNavigationBars() 80 .when(mNavigationBarController.mNavigationBars).get(DEFAULT_DISPLAY); in initializeNavigationBars() 134 mNavigationBarController.checkNavBarModes(DEFAULT_DISPLAY); in testCheckNavBarModesWithDefaultDisplay() 158 mNavigationBarController.finishBarAnimations(DEFAULT_DISPLAY); in testFinishBarAnimationsWithDefaultDisplay() 182 mNavigationBarController.touchAutoDim(DEFAULT_DISPLAY); in testTouchAutoDimWithDefaultDisplay() 206 mNavigationBarController.transitionTo(DEFAULT_DISPLAY, 3, true); in testTransitionToWithDefaultDisplay() 230 mNavigationBarController.disableAnimationsDuringHide(DEFAULT_DISPLAY, 500L); in testDisableAnimationsDuringHideWithDefaultDisplay()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 74 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testMultipleCallsWithIdenticalParametersCacheReference() 79 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testMultipleCallsWithIdenticalParametersCacheReference() 88 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 95 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, overrideConfig, in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 104 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testAddingASplitCreatesANewImpl() 110 Display.DEFAULT_DISPLAY, null, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testAddingASplitCreatesANewImpl() 120 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testUpdateConfigurationUpdatesAllAssetManagers() 125 null, APP_TWO_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testUpdateConfigurationUpdatesAllAssetManagers() 133 activity, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, in testUpdateConfigurationUpdatesAllAssetManagers() 166 activity1, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, in testTwoActivitiesWithIdenticalParametersShareImpl() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
D | InputMethodManagerServiceTests.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 58 assertEquals(DEFAULT_DISPLAY, in testComputeImeDisplayId_defaultDisplayId() 60 DEFAULT_DISPLAY, sMustNotBeCalledChecker)); in testComputeImeDisplayId_defaultDisplayId() 66 assertEquals(DEFAULT_DISPLAY, in testComputeImeDisplayId_InvalidDisplayId() 75 assertEquals(DEFAULT_DISPLAY, in testComputeImeDisplayId_noSystemDecorationSupportDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CollapsedStatusBarFragmentTest.java | 17 import static android.view.Display.DEFAULT_DISPLAY; 87 fragment.disable(DEFAULT_DISPLAY, 0, 0, false); in testDisableNone() 102 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_SYSTEM_INFO, 0, false); in testDisableSystemInfo() 107 fragment.disable(DEFAULT_DISPLAY, 0, 0, false); in testDisableSystemInfo() 120 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testDisableNotifications() 124 fragment.disable(DEFAULT_DISPLAY, 0, 0, false); in testDisableNotifications() 136 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_CLOCK, 0, false); in testDisableClock() 140 fragment.disable(DEFAULT_DISPLAY, 0, 0, false); in testDisableClock() 152 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testOnDozingChanged()
|
D | AutoHideControllerTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 62 mAutoHideController.mDisplayId = DEFAULT_DISPLAY; in setUp() 82 DEFAULT_DISPLAY, View.VISIBLE, 2, 3, 4, null, new Rect(), false); in testSetSystemUiVisibilityEarlyReturnWithSameVisibility() 96 DEFAULT_DISPLAY, expectedStatus, 2, 3, FULL_MASK, null, new Rect(), false); in testSetSystemUiVisibilityWithoutStatusBar() 112 DEFAULT_DISPLAY, View.STATUS_BAR_UNHIDE | View.NAVIGATION_BAR_UNHIDE, in testSetSystemUiVisibilityWithVisChanged()
|
D | StatusBarNotificationPresenterTest.java | 17 import static android.view.Display.DEFAULT_DISPLAY; 90 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testHeadsUp_disabledStatusBar() 104 mCommandQueue.disable(DEFAULT_DISPLAY, 0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, in testHeadsUp_disabledNotificationShade()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 64 private static int sNextDisplayId = DEFAULT_DISPLAY; 65 private static final int SECOND_DISPLAY = DEFAULT_DISPLAY + 1; 186 EventStreamTransformation next = mEventHandler.get(DEFAULT_DISPLAY); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 211 mEventHandler.put(DEFAULT_DISPLAY, mCaptor1); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 215 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 230 mEventHandler.put(DEFAULT_DISPLAY, mCaptor1); in testInputEvent_shouldClearEventsForAllEventHandlers() 232 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers() 233 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers() 238 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldClearEventsForAllEventHandlers() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardController.java | 20 import static android.view.Display.DEFAULT_DISPLAY; 105 if (displayId == DEFAULT_DISPLAY && mAodShowing) { in isKeyguardUnoccludedOrAodShowing() 159 isKeyguardOrAodShowing(DEFAULT_DISPLAY)); in setKeyguardShown() 314 if (displayId != DEFAULT_DISPLAY) { in handleOccludedChanged() 319 mWindowManager.onKeyguardOccludedChanged(isDisplayOccluded(DEFAULT_DISPLAY)); in handleOccludedChanged() 327 updateKeyguardSleepToken(DEFAULT_DISPLAY); in handleOccludedChanged() 382 && isDisplayOccluded(DEFAULT_DISPLAY)) { in resolveOccludeTransit() 388 } else if (!isDisplayOccluded(DEFAULT_DISPLAY)) { in resolveOccludeTransit() 400 if (mKeyguardShowing && isDisplayOccluded(DEFAULT_DISPLAY)) { in dismissDockedStackIfNeeded() 500 if (mDisplayId != DEFAULT_DISPLAY) { in visibilitiesUpdated() [all …]
|
D | InputManagerCallback.java | 4 import static android.view.Display.DEFAULT_DISPLAY; 136 mService.sendNewConfiguration(DEFAULT_DISPLAY); in notifyConfigurationChanged() 211 return DEFAULT_DISPLAY; in getPointerDisplayId() 215 int firstExternalDisplayId = DEFAULT_DISPLAY; in getPointerDisplayId() 225 if (firstExternalDisplayId == DEFAULT_DISPLAY in getPointerDisplayId() 226 && displayContent.getDisplayId() != DEFAULT_DISPLAY) { in getPointerDisplayId()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputConsumerController.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 150 mWindowManager.destroyInputConsumer(mName, DEFAULT_DISPLAY); in registerInputConsumer() 151 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer() 169 mWindowManager.destroyInputConsumer(mName, DEFAULT_DISPLAY); in unregisterInputConsumer()
|
D | WindowManagerWrapper.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 101 WindowManagerGlobal.getWindowManagerService().getStableInsets(DEFAULT_DISPLAY, in getStableInsets() 218 DEFAULT_DISPLAY, mPinnedStackListenerForwarder); in addPinnedStackListener()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 48 private static final int EXTERNAL_DISPLAY = DEFAULT_DISPLAY + 1; 59 assertDecorContextDisplay(DEFAULT_DISPLAY, context); in testDecorContextWithDefaultDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NavigationBarController.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 101 if (includeDefaultDisplay || display.getDisplayId() != DEFAULT_DISPLAY) { in createNavigationBars() 120 final boolean isOnDefaultDisplay = displayId == DEFAULT_DISPLAY; in createNavigationBar() 219 return getNavigationBarView(DEFAULT_DISPLAY); in getDefaultNavigationBarView() 234 return mNavigationBars.get(DEFAULT_DISPLAY); in getDefaultNavigationBarFragment()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | WindowManagerPermissionTests.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 56 mWm.addWindowToken(null, 0, DEFAULT_DISPLAY); in testMANAGE_APP_TOKENS() 66 mWm.removeWindowToken(null, DEFAULT_DISPLAY); in testMANAGE_APP_TOKENS()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CompositionSamplingListenerTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 38 CompositionSamplingListener.register(mListener, DEFAULT_DISPLAY, new Binder(), in testRegisterUnregister()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootActivityContainerTests.java | 27 import static android.view.Display.DEFAULT_DISPLAY; 410 mService.mRootActivityContainer.getActivityDisplay(DEFAULT_DISPLAY).getHomeStack().remove(); in testResumeFocusedStacksStartsHomeActivity_NoActivities() 411 mService.mRootActivityContainer.getActivityDisplay(DEFAULT_DISPLAY) in testResumeFocusedStacksStartsHomeActivity_NoActivities() 422 verify(mRootActivityContainer).resumeHomeActivity(any(), any(), eq(DEFAULT_DISPLAY)); in testResumeFocusedStacksStartsHomeActivity_NoActivities() 432 mService.mRootActivityContainer.getActivityDisplay(DEFAULT_DISPLAY).getHomeStack().remove(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen() 433 mService.mRootActivityContainer.getActivityDisplay(DEFAULT_DISPLAY) in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen() 452 verify(mRootActivityContainer).resumeHomeActivity(any(), any(), eq(DEFAULT_DISPLAY)); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen() 558 assertFalse(mRootActivityContainer.canStartHomeOnDisplay(info, DEFAULT_DISPLAY, in testCanStartHomeWhenInstrumented() 562 assertTrue(mRootActivityContainer.canStartHomeOnDisplay(info, DEFAULT_DISPLAY, in testCanStartHomeWhenInstrumented() 566 assertTrue(mRootActivityContainer.canStartHomeOnDisplay(info, DEFAULT_DISPLAY, in testCanStartHomeWhenInstrumented() [all …]
|
D | PinnedStackControllerTest.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 65 mWm.registerPinnedStackListener(DEFAULT_DISPLAY, mIPinnedStackListener); in setShelfHeight_shelfVisibilityChangedTriggered()
|
D | RunningTasksTest.java | 21 import static android.view.Display.DEFAULT_DISPLAY; 62 final ActivityDisplay display = TestActivityDisplay.create(mSupervisor, DEFAULT_DISPLAY); in testCollectTasksByLastActiveTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavBarTintController.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 165 CompositionSamplingListener.register(mSamplingListener, DEFAULT_DISPLAY, in updateSamplingListener() 211 return context.getDisplayId() == DEFAULT_DISPLAY in isEnabled()
|
D | RegionSamplingHelper.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 186 CompositionSamplingListener.register(mSamplingListener, DEFAULT_DISPLAY, in updateSamplingListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 18 import static android.view.Display.DEFAULT_DISPLAY; 199 mWindowManager.removeWindowToken(mToken, DEFAULT_DISPLAY); in onDialogHidden() 221 mWindowManager.removeWindowToken(mToken, DEFAULT_DISPLAY); in handleSetListening() 240 mWindowManager.removeWindowToken(mToken, DEFAULT_DISPLAY); in handleDestroy() 281 mWindowManager.addWindowToken(mToken, TYPE_QS_DIALOG, DEFAULT_DISPLAY); in handleClick()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 18 import static android.view.Display.DEFAULT_DISPLAY; 74 if (displayId == DEFAULT_DISPLAY) return; 105 if (display.getDisplayId() == DEFAULT_DISPLAY) { in isKeyguardShowable() 225 if (displayId == DEFAULT_DISPLAY) return; in updateNavigationBarVisibility()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 19 import static android.view.Display.DEFAULT_DISPLAY; 122 return DEFAULT_DISPLAY; in getDisplayId() 394 displayId = DEFAULT_DISPLAY; in injectMotionEvent() 420 INVALID_DISPLAY, DEFAULT_DISPLAY); in onShowUsage()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 26 import static android.view.Display.DEFAULT_DISPLAY; 365 notifyWallpaperColorsChangedOnDisplay(wallpaper, which, DEFAULT_DISPLAY); in notifyWallpaperColorsChanged() 460 if (keyguardListener != null && displayId == DEFAULT_DISPLAY) { in notifyColorListeners() 577 final DisplayData wpData = getDisplayDataOrCreate(DEFAULT_DISPLAY); in generateCrop() 580 mDisplayManager.getDisplay(DEFAULT_DISPLAY).getDisplayInfo(displayInfo); in generateCrop() 1009 display = mDisplayManager.getDisplay(DEFAULT_DISPLAY); in getMaximumSizeDimension() 1056 && display.getDisplayId() != DEFAULT_DISPLAY in updateFallbackConnection() 1203 mDisplayConnector.append(DEFAULT_DISPLAY, in initDisplayState() 1204 new DisplayConnector(DEFAULT_DISPLAY)); in initDisplayState() 1228 if (displayId == DEFAULT_DISPLAY) { in isUsableDisplay() [all …]
|