Searched refs:win (Results 1 - 25 of 50) 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/native/android/
H A Dnative_window_jni.cpp31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); local
32 if (win != NULL) {
33 win->incStrong((void*)ANativeWindow_fromSurface);
35 return win.get();
H A Dsurface_texture.cpp48 ANativeWindow* win(surface.get());
49 ANativeWindow_acquire(win);
50 return win;
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioningController.java65 WindowState win = null;
67 win = mService.windowForClientLocked(null, window, false);
68 // win shouldn't be null here, pass it down to startPositioningLocked
71 win, false /*resize*/, false /*preserveOrientation*/, startX, startY)) {
76 mActivityManager.setFocusedTask(win.getTask().mTaskId);
105 private boolean startPositioningLocked(WindowState win, boolean resize, argument
109 + "win=" + win + ", resize=" + resize + ", preserveOrientation="
112 if (win == null || win
[all...]
H A DWindowToken.java139 final WindowState win = mChildren.get(i);
141 "removeAllWindowsIfPossible: removing win=" + win);
142 win.removeIfPossible();
164 final WindowState win = mChildren.get(i);
165 if (win.mWinAnimator.isAnimationSet()) {
168 changed |= win.onSetAppExiting();
193 void addWindow(final WindowState win) { argument
195 "addWindow: win=" + win
[all...]
H A DWindowManagerService.java1317 final WindowState win = new WindowState(this, session, client, token, parentWindow,
1320 if (win.mDeathRecipient == null) {
1328 if (win.getDisplayContent() == null) {
1336 mPolicy.adjustWindowParamsLw(win, win.mAttrs, hasStatusBarServicePermission);
1337 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs));
1339 res = mPolicy.prepareAddWindowLw(win, attrs);
1347 win.openInputChannel(outInputChannel);
1375 mH.obtainMessage(H.WINDOW_HIDE_TIMEOUT, win),
1376 win
1657 postWindowRemoveCleanupLocked(WindowState win) argument
1720 setInputMethodWindowLocked(WindowState win) argument
2192 tryStartExitingAnimation(WindowState win, WindowStateAnimator winAnimator, boolean isDefaultDisplay, boolean focusMayChange) argument
2239 createSurfaceControl(Surface outSurface, int result, WindowState win, WindowStateAnimator winAnimator) argument
7527 updateNonSystemOverlayWindowsVisibilityIfNeeded(WindowState win, boolean surfaceShown) argument
[all...]
H A DAppWindowToken.java297 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { argument
305 + win.mToken + ": first real window is shown, no animation");
309 win.cancelAnimation();
328 final WindowState win = mChildren.get(i);
329 win.updateReportedVisibility(mReportedVisibilityResults);
425 final WindowState win = mChildren.get(i);
426 changed |= win.onAppVisibilityChanged(visible, runningAppAnimation);
537 final WindowState win = mChildren.get(i);
538 if (win != null && win
807 postWindowRemoveStartingWindowCleanup(WindowState win) argument
1280 isLastWindow(WindowState win) argument
[all...]
H A DTask.java420 final WindowState win = token.findMainWindow();
421 if (win == null) {
425 out.set(win.mVisibleFrame);
429 if (win.mVisibleFrame.left < out.left) {
430 out.left = win.mVisibleFrame.left;
432 if (win.mVisibleFrame.top < out.top) {
433 out.top = win.mVisibleFrame.top;
435 if (win.mVisibleFrame.right > out.right) {
436 out.right = win.mVisibleFrame.right;
438 if (win
[all...]
H A DRootWindowContainer.java166 final WindowState win = dc.findFocusedWindow();
167 if (win != null) {
169 EventLog.writeEvent(0x534e4554, "71786287", win.mOwnerUid, "");
172 return win;
443 final WindowState win = getWindow((w) -> w.mSession.mPid == pid && w.isVisibleLw());
444 return win != null;
694 WindowState win = mService.mDestroySurface.get(i);
695 win.mDestroying = false;
696 if (mService.mInputMethodWindow == win) {
699 if (win
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DRemoteAnimationControllerTest.java87 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin");
88 sWm.mOpeningApps.add(win.mAppToken);
90 final AnimationAdapter adapter = mController.createAnimationAdapter(win.mAppToken,
104 assertEquals(win.mAppToken.getPrefixOrderIndex(), app.prefixOrderIndex);
105 assertEquals(win.mAppToken.getTask().mTaskId, app.taskId);
107 assertEquals(win.mWinAnimator.mLastClipRect, app.clipRect);
122 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin");
123 final AnimationAdapter adapter = mController.createAnimationAdapter(win.mAppToken,
134 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin");
135 final AnimationAdapter adapter = mController.createAnimationAdapter(win
[all...]
H A DTestWindowManagerPolicy.java96 public void adjustWindowParamsLw(WindowState win, WindowManager.LayoutParams attrs, argument
141 public boolean canBeHiddenByKeyguardLw(WindowState win) { argument
180 public int prepareAddWindowLw(WindowState win, argument
186 public void removeWindowLw(WindowState win) { argument
191 public int selectAnimationLw(WindowState win, int transit) { argument
228 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, argument
234 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, argument
250 public void applyPostLayoutPolicyLw(WindowState win, argument
445 public boolean performHapticFeedbackLw(WindowState win, int effectId, argument
539 public boolean isNavBarForcedShownLw(WindowState win) { argument
[all...]
/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.java88 public void setWindow(WindowState win) { argument
89 mWin = win;
139 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { argument
141 if (win != null && (win.getAttrs().privateFlags
143 int fl = PolicyControl.getWindowFlags(win, null);
150 && isTransparentAllowed(win)) {
163 boolean isTransparentAllowed(WindowState win) { argument
164 return win == null || !win
202 computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) argument
[all...]
H A DPolicyControl.java66 public static int getSystemUiVisibility(WindowState win, LayoutParams attrs) { argument
67 attrs = attrs != null ? attrs : win.getAttrs();
68 int vis = win != null ? win.getSystemUiVisibility()
87 public static int getWindowFlags(WindowState win, LayoutParams attrs) { argument
88 attrs = attrs != null ? attrs : win.getAttrs();
101 public static int adjustClearableFlags(WindowState win, int clearableFlags) { argument
102 final LayoutParams attrs = win != null ? win.getAttrs() : null;
H A DWindowManagerPolicy.java748 public void adjustWindowParamsLw(WindowState win, WindowManager.LayoutParams attrs, argument
774 * @param win The window state
777 default int getWindowLayerLw(WindowState win) { argument
778 return getWindowLayerFromTypeLw(win.getBaseType(), win.canAddInternalSystemWindow());
987 * @return whether {@param win} can be hidden by Keyguard
989 public boolean canBeHiddenByKeyguardLw(WindowState win); argument
1023 * @param win The window being added.
1029 public int prepareAddWindowLw(WindowState win, argument
1036 * @param win Th
1038 removeWindowLw(WindowState win) argument
1052 selectAnimationLw(WindowState win, int transit) argument
1135 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
1151 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
1178 layoutWindowLw( WindowState win, WindowState attached, DisplayFrames displayFrames) argument
1221 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached, WindowState imeTarget) argument
1521 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
1689 isNavBarForcedShownLw(WindowState win) argument
[all...]
H A DPhoneWindowManager.java2754 public void adjustWindowParamsLw(WindowState win, WindowManager.LayoutParams attrs, argument
2758 if (mScreenDecorWindows.contains(win)) {
2761 mScreenDecorWindows.remove(win);
2764 mScreenDecorWindows.add(win);
3024 public boolean canBeHiddenByKeyguardLw(WindowState win) { argument
3025 switch (win.getAttrs().type) {
3033 return getWindowLayerLw(win) < getWindowLayerFromTypeLw(TYPE_STATUS_BAR);
3037 private boolean shouldBeHiddenByKeyguard(WindowState win, WindowState imeTarget) { argument
3040 if (win.getAppToken() != null) {
3044 final LayoutParams attrs = win
3220 addSplashscreenContent(PhoneWindow win, Context ctx) argument
3272 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
3324 removeWindowLw(WindowState win) argument
3339 selectAnimationLw(WindowState win, int transit) argument
3411 selectDockedDividerAnimationLw(WindowState win, int transit) argument
3568 interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) argument
4140 dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) argument
4206 interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) argument
5004 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf, DisplayFrames displayFrames) argument
5067 canReceiveInput(WindowState win) argument
5078 layoutWindowLw(WindowState win, WindowState attached, DisplayFrames displayFrames) argument
5562 offsetInputMethodWindowLw(WindowState win, DisplayFrames displayFrames) argument
5575 offsetVoiceInputWindowLw(WindowState win, DisplayFrames displayFrames) argument
5601 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs, WindowState attached, WindowState imeTarget) argument
5705 applyKeyguardPolicyLw(WindowState win, WindowState imeTarget) argument
8042 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
8279 updateSystemBarsLw(WindowState win, int oldVis, int vis) argument
8407 drawsStatusBarBackground(int vis, WindowState win) 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/main/java/androidx/appcompat/view/menu/
H A DMenuDialogHelper.java97 Window win = mDialog.getWindow();
98 if (win != null) {
99 View decor = win.getDecorView();
109 Window win = mDialog.getWindow();
110 if (win != null) {
111 View decor = win.getDecorView();
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp58 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, argument
63 win(win),
78 if (win) {
79 win->incStrong(this);
84 if (win != NULL) {
86 win->decStrong(this);
91 if (win != NULL && connected) {
92 native_window_set_buffers_format(win, 0);
93 if (native_window_api_disconnect(win, NATIVE_WINDOW_API_EG
[all...]
H A Degl_object.h134 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface,
137 ANativeWindow* getNativeWindow() { return win; }
138 ANativeWindow* getNativeWindow() const { return win; }
155 ANativeWindow* win; member in class:android::egl_surface_t
/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 DBufferLayer.cpp848 Rect win = bounds; local
850 win = t.transform(win);
851 if (!win.intersect(s.finalCrop, &win)) {
852 win.clear();
854 win = t.inverse().transform(win);
855 if (!win.intersect(bounds, &win)) {
[all...]
H A DLayer.cpp279 static Rect reduce(const Rect& win, const Region& exclude) { argument
281 return win;
284 return win.reduce(exclude.getBounds());
286 return Region(win).subtract(exclude).getBounds();
289 static FloatRect reduce(const FloatRect& win, const Region& exclude) { argument
291 return win;
294 return Region(Rect{win}).subtract(exclude).getBounds().toFloatRect();
299 Rect win(s.active.w, s.active.h);
302 win.intersect(s.crop, &win);
826 FloatRect win = computeBounds(); local
[all...]

Completed in 189 milliseconds

12