Searched refs:win (Results 1 - 25 of 40) sorted by last modified time

12

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuDialogHelper.java95 Window win = mDialog.getWindow();
96 if (win != null) {
97 View decor = win.getDecorView();
107 Window win = mDialog.getWindow();
108 if (win != null) {
109 View decor = win.getDecorView();
/frameworks/native/opengl/include/EGL/
H A Degl.h266 EGLNativeWindowType win,
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp461 ALOGE("eglCreateWindowSurface: native_window_api_connect (win=%p) "
1111 native_window_set_surface_damage(s->win.get(), androidRects.array(),
1202 int err = native_window_set_auto_refresh(s->win.get(),
1779 native_window_set_buffers_timestamp(s->win.get(), time);
H A Degl_object.cpp68 EGLNativeWindowType win, EGLSurface surface,
70 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx),
73 if (win) {
79 ANativeWindow* const window = win.get();
87 ANativeWindow* const window = win.get();
67 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, egl_connection_t const* cnx) argument
H A Degl_object.h135 EGLNativeWindowType win, EGLSurface surface,
140 sp<ANativeWindow> win; member in class:android::egl_surface_t
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp1 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
43 if (win == NULL) {
51 window = android::android_view_Surface_getNativeWindow(_env, win);
74 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
77 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
103 if (win == NULL) {
110 producer = android::SurfaceTexture_getProducer(_env, win);
3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
76 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
H A DeglCreateWindowSurface.java1 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
6 Object win,
14 Object win,
21 Object win,
26 if (win instanceof SurfaceView) {
27 SurfaceView surfaceView = (SurfaceView)win;
29 } else if (win instanceof SurfaceHolder) {
30 SurfaceHolder holder = (SurfaceHolder)win;
32 } else if (win instanceof Surface) {
33 sur = (Surface) win;
3 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
11 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
19 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp366 static Rect reduce(const Rect& win, const Region& exclude) { argument
368 return win;
371 return win.reduce(exclude.getBounds());
373 return Region(win).subtract(exclude).getBounds();
383 Rect win(s.active.w, s.active.h);
386 win.intersect(s.crop, &win);
389 return reduce(win, activeTransparentRegion);
790 Rect win(s.active.w, s.active.h);
792 win
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DBarController.java78 public void setWindow(WindowState win) { argument
79 mWin = win;
120 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { argument
122 if (win != null && (win.getAttrs().privateFlags
124 int fl = PolicyControl.getWindowFlags(win, null);
163 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument
164 if (win.isDrawnLw()) {
165 final boolean vis = win.isVisibleLw();
166 final boolean anim = win
[all...]
H A DPhoneWindowManager.java2521 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument
2531 return windowTypeToLayerLw(win.getBaseType())
2588 final PhoneWindow win = new PhoneWindow(context);
2589 win.setIsStartingWindow(true);
2594 win.setTitle(label, true);
2596 win.setTitle(nonLocalizedLabel, false);
2599 win.setType(
2615 win.setFlags(
2625 win.setDefaultIcon(icon);
2626 win
2704 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
2751 removeWindowLw(WindowState win) argument
2769 selectAnimationLw(WindowState win, int transit) argument
2824 selectDockedDividerAnimationLw(WindowState win, int transit) argument
2966 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
3451 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
3517 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument
4210 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument
4287 canReceiveInput(WindowState win) argument
4298 layoutWindowLw(WindowState win, WindowState attached) argument
4819 offsetInputMethodWindowLw(WindowState win) argument
4838 offsetVoiceInputWindowLw(WindowState win) argument
4880 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
7169 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
7321 drawsSystemBarBackground(WindowState win) argument
7325 forcesDrawStatusBarBackground(WindowState win) argument
7330 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument
[all...]
H A DPolicyControl.java65 public static int getSystemUiVisibility(WindowState win, LayoutParams attrs) { argument
66 attrs = attrs != null ? attrs : win.getAttrs();
67 int vis = win != null ? win.getSystemUiVisibility() : attrs.systemUiVisibility;
85 public static int getWindowFlags(WindowState win, LayoutParams attrs) { argument
86 attrs = attrs != null ? attrs : win.getAttrs();
99 public static int adjustClearableFlags(WindowState win, int clearableFlags) { argument
100 final LayoutParams attrs = win != null ? win.getAttrs() : null;
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowToken.java157 WindowState win = allAppWindows.get(i);
158 if (win == startingWindow && clientHidden) {
164 "Setting visibility of " + win + ": " + (!clientHidden));
165 win.mClient.dispatchAppVisibility(!clientHidden);
178 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { argument
186 + win.mToken + ": first real window is shown, no animation");
211 WindowState win = allAppWindows.get(i);
212 if (win == startingWindow || win.mAppFreezing
213 || win
[all...]
H A DDisplayContent.java299 final WindowState win = task.getTopVisibleAppMainWindow();
300 if (win == null) {
425 WindowState win = mTapExcludedWindows.get(i);
426 win.getTouchableRegion(mTmpRegion);
442 final WindowState win = windows.get(i);
443 if (win.isHiddenFromUserLocked()) {
444 if (DEBUG_VISIBILITY) Slog.w(TAG_WM, "user changing, hiding " + win
445 + ", attrs=" + win.mAttrs.type + ", belonging to " + win.mOwnerUid);
446 win
[all...]
H A DDragState.java521 Slog.w(TAG_WM, "can't send drop notification to win " + touchedWin);
532 private static DragEvent obtainDragEvent(WindowState win, int action, argument
537 final float winX = win.translateToWindowX(x);
538 final float winY = win.translateToWindowY(y);
H A DTask.java182 final WindowState win = windows.get(winNdx);
183 win.notifyMovedInStack();
367 final WindowState win = windows.get(winNdx);
368 win.mXOffset = xOffset;
369 win.mYOffset = yOffset;
374 void applyScrollToWindowIfNeeded(final WindowState win) { argument
376 win.mXOffset = mBounds.left;
377 win.mYOffset = mBounds.top;
462 final WindowState win = token.findMainWindow();
463 if (win
[all...]
H A DTaskPositioner.java337 void startDragLocked(WindowState win, boolean resize, float startX, float startY) { argument
339 Slog.d(TAG, "startDragLocked: win=" + win + ", resize=" + resize
343 mTask = win.getTask();
357 // multiple app windows. Don't use any bounds from win itself as it
H A DWallpaperController.java122 boolean isWallpaperTarget(WindowState win) { argument
123 return win == mWallpaperTarget;
126 boolean isBelowWallpaperTarget(WindowState win) { argument
127 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer;
456 void setAnimLayerAdjustment(WindowState win, int adj) { argument
457 if (win != mWallpaperTarget || mLowerWallpaperTarget != null) {
468 if (DEBUG_LAYERS || DEBUG_WALLPAPER) Slog.v(TAG, "setWallpaper win "
711 if (DEBUG_LAYERS || DEBUG_WALLPAPER_LIGHT) Slog.v(TAG, "adjustWallpaper win "
907 void setTopWallpaper(WindowState win, int index) { argument
908 topWallpaper = win;
912 setWallpaperTarget(WindowState win, int index) argument
[all...]
H A DWindowAnimator.java212 private boolean shouldForceHide(WindowState win) { argument
224 allowWhenLocked |= (win.mIsImWindow || imeTarget == win) && showImeOverKeyguard;
226 allowWhenLocked |= (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 && win.mTurnOnScreen;
229 allowWhenLocked |= appShowWhenLocked == win.mAppToken
231 || (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0
233 || (win.mAttrs.privateFlags & PRIVATE_FLAG_SYSTEM_ERROR) != 0;
239 boolean hideDockDivider = win.mAttrs.type == TYPE_DOCK_DIVIDER
240 && win
944 requestRemovalOfReplacedWindows(WindowState win) argument
[all...]
H A DWindowLayersController.java123 if (DEBUG_LAYERS) Slog.v(TAG_WM, "IM win " + imw
128 if (DEBUG_LAYERS) Slog.v(TAG_WM, "IM win " + childWindow
135 if (DEBUG_LAYERS) Slog.v(TAG_WM, "IM win " + imw
140 int getSpecialWindowAnimLayerAdjustment(WindowState win) { argument
141 if (win.mIsImWindow) {
143 } else if (win.mIsWallpaper) {
232 private int assignAndIncreaseLayerIfNeeded(WindowState win, int layer) { argument
233 if (win != null) {
234 assignAnimLayer(win, layer);
H A DWindowManagerService.java1096 //win. used for z ordering the windows in mWindows
1097 private int findIdxBasedOnAppTokens(WindowState win) { argument
1098 WindowList windows = win.getWindowList();
1101 if(wentry.mAppToken == win.mAppToken) {
1118 final WindowState win = token.windows.get(i);
1119 if (win.getDisplayContent() == displayContent) {
1120 windowList.add(win);
1130 * @return The index of win in windows or of the window that is an ancestor of win.
1147 private int addAppWindowToListLocked(final WindowState win) { argument
1280 addAppWindowToTokenListLocked(WindowState win, WindowToken token, WindowList windows, WindowList tokenWindowList) argument
1321 addFreeWindowToListLocked(final WindowState win) argument
1348 addAttachedWindowToListLocked(final WindowState win, boolean addToToken) argument
1412 addWindowToListInOrderLocked(final WindowState win, boolean addToToken) argument
1618 addInputMethodWindowToListLocked(WindowState win) argument
1635 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument
1659 reAddWindowToListInOrderLocked(WindowState win) argument
2281 setupWindowForRemoveOnExit(WindowState win) argument
2304 removeWindowLocked(WindowState win) argument
2308 removeWindowLocked(WindowState win, boolean keepVisibleDeadWindow) argument
2446 removeWindowInnerLocked(WindowState win) argument
2990 tryStartExitingAnimation(WindowState win, WindowStateAnimator winAnimator, boolean isDefaultDisplay, boolean focusMayChange) argument
3027 createSurfaceControl(Surface outSurface, int result, WindowState win, WindowStateAnimator winAnimator) argument
3044 relayoutVisibleWindow(Configuration outConfig, int result, WindowState win, WindowStateAnimator winAnimator, int attrChanges, int oldVisibility) argument
4819 reAddWindowLocked(int index, WindowState win) argument
7553 startPositioningLocked( WindowState win, boolean resize, float startX, float startY) argument
[all...]
H A DWindowState.java1032 WindowState win = this;
1033 while (win.isChildWindow()) {
1034 win = win.mAttachedWindow;
1036 return win.mAttrs.type;
1605 final WindowState win = mAppToken.allAppWindows.get(i);
1606 if (win.mWillReplaceWindow && win.mReplacingWindow == this && hasDrawnLw()) {
1607 if (DEBUG_ADD_REMOVE) Slog.d(TAG, "Removing replaced window: " + win);
1608 if (win
[all...]
H A DWindowStateAnimator.java243 WindowStateAnimator(final WindowState win) { argument
244 final WindowManagerService service = win.mService;
250 final DisplayContent displayContent = win.getDisplayContent();
260 mWin = win;
261 mAttachedWinAnimator = win.mAttachedWindow == null
262 ? null : win.mAttachedWindow.mWinAnimator;
263 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator;
264 mSession = win.mSession;
265 mAttrType = win
[all...]
H A DWindowSurfacePlacer.java391 WindowState win = mService.mResizingWindows.get(i);
392 if (win.mAppFreezing) {
397 if (win.mAppToken != null) {
398 win.mAppToken.destroySavedSurfaces();
400 win.reportResized();
421 WindowState win = mService.mDestroySurface.get(i);
422 win.mDestroying = false;
423 if (mService.mInputMethodWindow == win) {
426 if (mWallpaperControllerLocked.isWallpaperTarget(win)) {
429 win
[all...]
H A DWindowToken.java82 WindowState win = windows.get(winNdx);
83 if (DEBUG_WINDOW_MOVEMENT) Slog.w(TAG_WM, "removeAllWindows: removing win=" + win);
84 win.mService.removeWindowLocked(win);

Completed in 307 milliseconds

12