/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/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 | WindowLayersController.java | 258 private int assignAndIncreaseLayerIfNeeded(WindowState win, int layer) { argument 259 if (win != null) { 260 assignAnimLayer(win, layer);
|
H A D | WindowAnimator.java | 400 void requestRemovalOfReplacedWindows(WindowState win) { argument
|
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 | DragState.java | 541 Slog.w(TAG_WM, "can't send drop notification to win " + touchedWin); 552 private static DragEvent obtainDragEvent(WindowState win, int action, argument 557 final float winX = win.translateToWindowX(x); 558 final float winY = win.translateToWindowY(y);
|
H A D | TaskPositioner.java | 355 void startDrag(WindowState win, boolean resize, boolean preserveOrientation, float startX, argument 358 Slog.d(TAG, "startDrag: win=" + win + ", resize=" + resize 362 mTask = win.getTask(); 366 // multiple app windows. Don't use any bounds from win itself as it
|
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 | 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 | WindowStateAnimator.java | 241 WindowStateAnimator(final WindowState win) { argument 242 final WindowManagerService service = win.mService; 248 final DisplayContent displayContent = win.getDisplayContent(); 258 mWin = win; 259 mParentWinAnimator = !win.isChildWindow() ? null : win.getParentWindow().mWinAnimator; 260 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator; 261 mSession = win.mSession; 262 mAttrType = 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...] |
/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/opengl/java/android/opengl/ |
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
|
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...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
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 | 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 | 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/libs/hwui/debug/ |
H A D | nullegl.cpp | 87 EGLNativeWindowType win, 86 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) argument
|
/frameworks/base/core/jni/ |
H A D | android_opengl_EGL14.cpp | 517 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 520 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 559 if (win == NULL) { 567 window = android::android_view_Surface_getNativeWindow(_env, win); 590 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 593 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 619 if (win == NULL) { 626 producer = android::SurfaceTexture_getProducer(_env, win); 519 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument 592 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
|
/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...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1108 * @param win The input method's window. 1115 public void onConfigureWindow(Window win, boolean isFullscreen, argument
|
/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/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...] |