/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/native/android/ |
H A D | native_window_jni.cpp | 31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); local 32 if (win != NULL) { 33 win->incStrong((void*)ANativeWindow_fromSurface); 35 return win.get();
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 58 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, argument 63 win(win), 67 if (win) { 68 win->incStrong(this); 73 if (win != NULL) { 75 win->decStrong(this); 80 if (win != NULL && connected) { 81 native_window_set_buffers_format(win, 0); 82 if (native_window_api_disconnect(win, NATIVE_WINDOW_API_EG [all...] |
H A D | egl_object.h | 134 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, 137 ANativeWindow* getNativeWindow() { return win; } 138 ANativeWindow* getNativeWindow() const { return win; } 146 ANativeWindow* win; member in class:android::egl_surface_t
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowToken.java | 116 final WindowState win = mChildren.get(i); 118 "removeAllWindowsIfPossible: removing win=" + win); 119 win.removeIfPossible(); 136 final WindowState win = mChildren.get(i); 137 if (win.mWinAnimator.isAnimationSet()) { 140 changed |= win.onSetAppExiting(); 165 void addWindow(final WindowState win) { argument 167 "addWindow: win=" + win [all...] |
H A D | WindowManagerService.java | 1382 final WindowState win = new WindowState(this, session, client, token, parentWindow, 1385 if (win.mDeathRecipient == null) { 1393 if (win.getDisplayContent() == null) { 1398 mPolicy.adjustWindowParamsLw(win.mAttrs); 1399 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs)); 1401 res = mPolicy.prepareAddWindowLw(win, attrs); 1409 win.openInputChannel(outInputChannel); 1437 mH.obtainMessage(H.WINDOW_HIDE_TIMEOUT, win), 1438 win.mAttrs.hideTimeoutMilliseconds); 1446 mWinAddedSinceNullFocus.add(win); 1730 postWindowRemoveCleanupLocked(WindowState win) argument 1792 setInputMethodWindowLocked(WindowState win) argument 2244 tryStartExitingAnimation(WindowState win, WindowStateAnimator winAnimator, boolean isDefaultDisplay, boolean focusMayChange) argument 2294 createSurfaceControl(Surface outSurface, int result, WindowState win, WindowStateAnimator winAnimator) argument 4567 startPositioningLocked(WindowState win, boolean resize, boolean preserveOrientation, float startX, float startY) argument 7680 updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) argument [all...] |
H A D | AppWindowToken.java | 256 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { argument 264 + win.mToken + ": first real window is shown, no animation"); 287 final WindowState win = mChildren.get(i); 288 win.updateReportedVisibility(mReportedVisibilityResults); 386 final WindowState win = mChildren.get(i); 387 changed |= win.onAppVisibilityChanged(visible, runningAppAnimation); 478 final WindowState win = mChildren.get(i); 479 if (win != null && win.mAttrs.isFullscreen()) { 480 return win; 823 postWindowRemoveStartingWindowCleanup(WindowState win) argument 1284 isLastWindow(WindowState win) argument [all...] |
H A D | Task.java | 465 final WindowState win = token.findMainWindow(); 466 if (win == null) { 470 out.set(win.mVisibleFrame); 474 if (win.mVisibleFrame.left < out.left) { 475 out.left = win.mVisibleFrame.left; 477 if (win.mVisibleFrame.top < out.top) { 478 out.top = win.mVisibleFrame.top; 480 if (win.mVisibleFrame.right > out.right) { 481 out.right = win.mVisibleFrame.right; 483 if (win [all...] |
H A D | RootWindowContainer.java | 170 final WindowState win = dc.findFocusedWindow(); 171 if (win != null) { 172 return win; 447 final WindowState win = getWindow((w) -> w.mSession.mPid == pid && w.isVisibleLw()); 448 return win != null; 686 WindowState win = mService.mDestroySurface.get(i); 687 win.mDestroying = false; 688 if (mService.mInputMethodWindow == win) { 691 if (win.getDisplayContent().mWallpaperController.isWallpaperTarget(win)) { [all...] |
H A D | WallpaperController.java | 168 "Found animating detached wallpaper target win: " + w); 182 boolean isWallpaperTarget(WindowState win) { argument 183 return win == mWallpaperTarget; 186 boolean isBelowWallpaperTarget(WindowState win) { argument 187 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; 697 void setTopWallpaper(WindowState win) { argument 698 topWallpaper = win; 701 void setWallpaperTarget(WindowState win) { argument 702 wallpaperTarget = win;
|
H A D | WindowLayersController.java | 258 private int assignAndIncreaseLayerIfNeeded(WindowState win, int layer) { argument 259 if (win != null) { 260 assignAnimLayer(win, layer);
|
/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/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 | 96 Window win = mDialog.getWindow(); 97 if (win != null) { 98 View decor = win.getDecorView(); 108 Window win = mDialog.getWindow(); 109 if (win != null) { 110 View decor = win.getDecorView();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | BarController.java | 83 public void setWindow(WindowState win) { argument 84 mWin = win; 125 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { argument 127 if (win != null && (win.getAttrs().privateFlags 129 int fl = PolicyControl.getWindowFlags(win, null); 183 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument 184 if (win.isDrawnLw()) { 185 final boolean vis = win.isVisibleLw(); 186 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 | 2800 public boolean canBeHiddenByKeyguardLw(WindowState win) { argument 2801 switch (win.getAttrs().type) { 2809 return getWindowLayerLw(win) < getWindowLayerFromTypeLw(TYPE_STATUS_BAR); 2813 private boolean shouldBeHiddenByKeyguard(WindowState win, WindowState imeTarget) { argument 2816 if (win.getAppToken() != null) { 2820 final LayoutParams attrs = win.getAttrs(); 2826 boolean allowWhenLocked = (win.isInputMethodWindow() || imeTarget == this) 2839 return (keyguardLocked && !allowWhenLocked && win.getDisplayId() == DEFAULT_DISPLAY) 2900 final PhoneWindow win = new PhoneWindow(context); 2901 win 2989 addSplashscreenContent(PhoneWindow win, Context ctx) argument 3041 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument 3085 removeWindowLw(WindowState win) argument 3099 selectAnimationLw(WindowState win, int transit) argument 3171 selectDockedDividerAnimationLw(WindowState win, int transit) argument 3328 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument 3902 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 3968 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument 4732 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument 4809 canReceiveInput(WindowState win) argument 4820 layoutWindowLw(WindowState win, WindowState attached) argument 5346 layoutWallpaper(WindowState win, Rect pf, Rect df, Rect of, Rect cf) argument 5360 offsetInputMethodWindowLw(WindowState win) argument 5379 offsetVoiceInputWindowLw(WindowState win) argument 5413 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached, WindowState imeTarget) argument 5514 applyKeyguardPolicyLw(WindowState win, WindowState imeTarget) argument 7792 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 7987 drawsSystemBarBackground(WindowState win) argument 7991 forcesDrawStatusBarBackground(WindowState win) argument 7996 updateSystemBarsLw(WindowState win, int oldVis, int vis) 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 | 440 static Rect reduce(const Rect& win, const Region& exclude) { argument 442 return win; 445 return win.reduce(exclude.getBounds()); 447 return Region(win).subtract(exclude).getBounds(); 452 Rect win(s.active.w, s.active.h); 455 win.intersect(s.crop, &win); 459 win = t.transform(win); 462 win 1443 Rect win = computeBounds(); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TestWindowManagerPolicy.java | 195 public boolean canBeHiddenByKeyguardLw(WindowState win) { argument 232 public int prepareAddWindowLw(WindowState win, argument 238 public void removeWindowLw(WindowState win) { argument 243 public int selectAnimationLw(WindowState win, int transit) { argument 280 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, argument 286 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, argument 308 public void layoutWindowLw(WindowState win, argument 331 public void applyPostLayoutPolicyLw(WindowState win, argument 526 public boolean performHapticFeedbackLw(WindowState win, int effectId, argument 625 public boolean isNavBarForcedShownLw(WindowState win) { argument [all...] |
H A D | WindowTestsBase.java | 148 final WindowState win = createWindow(parent, type, name); 149 mCommonWindows.add(win); 151 win.mAttrs.flags |= FLAG_NOT_FOCUSABLE; 152 return win;
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 755 * @param win The window state 758 default int getWindowLayerLw(WindowState win) { argument 759 return getWindowLayerFromTypeLw(win.getBaseType(), win.canAddInternalSystemWindow()); 975 * @return whether {@param win} can be hidden by Keyguard 977 public boolean canBeHiddenByKeyguardLw(WindowState win); argument 1011 * @param win The window being added. 1017 public int prepareAddWindowLw(WindowState win, argument 1024 * @param win The window being removed. 1026 public void removeWindowLw(WindowState win); argument 1040 selectAnimationLw(WindowState win, int transit) argument 1123 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument 1139 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 1177 layoutWindowLw(WindowState win, WindowState attached) argument 1233 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached, WindowState imeTarget) argument 1529 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 1697 isNavBarForcedShownLw(WindowState win) argument [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;
|