Home
last modified time | relevance | path

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

123

/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java44 import android.view.Display;
45 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.java27 import android.view.Display;
36 private Display initDisplay() { in initDisplay()
40 Display display = windowManager.getDefaultDisplay(); in initDisplay()
57 Display display = initDisplay(); in testDisplayMetricsOp()
/cts/tests/app/src/android/app/cts/
DDisplayTest.java24 import android.view.Display;
52 final Display origDisplay = mActivity.getDisplay(); in testRotation()
67 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/tests/framework/base/activitymanager/src/android/server/am/
DAspectRatioTests.java31 import android.view.Display;
99 final Display display = wm.getDefaultDisplay(); in testDeviceAspectRatio()
138 Display testDisplay = testActivity.findViewById(android.R.id.content).getDisplay(); in testMaxAspectRatioResizeableActivity()
142 if (testDisplay.getDisplayId() != Display.DEFAULT_DISPLAY) { in testMaxAspectRatioResizeableActivity()
DAspectRatioTestsBase.java24 import android.view.Display;
59 final Display display = in getAspectRatio()
DAnimationBackgroundTests.java22 import static android.view.Display.DEFAULT_DISPLAY;
/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/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.java27 import android.view.Display;
75 Display dpy = wm.getDefaultDisplay(); in testRefreshRate()
DTextureViewStressTestActivity.java27 import android.view.Display;
81 Display display = wm.getDefaultDisplay(); in waitForCompletion()
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java25 import static android.view.Display.DEFAULT_DISPLAY;
77 private List<Display> mDisplays = new ArrayList();
156 final Display display = new Display(displayProto); in parseSysDumpProto()
233 Display getDisplay(int displayId) { in getDisplay()
234 for (Display display : mDisplays) { in getDisplay()
242 List<Display> getDisplays() { in getDisplays()
420 static class Display extends WindowContainer { class in WindowManagerState
428 public Display(DisplayProto proto) { in Display() method in WindowManagerState.Display
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java24 import android.view.Display;
39 Display display = windowManager.getDefaultDisplay(); in testScreenConfiguration()
DConfigurationScreenLayoutTest.java26 import android.view.Display;
103 Display display = windowManager.getDefaultDisplay(); in reduceScreenLayout()
/cts/tests/framework/base/activitymanager/app_base/src/android/server/am/
DAbstractLifecycleLogActivity.java25 import android.view.Display;
102 final Display display = wm.getDefaultDisplay(); in dumpDisplaySize()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java27 import android.view.Display;
60 Display display = wm.getDefaultDisplay(); in getDisplaySize()
/cts/hostsidetests/appsecurity/certs/keysets/
DREADME6 # Display public key (for use in Manifest) with:
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainInteractionSession.java34 import android.view.Display;
37 import android.view.Display;
119 Display d = mContentView.getDisplay(); in onShow()

123