Lines Matching defs:window

27 #include <android/window.h>
132 DBG_PRINT(("RenderThread::processMessage(): message = { %s, %p }\n", getMessageTypeName(message.type), message.payload.window));
140 // \note While Platform / WindowRegistry are currently multi-window -capable,
142 // forces us to do some quick checking and limit system to one window here.
153 // waits for that first resize before it considers the window ready for
156 // However subsequent events in the framework may cause the window to be
162 // set the window state back to READY and process the window creation here
168 onWindowCreated(message.payload.window);
170 m_window = message.payload.window;
174 if (m_window != message.payload.window)
175 throw InternalError("Got onNativeWindowResized() event targeting different window");
177 // Record that we've the first resize event, in case the window is
183 // Got first resize event, window is ready for use.
185 onWindowCreated(message.payload.window);
188 onWindowResized(message.payload.window);
195 if (m_window != message.payload.window)
196 throw InternalError("Got onNativeWindowDestroyed() event targeting different window");
202 onWindowDestroyed(message.payload.window);
239 // Block until we are not paused and window is ready.
258 // \todo [2013-05-08 pyry] What if system fills up the input queue before we have window ready?
355 void RenderActivity::onNativeWindowCreated (ANativeWindow* window)
358 m_thread->enqueue(Message(MESSAGE_WINDOW_CREATED, window));
361 void RenderActivity::onNativeWindowResized (ANativeWindow* window)
364 m_thread->enqueue(Message(MESSAGE_WINDOW_RESIZED, window));
367 void RenderActivity::onNativeWindowRedrawNeeded (ANativeWindow* window)
369 DE_UNREF(window);
372 void RenderActivity::onNativeWindowDestroyed (ANativeWindow* window)
375 m_thread->enqueue(Message(MESSAGE_WINDOW_DESTROYED, window));