/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 110 mDisplayWidth = resolution.getWidth(); in SetUp() 113 mSurfaceControl = mClient->createSurface(String8("TestSurface"), mDisplayWidth, in SetUp() 211 uint32_t mDisplayWidth; member in android::BLASTBufferQueueTest 217 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F() 219 ASSERT_EQ(mDisplayWidth, adapter.getWidth()); in TEST_F() 225 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F() 227 mClient->createSurface(String8("UpdateTest"), mDisplayWidth / 2, mDisplayHeight / 2, in TEST_F() 229 adapter.update(updateSurface, mDisplayWidth / 2, mDisplayHeight / 2); in TEST_F() 231 ASSERT_EQ(mDisplayWidth / 2, adapter.getWidth()); in TEST_F() 236 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F() [all …]
|
/frameworks/base/core/java/android/view/ |
D | CutoutSpecification.java | 172 private final int mDisplayWidth; field in CutoutSpecification.Parser 214 mDisplayWidth = displayWidth; in Parser() 217 mIsShortEdgeOnTop = mDisplayWidth < mDisplayHeight; in Parser() 242 offsetX = mDisplayWidth; 246 offsetX = mDisplayWidth / 2f; 266 if (gravity == LEFT && rect.right > 0 && rect.right < mDisplayWidth) { 270 } else if (gravity == RIGHT && rect.left > 0 && rect.left < mDisplayWidth) { 271 return mDisplayWidth - rect.left; 380 mIsTouchShortEdgeEnd = mTmpRect.right >= mDisplayWidth; 381 mIsCloserToStartSide = mTmpRect.centerX() < mDisplayWidth / 2;
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 66 private final int mDisplayWidth; field in DividerSnapAlgorithm 124 mDisplayWidth = displayWidth; in DividerSnapAlgorithm() 156 : mDisplayWidth; in isSplitScreenFeasible() 289 : mDisplayWidth; in calculateTargets() 327 : mDisplayWidth - mInsets.right; in addFixedDivisionTargets() 338 : mDisplayWidth - mInsets.right; in addRatio16_9Targets() 341 ? mDisplayWidth - mInsets.right in addRatio16_9Targets() 362 mInsets, mDisplayWidth, mDisplayHeight, mDividerSize); in addMiddleTarget() 374 position = mDisplayWidth - position - mInsets.right - mDividerSize; in addMinimizedTarget()
|
/frameworks/native/libs/renderengine/gl/filters/ |
D | BlurFilter.cpp | 74 if (mDisplayWidth < display.physicalDisplay.width() || in setAsDrawTarget() 78 mDisplayWidth = display.physicalDisplay.width(); in setAsDrawTarget() 80 mCompositionFbo.allocateBuffers(mDisplayWidth, mDisplayHeight); in setAsDrawTarget() 82 const uint32_t fboWidth = floorf(mDisplayWidth * kFboScale); in setAsDrawTarget() 187 mLastDrawTarget->getBufferHeight(), mDisplayX, mDisplayY, mDisplayWidth, in render()
|
D | BlurFilter.h | 69 uint32_t mDisplayWidth = 0; variable
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerRenderTypeTransaction_test.cpp | 107 Transaction().setPosition(layer, mDisplayWidth, mDisplayHeight).apply(); in TEST_P() 126 Transaction().setPosition(layer, mDisplayWidth - 2, mDisplayHeight - 2).apply(); in TEST_P() 129 getScreenCapture()->expectColor(Rect(mDisplayWidth - 2, mDisplayHeight - 2, mDisplayWidth, in TEST_P() 1011 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P() 1012 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P() 1042 getScreenCapture()->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P() 1048 getScreenCapture()->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P() 1213 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P() 1214 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P() 1297 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P() [all …]
|
D | RelativeZ_test.cpp | 243 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F() 258 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::GREEN); in TEST_F() 272 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
|
D | IPC_test.cpp | 232 mDisplayWidth = config.resolution.getWidth(); in SetUp() 247 uint32_t mDisplayWidth; member in android::test::IPCTest 309 {0, 0, static_cast<int32_t>(mDisplayWidth), in TEST_F() 323 mRemote->createTransaction(&remote, mDisplayWidth / 2, mDisplayHeight / 2); in TEST_F()
|
D | LayerTransactionTest.h | 241 uint32_t mDisplayWidth; variable 260 mDisplayWidth = mDisplayRect.getWidth(); in SetUpDisplay() 277 t.setCrop_legacy(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
|
D | LayerTypeTransaction_test.cpp | 46 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P() 85 .setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)) in TEST_P()
|
D | LayerTransaction_test.cpp | 116 const int width = mDisplayWidth; in TEST_F()
|
D | LayerTypeAndRenderTypeTransaction_test.cpp | 149 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 138 private int mDisplayWidth; field in Keyboard 204 parent.mDisplayWidth, parent.mDefaultWidth); in Row() 210 parent.mDisplayWidth, parent.mDefaultHorizontalGap); in Row() 352 keyboard.mDisplayWidth, parent.defaultWidth); in Key() 358 keyboard.mDisplayWidth, parent.defaultHorizontalGap); in Key() 546 mDisplayWidth = width; in Keyboard() 550 mDefaultWidth = mDisplayWidth / 10; in Keyboard() 568 mDisplayWidth = dm.widthPixels; in Keyboard() 573 mDefaultWidth = mDisplayWidth / 10; in Keyboard() 614 || x + mDefaultWidth + horizontalPadding > mDisplayWidth) { in Keyboard() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 103 public int mDisplayWidth; field in DisplayFrames 114 mDisplayWidth = info.logicalWidth; in onDisplayInfoUpdated() 121 mUnrestricted.set(0, 0, mDisplayWidth, mDisplayHeight); in onBeginLayout() 162 pw.println(prefix + "DisplayFrames w=" + mDisplayWidth + " h=" + mDisplayHeight in dump()
|
D | DisplayPolicy.java | 1130 if (navigationBarPosition(displayFrames.mDisplayWidth, in addWindowLw() 1164 inOutFrame.right = displayFrames.mDisplayWidth; in addWindowLw() 1223 if (mNavigationBar != null && navigationBarPosition(displayFrames.mDisplayWidth, in getImeSourceFrameProvider() 1837 final int displayWidth = displayFrames.mDisplayWidth; 1986 final int displayWidth = displayFrames.mDisplayWidth; 2578 if (displayFrames.mDisplayWidth < displayFrames.mDisplayHeight) { 2723 final int navBarPosition = navigationBarPosition(displayFrames.mDisplayWidth,
|
D | DisplayContent.java | 4989 unhandled.set(0, 0, mDisplayFrames.mDisplayWidth, mDisplayFrames.mDisplayHeight); in calculateSystemGestureExclusion()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | ExpandedAnimationControllerTest.java | 46 private int mDisplayWidth = 500; field in ExpandedAnimationControllerTest 57 new Point(mDisplayWidth, mDisplayHeight) /* displaySize */, 170 final float centerScreen = mDisplayWidth / 2f; in getRowLeft() 182 final float maxRowWidth = mDisplayWidth - rowMargins; in getSpaceBetweenBubbles()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 88 private int mDisplayWidth; // real width, not rotated field in ColorFade 157 mDisplayWidth = displayInfo.getNaturalWidth(); in prepare() 273 setQuad(mVertexBuffer, 0, 0, mDisplayWidth, mDisplayHeight); in initGLBuffers() 511 GLES20.glViewport(0, 0, mDisplayWidth, mDisplayHeight); 512 ortho(0, mDisplayWidth, 0, mDisplayHeight, -1, 1); 597 builder.setBufferSize(mDisplayWidth, mDisplayHeight); 606 t.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight); 725 pw.println(" mDisplayWidth=" + mDisplayWidth);
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 43 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame() 77 uint32_t mDisplayWidth; // Display width before rotation variable
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 381 videoFrame->mDisplayWidth, in reinit() 417 videoFrame->mDisplayWidth, in reinit() 611 videoFrame->mDisplayWidth, in decode() 666 videoFrame->mDisplayWidth, in decodeSequence()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 266 videoFrame->mDisplayWidth, in getBitmapFromVideoFrame() 279 displayHeight = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame() 283 displayWidth = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | SFFakeHwc_test.cpp | 998 mDisplayWidth = resolution.getWidth(); in SetUp() 1003 mComposerClient->createSurface(String8("BG Test Surface"), mDisplayWidth, in SetUp() 1039 mBaseFrame.push_back(makeSimpleRect(0u, 0u, mDisplayWidth, mDisplayHeight)); in SetUp() 1304 ts.setPosition(syncSurfaceControl, mDisplayWidth - 2, mDisplayHeight - 2); in Test_DeferredTransaction() 1308 referenceFrame.push_back(makeSimpleRect(mDisplayWidth - 2, mDisplayHeight - 2, in Test_DeferredTransaction() 1309 mDisplayWidth - 1, mDisplayHeight - 1)); in Test_DeferredTransaction() 1399 uint32_t mDisplayWidth; member in __anon6870d3ae0111::TransactionTest
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyLayoutTests.java | 937 mDisplayContent.mBaseDisplayWidth = info.logicalWidth = mFrames.mDisplayWidth; in testFixedRotationInsetsSourceFrame() 1015 mFrames.mDisplayWidth - expectedInsetRight, in assertInsetBy()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 32753 Landroid/inputmethodservice/Keyboard;->mDisplayWidth:I
|