Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 60) sorted by relevance

123

/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c52 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/
DGL2JNIView.java112 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/
DPresentationActivity.java31 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/
DMonkeySourceRandom.java21 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 …]
DMonkeySourceNetworkVars.java18 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/
DPlasma.java34 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/
DSamplePresentation.java42 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/
Dmk_sdk_repo_xml.sh113 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.jd9 API to display content on a secondary display.</p>
/development/samples/browseable/CustomNotifications/
D_index.jd9 display custom views.</p>
/development/samples/browseable/Camera2Basic/
D_index.jd8 you can display camera preview and take pictures.
/development/ndk/platforms/android-9/include/EGL/
Deglext.h71 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.jd6 API to record video from a camera or camcorder, and display a preview of the
/development/samples/browseable/BasicNotifications/
D_index.jd8 <p>This sample demonstrates how to display events in the system's notification
/development/samples/browseable/SlidingTabsBasic/
D_index.jd11 SlidingTabLayout</a></code> to display a custom {@link
/development/samples/browseable/SlidingTabsColors/
D_index.jd11 SlidingTabLayout</a></code> to display a custom {@link
/development/samples/browseable/ActionBarCompat-ShareActionProvider/
D_index.jd13 functionality necessary to display a compatible action bar on devices
/development/samples/browseable/ActionBarCompat-Styled/
D_index.jd12 functionality necessary to display a compatible action bar on devices
/development/samples/browseable/ActionBarCompat-ListPopupMenu/
D_index.jd13 functionality necessary to display a compatible action bar on devices
/development/tools/emulator/skins/WXGA720/
Dlayout14 display {
/development/tools/emulator/skins/WXGA800-7in/
Dlayout14 display {
/development/tools/emulator/skins/WSVGA/
Dlayout14 display {
/development/tools/emulator/skins/WXGA800/
Dlayout14 display {
/development/samples/browseable/ActionBarCompat-Basic/
D_index.jd14 functionality necessary to display a compatible action bar on devices
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java21 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()

123