Home
last modified time | relevance | path

Searched refs:mDisplayHeight (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp111 mDisplayHeight = resolution.getHeight(); in SetUp()
114 mDisplayHeight, PIXEL_FORMAT_RGBA_8888, in SetUp()
212 uint32_t mDisplayHeight; member in android::BLASTBufferQueueTest
217 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F()
220 ASSERT_EQ(mDisplayHeight, adapter.getHeight()); 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()
232 ASSERT_EQ(mDisplayHeight / 2, adapter.getHeight()); in TEST_F()
236 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DCutoutSpecification.java173 private final int mDisplayHeight; field in CutoutSpecification.Parser
215 mDisplayHeight = displayHeight; in Parser()
217 mIsShortEdgeOnTop = mDisplayWidth < mDisplayHeight; in Parser()
251 offsetY = mDisplayHeight;
253 offsetY = mDisplayHeight / 2f;
268 } else if (gravity == TOP && rect.bottom > 0 && rect.bottom < mDisplayHeight) {
272 } else if (gravity == BOTTOM && rect.top > 0 && rect.top < mDisplayHeight) {
273 return mDisplayHeight - rect.top;
376 mIsTouchShortEdgeEnd = mTmpRect.bottom >= mDisplayHeight;
377 mIsCloserToStartSide = mTmpRect.centerY() < mDisplayHeight / 2;
/frameworks/native/libs/renderengine/gl/filters/
DBlurFilter.cpp75 mDisplayHeight < display.physicalDisplay.height()) { in setAsDrawTarget()
79 mDisplayHeight = display.physicalDisplay.height(); in setAsDrawTarget()
80 mCompositionFbo.allocateBuffers(mDisplayWidth, mDisplayHeight); in setAsDrawTarget()
83 const uint32_t fboHeight = floorf(mDisplayHeight * kFboScale); in setAsDrawTarget()
188 mDisplayHeight, GL_COLOR_BUFFER_BIT, GL_LINEAR); in render()
DBlurFilter.h70 uint32_t mDisplayHeight = 0; variable
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp107 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()
130 mDisplayHeight), 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()
[all …]
DRelativeZ_test.cpp243 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()
DIPC_test.cpp233 mDisplayHeight = config.resolution.getHeight(); in SetUp()
248 uint32_t mDisplayHeight; member in android::test::IPCTest
310 static_cast<int32_t>(mDisplayHeight)}, in TEST_F()
323 mRemote->createTransaction(&remote, mDisplayWidth / 2, mDisplayHeight / 2); in TEST_F()
DLayerTransactionTest.h242 uint32_t mDisplayHeight; variable
261 mDisplayHeight = mDisplayRect.getHeight(); in SetUpDisplay()
277 t.setCrop_legacy(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
DLayerTypeTransaction_test.cpp46 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()
DLayerTransaction_test.cpp117 const int height = mDisplayHeight; in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp149 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java67 private final int mDisplayHeight; field in DividerSnapAlgorithm
125 mDisplayHeight = displayHeight; in DividerSnapAlgorithm()
155 ? mDisplayHeight in isSplitScreenFeasible()
288 ? mDisplayHeight in calculateTargets()
326 ? mDisplayHeight - mInsets.bottom in addFixedDivisionTargets()
337 ? mDisplayHeight - mInsets.bottom in addRatio16_9Targets()
342 : mDisplayHeight - mInsets.bottom; in addRatio16_9Targets()
362 mInsets, mDisplayWidth, mDisplayHeight, mDividerSize); in addMiddleTarget()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java104 public int mDisplayHeight; field in DisplayFrames
115 mDisplayHeight = info.logicalHeight; in onDisplayInfoUpdated()
121 mUnrestricted.set(0, 0, mDisplayWidth, mDisplayHeight); in onBeginLayout()
162 pw.println(prefix + "DisplayFrames w=" + mDisplayWidth + " h=" + mDisplayHeight in dump()
DDisplayPolicy.java1058 displayFrames.mDisplayHeight, in addWindowLw()
1082 inOutFrame.bottom = displayFrames.mDisplayHeight; in addWindowLw()
1090 inOutFrame.bottom = displayFrames.mDisplayHeight; in addWindowLw()
1115 displayFrames.mDisplayHeight, in getImeSourceFrameProvider()
1676 final int displayHeight = displayFrames.mDisplayHeight;
1825 final int displayHeight = displayFrames.mDisplayHeight;
2411 if (displayFrames.mDisplayWidth < displayFrames.mDisplayHeight) {
2515 displayFrames.mDisplayHeight, rotation);
DDisplayContent.java4939 unhandled.set(0, 0, mDisplayFrames.mDisplayWidth, mDisplayFrames.mDisplayHeight); in calculateSystemGestureExclusion()
/frameworks/av/include/private/media/
DVideoFrame.h43 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame()
78 uint32_t mDisplayHeight; // Display height before rotation variable
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java89 private int mDisplayHeight; // real height, not rotated field in ColorFade
158 mDisplayHeight = displayInfo.getNaturalHeight(); 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);
726 pw.println(" mDisplayHeight=" + mDisplayHeight);
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java141 private int mDisplayHeight; field in Keyboard
207 parent.mDisplayHeight, parent.mDefaultHeight); in Row()
213 parent.mDisplayHeight, parent.mDefaultVerticalGap); in Row()
355 keyboard.mDisplayHeight, parent.defaultHeight); in Key()
547 mDisplayHeight = height; in Keyboard()
569 mDisplayHeight = dm.heightPixels; in Keyboard()
895 mDisplayHeight, 50); in parseKeyboardAttributes()
901 mDisplayHeight, 0); in parseKeyboardAttributes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DExpandedAnimationControllerTest.java47 private int mDisplayHeight = 1000; field in ExpandedAnimationControllerTest
57 new Point(mDisplayWidth, mDisplayHeight) /* displaySize */,
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp382 videoFrame->mDisplayHeight, in reinit()
418 videoFrame->mDisplayHeight, in reinit()
612 videoFrame->mDisplayHeight, in decode()
667 videoFrame->mDisplayHeight, in decodeSequence()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp999 mDisplayHeight = resolution.getHeight(); in SetUp()
1004 mDisplayHeight, PIXEL_FORMAT_RGBA_8888, 0); 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()
1400 uint32_t mDisplayHeight; member in __anonbb41e9630111::TransactionTest
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java895 mFrames.mDisplayHeight - expectedInsetBottom), actual); in assertInsetBy()