/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) { 29 if (win == NULL) { 37 window = android::android_view_Surface_getNativeWindow(_env, win); 78 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 81 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 107 if (win == NULL) { 114 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 80 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.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/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) 72 if (win) { 78 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 | 134 EGLNativeWindowType win, EGLSurface surface, 139 sp<ANativeWindow> win; member in class:android::egl_surface_t
|
/frameworks/base/libs/hwui/tests/ |
H A D | nullegl.cpp | 83 EGLNativeWindowType win, 82 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) argument
|
/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 | BarController.java | 76 public void setWindow(WindowState win) { argument 77 mWin = win; 118 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { argument 120 if (win != null && (win.getAttrs().privateFlags 122 int fl = PolicyControl.getWindowFlags(win, null); 157 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument 158 if (win.isDrawnLw()) { 159 final boolean vis = win.isVisibleLw(); 160 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 | 2215 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument 2225 return windowTypeToLayerLw(win.getBaseType()) 2264 PhoneWindow win = new PhoneWindow(context); 2265 win.setIsStartingWindow(true); 2266 final TypedArray ta = win.getWindowStyle(); 2275 win.setTitle(r.getText(labelRes, nonLocalizedLabel)); 2277 win.setType( 2293 win.setFlags( 2303 win.setDefaultIcon(icon); 2304 win 2394 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument 2441 removeWindowLw(WindowState win) argument 2459 selectAnimationLw(WindowState win, int transit) argument 2626 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument 3017 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 3083 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument 3735 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument 3812 canReceiveInput(WindowState win) argument 3823 layoutWindowLw(WindowState win, WindowState attached) argument 4295 offsetInputMethodWindowLw(WindowState win) argument 4314 offsetVoiceInputWindowLw(WindowState win) argument 4354 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument 6490 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument 6631 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DragState.java | 313 if (WindowManagerService.DEBUG_DRAG) Slog.d(WindowManagerService.TAG, "No touched win at x=" + x + " y=" + y); 382 Slog.w(WindowManagerService.TAG, "can't send drop notification to win " + touchedWin); 437 private static DragEvent obtainDragEvent(WindowState win, int action, argument 440 float winX = x - win.mFrame.left; 441 float winY = y - win.mFrame.top; 442 if (win.mEnforceSizeCompat) { 443 winX *= win.mGlobalScale; 444 winY *= win.mGlobalScale;
|
H A D | WindowAnimator.java | 191 private boolean shouldForceHide(WindowState win) { argument 203 allowWhenLocked |= (win.mIsImWindow || imeTarget == win) && showImeOverKeyguard; 205 allowWhenLocked |= (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 && win.mTurnOnScreen; 208 allowWhenLocked |= appShowWhenLocked == win.mAppToken 210 || (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 && win.isAnimatingLw() 212 || (win.mAttrs.privateFlags & PRIVATE_FLAG_SYSTEM_ERROR) != 0; 218 return keyguardOn && !allowWhenLocked && (win [all...] |
H A D | WindowStateAnimator.java | 191 WindowStateAnimator(final WindowState win) { argument 192 final WindowManagerService service = win.mService; 198 final DisplayContent displayContent = win.getDisplayContent(); 208 mWin = win; 209 mAttachedWinAnimator = win.mAttachedWindow == null 210 ? null : win.mAttachedWindow.mWinAnimator; 211 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator; 212 mSession = win.mSession; 213 mAttrType = win [all...] |
H A D | WindowManagerService.java | 1047 //win. used for z ordering the windows in mWindows 1048 private int findIdxBasedOnAppTokens(WindowState win) { argument 1049 WindowList windows = win.getWindowList(); 1052 if(wentry.mAppToken == win.mAppToken) { 1069 final WindowState win = token.windows.get(i); 1070 if (win.getDisplayContent() == displayContent) { 1071 windowList.add(win); 1081 * @return The index of win in windows or of the window that is an ancestor of win. 1098 private int addAppWindowToListLocked(final WindowState win) { argument 1262 addFreeWindowToListLocked(final WindowState win) argument 1280 addAttachedWindowToListLocked(final WindowState win, boolean addToToken) argument 1344 addWindowToListInOrderLocked(final WindowState win, boolean addToToken) argument 1532 addInputMethodWindowToListLocked(WindowState win) argument 1576 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument 1600 reAddWindowToListInOrderLocked(WindowState win) argument 2705 removeWindowLocked(WindowState win) argument 2795 removeWindowInnerLocked(WindowState win) argument 2799 removeWindowInnerLocked(WindowState win, boolean performLayout) argument 5003 reAddWindowLocked(int index, WindowState win) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_EGL14.cpp | 533 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 536 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 561 if (win == NULL) { 569 window = android::android_view_Surface_getNativeWindow(_env, win); 610 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */ 613 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 639 if (win == NULL) { 646 producer = android::SurfaceTexture_getProducer(_env, win); 535 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument 612 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 965 * @param win The input method's window. 972 public void onConfigureWindow(Window win, boolean isFullscreen, argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 323 static Rect reduce(const Rect& win, const Region& exclude) { argument 325 return win; 328 return win.reduce(exclude.getBounds()); 330 return Region(win).subtract(exclude).getBounds(); 340 Rect win(s.active.w, s.active.h); 342 win.intersect(s.active.crop, &win); 345 return reduce(win, activeTransparentRegion); 592 Rect win(s.active.w, s.active.h); 594 win [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 658 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument 715 * @param win The window being added. 721 public int prepareAddWindowLw(WindowState win, argument 728 * @param win The window being removed. 730 public void removeWindowLw(WindowState win); argument 737 * @param win The window that is changing. 744 public int selectAnimationLw(WindowState win, int transit); argument 818 * @param win The window that currently has focus. This is where the key 827 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); argument 836 * @param win Th 843 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument 881 layoutWindowLw(WindowState win, WindowState attached) argument 931 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument 1193 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument [all...] |