/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 | 247 private int assignAndIncreaseLayerIfNeeded(WindowState win, int layer) { argument 248 if (win != null) { 249 assignAnimLayer(win, layer);
|
H A D | WindowAnimator.java | 396 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 | 252 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { argument 260 + win.mToken + ": first real window is shown, no animation"); 283 final WindowState win = mChildren.get(i); 284 win.updateReportedVisibility(mReportedVisibilityResults); 382 final WindowState win = mChildren.get(i); 383 changed |= win.onAppVisibilityChanged(visible, runningAppAnimation); 466 final WindowState win = mChildren.get(j); 467 final int type = win.mAttrs.type; 474 if (win.mAnimatingExit) { 475 candidate = win; 796 postWindowRemoveStartingWindowCleanup(WindowState win) argument 1259 isLastWindow(WindowState win) argument [all...] |
H A D | WindowStateAnimator.java | 240 WindowStateAnimator(final WindowState win) { argument 241 final WindowManagerService service = win.mService; 247 final DisplayContent displayContent = win.getDisplayContent(); 257 mWin = win; 258 mParentWinAnimator = !win.isChildWindow() ? null : win.getParentWindow().mWinAnimator; 259 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator; 260 mSession = win.mSession; 261 mAttrType = win [all...] |
H A D | WindowManagerService.java | 1354 final WindowState win = new WindowState(this, session, client, token, parentWindow, 1357 if (win.mDeathRecipient == null) { 1365 if (win.getDisplayContent() == null) { 1370 mPolicy.adjustWindowParamsLw(win.mAttrs); 1371 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs)); 1373 res = mPolicy.prepareAddWindowLw(win, attrs); 1381 win.openInputChannel(outInputChannel); 1409 mH.obtainMessage(H.WINDOW_HIDE_TIMEOUT, win), 1410 win.mAttrs.hideTimeoutMilliseconds); 1418 mWinAddedSinceNullFocus.add(win); 1699 postWindowRemoveCleanupLocked(WindowState win) argument 1760 setInputMethodWindowLocked(WindowState win) argument 2190 tryStartExitingAnimation(WindowState win, WindowStateAnimator winAnimator, boolean isDefaultDisplay, boolean focusMayChange) argument 2240 createSurfaceControl(Surface outSurface, int result, WindowState win, WindowStateAnimator winAnimator) argument 4484 startPositioningLocked(WindowState win, boolean resize, boolean preserveOrientation, float startX, float startY) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 59 EGLNativeWindowType win, EGLSurface surface, 61 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx), 64 if (win) { 65 win->incStrong(this); 70 if (win != NULL) { 72 win->decStrong(this); 77 if (win != NULL && connected) { 78 native_window_set_buffers_format(win, 0); 79 if (native_window_api_disconnect(win, NATIVE_WINDOW_API_EG 58 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, egl_connection_t const* cnx) argument [all...] |
H A D | egl_object.h | 135 EGLNativeWindowType win, EGLSurface surface, 138 ANativeWindow* getNativeWindow() { return win; } 139 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 | 2782 public boolean canBeHiddenByKeyguardLw(WindowState win) { argument 2783 switch (win.getAttrs().type) { 2791 return getWindowLayerLw(win) < getWindowLayerFromTypeLw(TYPE_STATUS_BAR); 2795 private boolean shouldBeHiddenByKeyguard(WindowState win, WindowState imeTarget) { argument 2798 if (win.getAppToken() != null) { 2802 final LayoutParams attrs = win.getAttrs(); 2808 boolean allowWhenLocked = (win.isInputMethodWindow() || imeTarget == this) 2821 return (keyguardLocked && !allowWhenLocked && win.getDisplayId() == Display.DEFAULT_DISPLAY) 2882 final PhoneWindow win = new PhoneWindow(context); 2883 win 2971 addSplashscreenContent(PhoneWindow win, Context ctx) argument 3023 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument 3067 removeWindowLw(WindowState win) argument 3081 selectAnimationLw(WindowState win, int transit) argument 3153 selectDockedDividerAnimationLw(WindowState win, int transit) argument 3302 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument 3875 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 3941 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument 4705 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument 4782 canReceiveInput(WindowState win) argument 4793 layoutWindowLw(WindowState win, WindowState attached) argument 5309 layoutWallpaper(WindowState win, Rect pf, Rect df, Rect of, Rect cf) argument 5323 offsetInputMethodWindowLw(WindowState win) argument 5342 offsetVoiceInputWindowLw(WindowState win) argument 5375 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached, WindowState imeTarget) argument 5470 applyKeyguardPolicyLw(WindowState win, WindowState imeTarget) argument 7683 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 7881 drawsSystemBarBackground(WindowState win) argument 7885 forcesDrawStatusBarBackground(WindowState win) argument 7890 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 | 182 public boolean canBeHiddenByKeyguardLw(WindowState win) { argument 219 public int prepareAddWindowLw(WindowState win, argument 225 public void removeWindowLw(WindowState win) { argument 230 public int selectAnimationLw(WindowState win, int transit) { argument 267 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, argument 273 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, argument 295 public void layoutWindowLw(WindowState win, argument 318 public void applyPostLayoutPolicyLw(WindowState win, argument 508 public boolean performHapticFeedbackLw(WindowState win, int effectId, argument 607 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/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 733 * @param win The window state 736 default int getWindowLayerLw(WindowState win) { argument 737 return getWindowLayerFromTypeLw(win.getBaseType(), win.canAddInternalSystemWindow()); 953 * @return whether {@param win} can be hidden by Keyguard 955 public boolean canBeHiddenByKeyguardLw(WindowState win); argument 989 * @param win The window being added. 995 public int prepareAddWindowLw(WindowState win, argument 1002 * @param win The window being removed. 1004 public void removeWindowLw(WindowState win); argument 1018 selectAnimationLw(WindowState win, int transit) argument 1101 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument 1117 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 1155 layoutWindowLw(WindowState win, WindowState attached) argument 1211 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached, WindowState imeTarget) argument 1499 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 1667 isNavBarForcedShownLw(WindowState win) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 381 static Rect reduce(const Rect& win, const Region& exclude) { argument 383 return win; 386 return win.reduce(exclude.getBounds()); 388 return Region(win).subtract(exclude).getBounds(); 393 Rect win(s.active.w, s.active.h); 396 win.intersect(s.crop, &win); 400 win = t.transform(win); 403 win 1386 Rect win = computeBounds(); local [all...] |