Lines Matching refs:window

50  * Session object per process that is interacting with the window manager.
150 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs,
152 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY,
157 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs,
160 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
165 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs,
167 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility,
172 public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs,
174 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
178 public void remove(IWindow window) {
179 mService.removeWindow(this, window);
182 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs,
188 int res = mService.relayoutWindow(this, window, seq, attrs,
197 public void performDeferredDestroy(IWindow window) {
198 mService.performDeferredDestroyWindow(this, window);
201 public boolean outOfMemory(IWindow window) {
202 return mService.outOfMemoryWindow(this, window);
205 public void setTransparentRegion(IWindow window, Region region) {
206 mService.setTransparentRegionWindow(this, window, region);
209 public void setInsets(IWindow window, int touchableInsets,
211 mService.setInsetsWindow(this, window, touchableInsets, contentInsets,
215 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) {
216 mService.getWindowDisplayFrame(this, window, outDisplayFrame);
219 public void finishDrawing(IWindow window) {
221 WindowManagerService.TAG, "IWindow finishDrawing called for " + window);
222 mService.finishDrawingWindow(this, window);
237 public boolean performHapticFeedback(IWindow window, int effectId,
243 mService.windowForClientLocked(this, window, true),
252 public IBinder prepareDrag(IWindow window, int flags,
254 return mService.prepareDragSurface(window, mSurfaceSession, flags,
258 public boolean performDrag(IWindow window, IBinder dragToken,
262 Slog.d(WindowManagerService.TAG, "perform drag: win=" + window + " data=" + data);
276 WindowState callingWin = mService.windowForClientLocked(null, window, false);
278 Slog.w(WindowManagerService.TAG, "Bad requesting window " + window);
282 // !!! TODO: if input is not still focused on the initiating window, fail
283 // the drag initiation (e.g. an alarm window popped up just as the application
286 mService.mH.removeMessages(H.DRAG_START_TIMEOUT, window.asBinder());
337 public void reportDropResult(IWindow window, boolean consumed) {
338 IBinder token = window.asBinder();
354 // We're in a drag, but the wrong window has responded.
355 Slog.w(WindowManagerService.TAG, "Invalid drop-result claim by " + window);
359 // The right window has responded, even if it's no longer around,
362 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, window.asBinder());
363 WindowState callingWin = mService.windowForClientLocked(null, window, false);
365 Slog.w(WindowManagerService.TAG, "Bad result-reporting window " + window);
377 public void dragRecipientEntered(IWindow window) {
379 Slog.d(WindowManagerService.TAG, "Drag into new candidate view @ " + window.asBinder());
383 public void dragRecipientExited(IWindow window) {
385 Slog.d(WindowManagerService.TAG, "Drag from old candidate view @ " + window.asBinder());
389 public void setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) {
394 mService.windowForClientLocked(this, window, true),
402 public void wallpaperOffsetsComplete(IBinder window) {
403 mService.wallpaperOffsetsComplete(window);
406 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y,
412 mService.windowForClientLocked(this, window, true),
420 public void wallpaperCommandComplete(IBinder window, Bundle result) {
421 mService.wallpaperCommandComplete(window, result);
424 public void setUniverseTransform(IBinder window, float alpha, float offx, float offy,
430 mService.windowForClientLocked(this, window, true),
452 WindowManagerService.TAG, "First window added to " + this + ", creating SurfaceSession");
471 WindowManagerService.TAG, "Last window removed from " + this