Searched refs:win (Results 1 - 25 of 34) 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;
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/services/core/java/com/android/server/wm/
H A DAppWindowToken.java130 WindowState win = allAppWindows.get(i);
131 if (win == startingWindow && clientHidden) {
137 "Setting visibility of " + win + ": " + (!clientHidden));
138 win.mClient.dispatchAppVisibility(!clientHidden);
158 WindowState win = allAppWindows.get(i);
159 if (win == startingWindow || win.mAppFreezing
160 || win.mViewVisibility != View.VISIBLE
161 || win.mAttrs.type == TYPE_APPLICATION_STARTING
162 || win
[all...]
H A DWindowToken.java83 WindowState win = windows.get(winNdx);
85 "removeAllWindows: removing win=" + win);
86 win.mService.removeWindowLocked(win.mSession, win);
H A DWindowAnimator.java224 private boolean shouldForceHide(WindowState win) { argument
233 !(((win.mIsImWindow || imeTarget == win) && showImeOverKeyguard)
234 || (appShowWhenLocked != null && (appShowWhenLocked == win.mAppToken ||
236 (win.mAttrs.privateFlags & PRIVATE_FLAG_SYSTEM_ERROR) != 0)));
238 && (!win.mWinAnimator.isAnimating() || hideWhenLocked))
249 WindowState win = windows.get(i);
250 if (!mPolicy.isKeyguardHostWindow(win.mAttrs)) {
253 final WindowStateAnimator winAnimator = win.mWinAnimator;
254 if ((win
[all...]
H A DWindowManagerService.java969 //win. used for z ordering the windows in mWindows
970 private int findIdxBasedOnAppTokens(WindowState win) { argument
971 WindowList windows = win.getWindowList();
974 if(wentry.mAppToken == win.mAppToken) {
991 final WindowState win = token.windows.get(i);
992 if (win.getDisplayContent() == displayContent) {
993 windowList.add(win);
1003 * @return The index of win in windows or of the window that is an ancestor of win.
1020 private int addAppWindowToListLocked(final WindowState win) { argument
1184 addFreeWindowToListLocked(final WindowState win) argument
1202 addAttachedWindowToListLocked(final WindowState win, boolean addToToken) argument
1266 addWindowToListInOrderLocked(final WindowState win, boolean addToToken) argument
1454 addInputMethodWindowToListLocked(WindowState win) argument
1498 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument
1522 reAddWindowToListInOrderLocked(WindowState win) argument
2601 removeWindowLocked(Session session, WindowState win) argument
2685 removeWindowInnerLocked(Session session, WindowState win) argument
4994 reAddWindowLocked(int index, WindowState win) argument
[all...]
H A DDisplayContent.java236 final WindowState win = windows.get(i);
237 final TaskStack stack = win.getStack();
238 if (win.isVisibleLw() && stack != null && stack != focusedStack) {
239 mTmpRect.set(win.mVisibleFrame);
240 mTmpRect.intersect(win.mVisibleInsets);
249 final WindowState win = windows.get(i);
250 if (win.isHiddenFromUserLocked()) {
252 + win + ", attrs=" + win.mAttrs.type + ", belonging to "
253 + 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 DTaskStack.java106 final WindowState win = windows.get(winNdx);
107 if (!resizingWindows.contains(win)) {
109 "setBounds: Resizing " + win);
110 resizingWindows.add(win);
112 win.mUnderStatusBar = underStatusBar;
H A DWindowState.java1142 WindowState win = mService.windowForClientLocked(mSession, mClient, false);
1143 Slog.i(TAG, "WIN DEATH: " + win);
1144 if (win != null) {
1145 mService.removeWindowLocked(mSession, win);
1300 WindowState win = this;
1301 while (win.mAttachedWindow != null) {
1302 win = win.mAttachedWindow;
1304 if (win.mAttrs.type < WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW
1305 && win
[all...]
/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/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.java226 // 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...]
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/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 int fl = PolicyControl.getWindowFlags(win, null);
144 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument
145 if (win.hasDrawnLw()) {
146 final boolean vis = win.isVisibleLw();
147 final boolean anim = win
[all...]
H A DPolicyControl.java65 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 DPhoneWindowManager.java1994 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument
2042 Window win = PolicyManager.makeNewWindow(context);
2043 final TypedArray ta = win.getWindowStyle();
2052 win.setTitle(r.getText(labelRes, nonLocalizedLabel));
2054 win.setType(
2060 win.setFlags(
2070 win.setDefaultIcon(icon);
2071 win.setDefaultLogo(logo);
2073 win.setLayout(WindowManager.LayoutParams.MATCH_PARENT,
2076 final WindowManager.LayoutParams params = win
2161 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
2215 removeWindowLw(WindowState win) argument
2233 selectAnimationLw(WindowState win, int transit) argument
2397 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
2769 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
2835 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument
3432 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument
3511 layoutWindowLw(WindowState win, WindowState attached) argument
3946 offsetInputMethodWindowLw(WindowState win) argument
3965 offsetVoiceInputWindowLw(WindowState win) argument
4029 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
5945 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
6062 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument
[all...]
/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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuDialogHelper.java99 Window win = mDialog.getWindow();
100 if (win != null) {
101 View decor = win.getDecorView();
111 Window win = mDialog.getWindow();
112 if (win != null) {
113 View decor = win.getDecorView();
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java638 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument
695 * @param win The window being added.
701 public int prepareAddWindowLw(WindowState win, argument
708 * @param win The window being removed.
710 public void removeWindowLw(WindowState win); argument
717 * @param win The window that is changing.
724 public int selectAnimationLw(WindowState win, int transit); argument
798 * @param win The window that currently has focus. This is where the key
807 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); argument
816 * @param win Th
823 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
861 layoutWindowLw(WindowState win, WindowState attached) argument
909 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
1145 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
[all...]
H A DViewConfiguration.java297 final WindowManager win = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE);
298 final Display display = win.getDefaultDisplay();
/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/native/services/surfaceflinger/
H A DLayer.cpp285 static Rect reduce(const Rect& win, const Region& exclude) { argument
287 return win;
290 return win.reduce(exclude.getBounds());
292 return Region(win).subtract(exclude).getBounds();
302 Rect win(s.active.w, s.active.h);
304 win.intersect(s.active.crop, &win);
307 return reduce(win, activeTransparentRegion);
553 Rect win(s.active.w, s.active.h);
555 win
[all...]
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java358 Window win;
359 win = r.window;
371 return win;
388 Window win = null;
390 win = performDestroy(r, finish);
396 return win;

Completed in 971 milliseconds

12