Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 27) sorted by relevance

12

/development/ndk/platforms/android-9/include/android/
Dnative_window.h63 void ANativeWindow_acquire(ANativeWindow* window);
68 void ANativeWindow_release(ANativeWindow* window);
74 int32_t ANativeWindow_getWidth(ANativeWindow* window);
80 int32_t ANativeWindow_getHeight(ANativeWindow* window);
86 int32_t ANativeWindow_getFormat(ANativeWindow* window);
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int3…
104 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
111 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window);
Dnative_activity.h161 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window);
168 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window);
176 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window);
186 void (*onNativeWindowDestroyed)(ANativeActivity* activity, ANativeWindow* window);
/development/ndk/platforms/android-14/include/android/
Dnative_window.h63 void ANativeWindow_acquire(ANativeWindow* window);
68 void ANativeWindow_release(ANativeWindow* window);
74 int32_t ANativeWindow_getWidth(ANativeWindow* window);
80 int32_t ANativeWindow_getHeight(ANativeWindow* window);
86 int32_t ANativeWindow_getFormat(ANativeWindow* window);
102 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window,
113 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
120 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window);
/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp52 ANativeWindow* window; member
257 AMediaCodec_configure(codec, format, d->window, NULL, 0); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
301 if (data.window) { in Java_com_example_nativecodec_NativeCodec_shutdown()
302 ANativeWindow_release(data.window); in Java_com_example_nativecodec_NativeCodec_shutdown()
303 data.window = NULL; in Java_com_example_nativecodec_NativeCodec_shutdown()
312 if (data.window) { in Java_com_example_nativecodec_NativeCodec_setSurface()
313 ANativeWindow_release(data.window); in Java_com_example_nativecodec_NativeCodec_setSurface()
314 data.window = NULL; in Java_com_example_nativecodec_NativeCodec_setSurface()
316 data.window = ANativeWindow_fromSurface(env, surface); in Java_com_example_nativecodec_NativeCodec_setSurface()
317 LOGV("@@@ setsurface %p", data.window); in Java_com_example_nativecodec_NativeCodec_setSurface()
/development/tools/axl/
Dchewperf.py77 window = [0 for x in range(5)]
80 window[x % len(window)] = buckets.items()[x][1]
81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
/development/samples/browseable/MultiWindowPlayground/
D_index.jd8 This sample demonstrates the use of the multi-window API available
10 AndroidManifest properties to define the multi-window behavior.
11 Switch the sample app into multi-window mode to see how it affects
/development/ndk/platforms/android-13/include/android/
Dnative_activity.h168 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window);
175 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window);
183 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window);
193 void (*onNativeWindowDestroyed)(ANativeActivity* activity, ANativeWindow* window);
/development/ndk/sources/android/ndk_helper/
DGLContext.cpp78 bool GLContext::Init( ANativeWindow* window ) in Init() argument
86 window_ = window; in Init()
212 EGLint GLContext::Resume( ANativeWindow* window ) in Resume() argument
216 Init( window ); in Resume()
224 window_ = window; in Resume()
DGLContext.h92 bool Init( ANativeWindow* window );
97 EGLint Resume( ANativeWindow* window );
/development/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.c111 android_app->window = android_app->pendingWindow; in android_app_pre_exec_cmd()
151 android_app->window = NULL; in android_app_post_exec_cmd()
297 static void android_app_set_window(struct android_app* android_app, ANativeWindow* window) { in android_app_set_window() argument
302 android_app->pendingWindow = window; in android_app_set_window()
303 if (window != NULL) { in android_app_set_window()
306 while (android_app->window != android_app->pendingWindow) { in android_app_set_window()
403 static void onNativeWindowCreated(ANativeActivity* activity, ANativeWindow* window) { in onNativeWindowCreated() argument
404 LOGV("NativeWindowCreated: %p -- %p\n", activity, window); in onNativeWindowCreated()
405 android_app_set_window((struct android_app*)activity->instance, window); in onNativeWindowCreated()
408 static void onNativeWindowDestroyed(ANativeActivity* activity, ANativeWindow* window) { in onNativeWindowDestroyed() argument
[all …]
Dandroid_native_app_glue.h150 ANativeWindow* window; member
/development/ndk/platforms/android-21/include/linux/
Datmsap.h82 unsigned char window; member
94 unsigned char window; member
Dax25.h124 unsigned int window; member
Dtcp.h62 __be16 window; member
/development/ndk/platforms/android-3/include/linux/
Datmsap.h73 unsigned char window; member
84 unsigned char window; member
Dtcp.h48 __u16 window; member
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentFragment.java204 Window window = getActivity().getWindow(); in setSystemUiVisible() local
205 WindowManager.LayoutParams winParams = window.getAttributes(); in setSystemUiVisible()
211 window.setFlags(0, WindowManager.LayoutParams.FLAG_FULLSCREEN); in setSystemUiVisible()
218 window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in setSystemUiVisible()
225 window.setAttributes(winParams); in setSystemUiVisible()
/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c99 ANativeWindow_setBuffersGeometry(engine->app->window, 0, 0, format); in engine_init_display()
101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); in engine_init_display()
193 if (engine->app->window != NULL) { in engine_handle_cmd()
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c383 if (engine->app->window == NULL) { in engine_draw_frame()
389 if (ANativeWindow_lock(engine->app->window, &buffer, NULL) < 0) { in engine_draw_frame()
404 ANativeWindow_unlockAndPost(engine->app->window); in engine_draw_frame()
432 if (engine->app->window != NULL) { in engine_handle_cmd()
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsNativeActivity.cpp149 gl_context_->Init( app_->window ); in InitDisplay()
156 if( EGL_SUCCESS != gl_context_->Resume( app_->window ) ) in InitDisplay()
303 if( app->window != NULL ) in HandleCmd()
/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotNativeActivity.cpp139 gl_context_->Init( app_->window ); in InitDisplay()
146 if( EGL_SUCCESS != gl_context_->Resume( app_->window ) ) in InitDisplay()
292 if( app->window != NULL ) in HandleCmd()
/development/ndk/platforms/android-3/include/
Dzlib.h1328 unsigned char FAR *window,
1340 #define inflateBackInit(strm, windowBits, window) \ argument
1341 inflateBackInit_((strm), (windowBits), (window), \
/development/samples/UiAutomator/
DREADME5 use the package name to verify that the current window is actually
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java647 final Window window = dialog.getWindow(); in getToken() local
648 if (window == null) { in getToken()
651 return window.getAttributes().token; in getToken()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h67 …CreateWindowSurface, (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *att…

12