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

1234

/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp289 EglWindow window; local
290 err = window.createWindow(outputSurface);
294 window.makeCurrent();
296 int width = window.getWidth();
297 int height = window.getHeight();
315 doDrawInfoPage(window, texProgram, textRenderer);
319 window.release();
324 /*static*/ void Overlay::doDrawInfoPage(const EglWindow& window, argument
331 int width = window.getWidth();
332 int height = window
[all...]
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.cpp277 sp<ANativeWindow> window; local
280 window = new Surface(bufferProducer);
283 return mDevice->createStream(window, width, height, format,
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java58 Window window; // Activity's top-level window. field in class:LocalActivityManager.LocalActivityRecord
141 r.window = r.activity.getWindow();
255 * @return Returns the window of the activity. The caller needs to take
256 * care of adding this window to a view hierarchy, and likewise dealing
257 * with removing the old window if the activity has changed.
323 return r.window;
334 return r.window;
354 return r.window;
359 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/jni/
H A Dandroid_view_TextureView.cpp105 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, argument
107 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds);
110 static int32_t native_window_unlockAndPost(ANativeWindow* window) { argument
111 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST);
118 sp<ANativeWindow> window = new Surface(producer, true); local
120 window->incStrong((void*)android_view_TextureView_createNativeWindow);
121 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get()));
130 sp<ANativeWindow> window(nativeWindo
[all...]
H A Dandroid_database_CursorWindow.cpp68 CursorWindow* window; local
69 status_t status = CursorWindow::create(name, cursorWindowSize, &window);
70 if (status || !window) {
76 LOG_WINDOW("nativeInitializeEmpty: window = %p", window);
77 return reinterpret_cast<jlong>(window);
83 CursorWindow* window; local
84 status_t status = CursorWindow::createFromParcel(parcel, &window);
85 if (status || !window) {
90 LOG_WINDOW("nativeInitializeFromBinder: numRows = %d, numColumns = %d, window
96 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
104 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
110 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
122 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
131 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
137 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
143 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
149 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
155 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
170 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
205 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
297 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
336 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
367 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
398 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
416 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
438 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
452 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
466 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
[all...]
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp61 CursorWindow* window = new CursorWindow(name, ashmemFd, local
63 result = window->clear();
67 window->mHeader->freeOffset,
68 window->mHeader->numRows,
69 window->mHeader->numColumns,
70 window->mSize, window->mData);
71 *outCursorWindow = window;
74 delete window;
105 CursorWindow* window local
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp194 EGLSurface EglManager::createSurface(EGLNativeWindowType window) { argument
196 EGLSurface surface = eglCreateWindowSurface(mEglDisplay, mEglConfig, window, NULL);
198 "Failed to create EGLSurface for window %p, eglErr = %s",
199 (void*) window, egl_error_str());
H A DCanvasContext.cpp73 void CanvasContext::setSurface(ANativeWindow* window) { argument
76 mNativeWindow = window;
83 if (window) {
84 mEglSurface = mEglManager.createSurface(window);
114 bool CanvasContext::initialize(ANativeWindow* window) { argument
115 setSurface(window);
122 void CanvasContext::updateSurface(ANativeWindow* window) { argument
123 setSurface(window);
126 bool CanvasContext::pauseSurface(ANativeWindow* window) { argument
H A DRenderProxy.cpp135 CREATE_BRIDGE2(initialize, CanvasContext* context, ANativeWindow* window) { argument
136 return (void*) args->context->initialize(args->window);
139 bool RenderProxy::initialize(const sp<ANativeWindow>& window) { argument
142 args->window = window.get();
146 CREATE_BRIDGE2(updateSurface, CanvasContext* context, ANativeWindow* window) { argument
147 args->context->updateSurface(args->window);
151 void RenderProxy::updateSurface(const sp<ANativeWindow>& window) { argument
154 args->window = window
158 CREATE_BRIDGE2(pauseSurface, CanvasContext* context, ANativeWindow* window) argument
162 pauseSurface(const sp<ANativeWindow>& window) argument
[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"
145 // TODO(renn): Do we need the window bit here?
250 ANativeWindow *window = static_cast<ANativeWindow*>( local
252 native_window_set_buffers_timestamp(window, timestamp);
/frameworks/base/services/core/java/com/android/server/wm/
H A DInputMonitor.java38 // Current window with input focus for keys and other non-touch events. May be null.
52 // Array of window handles to provide to the input dispatcher.
67 /* Notifies the window manager about a broken input channel.
86 /* Notifies the window manager about an application that is not responding.
112 // Figure out whether this window is layered above system windows.
173 // Add a window to our list of input windows.
206 // If we are scaling the window, input coordinates need
228 /* Updates the cached window information provided to the input dispatcher. */
237 // Populate the input window list with information about all of the windows that
240 // out to be difficult because only the native code knows for sure which window
446 pauseDispatchingLw(WindowToken window) argument
457 resumeDispatchingLw(WindowToken window) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp76 sp<ANativeWindow> window = mSurfaceControl->getSurface(); local
77 mEglSurface = createWindowSurface(mEglDisplay, mGlConfig, window);
171 sp<ANativeWindow>& window) const {
172 return eglCreateWindowSurface(display, config, window.get(), NULL);
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp196 ANativeWindow* window, int interval)
198 framebuffer_device_t* fb = getSelf(window)->fbDev;
220 int FramebufferNativeWindow::dequeueBuffer_DEPRECATED(ANativeWindow* window, argument
224 int result = dequeueBuffer(window, buffer, &fenceFd);
235 int FramebufferNativeWindow::dequeueBuffer(ANativeWindow* window, argument
238 FramebufferNativeWindow* self = getSelf(window);
262 int FramebufferNativeWindow::lockBuffer_DEPRECATED(ANativeWindow* /*window*/,
268 int FramebufferNativeWindow::queueBuffer_DEPRECATED(ANativeWindow* window, argument
271 return queueBuffer(window, buffer, -1);
274 int FramebufferNativeWindow::queueBuffer(ANativeWindow* window, argument
195 setSwapInterval( ANativeWindow* window, int interval) argument
293 query(const ANativeWindow* window, int what, int* value) argument
[all...]
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp302 EGLNativeWindowType window = windowSurface.getSurface(); local
303 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
314 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp240 EGLNativeWindowType window = windowSurface.getSurface(); local
241 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
244 window, 0)) == EGL_NO_SURFACE )
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp258 EGLNativeWindowType window = windowSurface.getSurface(); local
259 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
270 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp144 EGLNativeWindowType window = windowSurface.getSurface(); local
145 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
148 window, 0)) == EGL_NO_SURFACE )
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DStreamingProcessor.cpp62 status_t StreamingProcessor::setPreviewWindow(sp<ANativeWindow> window) { argument
71 mPreviewWindow = window;
/frameworks/base/core/java/android/webkit/
H A DWebChromeClient.java105 * Request the host application to create a new window. If the host
107 * this method, create a new WebView to host the window, insert it into the
112 * @param view The WebView from which the request for a new window
114 * @param isDialog True if the new window should be a dialog, rather than
115 * a full-size window.
125 * create a new window, in which case resultMsg should be sent to
146 * any loading in this window and has removed any cross-scripting ability
148 * @param window The WebView that needs to be closed.
150 public void onCloseWindow(WebView window) {} argument
158 * @param message Message to be displayed in the window
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java91 public void setWindowState(int window, int state) { argument
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp410 EGLNativeWindowType window = windowSurface.getSurface(); local
425 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp368 EGLNativeWindowType window = windowSurface.getSurface(); local
369 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
380 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DTransitionHelper.java65 public Object getSharedElementEnterTransition(Window window); argument
67 public Object getSharedElementReturnTransition(Window window); argument
69 public Object getSharedElementExitTransition(Window window); argument
71 public Object getSharedElementReenterTransition(Window window); argument
73 public Object getEnterTransition(Window window); argument
75 public Object getReturnTransition(Window window); argument
77 public Object getExitTransition(Window window); argument
79 public Object getReenterTransition(Window window); argument
145 public Object getSharedElementEnterTransition(Window window) { argument
150 public Object getSharedElementReturnTransition(Window window) { argument
155 getSharedElementExitTransition(Window window) argument
160 getSharedElementReenterTransition(Window window) argument
165 getEnterTransition(Window window) argument
170 getReturnTransition(Window window) argument
175 getExitTransition(Window window) argument
180 getReenterTransition(Window window) argument
317 getSharedElementEnterTransition(Window window) argument
322 getSharedElementReturnTransition(Window window) argument
327 getSharedElementExitTransition(Window window) argument
332 getSharedElementReenterTransition(Window window) argument
337 getEnterTransition(Window window) argument
342 getReturnTransition(Window window) argument
347 getExitTransition(Window window) argument
352 getReenterTransition(Window window) argument
491 getSharedElementEnterTransition(Window window) argument
496 getSharedElementReturnTransition(Window window) argument
501 getSharedElementExitTransition(Window window) argument
506 getSharedElementReenterTransition(Window window) argument
511 getEnterTransition(Window window) argument
516 getReturnTransition(Window window) argument
521 getExitTransition(Window window) argument
526 getReenterTransition(Window window) argument
559 getSharedElementEnterTransition(Window window) argument
563 getSharedElementReturnTransition(Window window) argument
567 getSharedElementExitTransition(Window window) argument
571 getSharedElementReenterTransition(Window window) argument
575 getEnterTransition(Window window) argument
579 getReturnTransition(Window window) argument
583 getExitTransition(Window window) argument
587 getReenterTransition(Window window) argument
[all...]

Completed in 2743 milliseconds

1234