Searched refs:win (Results 1 - 25 of 28) sorted by relevance

12

/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;
37 } else if (win instanceof SurfaceTexture) {
39 win, attrib_lis
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_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 surfaceTexture = android::SurfaceTexture_getSurfaceTexture(_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/services/java/com/android/server/wm/
H A DAppWindowToken.java114 WindowState win = allAppWindows.get(i);
115 if (win == startingWindow && clientHidden) {
121 "Setting visibility of " + win + ": " + (!clientHidden));
122 win.mClient.dispatchAppVisibility(!clientHidden);
142 WindowState win = allAppWindows.get(i);
143 if (win == startingWindow || win.mAppFreezing
144 || win.mViewVisibility != View.VISIBLE
145 || win.mAttrs.type == TYPE_APPLICATION_STARTING
146 || win
[all...]
H A DWindowManagerService.java892 //win. used for z ordering the windows in mWindows
893 private int findIdxBasedOnAppTokens(WindowState win) { argument
894 WindowList windows = win.getWindowList();
897 if(wentry.mAppToken == win.mAppToken) {
914 final WindowState win = token.windows.get(i);
915 if (win.mDisplayContent == displayContent) {
916 windowList.add(win);
922 private void addWindowToListInOrderLocked(WindowState win, boolean addToToken) { argument
923 final IWindow client = win.mClient;
924 final WindowToken token = win
1306 addInputMethodWindowToListLocked(WindowState win) argument
1350 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument
1374 reAddWindowToListInOrderLocked(WindowState win) argument
2340 removeWindowLocked(Session session, WindowState win) argument
2414 removeWindowInnerLocked(Session session, WindowState win) argument
4920 reAddWindowLocked(int index, WindowState win) argument
[all...]
H A DWindowAnimator.java353 WindowState win = winAnimator.mWin;
361 Slog.v(TAG, win + ": wasAnimating=" + wasAnimating +
365 if (wasAnimating && !winAnimator.mAnimating && mWallpaperTarget == win) {
375 if (mPolicy.doesForceHide(win, win.mAttrs)) {
379 "Animation started that could impact force hide: " + win);
389 if (win.isReadyForDisplay()) {
402 + " hasSurface=" + win.mHasSurface
403 + " policyVis=" + win.mPolicyVisibility
404 + " destroying=" + win
[all...]
H A DWindowState.java913 WindowState win = mService.windowForClientLocked(mSession, mClient, false);
914 Slog.i(TAG, "WIN DEATH: " + win);
915 if (win != null) {
916 mService.removeWindowLocked(mSession, win);
1042 WindowState win = this;
1043 while (win.mAttachedWindow != null) {
1044 win = win.mAttachedWindow;
1046 if (win.mAttrs.type < WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW
1047 && win
[all...]
H A DDragState.java311 if (WindowManagerService.DEBUG_DRAG) Slog.d(WindowManagerService.TAG, "No touched win at x=" + x + " y=" + y);
380 Slog.w(WindowManagerService.TAG, "can't send drop notification to win " + touchedWin);
429 private static DragEvent obtainDragEvent(WindowState win, int action, argument
432 float winX = x - win.mFrame.left;
433 float winY = y - win.mFrame.top;
434 if (win.mEnforceSizeCompat) {
435 winX *= win.mGlobalScale;
436 winY *= win.mGlobalScale;
H A DWindowStateAnimator.java159 public WindowStateAnimator(final WindowState win) { argument
160 final WindowManagerService service = win.mService;
166 final DisplayInfo displayInfo = win.mDisplayContent.getDisplayInfo();
170 mWin = win;
171 mAttachedWinAnimator = win.mAttachedWindow == null
172 ? null : win.mAttachedWindow.mWinAnimator;
173 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator;
174 mSession = win.mSession;
175 mAttrFlags = win
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp67 EGLNativeWindowType win, EGLSurface surface,
69 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx)
71 if (win) {
77 ANativeWindow* const window = win.get();
66 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, egl_connection_t const* cnx) argument
H A Degl_object.h135 EGLNativeWindowType win, EGLSurface surface,
140 sp<ANativeWindow> win; member in class:android::egl_surface_t
/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/base/opengl/java/android/opengl/
H A DEGL14.java220 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
225 Object win,
233 Object win,
240 Object win,
245 if (win instanceof SurfaceView) {
246 SurfaceView surfaceView = (SurfaceView)win;
248 } else if (win instanceof SurfaceHolder) {
249 SurfaceHolder holder = (SurfaceHolder)win;
251 } else if (win instanceof Surface) {
252 sur = (Surface) win;
222 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
230 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
238 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
[all...]
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
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java618 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs); argument
627 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument
679 * @param win The window being added.
685 public int prepareAddWindowLw(WindowState win, argument
692 * @param win The window being removed.
694 public void removeWindowLw(WindowState win); argument
701 * @param win The window that is changing.
708 public int selectAnimationLw(WindowState win, int transit); argument
752 * @param win The window that currently has focus. This is where the key
761 public long interceptKeyBeforeDispatching(WindowState win, KeyEven argument
777 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
817 layoutWindowLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
862 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs) argument
1065 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
[all...]
H A DViewConfiguration.java282 final WindowManager win = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE);
283 final Display display = win.getDefaultDisplay();
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java96 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/native/services/surfaceflinger/
H A DLayerBase.cpp241 Rect win(s.active.w, s.active.h);
243 win.intersect(s.active.crop, &win);
246 tr.transform(mesh->mVertices[0], win.left, win.top);
247 tr.transform(mesh->mVertices[1], win.left, win.bottom);
248 tr.transform(mesh->mVertices[2], win.right, win.bottom);
249 tr.transform(mesh->mVertices[3], win
[all...]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DStatusBarTest.java131 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/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1493 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs) { argument
1498 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument
1538 Window win = PolicyManager.makeNewWindow(context);
1539 final TypedArray ta = win.getWindowStyle();
1548 win.setTitle(r.getText(labelRes, nonLocalizedLabel));
1550 win.setType(
1556 win.setFlags(
1567 win.addFlags(WindowManager.LayoutParams.FLAG_COMPATIBLE_WINDOW);
1570 win.setLayout(WindowManager.LayoutParams.MATCH_PARENT,
1573 final WindowManager.LayoutParams params = win
1648 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
1699 removeWindowLw(WindowState win) argument
1712 selectAnimationLw(WindowState win, int transit) argument
1784 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
2090 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
2156 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument
2555 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect cf, Rect vf) argument
2623 layoutWindowLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
2911 offsetInputMethodWindowLw(WindowState win) argument
2949 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs) argument
4407 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
[all...]
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java357 Window win;
358 win = r.window;
370 return win;
387 Window win = null;
389 win = performDestroy(r, finish);
395 return win;
H A DInstrumentation.java752 Window win = activity.getWindow();
754 returnValue = win.performPanelIdentifierAction(
815 Window win = activity.getWindow();
816 returnValue = win.performContextMenuIdentifierAction(
H A DActivity.java1108 final Window win = getWindow();
1109 if (win != null) win.makeActive();
2369 Window win = getWindow();
2370 if (win.superDispatchKeyEvent(event)) {
2374 if (decor == null) decor = win.getDecorView();
4516 final Window win = getWindow();
4517 if (win != null) {
4518 win.setTitle(title);
4520 win
[all...]
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp516 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
519 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
544 if (win == NULL) {
552 window = android::android_view_Surface_getNativeWindow(_env, win);
593 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
596 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
622 if (win == NULL) {
629 surfaceTexture = android::SurfaceTexture_getSurfaceTexture(_env, win);
518 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
595 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
/frameworks/native/opengl/include/EGL/
H A Degl.h266 EGLNativeWindowType win,

Completed in 333 milliseconds

12