Home
last modified time | relevance | path

Searched refs:Display (Results 1 – 25 of 90) sorted by relevance

1234

/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java41 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 …]
DVirtualDisplayTest.java37 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/tests/tests/util/src/android/util/cts/
DDisplayMetricsTest.java24 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/
DAspectRatioTests.java27 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()
DAnimationBackgroundTests.java23 import static android.view.Display.DEFAULT_DISPLAY;
31 import android.server.wm.WindowManagerState.Display;
84 final Display display = mAmWmState.getWmState().getDisplay(displayId); in assumeActivityNotInFreeformDisplay()
DAspectRatioTestsBase.java26 import android.view.Display;
90 private static Display getDisplay(Activity activity) { in getDisplay()
94 private static float getAspectRatio(Display display) { in getAspectRatio()
DDisplayTests.java21 import static android.view.Display.DEFAULT_DISPLAY;
34 import android.view.Display;
191 final Display display = displayManager.getDisplay(activityDisplay.mId); in getDisplayResourcesConfiguration()
DFreeformWindowingModeTests.java32 import android.view.Display;
56 int displayId = Display.DEFAULT_DISPLAY; in testFreeformWindowManagementSupport()
/cts/tests/app/src/android/app/cts/
DDisplayTest.java24 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/
DOffscreenPresentation.java21 import android.view.Display;
31 public OffscreenPresentation(Context outerContext, Display display) { in OffscreenPresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPresentation.java21 import android.view.Display;
35 public TouchPresentation(Context outerContext, Display display) { in TouchPresentation()
/cts/tests/app/app/src/android/app/stubs/
DDisplayTestActivity.java23 import android.view.Display;
44 public Display getDisplay() { in getDisplay()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
DWidgetPresentation.java21 import android.view.Display;
36 public WidgetPresentation(Context outerContext, Display display) { in WidgetPresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java21 import android.view.Display;
30 public ProjectedPresentation(Context outerContext, Display display) { in ProjectedPresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/
DListPresentation.java21 import android.view.Display;
42 public ListPresentation(Context outerContext, Display display) { in ListPresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCubePresentation.java22 import android.view.Display;
37 public CubePresentation(Context context, Display display) { in CubePresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/
DVideoPresentation.java24 import android.view.Display;
40 public VideoPresentation(Context outerContext, Display display) { in VideoPresentation()
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java24 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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java21 import android.view.Display;
36 Display display = windowManager.getDefaultDisplay(); in collectDeviceInfo()
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateTest.java24 import android.view.Display;
76 Display dpy = wm.getDefaultDisplay(); in testRefreshRate()
DTextureViewStressTestActivity.java27 import android.view.Display;
81 Display display = wm.getDefaultDisplay(); in waitForCompletion()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java27 import android.view.Display;
60 Display display = wm.getDefaultDisplay(); in getDisplaySize()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java25 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/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java24 import android.view.Display;
45 Display display = windowManager.getDefaultDisplay(); in setUp()
DConfigurationScreenLayoutTest.java27 import android.view.Display;
124 Display display = windowManager.getDefaultDisplay(); in reduceScreenLayout()

1234