Home
last modified time | relevance | path

Searched refs:mDisplayWidth (Results 1 – 25 of 43) sorted by relevance

12

/aosp12/hardware/interfaces/graphics/composer/2.2/vts/functional/
H A DVtsHalGraphicsComposerV2_2ReadbackTest.cpp67 mDisplayWidth = mComposerClient->getDisplayAttribute( in SetUpBase()
142 int32_t mDisplayWidth; member in android::hardware::graphics::composer::V2_2::vts::__anon58174ba30110::GraphicsCompositionTestBase
280 ReadbackHelper::fillColorsArea(expectedColors, mDisplayWidth, in TEST_P()
560 int32_t clientWidth = mDisplayWidth; in TEST_P()
690 redRect = {mDisplayWidth / 4, mDisplayHeight / 4, mDisplayWidth / 2, mDisplayHeight / 2}; in TEST_P()
691 ReadbackHelper::clearColors(expectedColors, mDisplayWidth, mDisplayHeight, mDisplayWidth); in TEST_P()
696 1, {0, 0, mDisplayWidth / 2, mDisplayWidth / 2})); in TEST_P()
814 static_cast<float>(mDisplayWidth), in TEST_P()
910 ReadbackHelper::clearColors(expectedColors, mDisplayWidth, mDisplayHeight, mDisplayWidth); in TEST_P()
976 ReadbackHelper::clearColors(expectedColors, mDisplayWidth, mDisplayHeight, mDisplayWidth); in setExpectedColors()
[all …]
H A DVtsHalGraphicsComposerV2_2TargetTest.cpp59 mDisplayWidth = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp()
115 int32_t mDisplayWidth; member in android::hardware::graphics::composer::V2_2::vts::__anon66ab465d0110::GraphicsComposerHidlTest
444 gralloc->allocate(mDisplayWidth, mDisplayHeight, 1, mReadbackPixelFormat, usage)))); in TEST_P()
467 gralloc->allocate(mDisplayWidth, mDisplayHeight, 1, mReadbackPixelFormat, usage)))); in TEST_P()
/aosp12/frameworks/native/libs/gui/tests/
H A DBLASTBufferQueue_test.cpp162 mDisplayWidth = resolution.getWidth(); in SetUp()
310 uint32_t mDisplayWidth; member in android::BLASTBufferQueueTest
339 ASSERT_EQ(mDisplayWidth / 2, width); in TEST_F()
512 (mDisplayWidth < mDisplayHeight) ? mDisplayWidth / 2 : mDisplayHeight / 2; in TEST_F()
1151 auto bufWidth = mDisplayWidth; in test()
1185 {(int32_t)mDisplayWidth / 2, 0, (int32_t)mDisplayWidth, in test()
1206 {(int32_t)mDisplayWidth / 2, 0, (int32_t)mDisplayWidth, in test()
1227 {(int32_t)mDisplayWidth / 2, 0, (int32_t)mDisplayWidth, in test()
1248 {(int32_t)mDisplayWidth / 2, 0, (int32_t)mDisplayWidth, in test()
1269 {(int32_t)mDisplayWidth / 2, 0, (int32_t)mDisplayWidth, in test()
[all …]
/aosp12/frameworks/base/core/java/android/view/
H A DCutoutSpecification.java172 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;
H A DDisplayCutout.java254 private final int mDisplayWidth; field in DisplayCutout.CutoutPathParserInfo
263 mDisplayWidth = displayWidth; in CutoutPathParserInfo()
272 mDisplayWidth = cutoutPathParserInfo.mDisplayWidth; in CutoutPathParserInfo()
281 return mDisplayWidth; in getDisplayWidth()
311 result = result * 48271 + Integer.hashCode(mDisplayWidth); in hashCode()
327 return mDisplayWidth == c.mDisplayWidth && mDisplayHeight == c.mDisplayHeight in equals()
336 return "CutoutPathParserInfo{displayWidth=" + mDisplayWidth in toString()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayFrames.java57 public int mDisplayWidth; field in DisplayFrames
86 if (mDisplayWidth == info.logicalWidth && mDisplayHeight == info.logicalHeight in onDisplayInfoUpdated()
92 mDisplayWidth = info.logicalWidth; in onDisplayInfoUpdated()
95 unrestricted.set(0, 0, mDisplayWidth, mDisplayHeight); in onDisplayInfoUpdated()
137 pw.println(prefix + "DisplayFrames w=" + mDisplayWidth + " h=" + mDisplayHeight in dump()
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DDividerSnapAlgorithm.java66 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()
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java138 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()
892 mDisplayWidth, mDisplayWidth / 10); in parseKeyboardAttributes()
[all …]
/aosp12/frameworks/native/libs/renderengine/gl/filters/
H A DBlurFilter.cpp74 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()
H A DBlurFilter.h69 uint32_t mDisplayWidth = 0; variable
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/filters/
H A DBlurFilter.cpp74 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()
H A DBlurFilter.h69 uint32_t mDisplayWidth = 0; variable
/aosp12/packages/apps/Nfc/src/com/android/nfc/beam/
H A DFireflyRenderer.java97 int mDisplayWidth; field in FireflyRenderer
134 mDisplayWidth = width; in start()
181 mGL.glViewport(0, 0, mDisplayWidth, mDisplayHeight); in run()
186 …mGL.glFrustumf(-mDisplayWidth, mDisplayWidth, mDisplayHeight, -mDisplayHeight, NEAR_CLIPPING_PLANE… in run()
382 mX = (float) (Math.random() * mDisplayWidth) * 4 - 2 * mDisplayWidth; in reset()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureFloatingTextDrawingPreview.java53 public final int mDisplayWidth; field in GestureFloatingTextDrawingPreview.GesturePreviewTextParams
77 mDisplayWidth = mainKeyboardViewAttr.getResources().getDisplayMetrics().widthPixels; in GesturePreviewTextParams()
174 mParams.mDisplayWidth - rectWidth); in updatePreviewPosition()
/aosp12/hardware/google/graphics/common/libhwc2.1/libvirtualdisplay/
H A DExynosVirtualDisplay.cpp52 mDisplayWidth = 0; in ExynosVirtualDisplay()
87 mDisplayWidth = width; in createVirtualDisplay()
99 mDisplayWidth = 0; in destroyVirtualDisplay()
167 mDisplayWidth = width; in setWFDOutputResolution()
177 *width = mDisplayWidth; in getWFDOutputResolution()
/aosp12/frameworks/av/include/private/media/
H A DVideoFrame.h43 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame()
77 uint32_t mDisplayWidth; // Display width before rotation variable
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java92 private int mDisplayWidth; // real width, not rotated field in ColorFade
163 mDisplayWidth = displayInfo.getNaturalWidth(); in prepare()
308 setQuad(mVertexBuffer, 0, 0, mDisplayWidth, mDisplayHeight); in initGLBuffers()
540 GLES20.glViewport(0, 0, mDisplayWidth, mDisplayHeight);
541 ortho(0, mDisplayWidth, 0, mDisplayHeight, -1, 1);
589 mTransaction.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight);
604 mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT);
812 pw.println(" mDisplayWidth=" + mDisplayWidth);
/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DRelativeZ_test.cpp240 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
255 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::GREEN); in TEST_F()
269 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
H A DIPC_test.cpp231 mDisplayWidth = mode.resolution.getWidth(); in SetUp()
246 uint32_t mDisplayWidth; member in android::test::IPCTest
308 {0, 0, static_cast<int32_t>(mDisplayWidth), in TEST_F()
322 mRemote->createTransaction(&remote, mDisplayWidth / 2, mDisplayHeight / 2); in TEST_F()
H A DLayerTypeTransaction_test.cpp47 Transaction().setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
88 .setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)) in TEST_P()
H A DLayerTransactionTest.h267 uint32_t mDisplayWidth; variable
289 mDisplayWidth = mDisplayRect.getWidth(); in SetUpDisplay()
306 t.setCrop(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java108 private int mDisplayWidth = 1; field in ImageWallpaper.GLEngine
288 mDisplayWidth = window.width(); in pageToImgRect()
301 if (mImgWidth == 0 || mImgHeight == 0 || mDisplayWidth <= 0 || mDisplayHeight <= 0) { in pageToImgRect()
309 float mappedScreenWidth = mDisplayWidth * imageScale; in pageToImgRect()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DExpandedAnimationControllerTest.java53 private int mDisplayWidth = 500; field in ExpandedAnimationControllerTest
72 new Rect(0, 0, mDisplayWidth, mDisplayHeight)); in setUp()
/aosp12/frameworks/av/media/libheif/
H A DHeifDecoderImpl.cpp382 videoFrame->mDisplayWidth, in reinit()
418 videoFrame->mDisplayWidth, in reinit()
618 videoFrame->mDisplayWidth, in decode()
673 videoFrame->mDisplayWidth, in decodeSequence()
/aosp12/hardware/interfaces/graphics/composer/2.1/vts/functional/
H A DVtsHalGraphicsComposerV2_1TargetTest.cpp656 mDisplayWidth = mComposerClient->getDisplayAttribute(mPrimaryDisplay, activeConfig, in SetUp()
673 return mGralloc->allocate(mDisplayWidth, mDisplayHeight, 1, PixelFormat::RGBA_8888, usage); in allocate()
680 int32_t mDisplayWidth; member in android::hardware::graphics::composer::V2_1::vts::__anon9187c19b0110::GraphicsComposerHidlCommandTest
788 IComposerClient::Rect displayFrame{0, 0, mDisplayWidth, mDisplayHeight}; in TEST_P()
797 mWriter->setLayerSourceCrop({0, 0, (float)mDisplayWidth, (float)mDisplayHeight}); in TEST_P()
837 IComposerClient::Rect displayFrame{0, 0, mDisplayWidth, mDisplayHeight}; in TEST_P()
845 mWriter->setLayerSourceCrop({0, 0, (float)mDisplayWidth, (float)mDisplayHeight}); in TEST_P()

12