/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.java | 6 Object win, in _eglCreateWindowSurface() argument 14 Object win, in _eglCreateWindowSurfaceTexture() argument 21 Object win, in eglCreateWindowSurface() argument 26 if (win instanceof SurfaceView) { in eglCreateWindowSurface() 27 SurfaceView surfaceView = (SurfaceView)win; in eglCreateWindowSurface() 29 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface() 30 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface() 32 } else if (win instanceof Surface) { in eglCreateWindowSurface() 33 sur = (Surface) win; in eglCreateWindowSurface() 39 } else if (win instanceof SurfaceTexture) { in eglCreateWindowSurface() [all …]
|
D | eglCreateWindowSurface.cpp | 4 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref,… in android_eglCreateWindowSurface() argument 43 if (win == NULL) { in android_eglCreateWindowSurface() 51 window = android::android_view_Surface_getNativeWindow(_env, win); in android_eglCreateWindowSurface() 78 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref,… in android_eglCreateWindowSurfaceTexture() argument 104 if (win == NULL) { in android_eglCreateWindowSurfaceTexture() 111 producer = android::SurfaceTexture_getProducer(_env, win); in android_eglCreateWindowSurfaceTexture()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 75 public void unrotate(Transaction transaction, WindowContainer win) { in unrotate() argument 76 transaction.setMatrix(win.getSurfaceControl(), mTransform, mFloat9); in unrotate() 78 final float[] winSurfacePos = {win.mLastSurfacePosition.x, win.mLastSurfacePosition.y}; in unrotate() 80 transaction.setPosition(win.getSurfaceControl(), winSurfacePos[0], winSurfacePos[1]); in unrotate() 82 transaction.setFixedTransformHint(win.mSurfaceControl, mFixedTransformHint); in unrotate() 104 void finish(Transaction t, WindowContainer win) { in finish() argument 105 if (win.mSurfaceControl == null || !win.mSurfaceControl.isValid()) { in finish() 110 t.setMatrix(win.mSurfaceControl, mTransform, mFloat9); in finish() 111 t.setPosition(win.mSurfaceControl, win.mLastSurfacePosition.x, win.mLastSurfacePosition.y); in finish() 113 t.unsetFixedTransformHint(win.mSurfaceControl); in finish()
|
D | TaskPositioningController.java | 115 WindowState win = null; in startMovingTask() local 117 win = mService.windowForClientLocked(null, window, false); in startMovingTask() 121 win, false /*resize*/, false /*preserveOrientation*/, startX, startY)) { in startMovingTask() 126 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask() 154 private boolean startPositioningLocked(WindowState win, boolean resize, in startPositioningLocked() argument 158 + "win=" + win + ", resize=" + resize + ", preserveOrientation=" in startPositioningLocked() 161 if (win == null || win.getAppToken() == null) { in startPositioningLocked() 162 Slog.w(TAG_WM, "startPositioningLocked: Bad window " + win); in startPositioningLocked() 165 if (win.mInputChannel == null) { in startPositioningLocked() 166 Slog.wtf(TAG_WM, "startPositioningLocked: " + win + " has no input channel, " in startPositioningLocked() [all …]
|
D | DisplayPolicy.java | 856 public void adjustWindowParamsLw(WindowState win, WindowManager.LayoutParams attrs) { in adjustWindowParamsLw() argument 903 if (attrs.isFullscreen() && win.mActivityRecord != null in adjustWindowParamsLw() 904 && win.mActivityRecord.fillsParent() in adjustWindowParamsLw() 905 && (win.mAttrs.privateFlags & PRIVATE_FLAG_FORCE_DRAW_BAR_BACKGROUNDS) != 0 in adjustWindowParamsLw() 916 if (mStatusBarAlt == win) { in adjustWindowParamsLw() 919 if (mNavigationBarAlt == win) { in adjustWindowParamsLw() 922 if (mClimateBarAlt == win) { in adjustWindowParamsLw() 925 if (mExtraNavBarAlt == win) { in adjustWindowParamsLw() 1070 void addWindowLw(WindowState win, WindowManager.LayoutParams attrs) { in addWindowLw() argument 1073 mNotificationShade = win; in addWindowLw() [all …]
|
D | WindowManagerService.java | 1662 final WindowState win = new WindowState(this, session, client, token, parentWindow, in addWindow() local 1665 if (win.mDeathRecipient == null) { in addWindow() 1673 if (win.getDisplayContent() == null) { in addWindow() 1679 displayPolicy.adjustWindowParamsLw(win, win.mAttrs); in addWindow() 1680 win.updateRequestedVisibility(requestedVisibility); in addWindow() 1690 win.openInputChannel(outInputChannel); in addWindow() 1718 mH.obtainMessage(H.WINDOW_HIDE_TIMEOUT, win), in addWindow() 1719 win.mAttrs.hideTimeoutMilliseconds); in addWindow() 1727 if (!win.isChildWindow() in addWindow() 1752 displayContent.mWinAddedSinceNullFocus.add(win); in addWindow() [all …]
|
D | Letterbox.java | 199 void attachInput(WindowState win) { in attachInput() argument 201 surface.attachInput(win); in attachInput() 220 InputInterceptor(String namePrefix, WindowState win) { in InputInterceptor() argument 221 mWmService = win.mWmService; in InputInterceptor() 222 … final String name = namePrefix + (win.mActivityRecord != null ? win.mActivityRecord : win); in InputInterceptor() 229 win.getDisplayId()); in InputInterceptor() 304 void attachInput(WindowState win) { in attachInput() argument 308 mInputInterceptor = new InputInterceptor("Letterbox_" + mType + "_", win); in attachInput()
|
D | InsetsPolicy.java | 343 private static boolean canBeTopFullscreenOpaqueWindow(@Nullable WindowState win) { in canBeTopFullscreenOpaqueWindow() argument 346 final boolean nonAttachedAppWindow = win != null in canBeTopFullscreenOpaqueWindow() 347 && win.mAttrs.type >= WindowManager.LayoutParams.FIRST_APPLICATION_WINDOW in canBeTopFullscreenOpaqueWindow() 348 && win.mAttrs.type <= WindowManager.LayoutParams.LAST_APPLICATION_WINDOW; in canBeTopFullscreenOpaqueWindow() 349 return nonAttachedAppWindow && win.mAttrs.isFullscreen() && !win.isFullyTransparent() in canBeTopFullscreenOpaqueWindow() 350 && !win.inMultiWindowMode(); in canBeTopFullscreenOpaqueWindow() 410 final WindowState win = mPolicy.getStatusBar(); in forceShowsStatusBarTransiently() local 411 return win != null && (win.mAttrs.privateFlags & PRIVATE_FLAG_FORCE_SHOW_STATUS_BAR) != 0; in forceShowsStatusBarTransiently() 415 final WindowState win = mPolicy.getNotificationShade(); in forceShowsNavigationBarTransiently() local 416 return win != null in forceShowsNavigationBarTransiently() [all …]
|
D | WindowToken.java | 228 final WindowState win = mChildren.get(i); in removeAllWindowsIfPossible() local 230 "removeAllWindowsIfPossible: removing win=%s", win); in removeAllWindowsIfPossible() 231 win.removeIfPossible(); in removeAllWindowsIfPossible() 253 final WindowState win = mChildren.get(i); in setExiting() local 254 changed |= win.onSetAppExiting(); in setExiting() 297 void addWindow(final WindowState win) { in addWindow() argument 299 "addWindow: win=%s Callers=%s", win, Debug.getCallers(5)); in addWindow() 301 if (win.isChildWindow()) { in addWindow() 310 if (!mChildren.contains(win)) { in addWindow() 311 ProtoLog.v(WM_DEBUG_ADD_REMOVE, "Adding %s to %s", win, this); in addWindow() [all …]
|
D | InsetsStateController.java | 317 void updateAboveInsetsState(WindowState win, boolean notifyInsetsChange) { in updateAboveInsetsState() argument 318 if (win == null || win.getDisplayContent() != mDisplayContent) { in updateAboveInsetsState() 325 final SparseArray<InsetsSource> winProvidedSources = win.mProvidedInsetsSources; in updateAboveInsetsState() 329 if (w == win) { in updateAboveInsetsState() 331 if (!win.mAboveInsetsState.equals(aboveInsetsState)) { in updateAboveInsetsState() 332 win.mAboveInsetsState.set(aboveInsetsState); in updateAboveInsetsState() 333 insetsChangedWindows.add(win); in updateAboveInsetsState() 399 void computeSimulatedState(WindowState win, DisplayFrames displayFrames, in computeSimulatedState() argument 404 if (provider.mWin == win) { in computeSimulatedState()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RemoteAnimationControllerTest.java | 108 final WindowState win = createWindow(null /* parent */, TYPE_APPLICATION_OVERLAY, in createAppOverlayWindow() local 110 win.mActivityRecord = null; in createAppOverlayWindow() 111 win.mHasSurface = true; in createAppOverlayWindow() 112 return win; in createAppOverlayWindow() 117 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRun() local 118 mDisplayContent.mOpeningApps.add(win.mActivityRecord); in testRun() 121 … final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mActivityRecord, in testRun() 142 assertEquals(win.mActivityRecord.getPrefixOrderIndex(), app.prefixOrderIndex); in testRun() 143 assertEquals(win.mActivityRecord.getTask().mTaskId, app.taskId); in testRun() 160 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testCancel() local [all …]
|
D | DisplayPolicyTests.java | 72 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "opaqueFullscreen"); in createOpaqueFullscreen() local 73 final WindowManager.LayoutParams attrs = win.mAttrs; in createOpaqueFullscreen() 80 return win; in createOpaqueFullscreen() 84 final WindowState win = spy(createWindow(null, TYPE_APPLICATION, "dimmingDialog")); in createDimmingDialogWindow() local 85 final WindowManager.LayoutParams attrs = win.mAttrs; in createDimmingDialogWindow() 90 when(win.isDimming()).thenReturn(true); in createDimmingDialogWindow() 91 return win; in createDimmingDialogWindow() 96 final WindowState win = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in createInputMethodWindow() local 97 final WindowManager.LayoutParams attrs = win.mAttrs; in createInputMethodWindow() 104 win.mHasSurface = visible; in createInputMethodWindow() [all …]
|
D | WindowStateTests.java | 665 final WindowState win = mChildAppWindowAbove; in testReportResizedWithRemoteException() local 666 makeWindowVisible(win, win.getParentWindow()); in testReportResizedWithRemoteException() 667 win.mLayoutSeq = win.getDisplayContent().mLayoutSeq; in testReportResizedWithRemoteException() 668 win.updateResizingWindowIfNeeded(); in testReportResizedWithRemoteException() 670 assertThat(mWm.mResizingWindows).contains(win); in testReportResizedWithRemoteException() 671 assertTrue(win.getOrientationChanging()); in testReportResizedWithRemoteException() 673 mWm.mResizingWindows.remove(win); in testReportResizedWithRemoteException() 674 spyOn(win.mClient); in testReportResizedWithRemoteException() 676 doThrow(new RemoteException("test")).when(win.mClient).resized(any() /* frames */, in testReportResizedWithRemoteException() 682 win.reportResized(); in testReportResizedWithRemoteException() [all …]
|
D | InsetsPolicyTest.java | 87 final WindowState win = createWindow(null, WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, in testControlsForDispatch_dockedStackVisible() local 89 final InsetsSourceControl[] controls = addWindowAndGetControlsForDispatch(win); in testControlsForDispatch_dockedStackVisible() 100 final WindowState win = createWindow(null, WINDOWING_MODE_FREEFORM, in testControlsForDispatch_freeformStackVisible() local 102 final InsetsSourceControl[] controls = addWindowAndGetControlsForDispatch(win); in testControlsForDispatch_freeformStackVisible() 408 WindowState win = addWindow(type, name); in addNonFocusableWindow() local 409 win.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in addNonFocusableWindow() 410 return win; in addNonFocusableWindow() 414 final WindowState win = createWindow(null, type, name); in addWindow() local 415 mDisplayContent.getDisplayPolicy().addWindowLw(win, win.mAttrs); in addWindow() 416 return win; in addWindow() [all …]
|
D | DisplayPolicyTestsBase.java | 109 void addWindow(WindowState win) { in addWindow() argument 110 mDisplayPolicy.adjustWindowParamsLw(win, win.mAttrs); in addWindow() 112 win.mAttrs, Binder.getCallingPid(), Binder.getCallingUid())); in addWindow() 113 mDisplayPolicy.addWindowLw(win, win.mAttrs); in addWindow() 114 win.mHasSurface = true; in addWindow()
|
D | DisplayAreaTest.java | 451 final WindowState win = createWindowState(token); in testGetOrientation() local 452 spyOn(win); in testGetOrientation() 453 doNothing().when(win).setParent(any()); in testGetOrientation() 454 win.mAttrs.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testGetOrientation() 455 token.addChild(win, 0); in testGetOrientation() 458 doReturn(true).when(win).isVisible(); in testGetOrientation() 464 doReturn(false).when(win).isVisible(); in testGetOrientation() 478 final WindowState win = createWindowState(token); in testSetIgnoreOrientationRequest() local 479 spyOn(win); in testSetIgnoreOrientationRequest() 480 doNothing().when(win).setParent(any()); in testSetIgnoreOrientationRequest() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | EGL14.java | 234 Object win, in _eglCreateWindowSurface() argument 242 Object win, in _eglCreateWindowSurfaceTexture() argument 249 Object win, in eglCreateWindowSurface() argument 254 if (win instanceof SurfaceView) { in eglCreateWindowSurface() 255 SurfaceView surfaceView = (SurfaceView)win; in eglCreateWindowSurface() 257 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface() 258 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface() 260 } else if (win instanceof Surface) { in eglCreateWindowSurface() 261 sur = (Surface) win; in eglCreateWindowSurface() 267 } else if (win instanceof SurfaceTexture) { in eglCreateWindowSurface() [all …]
|
D | GLU.java | 149 int[] view, int viewOffset, float[] win, int winOffset) { in gluProject() argument 173 win[winOffset] = in gluProject() 177 win[winOffset + 1] = in gluProject() 180 win[winOffset + 2] = (scratch[V2_OFFSET + 2] * rw + 1.0f) * 0.5f; in gluProject()
|
/frameworks/base/native/android/ |
D | native_window_jni.cpp | 31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); in ANativeWindow_fromSurface() local 32 if (win != NULL) { in ANativeWindow_fromSurface() 33 ANativeWindow_acquire(win.get()); in ANativeWindow_fromSurface() 35 return win.get(); in ANativeWindow_fromSurface()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.cpp | 51 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, in egl_surface_t() argument 56 win(win), in egl_surface_t() 71 if (win) { in egl_surface_t() 72 win->incStrong(this); in egl_surface_t() 77 if (win != nullptr) { in ~egl_surface_t() 79 win->decStrong(this); in ~egl_surface_t() 84 if (win != nullptr && connected) { in disconnect() 88 native_window_set_buffers_format(win, 0); in disconnect() 89 if (native_window_api_disconnect(win, NATIVE_WINDOW_API_EGL)) { in disconnect() 90 ALOGW("EGLNativeWindowType %p disconnect failed", win); in disconnect()
|
D | egl_object.h | 129 egl_surface_t(egl_display_t* dpy, EGLConfig config, EGLNativeWindowType win, EGLSurface surface, 132 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() 133 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() 151 ANativeWindow* win;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 96 Window win = mDialog.getWindow(); in onKey() local 97 if (win != null) { in onKey() 98 View decor = win.getDecorView(); in onKey() 108 Window win = mDialog.getWindow(); in onKey() local 109 if (win != null) { in onKey() 110 View decor = win.getDecorView(); in onKey()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | StatusBarTest.java | 131 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/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 466 default int getWindowLayerLw(WindowState win) { in getWindowLayerLw() argument 467 return getWindowLayerFromTypeLw(win.getBaseType(), win.canAddInternalSystemWindow()); in getWindowLayerLw() 677 default boolean canBeHiddenByKeyguardLw(WindowState win) { in canBeHiddenByKeyguardLw() argument 679 if (win.getAppToken() != null) { in canBeHiddenByKeyguardLw() 682 switch (win.getAttrs().type) { in canBeHiddenByKeyguardLw() 690 return getWindowLayerLw(win) < getWindowLayerFromTypeLw(TYPE_NOTIFICATION_SHADE); in canBeHiddenByKeyguardLw() 726 void setKeyguardCandidateLw(@Nullable WindowState win); in setKeyguardCandidateLw() argument
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 264 const Rect win{getBounds()}; in prepareClientComposition() local 272 bufferWidth = float(win.right) - float(win.left); in prepareClientComposition() 273 bufferHeight = float(win.bottom) - float(win.top); in prepareClientComposition() 276 const float scaleHeight = (float(win.bottom) - float(win.top)) / bufferHeight; in prepareClientComposition() 277 const float scaleWidth = (float(win.right) - float(win.left)) / bufferWidth; in prepareClientComposition() 278 const float translateY = float(win.top) / bufferHeight; in prepareClientComposition() 279 const float translateX = float(win.left) / bufferWidth; in prepareClientComposition()
|