Searched refs:window (Results 26 - 50 of 107) sorted by relevance

12345

/frameworks/base/tests/BrowserTestPlugin/jni/
H A DPluginObject.h79 NPWindow* window; member in struct:PluginObject
/frameworks/native/include/android/
H A Dnative_activity.h159 * Focus has changed in this NativeActivity's window. This is often used,
165 * The drawing window for this native activity has been created. You
166 * can use the given native window object to start drawing.
168 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window);
171 * The drawing window for this native activity has been resized. You should
172 * retrieve the new size from the window and ensure that your rendering in
175 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window);
178 * The drawing window for this native activity needs to be redrawn. To avoid
181 * drawing their window in its current state.
183 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window);
[all...]
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp186 ANativeWindow* window, int interval)
188 framebuffer_device_t* fb = getSelf(window)->fbDev;
210 int FramebufferNativeWindow::dequeueBuffer(ANativeWindow* window, argument
213 FramebufferNativeWindow* self = getSelf(window);
234 int FramebufferNativeWindow::lockBuffer(ANativeWindow* window, argument
237 FramebufferNativeWindow* self = getSelf(window);
250 int FramebufferNativeWindow::queueBuffer(ANativeWindow* window, argument
253 FramebufferNativeWindow* self = getSelf(window);
266 int FramebufferNativeWindow::query(const ANativeWindow* window, argument
269 const FramebufferNativeWindow* self = getSelf(window);
185 setSwapInterval( ANativeWindow* window, int interval) argument
302 perform(ANativeWindow* window, int operation, ...) argument
[all...]
/frameworks/native/include/gui/
H A DSurfaceTextureClient.h64 static int hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer);
65 static int hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer);
66 static int hook_lockBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer);
67 static int hook_perform(ANativeWindow* window, int operation, ...);
68 static int hook_query(const ANativeWindow* window, int what, int* value);
69 static int hook_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer);
70 static int hook_setSwapInterval(ANativeWindow* window, int interval);
188 // window. this is only a hint, actual transform may differ.
/frameworks/base/core/java/android/database/
H A DAbstractWindowedCursor.java22 * The cursor owns the cursor window it uses. When the cursor is closed,
23 * its window is also closed. Likewise, when the window used by the cursor is
24 * changed, its old window is closed. This policy of strict ownership ensures
27 * Subclasses are responsible for filling the cursor window with data during
28 * {@link #onMove(int, int)}, allocating a new cursor window if necessary.
29 * During {@link #requery()}, the existing cursor window should be cleared and
32 * If the contents of the cursor change or become invalid, the old window must be closed
38 * The cursor window owned by this cursor.
150 * Sets a new cursor window fo
162 setWindow(CursorWindow window) argument
[all...]
H A DBulkCursorNative.java64 CursorWindow window = getWindow(startPos);
66 if (window == null) {
70 window.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
166 CursorWindow window = null;
168 window = CursorWindow.newFromParcel(reply);
170 return window;
H A DBulkCursorToCursorAdaptor.java47 if (d.window != null) {
48 setWindow(d.window);
79 // Make sure we have the proper window
88 // We tried to get a window and failed
89 Log.e(TAG, "Unable to get window because the remote process is dead");
93 // Couldn't obtain a window, something is wrong
/frameworks/native/opengl/libagl/
H A Dvertex.cpp56 // [x,y,z]window = vpt * ([x,y,z]clip / clip.w)
57 // [w]window = 1/w
62 // and 1/w (window.w) is in [1/zFar, 1/zNear], usually this
71 v->window.w = rw;
72 v->window.x = gglMulAddx(gglMulx(v->clip.x, rw, 16), m[ 0], m[12], 28);
73 v->window.y = gglMulAddx(gglMulx(v->clip.y, rw, 16), m[ 5], m[13], 28);
74 v->window.x = TRI_FROM_FIXED(v->window.x);
75 v->window.y = TRI_FROM_FIXED(v->window
[all...]
H A Dprimitives.cpp239 m_dx01 = v1->window.x - v0->window.x;
240 m_dy10 = v0->window.y - v1->window.y;
241 m_dx20 = v0->window.x - v2->window.x;
242 m_dy02 = v2->window.y - v0->window.y;
249 m_dx01 = m_dy02 = v1->window.x - v0->window
[all...]
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp89 EGLNativeWindowType window = android_createDisplaySurface(); local
90 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp49 EGLNativeWindowType window = android_createDisplaySurface(); local
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp48 EGLNativeWindowType window = android_createDisplaySurface(); local
56 dpy, configAttribs, window, &config);
70 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.h23 #include <system/window.h>
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h23 #include <system/window.h>
/frameworks/native/include/media/hardware/
H A DHardwareAPI.h22 #include <system/window.h>
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h46 virtual bool Equals(const WindowHandle* window) const {
47 return InternalHandle() == window->InternalHandle();
103 // Add a window surface to the environment. The window is passed in as
104 // an opaque window handle.
124 // Looks for a surface with the associated window handle. Returns -1 if no
125 // surface with such a window was found.
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsDialog.java95 Window window = getWindow();
96 window.requestFeature(Window.FEATURE_NO_TITLE);
97 window.setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
98 window.setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
100 window.setTitle("Recents");
104 final WindowManager.LayoutParams params = window.getAttributes();
107 window.setAttributes(params);
108 window.setFlags(0, WindowManager.LayoutParams.FLAG_DIM_BEHIND);
/frameworks/base/services/java/com/android/server/wm/
H A DInputMonitor.java37 // Current window with input focus for keys and other non-touch events. May be null.
51 // Array of window handles to provide to the input dispatcher.
64 /* Notifies the window manager about a broken input channel.
82 /* Notifies the window manager about an application that is not responding.
152 /* Updates the cached window information provided to the input dispatcher. */
161 // Populate the input window list with information about all of the windows that
164 // out to be difficult because only the native code knows for sure which window
172 Log.d(WindowManagerService.TAG, "Inserting drag window");
179 + "drag window handle.");
194 // Skip this window becaus
361 pauseDispatchingLw(WindowToken window) argument
372 resumeDispatchingLw(WindowToken window) argument
[all...]
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.h17 #include <system/window.h>
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp100 int SurfaceTextureClient::hook_setSwapInterval(ANativeWindow* window, int interval) { argument
101 SurfaceTextureClient* c = getSelf(window);
105 int SurfaceTextureClient::hook_dequeueBuffer(ANativeWindow* window, argument
107 SurfaceTextureClient* c = getSelf(window);
111 int SurfaceTextureClient::hook_cancelBuffer(ANativeWindow* window, argument
113 SurfaceTextureClient* c = getSelf(window);
117 int SurfaceTextureClient::hook_lockBuffer(ANativeWindow* window, argument
119 SurfaceTextureClient* c = getSelf(window);
123 int SurfaceTextureClient::hook_queueBuffer(ANativeWindow* window, argument
125 SurfaceTextureClient* c = getSelf(window);
129 hook_query(const ANativeWindow* window, int what, int* value) argument
135 hook_perform(ANativeWindow* window, int operation, ...) argument
[all...]
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp138 EGLNativeWindowType window = android_createDisplaySurface(); local
144 dpy, configAttribs, window, &config);
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp48 EGLNativeWindowType window = android_createDisplaySurface(); local
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp45 EGLNativeWindowType window = android_createDisplaySurface(); local
51 dpy, configAttribs, window, &config);
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp474 static void disconnectWindow(const sp<ANativeWindow>& window) { argument
475 if (window != 0) {
476 status_t result = native_window_api_disconnect(window.get(),
532 const sp<ANativeWindow>& window) {
543 if (window != 0) {
544 result = native_window_api_connect(window.get(), NATIVE_WINDOW_API_CAMERA);
554 if (window != 0) {
555 native_window_set_scaling_mode(window.get(),
557 native_window_set_buffers_transform(window.get(), mOrientation);
558 result = mHardware->setPreviewWindow(window);
531 setPreviewWindow(const sp<IBinder>& binder, const sp<ANativeWindow>& window) argument
593 sp<ANativeWindow> window; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp573 static CopyRowResult copyRow(JNIEnv* env, CursorWindow* window, argument
576 status_t status = window->allocRow();
583 // Pack the row into the window.
595 status = window->putString(addedRows, i, text, sizeIncludingNull);
607 status = window->putLong(addedRows, i, value);
618 status = window->putDouble(addedRows, i, value);
630 status = window->putBlob(addedRows, i, blob, size);
641 status = window->putNull(addedRows, i);
652 ALOGE("Unknown column type when filling database window");
653 throw_sqlite3_exception(env, "Unknown column type when filling window");
671 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
[all...]

Completed in 534 milliseconds

12345