Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java66 private final int mDisplayWidth; field in DividerSnapAlgorithm
122 mDisplayWidth = displayWidth; in DividerSnapAlgorithm()
152 : mDisplayWidth; in isSplitScreenFeasible()
272 : mDisplayWidth; in calculateTargets()
310 : mDisplayWidth - mInsets.right; in addFixedDivisionTargets()
321 : mDisplayWidth - mInsets.right; in addRatio16_9Targets()
324 ? mDisplayWidth - mInsets.right in addRatio16_9Targets()
345 mInsets, mDisplayWidth, mDisplayHeight, mDividerSize); in addMiddleTarget()
357 position = mDisplayWidth - position - mInsets.right - mDividerSize; in addMinimizedTarget()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java114 public int mDisplayWidth; field in DisplayFrames
125 mDisplayWidth = info.logicalWidth; in onDisplayInfoUpdated()
158 mRestrictedOverscan.set(0, 0, mDisplayWidth, mDisplayHeight); in onBeginLayout()
162 mUnrestricted.right = mDisplayWidth - mUnrestricted.right; in onBeginLayout()
203 pw.println(prefix + "DisplayFrames w=" + mDisplayWidth + " h=" + mDisplayHeight in dump()
DActivityRecord.java3869 final int mDisplayWidth; field in ActivityRecord.CompatDisplayInsets
3885 mDisplayWidth = display.mBaseDisplayWidth; in CompatDisplayInsets()
3892 final int dw = rotated ? mDisplayHeight : mDisplayWidth; in CompatDisplayInsets()
3893 final int dh = rotated ? mDisplayWidth : mDisplayHeight; in CompatDisplayInsets()
3904 final int dw = rotated ? mDisplayHeight : mDisplayWidth; in getDisplayBoundsByRotation()
3905 final int dh = rotated ? mDisplayWidth : mDisplayHeight; in getDisplayBoundsByRotation()
3910 final int longSide = Math.max(mDisplayWidth, mDisplayHeight); in getDisplayBoundsByOrientation()
3911 final int shortSide = Math.min(mDisplayWidth, mDisplayHeight); in getDisplayBoundsByOrientation()
DDisplayPolicy.java958 inOutFrame.right = displayFrames.mDisplayWidth; in prepareAddWindowLw()
1504 final int displayWidth = displayFrames.mDisplayWidth; in layoutScreenDecorWindows()
1643 final int displayWidth = displayFrames.mDisplayWidth; in layoutNavigationBar()
DDisplayContent.java5132 unhandled.set(0, 0, mDisplayFrames.mDisplayWidth, mDisplayFrames.mDisplayHeight); in calculateSystemGestureExclusion()
/frameworks/av/include/private/media/
DVideoFrame.h43 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame()
77 uint32_t mDisplayWidth; // Display width before rotation variable
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DExpandedAnimationControllerTest.java46 private int mDisplayWidth = 500; field in ExpandedAnimationControllerTest
52 new Point(mDisplayWidth, mDisplayHeight) /* displaySize */,
275 float centerScreen = mDisplayWidth / 2; in getRowLeft()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp529 uint32_t mDisplayWidth; member in android::LayerTransactionTest
548 mDisplayWidth = info.w; in SetUpDisplay()
551 Rect(static_cast<int32_t>(mDisplayWidth), static_cast<int32_t>(mDisplayHeight)); in SetUpDisplay()
567 t.setCrop_legacy(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
793 Transaction().setPosition(layer, mDisplayWidth, mDisplayHeight).apply(); in TEST_P()
812 Transaction().setPosition(layer, mDisplayWidth - 2, mDisplayHeight - 2).apply(); in TEST_P()
815 getScreenCapture()->expectColor(Rect(mDisplayWidth - 2, mDisplayHeight - 2, mDisplayWidth, in TEST_P()
966 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
1046 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
1087 .setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)) in TEST_P()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java127 private int mDisplayWidth; field in DividerView
462 mSnapAlgorithm = new DividerSnapAlgorithm(getContext().getResources(), mDisplayWidth, in initializeSnapAlgorithm()
470 mDisplayWidth, mDisplayHeight, mDividerSize, isHorizontalDivision(), in initializeSnapAlgorithm()
891 (isHorizontalDivision() ? mDisplayHeight : mDisplayWidth); in saveSnapTargetBeforeMinimized()
932 (isHorizontalDivision() ? mDisplayHeight : mDisplayWidth)); in repositionSnapTargetBeforeMinimized()
945 mDisplayWidth = info.logicalWidth; in updateDisplayInfo()
983 DockedDividerUtils.calculateBoundsForPosition(position, dockSide, outRect, mDisplayWidth, in calculateBoundsForPosition()
1067 mTmpRect.set(0, 0, mDisplayWidth, mDisplayHeight); in resizeStack()
1343 mTmpRect.set(0, 0, mDisplayWidth, mDisplayHeight); in calculatePositionForInsetBounds()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp441 uint32_t mDisplayWidth; member in __anonbb41e9630111::TransactionTest
487 mDisplayWidth = info.w; in SetUp()
491 mBGSurfaceControl = mComposerClient->createSurface(String8("BG Test Surface"), mDisplayWidth, in SetUp()
527 mBaseFrame.push_back(makeSimpleRect(0u, 0u, mDisplayWidth, mDisplayHeight)); in SetUp()
807 ts.setPosition(syncSurfaceControl, mDisplayWidth - 2, mDisplayHeight - 2); in TEST_F()
811 referenceFrame.push_back(makeSimpleRect(mDisplayWidth - 2, mDisplayHeight - 2, in TEST_F()
812 mDisplayWidth - 1, mDisplayHeight - 1)); in TEST_F()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp360 videoFrame->mDisplayWidth, in init()
516 videoFrame->mDisplayWidth, in decode()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp270 videoFrame->mDisplayWidth, in getBitmapFromVideoFrame()
287 displayHeight = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
291 displayWidth = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java596 mFrames.mDisplayWidth - expectedInsetRight, in assertInsetBy()