Searched defs:win (Results 1 - 24 of 24) 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) {
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/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/services/core/java/com/android/server/wm/
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 DTaskPositioner.java337 void startDragLocked(WindowState win, boolean resize, float startX, float startY) { argument
339 Slog.d(TAG, "startDragLocked: win=" + win + ", resize=" + resize
343 mTask = win.getTask();
357 // multiple app windows. Don't use any bounds from win itself as it
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 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 DDragState.java521 Slog.w(TAG_WM, "can't send drop notification to win " + touchedWin);
532 private static DragEvent obtainDragEvent(WindowState win, int action, argument
537 final float winX = win.translateToWindowX(x);
538 final float winY = win.translateToWindowY(y);
H A DWallpaperController.java122 boolean isWallpaperTarget(WindowState win) { argument
123 return win == mWallpaperTarget;
126 boolean isBelowWallpaperTarget(WindowState win) { argument
127 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer;
456 void setAnimLayerAdjustment(WindowState win, int adj) { argument
457 if (win != mWallpaperTarget || mLowerWallpaperTarget != null) {
468 if (DEBUG_LAYERS || DEBUG_WALLPAPER) Slog.v(TAG, "setWallpaper win "
711 if (DEBUG_LAYERS || DEBUG_WALLPAPER_LIGHT) Slog.v(TAG, "adjustWallpaper win "
907 void setTopWallpaper(WindowState win, int index) { argument
908 topWallpaper = win;
912 setWallpaperTarget(WindowState win, int index) 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 DWindowStateAnimator.java243 WindowStateAnimator(final WindowState win) { argument
244 final WindowManagerService service = win.mService;
250 final DisplayContent displayContent = win.getDisplayContent();
260 mWin = win;
261 mAttachedWinAnimator = win.mAttachedWindow == null
262 ? null : win.mAttachedWindow.mWinAnimator;
263 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator;
264 mSession = win.mSession;
265 mAttrType = 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...]
/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/libs/hwui/debug/
H A Dnullegl.cpp83 EGLNativeWindowType win,
82 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) argument
/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.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...]
/frameworks/base/services/core/java/com/android/server/policy/
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 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 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/jni/
H A Dandroid_opengl_EGL14.cpp517 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
520 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
559 if (win == NULL) {
567 window = android::android_view_Surface_getNativeWindow(_env, win);
590 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
593 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
619 if (win == NULL) {
626 producer = android::SurfaceTexture_getProducer(_env, win);
519 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
592 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.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/inputmethodservice/
H A DInputMethodService.java1076 * @param win The input method's window.
1083 public void onConfigureWindow(Window win, boolean isFullscreen, argument
/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...]

Completed in 266 milliseconds