/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglCreateWindowSurface.java | 1 // 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...] |
H A D | eglCreateWindowSurface.cpp | 1 /* 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
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppWindowToken.java | 162 WindowState win = allAppWindows.get(i); 163 if (win == startingWindow && clientHidden) { 169 "Setting visibility of " + win + ": " + (!clientHidden)); 170 win.mClient.dispatchAppVisibility(!clientHidden); 183 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { argument 191 + win.mToken + ": first real window is shown, no animation"); 216 WindowState win = allAppWindows.get(i); 217 if (win == startingWindow || win.mAppFreezing 218 || win [all...] |
H A D | WindowAnimator.java | 244 private boolean shouldForceHide(WindowState win) { argument 256 allowWhenLocked |= (win.mIsImWindow || imeTarget == win) && showImeOverKeyguard; 258 allowWhenLocked |= (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 && win.mTurnOnScreen; 261 allowWhenLocked |= appShowWhenLocked == win.mAppToken 263 || (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 265 || (win.mAttrs.privateFlags & PRIVATE_FLAG_SYSTEM_ERROR) != 0; 271 allowWhenLocked |= (win.mAttrs.flags & FLAG_DISMISS_KEYGUARD) != 0 277 boolean hideDockDivider = win 987 requestRemovalOfReplacedWindows(WindowState win) argument [all...] |
H A D | Task.java | 183 final WindowState win = windows.get(winNdx); 184 win.notifyMovedInStack(); 368 final WindowState win = windows.get(winNdx); 369 win.mXOffset = xOffset; 370 win.mYOffset = yOffset; 375 void applyScrollToWindowIfNeeded(final WindowState win) { argument 377 win.mXOffset = mBounds.left; 378 win.mYOffset = mBounds.top; 463 final WindowState win = token.findMainWindow(); 464 if (win [all...] |
H A D | WindowManagerService.java | 1118 //win. used for z ordering the windows in mWindows 1119 private int findIdxBasedOnAppTokens(WindowState win) { argument 1120 WindowList windows = win.getWindowList(); 1123 if(wentry.mAppToken == win.mAppToken) { 1140 final WindowState win = token.windows.get(i); 1141 if (win.getDisplayContent() == displayContent) { 1142 windowList.add(win); 1152 * @return The index of win in windows or of the window that is an ancestor of win. 1169 private int addAppWindowToListLocked(final WindowState win) { argument 1302 addAppWindowToTokenListLocked(WindowState win, WindowToken token, WindowList windows, WindowList tokenWindowList) argument 1343 addFreeWindowToListLocked(final WindowState win) argument 1370 addAttachedWindowToListLocked(final WindowState win, boolean addToToken) argument 1434 addWindowToListInOrderLocked(final WindowState win, boolean addToToken) argument 1640 addInputMethodWindowToListLocked(WindowState win) argument 1657 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument 1681 reAddWindowToListInOrderLocked(WindowState win) argument 2378 setupWindowForRemoveOnExit(WindowState win) argument 2401 removeWindowLocked(WindowState win) argument 2405 removeWindowLocked(WindowState win, boolean keepVisibleDeadWindow) argument 2543 removeWindowInnerLocked(WindowState win) argument 3101 tryStartExitingAnimation(WindowState win, WindowStateAnimator winAnimator, boolean isDefaultDisplay, boolean focusMayChange) argument 3138 createSurfaceControl(Surface outSurface, int result, WindowState win, WindowStateAnimator winAnimator) argument 3156 relayoutVisibleWindow(Configuration outConfig, int result, WindowState win, WindowStateAnimator winAnimator, int attrChanges, int oldVisibility) argument 4982 reAddWindowLocked(int index, WindowState win) argument 7843 startPositioningLocked( WindowState win, boolean resize, float startX, float startY) argument 11782 updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) argument [all...] |
H A D | WindowToken.java | 82 WindowState win = windows.get(winNdx); 83 if (DEBUG_WINDOW_MOVEMENT) Slog.w(TAG_WM, "removeAllWindows: removing win=" + win); 84 win.mService.removeWindowLocked(win);
|
H A D | WindowSurfacePlacer.java | 395 WindowState win = mService.mResizingWindows.get(i); 396 if (win.mAppFreezing) { 401 if (win.mAppToken != null) { 402 win.mAppToken.destroySavedSurfaces(); 404 win.reportResized(); 425 WindowState win = mService.mDestroySurface.get(i); 426 win.mDestroying = false; 427 if (mService.mInputMethodWindow == win) { 430 if (mWallpaperControllerLocked.isWallpaperTarget(win)) { 433 win [all...] |
H A D | WindowLayersController.java | 123 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 D | WindowState.java | 1058 WindowState win = this; 1059 while (win.isChildWindow()) { 1060 win = win.mAttachedWindow; 1062 return win.mAttrs.type; 1635 final WindowState win = mAppToken.allAppWindows.get(i); 1636 if (win.mWillReplaceWindow && win.mReplacingWindow == this && hasDrawnLw()) { 1637 if (DEBUG_ADD_REMOVE) Slog.d(TAG, "Removing replaced window: " + win); 1638 if (win [all...] |
H A D | WallpaperController.java | 122 boolean isWallpaperTarget(WindowState win) { argument 123 return win == mWallpaperTarget; 126 boolean isBelowWallpaperTarget(WindowState win) { argument 127 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; 467 void setAnimLayerAdjustment(WindowState win, int adj) { argument 468 if (win != mWallpaperTarget || mLowerWallpaperTarget != null) { 479 if (DEBUG_LAYERS || DEBUG_WALLPAPER) Slog.v(TAG, "setWallpaper win " 743 if (DEBUG_LAYERS || DEBUG_WALLPAPER_LIGHT) Slog.v(TAG, "adjustWallpaper win " 801 final WindowState win = windows.get(index); 802 if (win 956 setTopWallpaper(WindowState win, int index) argument 961 setWallpaperTarget(WindowState win, int index) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 68 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 D | egl_object.h | 135 EGLNativeWindowType win, EGLSurface surface, 140 sp<ANativeWindow> win; member in class:android::egl_surface_t
|
/frameworks/base/native/android/ |
H A D | native_window.cpp | 28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); local 29 if (win != NULL) { 30 win->incStrong((void*)ANativeWindow_acquire); 32 return win.get();
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGL14.java | 226 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) 231 Object win, 239 Object win, 246 Object win, 251 if (win instanceof SurfaceView) { 252 SurfaceView surfaceView = (SurfaceView)win; 254 } else if (win instanceof SurfaceHolder) { 255 SurfaceHolder holder = (SurfaceHolder)win; 257 } else if (win instanceof Surface) { 258 sur = (Surface) win; 228 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument 236 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument 244 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument [all...] |
H A D | GLU.java | 123 * and view. The result is stored in win. 140 * @param win the output vector {winX, winY, winZ}, that returns the 142 * @param winOffset the offset into the win array where the win vector data 149 int[] view, int viewOffset, float[] win, int winOffset) { 173 win[winOffset] = 177 win[winOffset + 1] = 180 win[winOffset + 2] = (scratch[V2_OFFSET + 2] * rw + 1.0f) * 0.5f; 147 gluProject(float objX, float objY, float objZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] win, int winOffset) argument
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | BarController.java | 78 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 D | PolicyControl.java | 65 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;
|
H A D | PhoneWindowManager.java | 2686 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument 2696 return windowTypeToLayerLw(win.getBaseType()) 2753 final PhoneWindow win = new PhoneWindow(context); 2754 win.setIsStartingWindow(true); 2759 win.setTitle(label, true); 2761 win.setTitle(nonLocalizedLabel, false); 2764 win.setType( 2780 win.setFlags( 2790 win.setDefaultIcon(icon); 2791 win 2869 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument 2916 removeWindowLw(WindowState win) argument 2934 selectAnimationLw(WindowState win, int transit) argument 3001 selectDockedDividerAnimationLw(WindowState win, int transit) argument 3150 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument 3611 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 3677 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument 4422 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument 4499 canReceiveInput(WindowState win) argument 4510 layoutWindowLw(WindowState win, WindowState attached) argument 5026 layoutWallpaper(WindowState win, Rect pf, Rect df, Rect of, Rect cf) argument 5040 offsetInputMethodWindowLw(WindowState win) argument 5059 offsetVoiceInputWindowLw(WindowState win) argument 5101 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument 7503 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 7664 drawsSystemBarBackground(WindowState win) argument 7668 forcesDrawStatusBarBackground(WindowState win) argument 7673 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuDialogHelper.java | 93 Window win = mDialog.getWindow(); 94 if (win != null) { 95 View decor = win.getDecorView(); 105 Window win = mDialog.getWindow(); 106 if (win != null) { 107 View decor = win.getDecorView();
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuDialogHelper.java | 95 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/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 721 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument 780 * @param win The window being added. 786 public int prepareAddWindowLw(WindowState win, argument 793 * @param win The window being removed. 795 public void removeWindowLw(WindowState win); argument 802 * @param win The window that is changing. 809 public int selectAnimationLw(WindowState win, int transit); argument 883 * @param win The window that currently has focus. This is where the key 892 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); argument 901 * @param win Th 908 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 946 layoutWindowLw(WindowState win, WindowState attached) argument 1002 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument 1265 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 1412 isNavBarForcedShownLw(WindowState win) argument [all...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | StatusBarTest.java | 131 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/native/services/surfaceflinger/ |
H A D | Layer.cpp | 369 static Rect reduce(const Rect& win, const Region& exclude) { argument 371 return win; 374 return win.reduce(exclude.getBounds()); 376 return Region(win).subtract(exclude).getBounds(); 386 Rect win(s.active.w, s.active.h); 389 win.intersect(s.crop, &win); 392 return reduce(win, activeTransparentRegion); 814 Rect win(s.active.w, s.active.h); 816 win [all...] |
/frameworks/base/core/java/android/app/ |
H A D | LocalActivityManager.java | 358 Window win; 359 win = r.window; 371 return win; 388 Window win = null; 390 win = performDestroy(r, finish); 396 return win;
|