Lines Matching refs:window

52  * Session object per process that is interacting with the window manager.
152 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs,
154 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY,
159 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs,
162 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
167 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs,
169 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility,
174 public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs,
176 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
180 public void remove(IWindow window) {
181 mService.removeWindow(this, window);
184 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs,
190 int res = mService.relayoutWindow(this, window, seq, attrs,
199 public void performDeferredDestroy(IWindow window) {
200 mService.performDeferredDestroyWindow(this, window);
203 public boolean outOfMemory(IWindow window) {
204 return mService.outOfMemoryWindow(this, window);
207 public void setTransparentRegion(IWindow window, Region region) {
208 mService.setTransparentRegionWindow(this, window, region);
211 public void setInsets(IWindow window, int touchableInsets,
213 mService.setInsetsWindow(this, window, touchableInsets, contentInsets,
217 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) {
218 mService.getWindowDisplayFrame(this, window, outDisplayFrame);
221 public void finishDrawing(IWindow window) {
223 WindowManagerService.TAG, "IWindow finishDrawing called for " + window);
224 mService.finishDrawingWindow(this, window);
239 public boolean performHapticFeedback(IWindow window, int effectId,
245 mService.windowForClientLocked(this, window, true),
254 public IBinder prepareDrag(IWindow window, int flags,
256 return mService.prepareDragSurface(window, mSurfaceSession, flags,
260 public boolean performDrag(IWindow window, IBinder dragToken,
264 Slog.d(WindowManagerService.TAG, "perform drag: win=" + window + " data=" + data);
278 WindowState callingWin = mService.windowForClientLocked(null, window, false);
280 Slog.w(WindowManagerService.TAG, "Bad requesting window " + window);
284 // !!! TODO: if input is not still focused on the initiating window, fail
285 // the drag initiation (e.g. an alarm window popped up just as the application
288 mService.mH.removeMessages(H.DRAG_START_TIMEOUT, window.asBinder());
339 public void reportDropResult(IWindow window, boolean consumed) {
340 IBinder token = window.asBinder();
356 // We're in a drag, but the wrong window has responded.
357 Slog.w(WindowManagerService.TAG, "Invalid drop-result claim by " + window);
361 // The right window has responded, even if it's no longer around,
364 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, window.asBinder());
365 WindowState callingWin = mService.windowForClientLocked(null, window, false);
367 Slog.w(WindowManagerService.TAG, "Bad result-reporting window " + window);
379 public void dragRecipientEntered(IWindow window) {
381 Slog.d(WindowManagerService.TAG, "Drag into new candidate view @ " + window.asBinder());
385 public void dragRecipientExited(IWindow window) {
387 Slog.d(WindowManagerService.TAG, "Drag from old candidate view @ " + window.asBinder());
391 public void setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) {
396 mService.windowForClientLocked(this, window, true),
404 public void wallpaperOffsetsComplete(IBinder window) {
405 mService.wallpaperOffsetsComplete(window);
408 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y,
414 mService.windowForClientLocked(this, window, true),
422 public void wallpaperCommandComplete(IBinder window, Bundle result) {
423 mService.wallpaperCommandComplete(window, result);
426 public void setUniverseTransform(IBinder window, float alpha, float offx, float offy,
432 mService.windowForClientLocked(this, window, true),
451 public IWindowId getWindowId(IBinder window) {
452 return mService.getWindowId(window);
458 WindowManagerService.TAG, "First window added to " + this + ", creating SurfaceSession");
477 WindowManagerService.TAG, "Last window removed from " + this