Searched refs:win (Results 1 - 25 of 40) 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) {
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 DAppWindowToken.java157 WindowState win = allAppWindows.get(i);
158 if (win == startingWindow && clientHidden) {
164 "Setting visibility of " + win + ": " + (!clientHidden));
165 win.mClient.dispatchAppVisibility(!clientHidden);
178 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { argument
186 + win.mToken + ": first real window is shown, no animation");
211 WindowState win = allAppWindows.get(i);
212 if (win == startingWindow || win.mAppFreezing
213 || win
[all...]
H A DWindowAnimator.java212 private boolean shouldForceHide(WindowState win) { argument
224 allowWhenLocked |= (win.mIsImWindow || imeTarget == win) && showImeOverKeyguard;
226 allowWhenLocked |= (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0 && win.mTurnOnScreen;
229 allowWhenLocked |= appShowWhenLocked == win.mAppToken
231 || (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0
233 || (win.mAttrs.privateFlags & PRIVATE_FLAG_SYSTEM_ERROR) != 0;
239 boolean hideDockDivider = win.mAttrs.type == TYPE_DOCK_DIVIDER
240 && win
944 requestRemovalOfReplacedWindows(WindowState win) argument
[all...]
H A DTask.java182 final WindowState win = windows.get(winNdx);
183 win.notifyMovedInStack();
367 final WindowState win = windows.get(winNdx);
368 win.mXOffset = xOffset;
369 win.mYOffset = yOffset;
374 void applyScrollToWindowIfNeeded(final WindowState win) { argument
376 win.mXOffset = mBounds.left;
377 win.mYOffset = mBounds.top;
462 final WindowState win = token.findMainWindow();
463 if (win
[all...]
H A DWindowManagerService.java1096 //win. used for z ordering the windows in mWindows
1097 private int findIdxBasedOnAppTokens(WindowState win) { argument
1098 WindowList windows = win.getWindowList();
1101 if(wentry.mAppToken == win.mAppToken) {
1118 final WindowState win = token.windows.get(i);
1119 if (win.getDisplayContent() == displayContent) {
1120 windowList.add(win);
1130 * @return The index of win in windows or of the window that is an ancestor of win.
1147 private int addAppWindowToListLocked(final WindowState win) { argument
1280 addAppWindowToTokenListLocked(WindowState win, WindowToken token, WindowList windows, WindowList tokenWindowList) argument
1321 addFreeWindowToListLocked(final WindowState win) argument
1348 addAttachedWindowToListLocked(final WindowState win, boolean addToToken) argument
1412 addWindowToListInOrderLocked(final WindowState win, boolean addToToken) argument
1618 addInputMethodWindowToListLocked(WindowState win) argument
1635 tmpRemoveWindowLocked(int interestingPos, WindowState win) argument
1659 reAddWindowToListInOrderLocked(WindowState win) argument
2281 setupWindowForRemoveOnExit(WindowState win) argument
2304 removeWindowLocked(WindowState win) argument
2308 removeWindowLocked(WindowState win, boolean keepVisibleDeadWindow) argument
2446 removeWindowInnerLocked(WindowState win) argument
2990 tryStartExitingAnimation(WindowState win, WindowStateAnimator winAnimator, boolean isDefaultDisplay, boolean focusMayChange) argument
3027 createSurfaceControl(Surface outSurface, int result, WindowState win, WindowStateAnimator winAnimator) argument
3044 relayoutVisibleWindow(Configuration outConfig, int result, WindowState win, WindowStateAnimator winAnimator, int attrChanges, int oldVisibility) argument
4819 reAddWindowLocked(int index, WindowState win) argument
7553 startPositioningLocked( WindowState win, boolean resize, float startX, float startY) argument
[all...]
H A DWindowSurfacePlacer.java391 WindowState win = mService.mResizingWindows.get(i);
392 if (win.mAppFreezing) {
397 if (win.mAppToken != null) {
398 win.mAppToken.destroySavedSurfaces();
400 win.reportResized();
421 WindowState win = mService.mDestroySurface.get(i);
422 win.mDestroying = false;
423 if (mService.mInputMethodWindow == win) {
426 if (mWallpaperControllerLocked.isWallpaperTarget(win)) {
429 win
[all...]
H A DWindowToken.java82 WindowState win = windows.get(winNdx);
83 if (DEBUG_WINDOW_MOVEMENT) Slog.w(TAG_WM, "removeAllWindows: removing win=" + win);
84 win.mService.removeWindowLocked(win);
H A DWindowLayersController.java123 if (DEBUG_LAYERS) Slog.v(TAG_WM, "IM win " + imw
128 if (DEBUG_LAYERS) Slog.v(TAG_WM, "IM win " + childWindow
135 if (DEBUG_LAYERS) Slog.v(TAG_WM, "IM win " + imw
140 int getSpecialWindowAnimLayerAdjustment(WindowState win) { argument
141 if (win.mIsImWindow) {
143 } else if (win.mIsWallpaper) {
232 private int assignAndIncreaseLayerIfNeeded(WindowState win, int layer) { argument
233 if (win != null) {
234 assignAnimLayer(win, layer);
H A DDisplayContent.java299 final WindowState win = task.getTopVisibleAppMainWindow();
300 if (win == null) {
425 WindowState win = mTapExcludedWindows.get(i);
426 win.getTouchableRegion(mTmpRegion);
442 final WindowState win = windows.get(i);
443 if (win.isHiddenFromUserLocked()) {
444 if (DEBUG_VISIBILITY) Slog.w(TAG_WM, "user changing, hiding " + win
445 + ", attrs=" + win.mAttrs.type + ", belonging to " + win.mOwnerUid);
446 win
[all...]
H A DWindowState.java1032 WindowState win = this;
1033 while (win.isChildWindow()) {
1034 win = win.mAttachedWindow;
1036 return win.mAttrs.type;
1605 final WindowState win = mAppToken.allAppWindows.get(i);
1606 if (win.mWillReplaceWindow && win.mReplacingWindow == this && hasDrawnLw()) {
1607 if (DEBUG_ADD_REMOVE) Slog.d(TAG, "Removing replaced window: " + win);
1608 if (win
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp68 EGLNativeWindowType win, EGLSurface surface,
70 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx),
73 if (win) {
79 ANativeWindow* const window = win.get();
87 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 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.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/services/core/java/com/android/server/policy/
H A DBarController.java78 public void setWindow(WindowState win) { argument
79 mWin = win;
120 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { argument
122 if (win != null && (win.getAttrs().privateFlags
124 int fl = PolicyControl.getWindowFlags(win, null);
163 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument
164 if (win.isDrawnLw()) {
165 final boolean vis = win.isVisibleLw();
166 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.java2521 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { argument
2531 return windowTypeToLayerLw(win.getBaseType())
2588 final PhoneWindow win = new PhoneWindow(context);
2589 win.setIsStartingWindow(true);
2594 win.setTitle(label, true);
2596 win.setTitle(nonLocalizedLabel, false);
2599 win.setType(
2615 win.setFlags(
2625 win.setDefaultIcon(icon);
2626 win
2704 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
2751 removeWindowLw(WindowState win) argument
2769 selectAnimationLw(WindowState win, int transit) argument
2824 selectDockedDividerAnimationLw(WindowState win, int transit) argument
2966 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
3451 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
3517 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument
4210 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument
4287 canReceiveInput(WindowState win) argument
4298 layoutWindowLw(WindowState win, WindowState attached) argument
4819 offsetInputMethodWindowLw(WindowState win) argument
4838 offsetVoiceInputWindowLw(WindowState win) argument
4880 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
7169 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
7321 drawsSystemBarBackground(WindowState win) argument
7325 forcesDrawStatusBarBackground(WindowState win) argument
7330 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java93 Window win = mDialog.getWindow();
94 if (win != null) {
95 View decor = win.getDecorView();
105 Window win = mDialog.getWindow();
106 if (win != null) {
107 View decor = win.getDecorView();
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuDialogHelper.java95 Window win = mDialog.getWindow();
96 if (win != null) {
97 View decor = win.getDecorView();
107 Window win = mDialog.getWindow();
108 if (win != null) {
109 View decor = win.getDecorView();
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java707 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument
766 * @param win The window being added.
772 public int prepareAddWindowLw(WindowState win, argument
779 * @param win The window being removed.
781 public void removeWindowLw(WindowState win); argument
788 * @param win The window that is changing.
795 public int selectAnimationLw(WindowState win, int transit); argument
869 * @param win The window that currently has focus. This is where the key
878 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); argument
887 * @param win Th
894 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
932 layoutWindowLw(WindowState win, WindowState attached) argument
988 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached) argument
1251 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
1388 isNavBarForcedShownLw(WindowState win) argument
[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/native/services/surfaceflinger/
H A DLayer.cpp366 static Rect reduce(const Rect& win, const Region& exclude) { argument
368 return win;
371 return win.reduce(exclude.getBounds());
373 return Region(win).subtract(exclude).getBounds();
383 Rect win(s.active.w, s.active.h);
386 win.intersect(s.crop, &win);
389 return reduce(win, activeTransparentRegion);
790 Rect win(s.active.w, s.active.h);
792 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 5048 milliseconds

12