/development/ndk/platforms/android-9/samples/native-activity/jni/ |
D | main.c | 52 EGLDisplay display; member 84 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in engine_init_display() local 86 eglInitialize(display, 0, 0); in engine_init_display() 91 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in engine_init_display() 97 eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &format); in engine_init_display() 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); in engine_init_display() 102 context = eglCreateContext(display, config, NULL, NULL); in engine_init_display() 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { in engine_init_display() 109 eglQuerySurface(display, surface, EGL_WIDTH, &w); in engine_init_display() 110 eglQuerySurface(display, surface, EGL_HEIGHT, &h); in engine_init_display() [all …]
|
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
D | GL2JNIView.java | 112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument 116 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext() 121 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument 122 egl.eglDestroyContext(display, context); in destroyContext() 158 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument 163 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); in chooseConfig() 174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig() 177 printConfigs(egl, display, configs); in chooseConfig() 181 return chooseConfig(egl, display, configs); in chooseConfig() 184 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig() argument [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PresentationActivity.java | 31 import android.hardware.display.DisplayManager; 153 final Display display = mDisplayListAdapter.getItem(i); in onResume() local 155 mSavedPresentationContents.get(display.getDisplayId()); in onResume() 157 showPresentation(display, contents); in onResume() 195 private void showPresentation(Display display, PresentationContents contents) { in showPresentation() argument 196 final int displayId = display.getDisplayId(); in showPresentation() 204 DemoPresentation presentation = new DemoPresentation(this, display, contents); in showPresentation() 213 private void hidePresentation(Display display) { in hidePresentation() argument 214 final int displayId = display.getDisplayId(); in hidePresentation() 243 final Display display = (Display)buttonView.getTag(); in onCheckedChanged() local [all …]
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceRandom.java | 21 import android.hardware.display.DisplayManagerGlobal; 262 … Display display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in generatePointerEvent() local 264 PointF p1 = randomPoint(random, display); in generatePointerEvent() 278 randomWalk(random, display, p1, v1); in generatePointerEvent() 286 PointF p2 = randomPoint(random, display); in generatePointerEvent() 289 randomWalk(random, display, p1, v1); in generatePointerEvent() 298 randomWalk(random, display, p1, v1); in generatePointerEvent() 299 randomWalk(random, display, p2, v2); in generatePointerEvent() 307 randomWalk(random, display, p1, v1); in generatePointerEvent() 308 randomWalk(random, display, p2, v2); in generatePointerEvent() [all …]
|
D | MonkeySourceNetworkVars.java | 18 import android.hardware.display.DisplayManagerGlobal; 85 … Display display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); 86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth()))); 87 VAR_MAP.put("display.height", new StaticVarGetter(Integer.toString(display.getHeight()))); 90 display.getMetrics(dm);
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/src/com/example/plasma/ |
D | Plasma.java | 34 Display display = getWindowManager().getDefaultDisplay(); in onCreate() local 35 setContentView(new PlasmaView(this, display.getWidth(), display.getHeight())); in onCreate()
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
D | SamplePresentation.java | 42 public SamplePresentation(Context outerContext, Display display) { in SamplePresentation() argument 43 super(outerContext, display); in SamplePresentation() 51 setContentView(R.layout.display); in onCreate()
|
/development/build/tools/ |
D | mk_sdk_repo_xml.sh | 113 Extra.VendorDisplay vendor-display 4 117 Extra.NameDisplay name-display 4 124 SystemImage.TagDisplay tag-display r:9,s:2 126 Addon.VendorDisplay add-on/vendor-display s:3 130 vendor-display vendor-display 4 131 vendor vendor-display 4 134 name-display name-display 4 135 name name-display 4
|
/development/samples/browseable/BasicMediaRouter/ |
D | _index.jd | 9 API to display content on a secondary display.</p>
|
/development/samples/browseable/CustomNotifications/ |
D | _index.jd | 9 display custom views.</p>
|
/development/samples/browseable/Camera2Basic/ |
D | _index.jd | 8 you can display camera preview and take pictures.
|
/development/ndk/platforms/android-9/include/EGL/ |
D | eglext.h | 71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLi… 72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); 74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface,… 75 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surfac…
|
/development/samples/browseable/MediaRecorder/ |
D | _index.jd | 6 API to record video from a camera or camcorder, and display a preview of the
|
/development/samples/browseable/BasicNotifications/ |
D | _index.jd | 8 <p>This sample demonstrates how to display events in the system's notification
|
/development/samples/browseable/SlidingTabsBasic/ |
D | _index.jd | 11 SlidingTabLayout</a></code> to display a custom {@link
|
/development/samples/browseable/SlidingTabsColors/ |
D | _index.jd | 11 SlidingTabLayout</a></code> to display a custom {@link
|
/development/samples/browseable/ActionBarCompat-ShareActionProvider/ |
D | _index.jd | 13 functionality necessary to display a compatible action bar on devices
|
/development/samples/browseable/ActionBarCompat-Styled/ |
D | _index.jd | 12 functionality necessary to display a compatible action bar on devices
|
/development/samples/browseable/ActionBarCompat-ListPopupMenu/ |
D | _index.jd | 13 functionality necessary to display a compatible action bar on devices
|
/development/tools/emulator/skins/WXGA720/ |
D | layout | 14 display {
|
/development/tools/emulator/skins/WXGA800-7in/ |
D | layout | 14 display {
|
/development/tools/emulator/skins/WSVGA/ |
D | layout | 14 display {
|
/development/tools/emulator/skins/WXGA800/ |
D | layout | 14 display {
|
/development/samples/browseable/ActionBarCompat-Basic/ |
D | _index.jd | 14 functionality necessary to display a compatible action bar on devices
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 21 import android.hardware.display.DisplayManager; 122 Display display = mWindowManager.getDefaultDisplay(); in show() local 135 int width = (int)(display.getWidth() * INITIAL_SCALE); in show() 136 int height = (int)(display.getHeight() * INITIAL_SCALE); in show()
|