/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateTest.java | 69 private Display mDisplay; field in DisplayRefreshRateTest 93 while (modeId != mDisplay.getMode().getModeId() in waitForModeToChange() 94 && mDisplay.getMode().getRefreshRate() != mDisplay.getRefreshRate()) { in waitForModeToChange() 111 if (displayId != mDisplay.getDisplayId()) { in onDisplayChanged() 137 mDisplay = wm.getDefaultDisplay(); in setup() 148 int highestRefreshRateModeId = mDisplay.getMode().getModeId(); in getHighestRefreshRateModeId() 149 for (Display.Mode mode : mDisplay.getSupportedModes()) { in getHighestRefreshRateModeId() 150 if (mode.getPhysicalHeight() != mDisplay.getMode().getPhysicalHeight()) { in getHighestRefreshRateModeId() 154 if (mode.getPhysicalWidth() != mDisplay.getMode().getPhysicalWidth()) { in getHighestRefreshRateModeId() 158 if (mode.getRefreshRate() > mDisplay.getMode().getRefreshRate()) { in getHighestRefreshRateModeId() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionService.java | 53 return new CubePresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 56 return new WidgetPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 59 return new ListPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 62 return new VideoPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 65 return new TouchPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 68 return new OffscreenPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 85 mDisplay = manager.createVirtualDisplay(DISPLAY_NAME, width, height, density, in startRendering() 107 if (mDisplay != null) { in stopRendering() 108 mDisplay.release(); in stopRendering() 109 mDisplay = null; in stopRendering() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplayShapeTests.java | 56 private Display mDisplay; field in DisplayShapeTests 60 mDisplay = mDm.getDisplay(DEFAULT_DISPLAY); in setUp() 61 assumeNotNull(mDisplay); in setUp() 66 final DisplayShape shape = mDisplay.getShape(); in testNonNull() 83 final RoundedCorner r = mDisplay.getRoundedCorner(i); in testDisplayShapeConfig() 96 mDisplay.getShape().getPath().isRect(null)); in testDisplayShapeConfig() 105 final DisplayShape fromDisplay = mDisplay.getShape(); in testDisplayShapeFromWindowInsets()
|
D | ManifestLayoutTests.java | 78 private WindowManagerState.DisplayContent mDisplay; field in ManifestLayoutTests 159 final int alternativeMinWidth = dpToPx(MIN_WIDTH_DP, mDisplay.getDpi()); in testMinimalSize() 160 final int alternativeMinHeight = dpToPx(MIN_HEIGHT_DP, mDisplay.getDpi()); in testMinimalSize() 304 mDisplay = mWmState.getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState() 305 assertNotNull("Should be on a display", mDisplay); in getDisplayAndWindowState()
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | DeviceLockTestPlayerListener.java | 39 private Display mDisplay; field in DeviceLockTestPlayerListener 66 mDisplay = mActivity.getDisplay(); in onEventsPlaybackStateChanged() 93 return mDisplay != null && mDisplay.getState() == Display.STATE_ON; in isDisplayOn()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | SimulatedVirtualDisplaySession.java | 47 private final Display mDisplay; field in SimulatedVirtualDisplaySession 49 mDisplay = display; in SimulatedVirtualDisplaySession() 100 return mDisplay.getDisplayId(); in getDisplayId()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 679 private final Display mDisplay; field in WindowFocusTests.InvisibleVirtualDisplaySession 688 mDisplay = mVirtualDisplay.getDisplay(); in InvisibleVirtualDisplaySession() 692 return mDisplay.getDisplayId(); in getDisplayId() 730 private final Display mDisplay; field in WindowFocusTests.VirtualDisplayWithOwnFocusSession 747 mDisplay = mVirtualDisplay.getDisplay(); in VirtualDisplayWithOwnFocusSession() 761 return mDisplay.getDisplayId(); in getDisplayId()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 568 private final Display mDisplay; field in VirtualDisplayTest.RotationChangeWaiter 582 if (mDisplay.getDisplayId() == displayId 583 && mCurrentRotation != mDisplay.getRotation()) { 584 mCurrentRotation = mDisplay.getRotation(); 591 mDisplay = display; in RotationChangeWaiter() 592 mCurrentRotation = mDisplay.getRotation(); in RotationChangeWaiter()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 1146 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext[mWhich]); in MakeCurrent() 1149 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in MakeCurrentNone() 1172 EGLDisplay mDisplay = EGL_NO_DISPLAY; member in android::AHardwareBufferGLTest 1192 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in SetUp() 1193 eglInitialize(mDisplay, NULL, NULL); in SetUp() 1207 eglChooseConfig(mDisplay, config_attrib_list, &first_config, 1, &num_config); in SetUp() 1212 eglChooseConfig(mDisplay, config_attrib_list, &first_config, 1, &num_config); in SetUp() 1222 mContext[0] = eglCreateContext(mDisplay, first_config, EGL_NO_CONTEXT, context_attrib_list); in SetUp() 1227 mContext[0] = eglCreateContext(mDisplay, first_config, EGL_NO_CONTEXT, context_attrib_list); in SetUp() 1229 mContext[1] = eglCreateContext(mDisplay, first_config, EGL_NO_CONTEXT, context_attrib_list); in SetUp() [all …]
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeVirtualDisplayTest.java | 552 private Display mDisplay; field in EncodeVirtualDisplayTest.ColorSlideShow 555 mDisplay = display; in ColorSlideShow() 575 presentation[0] = new TestPresentation(mContext, mDisplay, color); in showPresentation()
|