/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayTest.cpp | 47 impl::Display mDisplay{mCompositionEngine, member in android::compositionengine::__anon87d131590111::DisplayTest 101 mDisplay.disconnect(); in TEST_F() 102 EXPECT_FALSE(mDisplay.getId()); in TEST_F() 106 mDisplay.disconnect(); in TEST_F() 107 EXPECT_FALSE(mDisplay.getId()); in TEST_F() 122 mDisplay.setColorTransform(identity); in TEST_F() 124 EXPECT_EQ(HAL_COLOR_TRANSFORM_IDENTITY, mDisplay.getState().colorTransform); in TEST_F() 131 mDisplay.setColorTransform(nonIdentity); in TEST_F() 133 EXPECT_EQ(HAL_COLOR_TRANSFORM_ARBITRARY_MATRIX, mDisplay.getState().colorTransform); in TEST_F() 142 mDisplay.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F() [all …]
|
D | RenderSurfaceTest.cpp | 56 EXPECT_CALL(mDisplay, getId()).WillRepeatedly(ReturnRef(DEFAULT_DISPLAY_ID)); in RenderSurfaceTest() 57 EXPECT_CALL(mDisplay, getName()).WillRepeatedly(ReturnRef(DEFAULT_DISPLAY_NAME)); in RenderSurfaceTest() 68 StrictMock<mock::Display> mDisplay; member in android::compositionengine::__anon2f9684cc0111::RenderSurfaceTest 71 impl::RenderSurface mSurface{mCompositionEngine, mDisplay, 197 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 204 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 211 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 223 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 235 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() 247 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F() [all …]
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 28 mDisplay(EGL_NO_DISPLAY), in GLHelper() 42 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in setUp() 43 if (mDisplay == EGL_NO_DISPLAY) { in setUp() 50 result = eglInitialize(mDisplay, &majorVersion, &minorVersion); in setUp() 66 result = eglChooseConfig(mDisplay, configAttribs, &mConfig, 1, in setUp() 77 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp() 114 if (mDisplay != EGL_NO_DISPLAY) { in tearDown() 115 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown() 120 eglDestroyContext(mDisplay, mContext); in tearDown() 124 eglDestroySurface(mDisplay, mDummySurface); in tearDown() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 65 private EGLDisplay mDisplay; field in RenderTarget 115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); in forTexture() 119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurfaceHolder() 124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null); in forSurfaceHolder() 130 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); in forSurfaceHolder() 138 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurfaceTexture() 143 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceTexture, null); in forSurfaceTexture() 149 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); in forSurfaceTexture() 157 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurface() 162 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surface, null); in forSurface() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | RenderSurface.cpp | 52 mDisplay(display), in RenderSurface() 115 const auto id = mDisplay.getId(); in prepareFrame() 117 status_t error = hwc.prepare(*id, mDisplay); in prepareFrame() 150 mDisplay.getName().c_str(), result); in dequeueBuffer() 167 const auto id = mDisplay.getId(); in queueBuffer() 177 mDisplay.getName().c_str()); in queueBuffer() 186 ALOGE("No buffer is ready for display [%s]", mDisplay.getName().c_str()); in queueBuffer() 192 ALOGE("Error when queueing buffer for display [%s]: %d", mDisplay.getName().c_str(), in queueBuffer() 196 if (!mDisplay.isVirtual()) { in queueBuffer() 210 ALOGE("[%s] failed pushing new frame to HWC: %d", mDisplay.getName().c_str(), result); in queueBuffer()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 84 private final Display mDisplay; field in BurnInProtectionHelper 120 mDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in BurnInProtectionHelper() 153 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in updateBurnInProtection() 254 if (displayId == mDisplay.getDisplayId()) { in onDisplayChanged() 255 if (mDisplay.getState() == Display.STATE_DOZE in onDisplayChanged() 256 || mDisplay.getState() == Display.STATE_DOZE_SUSPEND in onDisplayChanged() 257 || mDisplay.getState() == Display.STATE_ON_SUSPEND) { in onDisplayChanged() 275 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), 0, 0); in onAnimationEnd() 291 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in onAnimationUpdate()
|
/frameworks/base/core/java/android/hardware/display/ |
D | VirtualDisplay.java | 36 private final Display mDisplay; field in VirtualDisplay 43 mDisplay = display; in VirtualDisplay() 52 return mDisplay; in getDisplay() 121 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken in toString()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 155 private final Display mDisplay; field in Presentation 189 mDisplay = display; in Presentation() 207 return mDisplay; in getDisplay() 300 mDisplay.getMetrics(dm); in isConfigurationStillValid() 348 if (displayId == mDisplay.getDisplayId()) { 355 if (displayId == mDisplay.getDisplayId()) {
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | SimpleRecipientChip.java | 24 private final CharSequence mDisplay; field in SimpleRecipientChip 43 mDisplay = entry.getDisplayName(); in SimpleRecipientChip() 64 return mDisplay; in getDisplay() 113 return mDisplay + " <" + mValue + ">"; in toString()
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLImpl.java | 33 private EGLDisplayImpl mDisplay = new EGLDisplayImpl(-1); field in EGLImpl 122 if (mDisplay.mEGLDisplay != value) in eglGetDisplay() 123 mDisplay = new EGLDisplayImpl(value); in eglGetDisplay() 124 return mDisplay; in eglGetDisplay() 142 if (mDisplay.mEGLDisplay != value) in eglGetCurrentDisplay() 143 mDisplay = new EGLDisplayImpl(value); in eglGetCurrentDisplay() 144 return mDisplay; in eglGetCurrentDisplay()
|
/frameworks/base/core/jni/ |
D | android_media_RemoteDisplay.cpp | 114 mDisplay(display), mClient(client) { in NativeRemoteDisplay() 118 mDisplay->dispose(); in ~NativeRemoteDisplay() 122 mDisplay->pause(); in pause() 126 mDisplay->resume(); in resume() 130 sp<IRemoteDisplay> mDisplay; member in android::NativeRemoteDisplay
|
/frameworks/base/libs/hwui/utils/ |
D | GLUtils.h | 57 AutoEglImage(EGLDisplay display, EGLClientBuffer clientBuffer) : mDisplay(display) { in AutoEglImage() 65 eglDestroyImageKHR(mDisplay, image); in ~AutoEglImage() 72 EGLDisplay mDisplay = EGL_NO_DISPLAY;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 30 private final Display mDisplay; field in WindowManagerImpl 41 mDisplay = new Display(null, Display.DEFAULT_DISPLAY, info, in WindowManagerImpl() 47 return mDisplay; in getDefaultDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NavigationBarControllerTest.java | 61 private Display mDisplay; field in NavigationBarControllerTest 91 mDisplay = null; in tearDown() 118 mDisplay = mContext.getSystemService(WindowManager.class).getDefaultDisplay(); in initializeDisplayManager() 119 Display[] displays = {mDisplay}; in initializeDisplayManager()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 52 sp<IBinder> mDisplay; member in android::CredentialsTest 64 mDisplay = SurfaceComposerClient::getInternalDisplayToken(); in setupBackgroundSurface() 65 ASSERT_FALSE(mDisplay == nullptr); in setupBackgroundSurface() 68 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayInfo(mDisplay, &info)); in setupBackgroundSurface() 80 t.setDisplayLayerStack(mDisplay, 0); in setupBackgroundSurface()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 218 private Display mDisplay; field in WallpaperService.Engine 649 mConnection.onWallpaperColorsChanged(newColors, mDisplay.getDisplayId()); in notifyColorsChanged() 691 out.print(prefix); out.print("mDisplay="); out.println(mDisplay); in dump() 787 mDisplay.getDisplayInfo(displayInfo); in updateSurface() 825 mDisplay.getDisplayId(), mWinFrame, mContentInsets, mStableInsets, in updateSurface() 1054 mDisplay = mIWallpaperEngine.mDisplay; in attach() 1055 mDisplayContext = createDisplayContext(mDisplay); in attach() 1056 mDisplayState = mDisplay.getState(); in attach() 1135 mDisplayState = mDisplay == null ? Display.STATE_UNKNOWN : mDisplay.getState(); in reportVisibility() 1283 if (mDisplay.getDisplayId() == displayId) { [all …]
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 76 b.mDisplay = base; in obtain() 99 b.mDisplay = null; in recycle() 114 mDisplay = display; in setDisplayText() 286 private CharSequence mDisplay; field in DynamicLayout.Builder 378 mDisplay = display; in DynamicLayout() 390 super(createEllipsizer(b.mEllipsize, b.mDisplay), in DynamicLayout() 393 mDisplay = b.mDisplay; in DynamicLayout() 505 CharSequence text = mDisplay; in reflow() 728 final CharSequence text = mDisplay; in createBlocks() 1153 private CharSequence mDisplay; field in DynamicLayout
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 91 private VirtualDisplay mDisplay; field in ScreenDecorWindowTests 100 mDisplay = result.first; in setUp() 102 final Display display = mDisplay.getDisplay(); in setUp() 107 mDisplay.getDisplay().getRealSize(size); in setUp() 118 mDisplay.release(); in tearDown()
|
D | RecentTasksTest.java | 100 private ActivityDisplay mDisplay; field in RecentTasksTest 746 final ActivityStack homeStack = mDisplay.getHomeStack(); in testBackStackTasks_expectNoTrim() 747 final ActivityStack aboveHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBackStackTasks_expectNoTrim() 765 final ActivityStack behindHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed() 766 final ActivityStack homeStack = mDisplay.getHomeStack(); in testBehindHomeStackTasks_expectTaskTrimmed() 767 final ActivityStack aboveHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed() 787 final ActivityStack homeStack = mDisplay.getHomeStack(); in testOtherDisplayTasks_expectNoTrim() 935 final int orignalStackCount = mDisplay.getChildCount(); in assertNotRestoreTask() 937 assertEquals(orignalStackCount, mDisplay.getChildCount()); in assertNotRestoreTask() 1122 mDisplay = mRootActivityContainer.getActivityDisplay(DEFAULT_DISPLAY); in createDefaultDisplay() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 105 Display mDisplay; field in SystemServicesProxy 145 mDisplay = mWm.getDefaultDisplay(); in SystemServicesProxy() 388 if (mDisplay == null) return 0; in getDeviceSmallestWidth() 392 mDisplay.getCurrentSizeRange(smallestSizeRange, largestSizeRange); in getDeviceSmallestWidth() 401 if (mDisplay == null) return displayRect; in getDisplayRect() 404 mDisplay.getRealSize(p); in getDisplayRect()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 40 private final Display mDisplay; field in Watermark 63 mDisplay = dc.getDisplay(); in Watermark() 121 ctrl.setLayerStack(mDisplay.getLayerStack()); in Watermark()
|
D | ActivityDisplay.java | 99 Display mDisplay; field in ActivityDisplay 165 mDisplay = display; in ActivityDisplay() 171 return mService.mWindowManager.mRoot.createDisplayContent(mDisplay, this); in createDisplayContent() 175 mDisplay.getRealSize(mTmpDisplaySize); in updateBounds() 181 final int displayId = mDisplay.getDisplayId(); in onDisplayChanged() 183 final int displayState = mDisplay.getState(); in onDisplayChanged() 1101 return (mDisplay.getFlags() & FLAG_PRIVATE) != 0; in isPrivate() 1215 return mDisplay.getRemoveMode() == REMOVE_MODE_DESTROY_CONTENT; in shouldDestroyContentOnRemove()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 172 sp<DisplayDevice> mDisplay; member in android::__anon4393af000111::CompositionTest 229 DisplayRenderArea renderArea(mDisplay, sourceCrop, DEFAULT_DISPLAY_WIDTH, in captureScreenComposition() 234 return mFlinger.traverseLayersInDisplay(mDisplay, visitor); in captureScreenComposition() 286 test->mDisplay = FakeDisplayDeviceInjector(test->mFlinger, DEFAULT_DISPLAY_ID, in setupPreconditions() 294 test->mDisplay->setLayerStack(DEFAULT_LAYER_STACK); in setupPreconditions() 797 outputLayers.emplace_back(test->mDisplay->getCompositionDisplay() in injectLayer() 802 test->mDisplay->getCompositionDisplay()->setOutputLayersOrderedByZ(std::move(outputLayers)); in injectLayer() 808 test->mDisplay->setVisibleLayersSortedByZ(layers); in injectLayer() 816 test->mDisplay->getCompositionDisplay()->setOutputLayersOrderedByZ( in cleanupInjectedLayers() 1006 layer->forceClientComposition(test->mDisplay); in setupLayerState() [all …]
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 303 private CCMemory mDisplay = new CCMemory(); field in Cea608CCParser 346 return mDisplay; in getMemory() 350 return mDisplay; in getMemory() 432 mDisplay.erase(); in handleCtrlCode() 454 mDisplay.erase(); in handleCtrlCode() 493 mListener.onDisplayChanged(mDisplay.getStyledText(captionStyle)); in updateDisplay() 498 CCMemory temp = mDisplay; in swapMemory() 499 mDisplay = mNonDisplay; in swapMemory()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 328 mDisplay = display; in readyToRun() 411 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in threadLoop() 412 eglDestroyContext(mDisplay, mContext); in threadLoop() 413 eglDestroySurface(mDisplay, mSurface); in threadLoop() 416 eglTerminate(mDisplay); in threadLoop() 437 eglSwapBuffers(mDisplay, mSurface); in android() 474 EGLBoolean res = eglSwapBuffers(mDisplay, mSurface); in android() 1020 eglSwapBuffers(mDisplay, mSurface); in playAnimation()
|