Home
last modified time | relevance | path

Searched refs:win (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java130 WindowState win = allAppWindows.get(i); in sendAppVisibilityToClients() local
131 if (win == startingWindow && clientHidden) { in sendAppVisibilityToClients()
137 "Setting visibility of " + win + ": " + (!clientHidden)); in sendAppVisibilityToClients()
138 win.mClient.dispatchAppVisibility(!clientHidden); in sendAppVisibilityToClients()
158 WindowState win = allAppWindows.get(i); in updateReportedVisibilityLocked() local
159 if (win == startingWindow || win.mAppFreezing in updateReportedVisibilityLocked()
160 || win.mViewVisibility != View.VISIBLE in updateReportedVisibilityLocked()
161 || win.mAttrs.type == TYPE_APPLICATION_STARTING in updateReportedVisibilityLocked()
162 || win.mDestroying) { in updateReportedVisibilityLocked()
166 Slog.v(WindowManagerService.TAG, "Win " + win + ": isDrawn=" in updateReportedVisibilityLocked()
[all …]
DWindowManagerService.java948 private int findIdxBasedOnAppTokens(WindowState win) { in findIdxBasedOnAppTokens() argument
949 WindowList windows = win.getWindowList(); in findIdxBasedOnAppTokens()
952 if(wentry.mAppToken == win.mAppToken) { in findIdxBasedOnAppTokens()
969 final WindowState win = token.windows.get(i); in getTokenWindowsOnDisplay() local
970 if (win.getDisplayContent() == displayContent) { in getTokenWindowsOnDisplay()
971 windowList.add(win); in getTokenWindowsOnDisplay()
998 private int addAppWindowToListLocked(final WindowState win) { in addAppWindowToListLocked() argument
999 final IWindow client = win.mClient; in addAppWindowToListLocked()
1000 final WindowToken token = win.mToken; in addAppWindowToListLocked()
1001 final DisplayContent displayContent = win.getDisplayContent(); in addAppWindowToListLocked()
[all …]
DWindowAnimator.java229 WindowState win = windows.get(i); in updateWindowsLocked() local
230 if (!mPolicy.isKeyguardHostWindow(win.mAttrs)) { in updateWindowsLocked()
233 final WindowStateAnimator winAnimator = win.mWinAnimator; in updateWindowsLocked()
234 if ((win.mAttrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) { in updateWindowsLocked()
260 WindowState win = windows.get(i); in updateWindowsLocked() local
261 WindowStateAnimator winAnimator = win.mWinAnimator; in updateWindowsLocked()
262 final int flags = win.mAttrs.flags; in updateWindowsLocked()
269 Slog.v(TAG, win + ": wasAnimating=" + wasAnimating + in updateWindowsLocked()
273 if (wasAnimating && !winAnimator.mAnimating && mService.mWallpaperTarget == win) { in updateWindowsLocked()
283 if (mPolicy.isForceHiding(win.mAttrs)) { in updateWindowsLocked()
[all …]
DDisplayContent.java236 final WindowState win = windows.get(i); in setTouchExcludeRegion() local
237 final TaskStack stack = win.getStack(); in setTouchExcludeRegion()
238 if (win.isVisibleLw() && stack != null && stack != focusedStack) { in setTouchExcludeRegion()
239 mTmpRect.set(win.mVisibleFrame); in setTouchExcludeRegion()
240 mTmpRect.intersect(win.mVisibleInsets); in setTouchExcludeRegion()
249 final WindowState win = windows.get(i); in switchUserStacks() local
250 if (win.isHiddenFromUserLocked()) { in switchUserStacks()
252 + win + ", attrs=" + win.mAttrs.type + ", belonging to " in switchUserStacks()
253 + win.mOwnerUid); in switchUserStacks()
254 win.hideLw(false); in switchUserStacks()
DDragState.java430 private static DragEvent obtainDragEvent(WindowState win, int action, in obtainDragEvent() argument
433 float winX = x - win.mFrame.left; in obtainDragEvent()
434 float winY = y - win.mFrame.top; in obtainDragEvent()
435 if (win.mEnforceSizeCompat) { in obtainDragEvent()
436 winX *= win.mGlobalScale; in obtainDragEvent()
437 winY *= win.mGlobalScale; in obtainDragEvent()
DTaskStack.java106 final WindowState win = windows.get(winNdx); in resizeWindows() local
107 if (!resizingWindows.contains(win)) { in resizeWindows()
109 "setBounds: Resizing " + win); in resizeWindows()
110 resizingWindows.add(win); in resizeWindows()
112 win.mUnderStatusBar = underStatusBar; in resizeWindows()
DWindowState.java1113 WindowState win = mService.windowForClientLocked(mSession, mClient, false); in binderDied() local
1114 Slog.i(TAG, "WIN DEATH: " + win); in binderDied()
1115 if (win != null) { in binderDied()
1116 mService.removeWindowLocked(mSession, win); in binderDied()
1271 WindowState win = this; in isHiddenFromUserLocked() local
1272 while (win.mAttachedWindow != null) { in isHiddenFromUserLocked()
1273 win = win.mAttachedWindow; in isHiddenFromUserLocked()
1275 if (win.mAttrs.type < WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW in isHiddenFromUserLocked()
1276 && win.mAppToken != null && win.mAppToken.showWhenLocked) { in isHiddenFromUserLocked()
1279 final DisplayContent displayContent = win.getDisplayContent(); in isHiddenFromUserLocked()
[all …]
DWindowStateAnimator.java181 public WindowStateAnimator(final WindowState win) { in WindowStateAnimator() argument
182 final WindowManagerService service = win.mService; in WindowStateAnimator()
188 final DisplayContent displayContent = win.getDisplayContent(); in WindowStateAnimator()
198 mWin = win; in WindowStateAnimator()
199 mAttachedWinAnimator = win.mAttachedWindow == null in WindowStateAnimator()
200 ? null : win.mAttachedWindow.mWinAnimator; in WindowStateAnimator()
201 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator; in WindowStateAnimator()
202 mSession = win.mSession; in WindowStateAnimator()
203 mAttrType = win.mAttrs.type; in WindowStateAnimator()
204 mIsWallpaper = win.mIsWallpaper; in WindowStateAnimator()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java6 Object win, in _eglCreateWindowSurface() argument
14 Object win, in _eglCreateWindowSurfaceTexture() argument
21 Object win, in eglCreateWindowSurface() argument
26 if (win instanceof SurfaceView) { in eglCreateWindowSurface()
27 SurfaceView surfaceView = (SurfaceView)win; in eglCreateWindowSurface()
29 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface()
30 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface()
32 } else if (win instanceof Surface) { in eglCreateWindowSurface()
33 sur = (Surface) win; in eglCreateWindowSurface()
39 } else if (win instanceof SurfaceTexture) { in eglCreateWindowSurface()
[all …]
DeglCreateWindowSurface.cpp4 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref,… in android_eglCreateWindowSurface() argument
29 if (win == NULL) { in android_eglCreateWindowSurface()
37 window = android::android_view_Surface_getNativeWindow(_env, win); in android_eglCreateWindowSurface()
81 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref,… in android_eglCreateWindowSurfaceTexture() argument
107 if (win == NULL) { in android_eglCreateWindowSurfaceTexture()
114 producer = android::SurfaceTexture_getProducer(_env, win); in android_eglCreateWindowSurfaceTexture()
/frameworks/base/opengl/java/android/opengl/
DEGL14.java231 Object win, in _eglCreateWindowSurface() argument
239 Object win, in _eglCreateWindowSurfaceTexture() argument
246 Object win, in eglCreateWindowSurface() argument
251 if (win instanceof SurfaceView) { in eglCreateWindowSurface()
252 SurfaceView surfaceView = (SurfaceView)win; in eglCreateWindowSurface()
254 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface()
255 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface()
257 } else if (win instanceof Surface) { in eglCreateWindowSurface()
258 sur = (Surface) win; in eglCreateWindowSurface()
264 } else if (win instanceof SurfaceTexture) { in eglCreateWindowSurface()
[all …]
DGLU.java149 int[] view, int viewOffset, float[] win, int winOffset) { in gluProject() argument
173 win[winOffset] = in gluProject()
177 win[winOffset + 1] = in gluProject()
180 win[winOffset + 2] = (scratch[V2_OFFSET + 2] * rw + 1.0f) * 0.5f; in gluProject()
/frameworks/native/opengl/libs/EGL/
Degl_object.cpp65 EGLNativeWindowType win, EGLSurface surface, in egl_surface_t() argument
67 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx) in egl_surface_t()
69 if (win) { in egl_surface_t()
75 ANativeWindow* const window = win.get(); in ~egl_surface_t()
Degl_object.h133 EGLNativeWindowType win, EGLSurface surface,
138 sp<ANativeWindow> win; variable
/frameworks/base/policy/src/com/android/internal/policy/impl/
DBarController.java73 public void setWindow(WindowState win) { in setWindow() argument
74 mWin = win; in setWindow()
107 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw() argument
109 if (win != null && (win.getAttrs().privateFlags in applyTranslucentFlagLw()
111 int fl = PolicyControl.getWindowFlags(win, null); in applyTranslucentFlagLw()
144 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { in computeStateLw() argument
145 if (win.hasDrawnLw()) { in computeStateLw()
146 final boolean vis = win.isVisibleLw(); in computeStateLw()
147 final boolean anim = win.isAnimatingLw(); in computeStateLw()
DPolicyControl.java65 public static int getSystemUiVisibility(WindowState win, LayoutParams attrs) { in getSystemUiVisibility() argument
66 attrs = attrs != null ? attrs : win.getAttrs(); in getSystemUiVisibility()
67 int vis = win != null ? win.getSystemUiVisibility() : attrs.systemUiVisibility; in getSystemUiVisibility()
85 public static int getWindowFlags(WindowState win, LayoutParams attrs) { in getWindowFlags() argument
86 attrs = attrs != null ? attrs : win.getAttrs(); in getWindowFlags()
99 public static int adjustClearableFlags(WindowState win, int clearableFlags) { in adjustClearableFlags() argument
100 final LayoutParams attrs = win != null ? win.getAttrs() : null; in adjustClearableFlags()
DPhoneWindowManager.java1735 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { in canBeForceHidden() argument
1783 Window win = PolicyManager.makeNewWindow(context); in addStartingWindow() local
1784 final TypedArray ta = win.getWindowStyle(); in addStartingWindow()
1793 win.setTitle(r.getText(labelRes, nonLocalizedLabel)); in addStartingWindow()
1795 win.setType( in addStartingWindow()
1801 win.setFlags( in addStartingWindow()
1811 win.setDefaultIcon(icon); in addStartingWindow()
1812 win.setDefaultLogo(logo); in addStartingWindow()
1814 win.setLayout(WindowManager.LayoutParams.MATCH_PARENT, in addStartingWindow()
1817 final WindowManager.LayoutParams params = win.getAttributes(); in addStartingWindow()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java96 Window win = mDialog.getWindow(); in onKey() local
97 if (win != null) { in onKey()
98 View decor = win.getDecorView(); in onKey()
108 Window win = mDialog.getWindow(); in onKey() local
109 if (win != null) { in onKey()
110 View decor = win.getDecorView(); in onKey()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuDialogHelper.java99 Window win = mDialog.getWindow(); in onKey() local
100 if (win != null) { in onKey()
101 View decor = win.getDecorView(); in onKey()
111 Window win = mDialog.getWindow(); in onKey() local
112 if (win != null) { in onKey()
113 View decor = win.getDecorView(); in onKey()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java638 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); in canBeForceHidden() argument
701 public int prepareAddWindowLw(WindowState win, in prepareAddWindowLw() argument
710 public void removeWindowLw(WindowState win); in removeWindowLw() argument
724 public int selectAnimationLw(WindowState win, int transit); in selectAnimationLw() argument
807 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); in interceptKeyBeforeDispatching() argument
823 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); in dispatchUnhandledKey() argument
861 public void layoutWindowLw(WindowState win, WindowState attached); in layoutWindowLw() argument
905 public void applyPostLayoutPolicyLw(WindowState win, in applyPostLayoutPolicyLw() argument
1141 public boolean performHapticFeedbackLw(WindowState win, int effectId, boolean always); in performHapticFeedbackLw() argument
DViewConfiguration.java297 final WindowManager win = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); in ViewConfiguration() local
298 final Display display = win.getDefaultDisplay(); in ViewConfiguration()
/frameworks/base/native/android/
Dnative_window.cpp28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); in ANativeWindow_fromSurface() local
29 if (win != NULL) { in ANativeWindow_fromSurface()
30 win->incStrong((void*)ANativeWindow_acquire); in ANativeWindow_fromSurface()
32 return win.get(); in ANativeWindow_fromSurface()
/frameworks/native/services/surfaceflinger/
DLayer.cpp269 static Rect reduce(const Rect& win, const Region& exclude) { in reduce() argument
271 return win; in reduce()
274 return win.reduce(exclude.getBounds()); in reduce()
276 return Region(win).subtract(exclude).getBounds(); in reduce()
281 Rect win(s.active.w, s.active.h); in computeBounds() local
283 win.intersect(s.active.crop, &win); in computeBounds()
286 return reduce(win, s.activeTransparentRegion); in computeBounds()
506 Rect win(s.active.w, s.active.h); in getPosition() local
508 win.intersect(s.active.crop, &win); in getPosition()
511 Rect bounds = reduce(win, s.activeTransparentRegion); in getPosition()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java131 Window win = getWindow();
132 win.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
134 Log.d(TAG, "flags=" + Integer.toHexString(win.getAttributes().flags));
139 Window win = getWindow();
140 win.setFlags(0, WindowManager.LayoutParams.FLAG_FULLSCREEN);
141 Log.d(TAG, "flags=" + Integer.toHexString(win.getAttributes().flags));
/frameworks/base/core/java/android/app/
DLocalActivityManager.java357 Window win; in performDestroy() local
358 win = r.window; in performDestroy()
370 return win; in performDestroy()
387 Window win = null; in destroyActivity() local
389 win = performDestroy(r, finish); in destroyActivity()
395 return win; in destroyActivity()

12