Searched defs:win (Results 1 - 16 of 16) sorted by relevance

/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.java1 // 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 DeglCreateWindowSurface.cpp1 /* 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 Dnative_window.cpp28 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 Degl_object.cpp65 EGLNativeWindowType win, EGLSurface surface,
67 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx)
69 if (win) {
75 ANativeWindow* const window = win.get();
64 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, egl_connection_t const* cnx) argument
H A Degl_object.h133 EGLNativeWindowType win, EGLSurface surface,
138 sp<ANativeWindow> win; member in class:android::egl_surface_t
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java123 * 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 DEGL14.java219 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
224 Object win,
232 Object win,
239 Object win,
244 if (win instanceof SurfaceView) {
245 SurfaceView surfaceView = (SurfaceView)win;
247 } else if (win instanceof SurfaceHolder) {
248 SurfaceHolder holder = (SurfaceHolder)win;
250 } else if (win instanceof Surface) {
251 sur = (Surface) win;
221 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
229 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
237 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DBarController.java73 public void setWindow(WindowState win) { argument
74 mWin = win;
107 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { argument
109 if (win != null && (win.getAttrs().privateFlags
111 if ((win.getAttrs().flags & mTranslucentWmFlag) != 0) {
137 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument
138 if (win.hasDrawnLw()) {
139 final boolean vis = win.isVisibleLw();
140 final boolean anim = win
[all...]
H A DPhoneWindowManager.java1554 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs) { argument
1559 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument
1603 Window win = PolicyManager.makeNewWindow(context);
1604 final TypedArray ta = win.getWindowStyle();
1613 win.setTitle(r.getText(labelRes, nonLocalizedLabel));
1615 win.setType(
1621 win.setFlags(
1631 win.setDefaultIcon(icon);
1632 win.setDefaultLogo(logo);
1634 win
1722 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
1782 removeWindowLw(WindowState win) argument
1803 selectAnimationLw(WindowState win, int transit) argument
1944 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
2293 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
2359 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument
2883 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument
2952 layoutWindowLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
3341 offsetInputMethodWindowLw(WindowState win) argument
3381 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs) argument
5009 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
5120 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DDragState.java313 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);
431 private static DragEvent obtainDragEvent(WindowState win, int action, argument
434 float winX = x - win.mFrame.left;
435 float winY = y - win.mFrame.top;
436 if (win.mEnforceSizeCompat) {
437 winX *= win.mGlobalScale;
438 winY *= win.mGlobalScale;
H A DWindowStateAnimator.java155 public WindowStateAnimator(final WindowState win) { argument
156 final WindowManagerService service = win.mService;
162 final DisplayInfo displayInfo = win.mDisplayContent.getDisplayInfo();
166 mWin = win;
167 mAttachedWinAnimator = win.mAttachedWindow == null
168 ? null : win.mAttachedWindow.mWinAnimator;
169 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator;
170 mSession = win.mSession;
171 mAttrFlags = win
[all...]
H A DWindowManagerService.java851 //win. used for z ordering the windows in mWindows
852 private int findIdxBasedOnAppTokens(WindowState win) { argument
853 WindowList windows = win.getWindowList();
856 if(wentry.mAppToken == win.mAppToken) {
873 final WindowState win = token.windows.get(i);
874 if (win.mDisplayContent == displayContent) {
875 windowList.add(win);
885 * @return The index of win in windows or of the window that is an ancestor of win.
902 private int addAppWindowToListLocked(final WindowState win) { argument
1062 addFreeWindowToListLocked(final WindowState win) argument
1080 addAttachedWindowToListLocked(final WindowState win, boolean addToToken) argument
1141 addWindowToListInOrderLocked(final WindowState win, boolean addToToken) argument
1329 addInputMethodWindowToListLocked(WindowState win) argument
1373 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument
1397 reAddWindowToListInOrderLocked(WindowState win) argument
2375 removeWindowLocked(Session session, WindowState win) argument
2454 removeWindowInnerLocked(Session session, WindowState win) argument
4695 reAddWindowLocked(int index, WindowState win) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp515 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
518 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
543 if (win == NULL) {
551 window = android::android_view_Surface_getNativeWindow(_env, win);
592 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
595 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
621 if (win == NULL) {
628 producer = android::SurfaceTexture_getProducer(_env, win);
517 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
594 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp255 static Rect reduce(const Rect& win, const Region& exclude) { argument
257 return win;
260 return win.reduce(exclude.getBounds());
262 return Region(win).subtract(exclude).getBounds();
267 Rect win(s.active.w, s.active.h);
269 win.intersect(s.active.crop, &win);
272 return reduce(win, s.activeTransparentRegion);
583 const Rect win(computeBounds());
585 float left = float(win
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java932 * @param win The input method's window.
939 public void onConfigureWindow(Window win, boolean isFullscreen, argument
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java621 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs); argument
630 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument
682 * @param win The window being added.
688 public int prepareAddWindowLw(WindowState win, argument
695 * @param win The window being removed.
697 public void removeWindowLw(WindowState win); argument
704 * @param win The window that is changing.
711 public int selectAnimationLw(WindowState win, int transit); argument
780 * @param win The window that currently has focus. This is where the key
789 public long interceptKeyBeforeDispatching(WindowState win, KeyEven argument
805 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
844 layoutWindowLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
889 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs) argument
1094 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
[all...]

Completed in 449 milliseconds