/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 41 import android.view.Display; 42 import android.view.Display.HdrCapabilities; 142 private boolean isSecondaryDisplay(Display display) { in isSecondaryDisplay() 147 private Display getSecondaryDisplay(Display[] displays) { in getSecondaryDisplay() 148 for (Display display : displays) { in getSecondaryDisplay() 161 Display[] displays = mDisplayManager.getDisplays(); in testGetDisplays() 166 for (Display display : displays) { in testGetDisplays() 167 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in testGetDisplays() 184 assertEquals(Display.DEFAULT_DISPLAY, mWindowManager.getDefaultDisplay().getDisplayId()); in testDefaultDisplay() 192 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testDefaultDisplayHdrCapability() [all …]
|
D | VirtualDisplayTest.java | 37 import android.view.Display; 124 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() 126 assertDisplayRegistered(display, Display.FLAG_PRIVATE); in testPrivateVirtualDisplay() 149 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay() 151 assertDisplayRegistered(display, Display.FLAG_PRIVATE | Display.FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay() 173 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplayWithDynamicSurface() 175 assertDisplayRegistered(display, Display.FLAG_PRIVATE); in testPrivateVirtualDisplayWithDynamicSurface() 196 private void assertDisplayRegistered(Display display, int flags) { in assertDisplayRegistered() 200 display.getDisplayId() != Display.DEFAULT_DISPLAY); in assertDisplayRegistered() 212 if ((flags & Display.FLAG_PRESENTATION) != 0) { in assertDisplayRegistered() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/ |
D | DisplayModesTestActivity.java | 22 import android.view.Display; 50 private static final Subject.Factory<ModeSubject, Display.Mode> MODE_SUBJECT_FACTORY = 53 private static final Correspondence<Display.Mode, Mode> MODE_CORRESPONDENCE = 54 new Correspondence<Display.Mode, Mode>() { 56 public boolean compare(Display.Mode displayMode, Mode mode) { 127 Display display = in runTestAsync() 128 mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in runTestAsync() 164 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in runTest() 225 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in runTest() 270 public boolean isEquivalent(Display.Mode displayMode, float refreshRatePrecision) { in isEquivalent() [all …]
|
D | DisplayHdrCapabilitiesTestActivity.java | 19 import android.view.Display; 96 Display display = mContext.getWindowManager().getDefaultDisplay(); in runTest() 132 Display display = mContext.getWindowManager().getDefaultDisplay(); in runTest() 139 Display.HdrCapabilities hdrCapabilities = display.getHdrCapabilities(); in runTest() 148 Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION, in runTest() 149 Display.HdrCapabilities.HDR_TYPE_HDR10, in runTest() 150 Display.HdrCapabilities.HDR_TYPE_HDR10_PLUS, in runTest() 151 Display.HdrCapabilities.HDR_TYPE_HLG in runTest() 202 Display display = mContext.getWindowManager().getDefaultDisplay(); in runTestAsync()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | DisplayMetricsTest.java | 24 import android.view.Display; 37 private Display initDisplay() { in initDisplay() 41 Display display = windowManager.getDefaultDisplay(); in initDisplay() 58 Display display = initDisplay(); in testDisplayMetricsOp()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AspectRatioTests.java | 27 import android.view.Display; 153 assumeThat(displayId, is(Display.DEFAULT_DISPLAY)); in testMaxAspectRatioResizeableActivity() 166 assumeThat(displayId, is(Display.DEFAULT_DISPLAY)); in testMaxAspectRatioUnsetActivity() 185 assumeThat(displayId, is(Display.DEFAULT_DISPLAY)); in testMinAspectRatioResizeableActivity() 197 assumeThat(displayId, is(Display.DEFAULT_DISPLAY)); in testMinAspectRatioUnsetActivity()
|
D | AnimationBackgroundTests.java | 23 import static android.view.Display.DEFAULT_DISPLAY; 31 import android.server.wm.WindowManagerState.Display; 84 final Display display = mAmWmState.getWmState().getDisplay(displayId); in assumeActivityNotInFreeformDisplay()
|
D | AspectRatioTestsBase.java | 26 import android.view.Display; 90 private static Display getDisplay(Activity activity) { in getDisplay() 94 private static float getAspectRatio(Display display) { in getAspectRatio()
|
D | DisplayTests.java | 21 import static android.view.Display.DEFAULT_DISPLAY; 35 import android.view.Display; 192 final Display display = displayManager.getDisplay(activityDisplay.mId); in getDisplayResourcesConfiguration()
|
/cts/tests/app/src/android/app/cts/ |
D | DisplayTest.java | 24 import android.view.Display; 58 final Display origDisplay = mActivity.getDisplay(); in testRotation() 80 final Display updatedDisplay = mActivity.getDisplay(); in testRotation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | OffscreenPresentation.java | 21 import android.view.Display; 31 public OffscreenPresentation(Context outerContext, Display display) { in OffscreenPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPresentation.java | 21 import android.view.Display; 35 public TouchPresentation(Context outerContext, Display display) { in TouchPresentation()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WindowManagerState.java | 24 import static android.view.Display.DEFAULT_DISPLAY; 74 private List<Display> mDisplays = new ArrayList(); 153 final Display display = new Display(displayProto); in parseSysDumpProto() 229 Display getDisplay(int displayId) { in getDisplay() 230 for (Display display : mDisplays) { in getDisplay() 238 List<Display> getDisplays() { in getDisplays() 414 static class Display extends WindowContainer { class in WindowManagerState 422 public Display(DisplayContentProto proto) { in Display() method in WindowManagerState.Display
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DisplayTestActivity.java | 23 import android.view.Display; 44 public Display getDisplay() { in getDisplay()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/ |
D | WidgetPresentation.java | 21 import android.view.Display; 36 public WidgetPresentation(Context outerContext, Display display) { in WidgetPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectedPresentation.java | 21 import android.view.Display; 30 public ProjectedPresentation(Context outerContext, Display display) { in ProjectedPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/ |
D | ListPresentation.java | 21 import android.view.Display; 42 public ListPresentation(Context outerContext, Display display) { in ListPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
D | CubePresentation.java | 22 import android.view.Display; 37 public CubePresentation(Context context, Display display) { in CubePresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/ |
D | VideoPresentation.java | 24 import android.view.Display; 40 public VideoPresentation(Context outerContext, Display display) { in VideoPresentation()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | ScreenDeviceInfo.java | 21 import android.view.Display; 36 Display display = windowManager.getDefaultDisplay(); in collectDeviceInfo()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateTest.java | 24 import android.view.Display; 76 Display dpy = wm.getDefaultDisplay(); in testRefreshRate()
|
D | TextureViewStressTestActivity.java | 27 import android.view.Display; 81 Display display = wm.getDefaultDisplay(); in waitForCompletion()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerState.java | 25 import static android.view.Display.DEFAULT_DISPLAY; 117 private List<Display> mDisplays = new ArrayList(); 198 final Display display = new Display(displayProto); in parseSysDumpProto() 396 Display getDisplay(int displayId) { in getDisplay() 397 for (Display display : mDisplays) { in getDisplay() 405 List<Display> getDisplays() { in getDisplays() 727 static class Display extends WindowContainer { class in WindowManagerState 740 public Display(DisplayContentProto proto) { in Display() method in WindowManagerState.Display
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ |
D | Utils.java | 27 import android.view.Display; 60 Display display = wm.getDefaultDisplay(); in getDisplaySize()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationTest.java | 24 import android.view.Display; 45 Display display = windowManager.getDefaultDisplay(); in setUp()
|