/cts/tests/tests/provider/src/android/provider/cts/ |
D | Contacts_PhonesTest.java | 26 String display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabel() local 28 assertEquals(label, display); in testGetDisplayLabel() 32 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabel() 34 assertEquals(labels[Phones.TYPE_HOME - 1], display); in testGetDisplayLabel() 36 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabel() 38 assertEquals(labels[Phones.TYPE_MOBILE - 1], display); in testGetDisplayLabel() 40 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabel() 42 assertEquals(labels[Phones.TYPE_WORK - 1], display); in testGetDisplayLabel() 44 display = Phones.getDisplayLabel(getContext(), in testGetDisplayLabel() 46 assertEquals(labels[Phones.TYPE_FAX_WORK - 1], display); in testGetDisplayLabel() [all …]
|
D | Contacts_ContactMethodsTest.java | 56 String display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, in test() local 58 assertEquals(label, display); in test() 62 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, in test() 64 assertEquals(labels[ContactMethods.TYPE_HOME - 1], display); in test() 66 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, in test() 68 assertEquals(labels[ContactMethods.TYPE_OTHER - 1], display); in test() 70 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, in test() 72 assertEquals(labels[ContactMethods.TYPE_WORK - 1], display); in test() 75 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_IM, in test() 77 assertEquals(untitled, display); in test() [all …]
|
D | Contacts_OrganizationsTest.java | 26 String display = Organizations.getDisplayLabel(getContext(), in testGetDisplayLabel() local 28 assertEquals(label, display); in testGetDisplayLabel() 32 display = Organizations.getDisplayLabel(getContext(), in testGetDisplayLabel() 34 assertEquals(labels[Organizations.TYPE_OTHER - 1], display); in testGetDisplayLabel() 36 display = Organizations.getDisplayLabel(getContext(), in testGetDisplayLabel() 38 assertEquals(labels[Organizations.TYPE_WORK - 1], display); in testGetDisplayLabel()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 17 package android.display.cts; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.DisplayManager.DisplayListener; 103 private boolean isSecondarySize(Display display) { in isSecondarySize() argument 105 display.getSize(p); in isSecondarySize() 110 for (Display display : displays) { in getSecondaryDisplay() 111 if (isSecondarySize(display)) { in getSecondaryDisplay() 112 return display; in getSecondaryDisplay() 127 for (Display display : displays) { in testGetDisplays() 128 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in testGetDisplays() [all …]
|
D | VirtualDisplayTest.java | 17 package android.display.cts; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.VirtualDisplay; 124 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() local 126 assertDisplayRegistered(display, Display.FLAG_PRIVATE); in testPrivateVirtualDisplay() 131 display, BLUEISH, in testPrivateVirtualDisplay() 136 assertDisplayUnregistered(display); in testPrivateVirtualDisplay() 149 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay() local 151 assertDisplayRegistered(display, Display.FLAG_PRIVATE | Display.FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay() 156 display, BLUEISH, in testPrivatePresentationVirtualDisplay() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | DisplayMetricsTest.java | 29 Display display = windowManager.getDefaultDisplay(); in initDisplay() local 30 assertNotNull(display); in initDisplay() 31 return display; in initDisplay() 45 Display display = initDisplay(); in testDisplayMetricsOp() local 46 display.getMetrics(outMetrics); in testDisplayMetricsOp() 49 assertEquals(display.getHeight(), metrics.heightPixels); in testDisplayMetricsOp() 50 assertEquals(display.getWidth(), metrics.widthPixels); in testDisplayMetricsOp()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | EglConfigTest.java | 73 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in getEglConfigIds() local 88 if (egl.eglInitialize(display, null)) { in getEglConfigIds() 90 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { in getEglConfigIds() 92 if (egl.eglChooseConfig(display, attributeList, configs, configs.length, in getEglConfigIds() 97 if (egl.eglGetConfigAttrib(display, configs[i], EGL10.EGL_CONFIG_ID, in getEglConfigIds() 112 egl.eglTerminate(display); in getEglConfigIds()
|
D | OpenGlEsVersionTest.java | 153 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in getDetectedMajorVersion() local 156 if (egl.eglInitialize(display, null)) { in getDetectedMajorVersion() 158 boolean checkES3 = hasExtension(egl.eglQueryString(display, EGL10.EGL_EXTENSIONS), in getDetectedMajorVersion() 160 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedMajorVersion() 162 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedMajorVersion() 166 if (egl.eglGetConfigAttrib(display, configs[i], in getDetectedMajorVersion() 195 egl.eglTerminate(display); in getDetectedMajorVersion()
|
D | EglConfigGLSurfaceView.java | 59 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument 66 if (egl.eglChooseConfig(display, attributeList, configs, 1, new int[] {1})) { in chooseConfig() 68 printConfig(egl, display, configs[0]); in chooseConfig() 243 private static void printConfig(EGL10 egl, EGLDisplay display, in printConfig() argument 319 if (egl.eglGetConfigAttrib(display, config, attribute, value)) { in printConfig()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/ |
D | bootstrap-responsive.css | 17 display: table; 34 display: block; 44 display: none; 49 display: none !important; 53 display: none !important; 57 display: none !important; 62 display: inherit !important; 65 display: none !important; 68 display: inherit !important; 71 display: none !important; [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoCaptureVideoPermissionTest.java | 21 import android.hardware.display.DisplayManager; 22 import android.hardware.display.VirtualDisplay; 94 VirtualDisplay display = displayManager.createVirtualDisplay( in testCreatePrivateVirtualDisplay() local 97 display.release(); in testCreatePrivateVirtualDisplay()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 770 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument 771 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument 777 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument 781 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext() 785 public void destroyContext(EGL10 egl, EGLDisplay display, in destroyContext() argument 787 if (!egl.eglDestroyContext(display, context)) { in destroyContext() 788 Log.e("DefaultContextFactory", "display:" + display + " context: " + context); in destroyContext() 807 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface() argument 809 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface); in destroySurface() argument 814 public EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, in createWindowSurface() argument [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPresentation.java | 35 public TouchPresentation(Context outerContext, Display display) { in TouchPresentation() argument 36 super(outerContext, display); in TouchPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | OffscreenPresentation.java | 31 public OffscreenPresentation(Context outerContext, Display display) { in OffscreenPresentation() argument 32 super(outerContext, display); in OffscreenPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/ |
D | WidgetPresentation.java | 36 public WidgetPresentation(Context outerContext, Display display) { in WidgetPresentation() argument 37 super(outerContext, display); in WidgetPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectedPresentation.java | 30 public ProjectedPresentation(Context outerContext, Display display) { in ProjectedPresentation() argument 32 super(outerContext, display, android.R.style.Theme_Holo_Light_NoActionBar_TranslucentDecor); in ProjectedPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
D | CubePresentation.java | 37 public CubePresentation(Context context, Display display) { in CubePresentation() argument 38 super(context, display); in CubePresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/ |
D | ListPresentation.java | 42 public ListPresentation(Context outerContext, Display display) { in ListPresentation() argument 43 super(outerContext, display); in ListPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/ |
D | VideoPresentation.java | 40 public VideoPresentation(Context outerContext, Display display) { in VideoPresentation() argument 41 super(outerContext, display); in VideoPresentation()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | AspectRatioTest.java | 65 Display display = windowManager.getDefaultDisplay(); in getRealAspectRatio() local 67 display.getRealMetrics(metrics); in getRealAspectRatio()
|
D | ConfigurationTest.java | 37 Display display = windowManager.getDefaultDisplay(); in testScreenConfiguration() local 39 display.getMetrics(metrics); in testScreenConfiguration()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RemoteVirtualDisplayService.java | 24 import android.hardware.display.DisplayManager; 25 import android.hardware.display.VirtualDisplay; 172 public TestPresentation(Context outerContext, Display display) { in TestPresentation() argument 174 super(outerContext, display, in TestPresentation()
|
/cts/tests/tests/openglperf/jni/ |
D | OpenGlPerfNativeJni.cpp | 39 bool IsEglKHRFenceSyncSupported(EGLDisplay& display) in IsEglKHRFenceSyncSupported() argument 42 const char* eglExtensions = eglQueryString(display, EGL_EXTENSIONS); in IsEglKHRFenceSyncSupported()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | DisplayInfoActivity.java | 39 Display display = windowManager.getDefaultDisplay(); in onCreate() local 41 display.getMetrics(metrics); in onCreate()
|
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ |
D | Utils.java | 58 Display display = wm.getDefaultDisplay(); in getDisplaySize() local 60 display.getSize(size); in getDisplaySize()
|