Home
last modified time | relevance | path

Searched refs:mDisplayWidth (Results 1 – 16 of 16) 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.java3861 final int mDisplayWidth; field in ActivityRecord.CompatDisplayInsets
3877 mDisplayWidth = display.mBaseDisplayWidth; in CompatDisplayInsets()
3884 final int dw = rotated ? mDisplayHeight : mDisplayWidth; in CompatDisplayInsets()
3885 final int dh = rotated ? mDisplayWidth : mDisplayHeight; in CompatDisplayInsets()
3896 final int dw = rotated ? mDisplayHeight : mDisplayWidth; in getDisplayBoundsByRotation()
3897 final int dh = rotated ? mDisplayWidth : mDisplayHeight; in getDisplayBoundsByRotation()
3902 final int longSide = Math.max(mDisplayWidth, mDisplayHeight); in getDisplayBoundsByOrientation()
3903 final int shortSide = Math.min(mDisplayWidth, mDisplayHeight); in getDisplayBoundsByOrientation()
DDisplayPolicy.java968 inOutFrame.right = displayFrames.mDisplayWidth; in prepareAddWindowLw()
1514 final int displayWidth = displayFrames.mDisplayWidth; in layoutScreenDecorWindows()
1653 final int displayWidth = displayFrames.mDisplayWidth; in layoutNavigationBar()
DDisplayContent.java5198 unhandled.set(0, 0, mDisplayFrames.mDisplayWidth, mDisplayFrames.mDisplayHeight); in calculateSystemGestureExclusion()
/frameworks/base/core/java/android/inputmethodservice/
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()
614 || x + mDefaultWidth + horizontalPadding > mDisplayWidth) { in Keyboard()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java88 private int mDisplayWidth; // real width, not rotated field in ColorFade
155 mDisplayWidth = displayInfo.getNaturalWidth(); in prepare()
271 setQuad(mVertexBuffer, 0, 0, mDisplayWidth, mDisplayHeight); in initGLBuffers()
509 GLES20.glViewport(0, 0, mDisplayWidth, mDisplayHeight);
510 ortho(0, mDisplayWidth, 0, mDisplayHeight, -1, 1);
594 builder.setBufferSize(mDisplayWidth, mDisplayHeight);
603 t.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight);
726 pw.println(" mDisplayWidth=" + mDisplayWidth);
/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.java47 private int mDisplayWidth = 500; field in ExpandedAnimationControllerTest
56 new Point(mDisplayWidth, mDisplayHeight) /* displaySize */,
281 final float centerScreen = mDisplayWidth / 2f; in getRowLeft()
293 final float maxRowWidth = mDisplayWidth - rowMargins; in getSpaceBetweenBubbles()
/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/
DTransaction_test.cpp531 uint32_t mDisplayWidth; member in android::LayerTransactionTest
550 mDisplayWidth = info.w; in SetUpDisplay()
553 Rect(static_cast<int32_t>(mDisplayWidth), static_cast<int32_t>(mDisplayHeight)); in SetUpDisplay()
569 t.setCrop_legacy(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
797 Transaction().setPosition(layer, mDisplayWidth, mDisplayHeight).apply(); in TEST_P()
816 Transaction().setPosition(layer, mDisplayWidth - 2, mDisplayHeight - 2).apply(); in TEST_P()
819 getScreenCapture()->expectColor(Rect(mDisplayWidth - 2, mDisplayHeight - 2, mDisplayWidth, in TEST_P()
970 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
1050 Transaction().setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
1091 .setCrop_legacy(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)) in TEST_P()
[all …]
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp442 uint32_t mDisplayWidth; member in __anonbb41e9630111::TransactionTest
488 mDisplayWidth = info.w; in SetUp()
492 mBGSurfaceControl = mComposerClient->createSurface(String8("BG Test Surface"), mDisplayWidth, in SetUp()
528 mBaseFrame.push_back(makeSimpleRect(0u, 0u, mDisplayWidth, mDisplayHeight)); in SetUp()
808 ts.setPosition(syncSurfaceControl, mDisplayWidth - 2, mDisplayHeight - 2); in TEST_F()
812 referenceFrame.push_back(makeSimpleRect(mDisplayWidth - 2, mDisplayHeight - 2, in TEST_F()
813 mDisplayWidth - 1, mDisplayHeight - 1)); in TEST_F()
/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/av/media/libheif/
DHeifDecoderImpl.cpp357 videoFrame->mDisplayWidth, in init()
513 videoFrame->mDisplayWidth, in decode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java596 mFrames.mDisplayWidth - expectedInsetRight, in assertInsetBy()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt32756 Landroid/inputmethodservice/Keyboard;->mDisplayWidth:I