Searched defs:window (Results 26 - 50 of 70) sorted by relevance

123

/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java57 Window window; // Activity's top-level window. field in class:LocalActivityManager.LocalActivityRecord
140 r.window = r.activity.getWindow();
254 * @return Returns the window of the activity. The caller needs to take
255 * care of adding this window to a view hierarchy, and likewise dealing
256 * with removing the old window if the activity has changed.
322 return r.window;
333 return r.window;
353 return r.window;
358 win = r.window;
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteSession.java802 * @param window The cursor window to clear and fill.
803 * @param startPos The start position for filling the window.
804 * @param requiredPos The position of a row that MUST be in the window.
808 * regagless of whether they fit in the window.
820 CursorWindow window, int startPos, int requiredPos, boolean countAllRows,
825 if (window == null) {
826 throw new IllegalArgumentException("window must not be null.");
830 window.clear();
837 window, startPo
819 executeForCursorWindow(String sql, Object[] bindArgs, CursorWindow window, int startPos, int requiredPos, boolean countAllRows, int connectionFlags, CancellationSignal cancellationSignal) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebChromeClient.java98 * Request the host application to create a new window. If the host
100 * this method, create a new WebView to host the window, insert it into the
105 * @param view The WebView from which the request for a new window
107 * @param isDialog True if the new window should be a dialog, rather than
108 * a full-size window.
118 * create a new window, in which case resultMsg should be sent to
139 * any loading in this window and has removed any cross-scripting ability
141 * @param window The WebView that needs to be closed.
143 public void onCloseWindow(WebView window) {} argument
151 * @param message Message to be displayed in the window
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp92 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, argument
94 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds);
97 static int32_t native_window_unlockAndPost(ANativeWindow* window) { argument
98 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST);
105 sp<ANativeWindow> window = new SurfaceTextureClient(surfaceTexture); local
107 window->incStrong(0);
108 SET_INT(textureView, gTextureViewClassInfo.nativeWindow, jint(window.get()));
117 sp<ANativeWindow> window(nativeWindo
[all...]
H A Dandroid_database_CursorWindow.cpp67 CursorWindow* window; local
68 status_t status = CursorWindow::create(name, cursorWindowSize, &window);
69 if (status || !window) {
75 LOG_WINDOW("nativeInitializeEmpty: window = %p", window);
76 return reinterpret_cast<jint>(window);
82 CursorWindow* window; local
83 status_t status = CursorWindow::createFromParcel(parcel, &window);
84 if (status || !window) {
89 LOG_WINDOW("nativeInitializeFromBinder: numRows = %d, numColumns = %d, window
95 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
103 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
109 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
121 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
130 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
136 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
142 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
148 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
154 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
169 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
204 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
296 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
335 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
366 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
397 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
415 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
437 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
451 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
465 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp321 sp<ANativeWindow> window; local
329 window = android_Surface_getNativeWindow(_env, native_window);
330 if (window == NULL)
334 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base);
348 sp<ANativeWindow> window; local
358 window = new SurfaceTextureClient(surfaceTexture);
359 if (window == NULL)
363 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base);
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp60 CursorWindow* window = new CursorWindow(name, ashmemFd, local
62 result = window->clear();
66 window->mHeader->freeOffset,
67 window->mHeader->numRows,
68 window->mHeader->numColumns,
69 window->mSize, window->mData);
70 *outCursorWindow = window;
73 delete window;
104 CursorWindow* window local
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp29 #include <system/window.h>
42 NativeWindowHandle(ANativeWindow* window) : window_(window) { argument
142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); local
143 if (!window) {
144 ALOGE("GLEnvironment: Error creating window!");
148 NativeWindowHandle* winHandle = new NativeWindowHandle(window);
175 window,
179 ALOGE("GLEnvironment: Error creating window surface!");
204 ANativeWindow* window local
295 sp<ANativeWindow> window = surfaceTC; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp23 #include "system/window.h"
143 // TODO(renn): Do we need the window bit here?
245 ANativeWindow *window = static_cast<ANativeWindow*>( local
247 native_window_set_buffers_timestamp(window, timestamp);
/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...]
H A DSession.java47 * Session object per process that is interacting with the window manager.
137 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
139 return mService.addWindow(this, window, seq, attrs, viewVisibility, outContentInsets,
143 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
145 return mService.addWindow(this, window, seq, attrs, viewVisibility, outContentInsets, null);
148 public void remove(IWindow window) { argument
149 mService.removeWindow(this, window);
152 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
158 int res = mService.relayoutWindow(this, window, seq, attrs,
167 public void performDeferredDestroy(IWindow window) { argument
171 outOfMemory(IWindow window) argument
175 setTransparentRegion(IWindow window, Region region) argument
179 setInsets(IWindow window, int touchableInsets, Rect contentInsets, Rect visibleInsets, Region touchableArea) argument
185 getDisplayFrame(IWindow window, Rect outDisplayFrame) argument
189 finishDrawing(IWindow window) argument
207 performHapticFeedback(IWindow window, int effectId, boolean always) argument
222 prepareDrag(IWindow window, int flags, int width, int height, Surface outSurface) argument
228 performDrag(IWindow window, IBinder dragToken, float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) argument
305 reportDropResult(IWindow window, boolean consumed) argument
345 dragRecipientEntered(IWindow window) argument
351 dragRecipientExited(IWindow window) argument
357 setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) argument
370 wallpaperOffsetsComplete(IBinder window) argument
374 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
388 wallpaperCommandComplete(IBinder window, Bundle result) argument
[all...]
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp40 NPError NPP_SetWindow(NPP instance, NPWindow* window);
179 NPError NPP_SetWindow(NPP instance, NPWindow* window) argument
185 obj->window = window;
/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/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp301 EGLNativeWindowType window = android_createDisplaySurface(); local
302 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
313 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp239 EGLNativeWindowType window = android_createDisplaySurface(); local
240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
243 window, 0)) == EGL_NO_SURFACE )
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp257 EGLNativeWindowType window = android_createDisplaySurface(); local
258 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
269 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp143 EGLNativeWindowType window = android_createDisplaySurface(); local
144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
147 window, 0)) == EGL_NO_SURFACE )
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java66 public boolean performHapticFeedback(IWindow window, int effectId, boolean always) { argument
79 public void performDeferredDestroy(IWindow window) { argument
84 public boolean outOfMemory(IWindow window) throws RemoteException { argument
89 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) { argument
109 public void setInsets(IWindow window, int touchable, Rect contentInsets, argument
115 public IBinder prepareDrag(IWindow window, int flags, argument
123 public boolean performDrag(IWindow window, IBinder dragToken, argument
132 public void reportDropResult(IWindow window, boolean consumed) throws RemoteException { argument
137 public void dragRecipientEntered(IWindow window) throws RemoteException { argument
142 public void dragRecipientExited(IWindow window) throw argument
147 setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) argument
153 wallpaperOffsetsComplete(IBinder window) argument
158 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
165 wallpaperCommandComplete(IBinder window, Bundle result) argument
[all...]
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp409 EGLNativeWindowType window = android_createDisplaySurface(); local
424 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp367 EGLNativeWindowType window = android_createDisplaySurface(); local
368 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
379 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DDisplayHardware.cpp159 ANativeWindow const * const window = mNativeWindow.get(); local
160 window->query(window, NATIVE_WINDOW_FORMAT, &format);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp105 sp<ANativeWindow> window = mSurfaceControl->getSurface(); local
107 window.get(), NULL);
113 sp<ANativeWindow> window = stc; local
116 window.get(), NULL);
820 // created with the native window handle
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java106 * window with the contents of the cursor, otherwise null.
108 * @return The pre-filled window that backs this cursor, or null if none.
227 public void fillWindow(int position, CursorWindow window) { argument
228 DatabaseUtils.cursorFillWindow(this, position, window);
H A DCursorWindow.java36 * receives a read-only view of the cursor window. Typically the cursor window
44 /** The cursor window size. resource xml file specifies the value in kB.
91 * Creates a new empty cursor window and gives it a name.
97 * @param name The name of the cursor window, or null if none.
104 throw new CursorWindowAllocationException("Cursor window allocation of " +
112 * Creates a new empty cursor window.
118 * @param localWindow True if this window will be used in this process only,
133 throw new CursorWindowAllocationException("Cursor window could not be "
164 * Gets the name of this cursor window, neve
718 recordNewWindow(int pid, int window) argument
727 recordClosingOfWindow(int window) argument
[all...]
/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...]

Completed in 823 milliseconds

123